:root {
  --primary-color: #d4147a;
  --primary-color-dark: #a30f5d;
  --secondary-color: #0f1115;
  --secondary-color-light: #292335;
  --surface-color: #ffffff;
  --surface-muted: #f7f3fa;
  --border-soft: #e5d8ed;
  --text-body: #201b2d;
  --text-muted: #6f6680;
}

/*
Theme Name: Mercado Theme Buscador Lupa
Theme URI: https://tusitio.com
Author: Victor
Version: 4.1
*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--surface-muted);
  color: var(--text-body);
}

.site,
.site-content,
.content-area,
.site-main {
  width: 100%;
}

.site-content,
.content-area,
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
}

a:hover {
  color: var(--primary-color-dark);
}

.header {
  width: 100%;
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
  position: relative;
  z-index: 10;
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(300px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #ffffff !important;
}

.header-top {
  background: var(--primary-color);
  color: #fff;
  width: 100%;
  border-bottom: 1px solid var(--border-soft);
}

.header-top__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 40px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.header-top__message {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

/* Force white background on WooCommerce pages */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-page {
  background: var(--surface-muted) !important;
}

body.woocommerce-cart .header,
body.woocommerce-checkout .header,
body.woocommerce-page .header,
.woocommerce-checkout .header,
.wp-site-blocks .header {
  background: #ffffff !important;
}

body.woocommerce-cart .header__inner,
body.woocommerce-checkout .header__inner,
body.woocommerce-page .header__inner,
.woocommerce-checkout .header__inner,
.wp-site-blocks .header__inner {
  background: #ffffff !important;
}

body.woocommerce-cart .search-bar,
body.woocommerce-checkout .search-bar,
body.woocommerce-page .search-bar,
.woocommerce-checkout .search-bar,
.wp-site-blocks .search-bar {
  background: transparent !important;
}

/* Force white background on entire site wrapper for checkout */
.woocommerce-checkout .site,
.woocommerce-checkout body,
body.woocommerce-checkout {
  background: var(--surface-muted) !important;
}


.logo img {
  max-height: 50px;
}

.logo__mark {
  max-height: 42px;
  width: auto;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.logo span {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.search-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 640px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 2px;
  box-shadow: none;
}

.search-form input[type="text"] {
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 0.95rem;
  color: var(--secondary-color);
  flex-grow: 1;
  outline: none;
}

.search-form input[type="text"]::placeholder {
  color: var(--text-muted);
}

.search-submit {
  background: var(--primary-color);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  margin-right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #fff;
}

.search-submit:hover {
  background: var(--primary-color-dark);
}

.search-submit svg {
  width: 22px;
  height: 22px;
  display: block;
}

.search-submit svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding-top: 60px;
  margin-top: 60px;
  font-size: 0.95rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.footer-widget h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.footer-desc {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  display: block;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
  font-size: 0.8rem;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-newsletter input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.footer-newsletter button {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s;
}

.footer-newsletter button:hover {
  background: var(--primary-color-dark);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #888;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.payment-icons span {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 5px;
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

.search-layout {
  display: flex;
  gap: 30px;
  padding: 30px;
}

.filters {
  width: 250px;
  flex-shrink: 0;
}

.results {
  flex-grow: 1;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.orderby select {
  padding: 5px;
  font-size: 0.9em;
  border: 1px solid var(--border-soft);
  background-color: var(--surface-color);
  color: var(--secondary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 24px;
  justify-items: center;
}

.product-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: 22px;
  background: var(--surface-color);
  box-shadow: 0 16px 32px rgba(15, 17, 21, 0.12);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.product-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 17, 21, 0.16);
}

.product-grid-card__image {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.product-grid-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.product-grid-card__img--secondary {
  opacity: 0;
}

.product-grid-card:hover .product-grid-card__img--primary {
  opacity: 0;
}

.product-grid-card:hover .product-grid-card__img--secondary {
  opacity: 1;
}

.product-grid-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.3;
  max-width: 150px;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color-light));
  padding: 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(16, 42, 67, 0.18);
}

.hero img {
  height: 200px;
  border-radius: 10px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  background: transparent;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding: 0 20px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  background: var(--surface-color);
  box-shadow: 0 16px 32px rgba(16, 42, 67, 0.07);
  border-radius: 10px;
  padding: 10px;
  min-width: 140px;
  flex-shrink: 0;
  text-align: center;
  scroll-snap-align: start;
}

.card img {
  max-width: 100%;
  border-radius: 8px;
}

.product-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.product-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.product-nav-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.product-nav-button.prev {
  left: 10px;
}

.product-nav-button.next {
  right: 10px;
}


a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}



