/*
Theme Name: Landing Bootstrap
Theme URI: https://tienda.percyalvarez.lat
Author: Percy Alvarez
Author URI: https://percyalvarez.lat
Description: Tema landing page moderna de una sola página con Bootstrap 5.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: landing-bootstrap
*/

/* ===== Custom Properties ===== */
:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --light: #f8f9fa;
}

/* ===== Navbar ===== */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(26, 26, 46, 0.98) !important;
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.navbar.navbar-solid {
  background: rgba(26, 26, 46, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}
.navbar-brand span {
  color: var(--accent);
}
.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* ===== Offcanvas Mobile ===== */
.offcanvas-end {
  background: var(--dark);
  color: white;
}
.offcanvas-end .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.offcanvas-end .offcanvas-title {
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
}
.offcanvas-end .nav-link {
  font-size: 1.1rem;
  padding: 0.75rem 0 !important;
  color: rgba(255,255,255,0.8);
}
.offcanvas-end .nav-link::after {
  display: none;
}
.offcanvas-end .nav-link:hover {
  color: var(--accent);
}
.offcanvas-end hr {
  margin: 1.5rem 0;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,110,253,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #ff9a5c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.85;
}
.hero-img {
  position: relative;
  z-index: 1;
}
.hero-img img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.btn-hero {
  padding: 0.85rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-hero-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-hero-primary:hover {
  background: #e85d26;
  border-color: #e85d26;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}
.hero-stats .stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}
.hero-stats .stat p {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
}

/* ===== Sections ===== */
.section-padding {
  padding: 100px 0;
}
.section-header {
  margin-bottom: 60px;
}
.section-header .badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(13,110,253,0.1);
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-header h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-header p:not(.mx-auto) {
  max-width: none;
}

/* ===== Services Cards ===== */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.06);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}
.service-card h4 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: #6c757d;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== About ===== */
.about-img {
  position: relative;
}
.about-img img {
  border-radius: 20px;
  width: 100%;
}
.about-img .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: white;
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}
.about-img .experience-badge h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}
.about-img .experience-badge p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}
.about-list li {
  padding: 0.5rem 0;
  font-size: 1rem;
}
.about-list li i {
  color: var(--primary);
  margin-right: 0.75rem;
}

/* ===== Products ===== */
.product-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  background: white;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.product-card .product-body {
  padding: 1.5rem;
}
.product-card .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}
.product-card .price del {
  font-size: 0.9rem;
  color: #adb5bd;
  margin-left: 0.5rem;
  font-weight: 500;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #495057;
  margin-bottom: 1.5rem;
}
.testimonial-card .client {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-card .client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .client h6 {
  font-weight: 700;
  margin: 0;
}
.testimonial-card .client small {
  color: #6c757d;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  border-radius: 24px;
  margin: 0 1rem;
}
.cta-section h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.cta-section .btn {
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
}

/* ===== Contact ===== */
.contact-form {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.contact-form .form-control,
.contact-form .form-select {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}
.contact-form textarea {
  min-height: 130px;
}
.contact-info-card {
  background: var(--dark);
  border-radius: 16px;
  padding: 2.5rem;
  color: white;
  height: 100%;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-info-item p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}
.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.footer ul {
  padding: 0;
  list-style: none;
}
.footer ul li {
  margin-bottom: 0.6rem;
}
.footer ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.footer ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .hero { text-align: center; min-height: auto; padding: 120px 0 60px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
  .hero-img { margin-top: 2rem; }
  .about-img .experience-badge { bottom: -10px; right: -10px; padding: 0.8rem 1.2rem; }
  .about-img .experience-badge h3 { font-size: 1.5rem; }
  .section-padding { padding: 60px 0; }
  .cta-section { margin: 0; border-radius: 0; text-align: center; }
  .contact-form { padding: 1.5rem; }
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(255,107,53,0.3);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  transform: translateY(-3px);
}

/* ===== BG light ===== */
.bg-light-custom {
  background: #f8f9fa;
}

/* ===== WooCommerce ===== */

.shop-page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  padding: 80px 0 60px;
  color: white;
  margin-bottom: 3rem;
}
.shop-page-header .breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0.5rem 0 0;
}
.shop-page-header .breadcrumb-item,
.shop-page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
}
.shop-page-header .breadcrumb-item.active {
  color: white;
}
.shop-page-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

.shop-toolbar {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
}