.carousel-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: none;
}

@media (max-width: 768px) {
  .carousel-slide {
    height: 250px;
  }
}

.carousel-home {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.carousel-slide {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  overflow: hidden;
}



.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 1;
}



.carousel-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: white;
}



/* Single product adjustments */
.single-product div.product div.images img {
  max-width: 70%;
}

/* ===================================
   REFINED BREADCRUMB DESIGN
   =================================== */

.breadcrumb {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
  font-size: 14px;
  margin: 0 0 32px 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
  border: 1px solid var(--border-soft);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.breadcrumb a:hover {
  background: rgba(212, 20, 122, 0.08);
  color: var(--primary-color);
}

.breadcrumb-separator {
  color: var(--border-soft);
  font-weight: 300;
  margin: 0 2px;
  font-size: 14px;
  user-select: none;
}

.breadcrumb strong {
  color: var(--primary-color);
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(212, 20, 122, 0.06);
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

/* Single Product Page Layout Improvements */
.single-product .site-main {
  padding-top: 32px;
  padding-bottom: 72px;
}

.single-product .product_title {
  text-transform: capitalize;
}

.single-product .single_add_to_cart_button {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
}

.single-product table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.single-product table.shop_attributes th,
.single-product table.shop_attributes td {
  border-bottom: 1px solid var(--border-soft);
  padding: 8px;
}

/* Breadcrumb responsive */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 13px;
    gap: 6px;
    padding: 12px 0;
  }

  .breadcrumb a,
  .breadcrumb strong {
    font-size: 13px;
    padding: 6px 12px;
  }

  .breadcrumb a::before,
  .breadcrumb strong::before {
    width: 5px;
    height: 5px;
  }
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.user-info .account-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.user-info .account-link:hover {
  color: var(--primary-color-dark);
}

.user-info .cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 1px solid var(--border-soft);
  transition: all 0.2s ease;
  color: var(--primary-color);
}

.user-info .cart-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.user-info .cart-link .icon-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-info .cart-link .icon-wheel {
  fill: currentColor;
}

.user-info .cart-link:hover {
  border-color: var(--primary-color);
  background: rgba(212, 20, 122, 0.18);
}

.single-product .site-main {
  padding-top: 48px;
  padding-bottom: 72px;
}

.single-product .site-main>.product {
  background: var(--surface-color);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 24px 48px rgba(16, 42, 67, 0.08);
}

/* ===================================
   WOOCOMMERCE PRODUCT TABS - COHESIVE DESIGN
   =================================== */

.single-product .woocommerce-tabs {
  margin-top: 56px;
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(16, 42, 67, 0.08);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

/* Tabs Navigation */
.woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.wc-tabs {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  gap: 0 !important;
  flex-wrap: wrap !important;
  border-bottom: 2px solid var(--border-soft) !important;
  background: var(--surface-muted) !important;
  position: relative !important;
}

.woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  position: relative !important;
  flex: 0 0 auto !important;
}

.woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.wc-tabs li a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 18px 32px !important;
  background: transparent !important;
  color: var(--text-muted) !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  position: relative !important;
  border-bottom: 3px solid transparent !important;
}

.woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.wc-tabs li a:hover {
  background: rgba(212, 20, 122, 0.05) !important;
  color: var(--primary-color) !important;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.wc-tabs li.active a {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  border-bottom-color: var(--primary-color) !important;
}

.woocommerce-tabs ul.tabs li.active a:hover,
.woocommerce-tabs ul.wc-tabs li.active a:hover {
  background: #ffffff !important;
}

/* Remove default WooCommerce borders */
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after,
.woocommerce-tabs ul.wc-tabs li::before,
.woocommerce-tabs ul.wc-tabs li::after {
  display: none !important;
}

/* Tab Content Panel */
.single-product .woocommerce-tabs .panel {
  padding: 40px !important;
  background: #ffffff !important;
  border: none !important;
  margin: 0 !important;
}

.woocommerce-tabs .panel h2 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--secondary-color) !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--surface-muted) !important;
}

.woocommerce-tabs .panel p {
  color: var(--text-body) !important;
  line-height: 1.7 !important;
  font-size: 15px !important;
  margin-bottom: 16px !important;
}

/* Reviews styling */
.woocommerce-tabs #reviews #comments {
  padding-top: 20px;
}

.woocommerce-tabs #reviews .comment {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--surface-muted);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.single-product div.product .summary,
.single-product div.product .woocommerce-tabs {
  padding-left: 32px;
}

/* Responsive tabs */
@media (max-width: 768px) {
  .woocommerce-tabs ul.tabs,
  .woocommerce-tabs ul.wc-tabs {
    gap: 8px !important;
  }

  .woocommerce-tabs ul.tabs li a,
  .woocommerce-tabs ul.wc-tabs li a {
    padding: 10px 18px !important;
    font-size: 14px !important;
  }

  .single-product .woocommerce-tabs {
    margin-top: 40px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 16px 20px;
  }

  .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .search-bar {
    order: 3;
    width: 100%;
  }

  .user-info {
    justify-content: flex-end;
    gap: 16px;
  }

  .site-content,
  .content-area,
  .site-main {
    padding: 0 20px;
  }

  .single-product .site-main>.product {
    padding: 24px;
  }

  .single-product div.product .summary,
  .single-product div.product .woocommerce-tabs {
    padding-left: 0;
  }
}

/* Cart and Checkout Pages - Modern Design */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  padding-top: 48px;
  padding-bottom: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Page Title */
.entry-header {
  margin-bottom: 40px;
  text-align: center;
}

.entry-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
  letter-spacing: -0.5px;
}

.entry-content {
  line-height: 1.6;
}

/* Cart Table */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
  background: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
}

.woocommerce-cart table.cart thead {
  background: var(--surface-muted);
}

.woocommerce-cart table.cart th {
  padding: 20px 16px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-soft);
}

.woocommerce-cart table.cart td {
  padding: 24px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.woocommerce-cart table.cart tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce-cart table.cart .product-thumbnail img {
  border-radius: 8px;
  max-width: 80px;
  height: auto;
}

.woocommerce-cart table.cart .product-name a {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 16px;
}

.woocommerce-cart table.cart .product-name a:hover {
  color: var(--primary-color);
}

.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 18px;
}

/* Quantity Input */
.woocommerce-cart table.cart .quantity input {
  width: 60px;
  padding: 8px;
  border: 2px solid var(--border-soft);
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
}

/* Remove Button */
.woocommerce-cart table.cart .product-remove a {
  color: var(--text-muted);
  font-size: 20px;
  transition: color 0.2s;
}

.woocommerce-cart table.cart .product-remove a:hover {
  color: #e74c3c;
}

/* Cart Actions */
.woocommerce-cart .actions {
  background: var(--surface-muted);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.woocommerce-cart .actions .coupon {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 300px;
}

.woocommerce-cart .actions .coupon input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border-soft);
  border-radius: 6px;
  font-size: 14px;
}

.woocommerce-cart .actions button {
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.woocommerce-cart .actions button:hover {
  background: var(--primary-color);
}

/* Cart Totals */
.woocommerce-cart .cart-collaterals {
  margin-top: 40px;
}

.woocommerce-cart .cart_totals {
  background: var(--surface-color);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
  max-width: 500px;
  margin-left: auto;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-soft);
}

.woocommerce-cart .cart_totals table {
  width: 100%;
  margin-bottom: 24px;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

.woocommerce-cart .cart_totals th {
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
}

.woocommerce-cart .cart_totals td {
  text-align: right;
  font-weight: 600;
  color: var(--secondary-color);
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  font-size: 20px;
  padding-top: 20px;
  border-bottom: none;
  color: var(--primary-color);
}

/* Proceed to Checkout Button - Premium Design */
.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 32px;
}

.woocommerce-cart .wc-proceed-to-checkout a {
  display: block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(212, 20, 122, 0.35);
  position: relative;
  overflow: hidden;
}

.woocommerce-cart .wc-proceed-to-checkout a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.woocommerce-cart .wc-proceed-to-checkout a:hover::before {
  left: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout a:hover {
  background: linear-gradient(135deg, var(--primary-color-dark) 0%, #8a0c4a 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(212, 20, 122, 0.5);
}

.woocommerce-cart .wc-proceed-to-checkout a:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.4);
}

/* WooCommerce Blocks Checkout Button - Premium Design */
.wc-block-components-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
  display: block !important;
  width: 100% !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%) !important;
  color: #fff !important;
  padding: 16px 32px !important;
  border-radius: 10px !important;
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 20px rgba(212, 20, 122, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 24px !important;
}

.wc-block-components-button__text::after {
  content: ' →';
  margin-left: 8px;
  font-size: 20px;
  transition: transform 0.3s;
  display: inline-block;
}

.wc-block-components-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.wc-block-components-button:hover::before {
  left: 100%;
}

.wc-block-components-button:hover {
  background: linear-gradient(135deg, var(--primary-color-dark) 0%, #8a0c4a 100%) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(212, 20, 122, 0.5) !important;
}

.wc-block-components-button:hover .wc-block-components-button__text::after {
  transform: translateX(4px);
}

.wc-block-components-button:active {
  transform: translateY(-1px) scale(1.01) !important;
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.4) !important;
}