.shop-view-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  border-color: #dee2e6;
  transition: all 0.3s ease;
}
.shop-view-btn.active,
.shop-view-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.sidebar-card h5 {
  font-size: 1rem;
}
.category-list a {
  color: #495057;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.category-list a:hover,
.category-list a.active {
  background: rgba(13,110,253,0.06);
  color: var(--primary);
}
.price-filter .form-range::-webkit-slider-thumb {
  background: var(--accent);
}
.rating-filter label {
  cursor: pointer;
  font-size: 0.9rem;
}
.rating-filter label:hover .stars i {
  color: #ffc107;
}
.rating-filter .form-check-input:checked ~ .stars i {
  color: #ffc107 !important;
}

.text-accent {
  color: var(--accent) !important;
}
.form-rounded-start {
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
}

/* Product Card Grid */
.woocommerce ul.products {
  margin: 0;
  padding: 0;
  display: contents;
}
.woocommerce ul.products li.product {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  background: white;
  margin: 0;
  position: relative;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.25rem 0;
}
.woocommerce ul.products li.product .price {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.woocommerce ul.products li.product .price del {
  font-size: 0.85rem;
  color: #adb5bd;
  font-weight: 500;
  margin-right: 0.25rem;
}
.woocommerce ul.products li.product .button {
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 1.5rem !important;
  background: var(--accent) !important;
  color: white !important;
  border: none !important;
  transition: all 0.3s ease;
}
.woocommerce ul.products li.product .button:hover {
  background: #e85d26 !important;
  box-shadow: 0 5px 20px rgba(255,107,53,0.3);
}
.woocommerce ul.products li.product .button.added::after {
  margin-left: 0.5rem;
}

/* List layout */
.product-layout-list.woocommerce ul.products li.product,
.woocommerce ul.products li.product.product-layout-list {
  display: flex !important;
  width: 100% !important;
  align-items: center;
}
.woocommerce ul.products li.product.product-layout-list a img {
  width: 220px !important;
  height: 220px !important;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.woocommerce ul.products li.product.product-layout-list .woocommerce-loop-product__title {
  font-size: 1.15rem;
}
.woocommerce ul.products li.product.product-layout-list .button {
  position: static !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.woocommerce-page .star-rating span::before {
  color: #ffc107;
}
.woocommerce span.onsale {
  background: linear-gradient(135deg, #ff6b35, #ff4444);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  min-height: auto;
  line-height: 1.6;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.8rem;
}

.woocommerce-pagination {
  margin-bottom: 2rem;
}
.woocommerce-pagination ul {
  border: none;
  gap: 0.25rem;
}
.woocommerce-pagination ul li {
  border: none;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  padding: 0.5rem 1rem !important;
  border-radius: 10px !important;
  font-weight: 600;
  color: #495057;
  border: 1px solid #dee2e6;
  background: white;
  text-decoration: none;
  transition: all 0.2s ease;
}
.woocommerce-pagination ul li span.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.woocommerce-pagination ul li a:hover {
  background: rgba(13,110,253,0.08);
  color: var(--primary);
}

.woocommerce-result-count {
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}

/* Single Product */
.woocommerce div.product .product_title {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent);
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 1.1rem;
  color: #adb5bd;
}
.woocommerce div.product .single_add_to_cart_button {
  border-radius: 50px !important;
  font-weight: 600 !important;
  padding: 0.7rem 2.5rem !important;
  background: var(--accent) !important;
  color: white !important;
  border: none !important;
  transition: all 0.3s ease;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: #e85d26 !important;
  box-shadow: 0 5px 20px rgba(255,107,53,0.3);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 2rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 1.5rem 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600;
  padding: 0.5rem 0;
  color: #6c757d;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.woocommerce .quantity .qty {
  border-radius: 10px;
  padding: 0.55rem;
  border: 1px solid #dee2e6;
  min-height: 44px;
}

.woocommerce table.shop_table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}
.woocommerce table.shop_table th {
  font-weight: 700;
  background: #f8f9fa;
}
.woocommerce-cart .cart-collaterals .cart_totals table,
.woocommerce-checkout .shop_table {
  border-radius: 12px;
  overflow: hidden;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  max-width: 100%;
  flex: 1;
}
.woocommerce-page .woocommerce-checkout #payment {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-MyAccount-navigation ul {
  padding: 0;
  list-style: none;
}
.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 0.25rem;
}
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  color: #495057;
  font-weight: 500;
  transition: all 0.2s ease;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(13,110,253,0.08);
  color: var(--primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  border: 1px solid #dee2e6;
}
.woocommerce .button {
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.woocommerce .button.alt {
  background: var(--accent) !important;
  color: white !important;
}
.woocommerce .button.alt:hover {
  background: #e85d26 !important;
}

.woocommerce-info {
  border-top-color: var(--accent);
  border-radius: 10px;
}
.woocommerce-info::before {
  color: var(--accent);
}
.woocommerce-message {
  border-top-color: var(--primary);
  border-radius: 10px;
}
.woocommerce-message::before {
  color: var(--primary);
}

@media (max-width: 768px) {
  .woocommerce ul.products li.product.product-layout-list a img {
    width: 100% !important;
    height: auto !important;
  }
}

.fw-extrabold { font-weight: 800 !important; }
.cursor-pointer { cursor: pointer; }