/* Improve button container */
.wp-block-woocommerce-proceed-to-checkout-block {
  margin-top: 32px !important;
}

/* Loading State - Center Spinner */
.wc-block-components-button.is-loading,
.wc-block-components-button[disabled] {
  position: relative !important;
  opacity: 0.8 !important;
  cursor: not-allowed !important;
}

.wc-block-components-button .wc-block-components-spinner {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}

/* Hide text when loading to center spinner better */
.wc-block-components-button.is-loading .wc-block-components-button__text {
  opacity: 0 !important;
}

/* Ensure spinner is visible */
.wc-block-components-spinner {
  width: 24px !important;
  height: 24px !important;
}

/* Checkout Place Order Button - Centered */
.wc-block-checkout__actions,
.wc-block-components-checkout-place-order-button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.wc-block-components-checkout-place-order-button .wc-block-components-button {
  min-width: 300px !important;
  max-width: 500px !important;
  width: auto !important;
  margin: 0 auto !important;
}

.wc-block-components-checkout-place-order-button__text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}




/* Empty Cart Message */
.woocommerce-cart .cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface-color);
  border-radius: 12px;
  margin: 40px 0;
}

.woocommerce-cart .return-to-shop {
  margin-top: 24px;
}

.woocommerce-cart .return-to-shop a {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.woocommerce-cart .return-to-shop a:hover {
  background: var(--primary-color-dark);
}

/* Checkout Page */
.woocommerce-checkout .site-main {
  padding-top: 48px;
  padding-bottom: 72px;
}

.woocommerce-checkout form {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
}

.woocommerce-checkout h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-soft);
}

.woocommerce-checkout .form-row {
  margin-bottom: 20px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-soft);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.woocommerce-checkout .button {
  background: var(--primary-color);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(212, 20, 122, 0.3);
}

.woocommerce-checkout .button:hover {
  background: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-cart table.cart .product-thumbnail {
    display: none;
  }

  .woocommerce-cart .actions {
    flex-direction: column;
  }

  .woocommerce-cart .actions .coupon {
    width: 100%;
    min-width: auto;
  }

  .woocommerce-cart .cart_totals {
    max-width: 100%;
  }

  .entry-title {
    font-size: 28px;
  }
}

/* Mercado Libre Style Login */
.woocommerce-account .entry-title {
  display: none;
}

.woocommerce-account .site-main {
  padding-top: 80px;
  padding-bottom: 100px;
  background: #ffffff;
  /* Main background white as per image */
}

/* Container */
.mercado-login-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Left Side - Text */
.mercado-login-info {
  flex: 1;
  max-width: 450px;
  padding-top: 20px;
}

.mercado-login-info h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: #000;
  margin: 0;
}

/* Right Side - Wrapper */
.mercado-login-form-wrapper {
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Login Card */
.mercado-login-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.login-card-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

/* Inputs */
.mercado-login-card input[type="text"],
.mercado-login-card input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.mercado-login-card input:focus {
  border-color: #3483fa;
  /* Blue focus like MercadoLibre/Google */
  outline: none;
}

/* Continue Button */
.mercado-login-card .button {
  width: 100%;
  background: #3483fa;
  /* MercadoLibre Blue */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 10px;
}

.mercado-login-card .button:hover {
  background: #2968c8;
}

/* Create Account Link */
.login-links {
  text-align: center;
  margin-top: 16px;
}

.create-account-link {
  color: #3483fa;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.create-account-link:hover {
  text-decoration: underline;
}

/* Separator */
.login-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: rgba(0, 0, 0, 0.2);
}

.login-separator::before,
.login-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.login-separator span {
  padding: 0 10px;
  font-size: 14px;
}

/* Google Button */
.google-login-btn {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary-color);
  cursor: pointer;
  transition: background 0.2s;
}

.google-login-btn:hover {
  background: #f5f5f5;
}

/* Security Help Card */
.security-help-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
}

.security-help-card:hover {
  background: #f9f9f9;
}

.security-help-card .arrow {
  margin-left: auto;
  color: #ccc;
}

/* Responsive */
@media (max-width: 900px) {
  .mercado-login-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .mercado-login-info {
    text-align: center;
    padding-top: 0;
  }

  .mercado-login-info h1 {
    font-size: 24px;
  }

  .mercado-login-form-wrapper {
    width: 100%;
  }
}

/* Contact Page Styles */
.mercado-contact-page {
  background: var(--surface-muted);
  min-height: 80vh;
  padding: 60px 20px;
}

.mercado-contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.mercado-contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.mercado-contact-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.mercado-contact-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.mercado-contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

/* Contact Form Card */
.mercado-contact-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-soft);
}

.mercado-contact-card h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--secondary-color);
}

.mercado-contact-form .form-group {
  margin-bottom: 20px;
}

.mercado-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.mercado-contact-form input,
.mercado-contact-form select,
.mercado-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
}

.mercado-contact-form input:focus,
.mercado-contact-form select:focus,
.mercado-contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.mercado-button-primary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.mercado-button-primary:hover {
  background: var(--primary-color-dark);
}

/* Contact Info Side */
.mercado-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-circle {
  width: 64px;
  height: 64px;
  background: rgba(52, 131, 250, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

.info-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.info-card a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
}

.info-card a:hover {
  text-decoration: underline;
}

/* Link wrapper for security card */
.security-help-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

@media (max-width: 768px) {
  .mercado-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Modern My Account Dashboard */
.woocommerce-account .woocommerce {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Navigation Sidebar */
.woocommerce-MyAccount-navigation {
  flex: 0 0 280px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  padding: 20px 0;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 16px 24px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--surface-muted);
  color: var(--primary-color);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(212, 20, 122, 0.05);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  font-weight: 600;
}

/* Content Area */
.woocommerce-MyAccount-content {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-soft);
  padding: 40px;
  min-height: 400px;
}

.woocommerce-MyAccount-content p {
  color: var(--secondary-color);
  font-size: 16px;
  line-height: 1.6;
}

.woocommerce-MyAccount-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.woocommerce-MyAccount-content a:hover {
  text-decoration: underline;
}

/* Responsive Dashboard */
@media (max-width: 900px) {
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }

  .woocommerce-MyAccount-navigation {
    width: 100%;
    flex: none;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    /* Scrollbar space */
  }

  .woocommerce-MyAccount-navigation ul li {
    flex: 0 0 auto;
  }

  .woocommerce-MyAccount-navigation ul li a {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 15px 20px;
    white-space: nowrap;
  }

  .woocommerce-MyAccount-navigation ul li.is-active a {
    border-left-color: transparent;
    border-bottom-color: var(--primary-color);
  }
}

/* ===================================
   MODERN SHOP LAYOUT
   =================================== */

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
}

/* ===================================
   SHOP SIDEBAR
   =================================== */

.shop-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-soft) transparent;
}

.shop-sidebar::-webkit-scrollbar {
  width: 6px;
}

.shop-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-soft);
  border-radius: 3px;
}

.sidebar-widget {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
  border: 1px solid var(--border-soft);
}

.sidebar-widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--surface-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.product-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-categories-list li {
  margin-bottom: 8px;
}

.product-categories-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 15px;
}

.product-categories-list li a:hover {
  background: rgba(212, 20, 122, 0.08);
  color: var(--primary-color);
  transform: translateX(4px);
}

.product-categories-list li.active a {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.category-name {
  flex: 1;
}

.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.product-categories-list li.active .category-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Price Filter Widget */
.sidebar-widget .price_slider_wrapper {
  padding: 10px 0;
}

.sidebar-widget .price_slider {
  margin-bottom: 20px;
}

.sidebar-widget .price_slider_amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sidebar-widget .price_slider_amount .button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-widget .price_slider_amount .button:hover {
  background: var(--primary-color-dark);
}

/* ===================================
   SHOP MAIN CONTENT
   =================================== */

.shop-main {
  min-height: 500px;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border-soft);
}

.shop-header-left {
  flex: 1;
}

.shop-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.shop-result-count {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.shop-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-header-right .woocommerce-ordering {
  margin: 0;
}

.shop-header-right select {
  padding: 10px 40px 10px 16px;
  border: 2px solid var(--border-soft);
  border-radius: 8px;
  background: var(--surface-color);
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f1115' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.shop-header-right select:hover {
  border-color: var(--primary-color);
}

.shop-header-right select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 20, 122, 0.1);
}

/* ===================================
   PRODUCT GRID
   =================================== */

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.shop-product-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

.shop-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 42, 67, 0.15);
  border-color: var(--primary-color);
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--surface-muted);
  overflow: hidden;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-img-secondary {
  opacity: 0;
}

.shop-product-card:hover .product-img-primary {
  opacity: 0;
}

.shop-product-card:hover .product-img-secondary {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(212, 20, 122, 0.3);
}

.product-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.product-card-link:hover .product-card-title {
  color: var(--primary-color);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin: 4px 0;
}

.product-card-rating .stars {
  color: #ffa500;
  letter-spacing: 2px;
  font-size: 16px;
}

.product-card-rating .rating-count {
  color: var(--text-muted);
  font-size: 13px;
}

.product-card-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: auto;
}

.product-card-price del {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 8px;
}

.product-card-price ins {
  text-decoration: none;
  color: var(--primary-color);
}

.product-card-actions {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.product-card-actions .button,
.product-card-actions a.button {
  width: 100%;
  background: var(--secondary-color);
  color: #fff !important;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  box-sizing: border-box;
}

.product-card-actions .button:hover,
.product-card-actions a.button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.3);
}

.product-card-actions .added_to_cart {
  display: block;
  text-align: center;
  padding: 10px;
  width: 100%;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.product-card-actions .added_to_cart:hover {
  text-decoration: underline;
}

/* ===================================
   PAGINATION
   =================================== */

.shop-pagination {
  margin-top: 60px;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-pagination .woocommerce-pagination {
  text-align: center;
}

.shop-pagination .woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.08);
}

.shop-pagination .woocommerce-pagination ul li {
  margin: 0;
}

.shop-pagination .woocommerce-pagination ul li a,
.shop-pagination .woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.shop-pagination .woocommerce-pagination ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--surface-muted);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.shop-pagination .woocommerce-pagination ul li a:hover {
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.2);
}

.shop-pagination .woocommerce-pagination ul li a:hover::before {
  opacity: 1;
}

.shop-pagination .woocommerce-pagination ul li span.current {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(212, 20, 122, 0.35);
  transform: scale(1.05);
}

.shop-pagination .woocommerce-pagination ul li:first-child a,
.shop-pagination .woocommerce-pagination ul li:last-child a {
  font-weight: 700;
  padding: 0 18px;
}

.shop-pagination .woocommerce-pagination ul li .dots {
  color: var(--text-muted);
  font-weight: 700;
  padding: 0 8px;
}

/* ===================================
   BLOG/PAGE PAGINATION (WordPress Standard)
   =================================== */

.navigation.pagination,
.nav-links {
  margin: 60px 0 40px !important;
  text-align: center;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.nav-links .page-numbers,
.pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 6px !important;
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(15, 17, 21, 0.15) !important;
  border: none !important;
  padding: 0 !important;
}

.nav-links .page-numbers:hover,
.pagination .page-numbers:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 8px 20px rgba(212, 20, 122, 0.4) !important;
}

.nav-links .page-numbers.current,
.pagination .page-numbers.current {
  background: var(--primary-color) !important;
  color: #fff !important;
  transform: scale(1.15) !important;
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.5) !important;
  pointer-events: none !important;
}

.nav-links .page-numbers.dots,
.pagination .page-numbers.dots {
  background: transparent !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  pointer-events: none !important;
  font-weight: 700 !important;
  width: auto !important;
  padding: 0 8px !important;
}

.nav-links .page-numbers.dots:hover,
.pagination .page-numbers.dots:hover {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Prev/Next arrows styling */
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next,
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* ===================================
   NO PRODUCTS STATE
   =================================== */

.shop-no-products {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 2px dashed var(--border-soft);
}

.shop-no-products p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.shop-no-products .button {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.shop-no-products .button:hover {
  background: var(--primary-color-dark);
  transform: translateY(-2px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
  .shop-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 32px;
  }

  .shop-sidebar {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }

  .sidebar-widget {
    margin-bottom: 0;
  }

  .shop-header {
    flex-direction: column;
    gap: 16px;
  }

  .shop-header-right {
    width: 100%;
  }

  .shop-header-right select {
    width: 100%;
  }

  .shop-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .product-card-title {
    font-size: 14px;
    min-height: 40px;
  }

  .product-card-price {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .shop-layout {
    padding: 16px;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .shop-product-card {
    border-radius: 12px;
  }

  .product-card-content {
    padding: 12px;
  }

  .product-card-actions {
    padding: 0 12px 12px;
  }

  .product-card-actions .button {
    padding: 12px 16px;
    font-size: 14px;
  }

  .shop-title {
    font-size: 24px;
  }
}

/* ===================================
   HOME PAGE SECTIONS
   =================================== */

/* General Section Styles */
.home-section {
  padding: 60px 0;
  background: var(--surface-color);
  margin-bottom: 40px;
}

.home-section:nth-child(even) {
  background: var(--surface-muted);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.products-grid.top-8 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 42, 67, 0.15);
  border-color: var(--primary-color);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-soft);
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 16px 16px 8px;
  line-height: 1.4;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 16px 16px;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0 16px 16px;
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.3);
}

/* Categories Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.category-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  padding: 24px;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 42, 67, 0.15);
  border-color: var(--primary-color);
}

.category-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 16px;
}

.category-image.placeholder {
  background: linear-gradient(135deg, var(--surface-muted) 0%, var(--border-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image.placeholder::before {
  content: "📦";
  font-size: 48px;
  opacity: 0.3;
}

.category-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.btn-secondary {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 20, 122, 0.3);
}

/* Sales Section */
.sales-banner {
  text-align: center;
  margin-bottom: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  border-radius: 16px;
  color: #fff;
}

.sales-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.sales-banner p {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
}

.sale-product {
  position: relative;
}

.product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.badge {
  background: var(--primary-color);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 20, 122, 0.3);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 3px solid var(--primary-color);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
}

/* Benefits Section */
.benefits-section {
  background: #fafafa;
  padding: 60px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
  border-color: var(--primary-color);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 20, 122, 0.15);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover .benefit-icon {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
  line-height: 1.4;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Responsive Home Sections */
@media (max-width: 900px) {
  .section-container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .products-grid,
  .categories-grid,
  .testimonials-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .benefits-section {
    padding: 50px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .benefit-card {
    padding: 32px 20px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
  }

  .benefit-icon svg {
    width: 32px;
    height: 32px;
  }

  .product-card img {
    height: 180px;
  }

  .category-image {
    height: 140px;
  }
}

@media (max-width: 600px) {
  .home-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .benefits-section {
    padding: 40px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .benefit-card {
    padding: 24px 16px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .benefit-icon svg {
    width: 28px;
    height: 28px;
  }

  .benefit-card h3 {
    font-size: 15px;
  }

  .benefit-card p {
    font-size: 13px;
  }

  .product-card img {
    height: 150px;
  }

  .product-name {
    font-size: 14px;
    min-height: 40px;
    margin: 12px 12px 8px;
  }

  .product-price {
    font-size: 16px;
    margin: 0 12px 12px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 16px;
    font-size: 13px;
    margin: 0 12px 12px;
  }

  .sales-banner {
    padding: 24px 16px;
  }

  .sales-banner h2 {
    font-size: 24px;
  }

  .sales-banner p {
    font-size: 16px;
  }
}

/* ===================================
   ENVÍOS PAGE
   =================================== */

.envios-page {
  background: var(--surface-muted);
  min-height: 80vh;
  padding: 60px 20px;
}

.envios-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.envios-hero {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  border-radius: 24px;
  color: #fff;
}

.envios-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.envios-hero-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.envios-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.envios-hero-subtitle {
  font-size: 20px;
  margin: 0;
  opacity: 0.95;
}

/* Section Styles */
.envios-section {
  margin-bottom: 80px;
}

.envios-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* Envíos Grid */
.envios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.envio-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
  border: 2px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.envio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 42, 67, 0.15);
  border-color: var(--primary-color);
}

.envio-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(212, 20, 122, 0.2);
}

.envio-card.featured .envio-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: #fff;
}

.envio-card.featured .envio-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.envio-card-header {
  padding: 32px;
  background: var(--surface-muted);
  text-align: center;
}

.envio-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 20, 122, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.envio-icon svg {
  width: 32px;
  height: 32px;
}

.envio-card-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--secondary-color);
}

.envio-card.featured .envio-card-header h3 {
  color: #fff;
}

.envio-card-body {
  padding: 32px;
}

.envio-time {
  text-align: center;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--surface-muted);
  border-radius: 16px;
}

.time-number {
  display: block;
  font-size: 56px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.time-unit {
  display: block;
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 600;
}

.envio-description {
  text-align: center;
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.6;
}

.envio-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.envio-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--text-body);
}

.envio-features li:last-child {
  border-bottom: none;
}

.envio-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 32px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
  border: 2px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(212, 20, 122, 0.3);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 24px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-muted);
  border-radius: 50%;
  color: var(--primary-color);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 0 12px 0;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
  border: 2px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
  border-color: var(--primary-color);
}

.info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 20, 122, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover .info-icon {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

.info-icon svg {
  width: 32px;
  height: 32px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 0 12px 0;
}

.info-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.envios-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-light) 100%);
  border-radius: 24px;
  color: #fff;
  margin-top: 80px;
}

.envios-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #fff;
}

.envios-cta p {
  font-size: 18px;
  margin: 0 0 32px 0;
  opacity: 0.9;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-color);
  color: #fff;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(212, 20, 122, 0.4);
}

.btn-cta:hover {
  background: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 20, 122, 0.5);
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

/* Benefit Card Link */
.benefit-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.benefit-card-link:hover {
  color: inherit;
}

/* Responsive Envíos Page */
@media (max-width: 900px) {
  .envios-hero h1 {
    font-size: 36px;
  }

  .envios-hero-subtitle {
    font-size: 18px;
  }

  .envios-section-title {
    font-size: 28px;
  }

  .envios-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .envios-page {
    padding: 40px 16px;
  }

  .envios-hero {
    padding: 40px 20px;
  }

  .envios-hero h1 {
    font-size: 28px;
  }

  .envios-hero-subtitle {
    font-size: 16px;
  }

  .envios-section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .time-number {
    font-size: 48px;
  }

  .envios-cta {
    padding: 40px 24px;
  }

  .envios-cta h2 {
    font-size: 28px;
  }

  .envios-cta p {
    font-size: 16px;
  }

  .btn-cta {
    padding: 14px 32px;
    font-size: 16px;
  }
}

/* ===================================
   PAGO SEGURO PAGE
   =================================== */

.pago-seguro-page {
  background: var(--surface-muted);
  min-height: 80vh;
  padding: 60px 20px;
}

.pago-seguro-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.pago-hero {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  border-radius: 24px;
  color: #fff;
}

.pago-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.pago-hero-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.pago-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.pago-hero-subtitle {
  font-size: 20px;
  margin: 0;
  opacity: 0.95;
}

/* Section Styles */
.pago-section {
  margin-bottom: 80px;
}

.pago-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.pago-section-description {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Métodos de Pago Grid */
.metodos-pago-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.metodo-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
  border: 2px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metodo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 42, 67, 0.15);
  border-color: var(--primary-color);
}

.metodo-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(212, 20, 122, 0.2);
}

.metodo-card.featured .metodo-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: #fff;
}

.metodo-card.featured .metodo-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.metodo-header {
  padding: 32px;
  background: var(--surface-muted);
  text-align: center;
  position: relative;
}

.metodo-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 20, 122, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.metodo-icon svg {
  width: 32px;
  height: 32px;
}

.metodo-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--secondary-color);
}

.metodo-card.featured .metodo-header h3 {
  color: #fff;
}

.metodo-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.metodo-card.featured .metodo-badge {
  background: rgba(255, 255, 255, 0.25);
}

.metodo-badge.badge-chile {
  background: #0039a6;
}

.metodo-body {
  padding: 32px;
}

.metodo-description {
  text-align: center;
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Tarjetas Logos */
.tarjetas-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tarjeta-logo {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tarjeta-logo.visa {
  background: linear-gradient(135deg, #1434CB 0%, #1A1F71 100%);
}

.tarjeta-logo.mastercard {
  background: linear-gradient(135deg, #EB001B 0%, #F79E1B 100%);
}

.tarjeta-logo.amex {
  background: linear-gradient(135deg, #006FCF 0%, #003E7E 100%);
}

.tarjeta-logo.mercadopago {
  background: linear-gradient(135deg, #009ee3 0%, #0082c3 100%);
}

.metodo-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metodo-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--text-body);
}

.metodo-features li:last-child {
  border-bottom: none;
}

.metodo-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Seguridad Section */
.seguridad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.seguridad-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
  border: 2px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seguridad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
  border-color: var(--primary-color);
}

.seguridad-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 50%;
  color: #2ecc71;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seguridad-card:hover .seguridad-icon {
  background: #2ecc71;
  color: #fff;
  transform: scale(1.1);
}

.seguridad-icon svg {
  width: 32px;
  height: 32px;
}

.seguridad-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 0 12px 0;
}

.seguridad-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.06);
  border: 2px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
  border-color: var(--primary-color);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 0 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.faq-item h3::before {
  content: "?";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.pago-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-light) 100%);
  border-radius: 24px;
  color: #fff;
  margin-top: 80px;
}

.pago-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #fff;
}

.pago-cta p {
  font-size: 18px;
  margin: 0 0 32px 0;
  opacity: 0.9;
}

/* Responsive Pago Seguro Page */
@media (max-width: 900px) {
  .pago-hero h1 {
    font-size: 36px;
  }

  .pago-hero-subtitle {
    font-size: 18px;
  }

  .pago-section-title {
    font-size: 28px;
  }

  .metodos-pago-grid {
    grid-template-columns: 1fr;
  }

  .seguridad-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pago-seguro-page {
    padding: 40px 16px;
  }

  .pago-hero {
    padding: 40px 20px;
  }

  .pago-hero h1 {
    font-size: 28px;
  }

  .pago-hero-subtitle {
    font-size: 16px;
  }

  .pago-section-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .pago-section-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .tarjetas-logos {
    flex-direction: column;
    align-items: stretch;
  }

  .tarjeta-logo {
    text-align: center;
  }

  .pago-cta {
    padding: 40px 24px;
  }

  .pago-cta h2 {
    font-size: 28px;
  }

  .pago-cta p {
    font-size: 16px;
  }
}