﻿:root {
      --primary: #0fa37f;
      --primary-dark: #0b7058;
      --secondary: #113a32;
      --text: #1f252b;
      --muted: #64707d;
      --border: #e5e8ec;
      --border-strong: #d8dde3;
      --bg: #f4f5f7;
      --soft: #edf8f4;
      --white: #ffffff;
      --danger: #ef4444;
      --container: 1380px;
      --shadow: 0 14px 34px rgba(14, 39, 33, 0.08);
      --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.45;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    img { max-width: 100%; display: block; height: auto; }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }

    .container {
      width: min(var(--container), calc(100% - 32px));
      margin: 0 auto;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }

    .topbar {
      background: #0c2e27;
      color: #d9f6ed;
      font-size: 0.92rem;
    }

    .topbar-inner {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
      padding: 8px 0;
    }

    .topbar-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }

    .site-header {
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(0,0,0,0.05);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .header-inner {
      min-height: 88px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo a {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      color: var(--secondary);
    }

    .logo-mark {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--primary), #29c79f);
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 800;
      box-shadow: var(--shadow);
    }

    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
    }

    .logo-title {
      font-size: 1.16rem;
      letter-spacing: -0.02em;
    }

    .logo-sub {
      font-size: 0.78rem;
      color: var(--muted);
      font-weight: 600;
    }

    .main-nav {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .main-nav ul {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
    }

    .main-nav a {
      color: #49505a;
      font-size: 0.98rem;
      font-weight: 600;
      transition: 0.2s ease;
    }

    .main-nav a:hover,
    .main-nav a.active {
      color: var(--primary-dark);
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      position: relative;
    }

    .icon-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: #fff;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: 0.2s ease;
      position: relative;
    }

    .icon-btn:hover {
      background: var(--bg);
    }

    .cart-btn {
      position: relative;
      overflow: visible;
    }

    .cart-icon {
      font-size: 18px;
      line-height: 1;
    }

    .cart-count {
      position: absolute;
      top: -8px;
      right: -8px;
      min-width: 22px;
      height: 22px;
      padding: 0 6px;
      border-radius: 999px;
      background: #ff4d4f;
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      border: 2px solid #fff;
    }

    .search-box {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: min(360px, calc(100vw - 24px));
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 14px;
      box-shadow: var(--shadow);
      display: none;
      z-index: 2000;
    }

    .search-box.active {
      display: block;
    }

    .search-form {
      display: flex;
      gap: 8px;
    }

    .search-form input {
      flex: 1;
      min-width: 0;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 11px 12px;
      outline: none;
    }

    .search-form input:focus {
      border-color: var(--primary);
    }

    .search-form button {
      border: none;
      border-radius: 10px;
      padding: 11px 14px;
      background: var(--primary);
      color: #fff;
      font-weight: 800;
      cursor: pointer;
    }

    .search-form button:hover {
      background: var(--primary-dark);
    }

    .search-message {
      margin-top: 10px;
      color: #c0392b;
      font-size: .9rem;
      display: none;
    }

    .phone {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 0.95rem;
      white-space: nowrap;
      padding: 0 4px;
    }

    .login-btn {
      padding: 11px 18px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #fff;
      color: #4e555f;
      font-weight: 600;
      transition: 0.2s ease;
    }

    .login-btn:hover {
      background: var(--bg);
    }

    .hero {
      padding: 34px 0 20px;
      background: #f7f8f8;
      border-bottom: 1px solid #e9ecef;
    }

    .breadcrumbs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      color: #7a8594;
      font-size: 14px;
      margin-bottom: 18px;
    }

    .eyebrow {
      display: inline-block;
      color: #13866f;
      font-weight: 800;
      font-size: clamp(1.1rem, 2vw, 1.5rem);
      margin-bottom: 10px;
    }

    .eyebrow span {
      color: #1f2937;
      font-weight: 500;
    }

    h1 {
      margin: 0 0 16px;
      font-size: clamp(2rem, 4vw, 3.4rem);
      line-height: 1.06;
      letter-spacing: -0.04em;
      max-width: 1000px;
    }

    .hero p {
      max-width: 980px;
      margin: 0;
      font-size: 1.04rem;
      color: #525f6d;
    }

    .layout {
      padding: 24px 0 58px;
    }

    .cart-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(320px, 430px);
      gap: 24px;
      align-items: start;
    }

    .card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 24px;
      box-shadow: var(--shadow-soft);
    }

    .cart-card {
      padding: 0;
      overflow: hidden;
    }

    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 24px 24px 18px;
      border-bottom: 1px solid #eceff3;
      flex-wrap: wrap;
    }

    .cart-title {
      font-size: 1.5rem;
      font-weight: 800;
      margin: 0 0 6px;
    }

    .cart-subtitle {
      margin: 0;
      color: var(--muted);
      font-size: 0.98rem;
    }

    .cart-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      padding: 0 16px;
      border-radius: 999px;
      background: #f7faf9;
      border: 1px solid #dce8e2;
      color: #256a5f;
      font-weight: 700;
    }

    .cart-items {
      display: grid;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 122px 1fr auto;
      gap: 18px;
      padding: 22px 24px;
      border-top: 1px solid #eef2f5;
      align-items: center;
    }

    .cart-item:first-child {
      border-top: 0;
    }

    .cart-media {
      position: relative;
      aspect-ratio: 1 / 1;
      border-radius: 18px;
      overflow: hidden;
      background: #f1f4f3;
    }

    .cart-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .item-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      color: #157c68;
      font-size: 12px;
      font-weight: 800;
    }

    .item-category {
      display: inline-block;
      font-size: 0.76rem;
      font-weight: 800;
      color: #157c68;
      background: #edf8f4;
      border-radius: 999px;
      padding: 6px 10px;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: .03em;
    }

    .item-title {
      margin: 0 0 8px;
      font-size: 1.06rem;
      line-height: 1.35;
      font-weight: 800;
      color: #1f2937;
    }

    .item-meta {
      color: var(--muted);
      font-size: 0.95rem;
      margin-bottom: 12px;
    }

    .item-details {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 14px;
    }

    .detail-pill {
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 0 12px;
      border-radius: 999px;
      background: #f8fafc;
      border: 1px solid #e5ebf1;
      color: #475467;
      font-size: 0.9rem;
      font-weight: 600;
    }

    .item-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .qty-box {
      display: inline-flex;
      align-items: center;
      border: 1px solid #dce2e8;
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
    }

    .qty-btn {
      width: 44px;
      height: 44px;
      border: 0;
      background: #fff;
      color: #344054;
      font-size: 1.2rem;
      cursor: pointer;
    }

    .qty-value {
      min-width: 52px;
      text-align: center;
      font-weight: 800;
      color: #1f2937;
    }

    .item-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .link-btn {
      border: 0;
      background: transparent;
      color: #667085;
      font-weight: 700;
      cursor: pointer;
      padding: 0;
    }

    .link-btn.remove {
      color: #ef4444;
    }

    .item-price {
      text-align: right;
      min-width: 130px;
    }

    .price-label {
      color: var(--muted);
      font-size: 0.92rem;
      margin-bottom: 6px;
    }

    .price-main {
      font-size: 1.28rem;
      font-weight: 900;
      color: #111827;
    }

    .price-old {
      font-size: 0.94rem;
      color: #98a2b3;
      text-decoration: line-through;
      margin-top: 4px;
    }

    .cart-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      padding: 20px 24px 24px;
      border-top: 1px solid #eef2f5;
      background: #fcfcfd;
    }

    .continue-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #157c68;
      font-weight: 800;
    }

    .summary-card {
      padding: 24px;
      position: sticky;
      top: 122px;
    }

    .summary-title {
      margin: 0 0 18px;
      font-size: 1.4rem;
      font-weight: 800;
      color: #18212f;
    }

    .coupon-box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      margin-bottom: 18px;
    }

    .coupon-box input {
      min-height: 54px;
      border-radius: 16px;
      border: 1px solid #dce3e8;
      padding: 0 16px;
      outline: none;
      background: #fff;
      color: #344054;
    }

    .coupon-btn {
      min-height: 54px;
      padding: 0 18px;
      border-radius: 16px;
      border: 1px solid #dce3e8;
      background: #fff;
      color: #344054;
      font-weight: 800;
      cursor: pointer;
    }

    .summary-lines {
      display: grid;
      gap: 14px;
      padding: 18px 0;
      border-top: 1px solid #edf2f5;
      border-bottom: 1px solid #edf2f5;
    }

    .summary-line {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      color: #475467;
      font-size: 0.98rem;
    }

    .summary-line strong {
      color: #101828;
    }

    .summary-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 18px 0 6px;
    }

    .summary-total span {
      font-size: 1rem;
      color: #344054;
      font-weight: 700;
    }

    .summary-total strong {
      font-size: 1.7rem;
      color: #111827;
      font-weight: 900;
    }

    .summary-note {
      font-size: 0.92rem;
      color: var(--muted);
      margin: 0 0 18px;
    }

    .checkout-btn {
      width: 100%;
      min-height: 58px;
      border: 0;
      border-radius: 18px;
      background: linear-gradient(180deg, var(--primary), #10a789);
      color: #fff;
      font-weight: 900;
      font-size: 1rem;
      cursor: pointer;
      margin-bottom: 12px;
      box-shadow: 0 12px 24px rgba(25,179,148,0.18);
    }

    .secondary-btn {
      width: 100%;
      min-height: 54px;
      border-radius: 16px;
      border: 1px solid #dbe2e8;
      background: #fff;
      color: #344054;
      font-weight: 800;
      cursor: pointer;
    }

    .trust-list {
      display: grid;
      gap: 12px;
      margin-top: 18px;
    }

    .trust-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: #475467;
      font-size: 0.95rem;
    }

    .trust-item strong {
      color: #111827;
    }

    .benefits {
      margin-top: 24px;
      padding: 24px;
    }

    .benefits h2 {
      margin: 0 0 16px;
      font-size: 1.4rem;
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .benefit-card {
      border: 1px solid #e2e8f0;
      border-radius: 18px;
      padding: 18px;
      background: linear-gradient(180deg, #ffffff, #fafcfc);
    }

    .benefit-card strong {
      display: block;
      font-size: 1rem;
      margin-bottom: 8px;
      color: #111827;
    }

    .benefit-card p {
      margin: 0;
      color: #667085;
      font-size: 0.95rem;
    }

    .seo-copy {
      margin-top: 24px;
      padding: 24px;
    }

    .seo-copy h2 {
      margin: 0 0 14px;
      font-size: 1.35rem;
    }

    .seo-copy p {
      margin: 0 0 10px;
      color: #667085;
    }

    .empty-cart {
      padding: 28px 24px 32px;
      color: #667085;
    }

    .empty-cart strong {
      display: block;
      color: #111827;
      font-size: 1.15rem;
      margin-bottom: 8px;
    }

    .empty-cart a {
      color: #16816e;
      font-weight: 800;
    }

    .footer {
      margin-top: 48px;
      padding: 42px 0;
      background: #0f172a;
      color: rgba(255,255,255,.8);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr .8fr .8fr;
      gap: 24px;
    }

    .footer h3 {
      color: #fff;
      margin: 0 0 14px;
    }

    .footer p,
    .footer li {
      color: rgba(255,255,255,.72);
    }

    .footer ul {
      list-style: none;
      display: grid;
      gap: 10px;
      padding: 0;
      margin: 0;
    }
    .cart-variant{
  color:#64707d;
  font-size:14px;
  margin-top:4px;
}

    @media (max-width: 1280px) {
      .cart-layout,
      .benefits-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 1024px) {
      .main-nav {
        display: none;
      }

      .cart-layout {
        grid-template-columns: 1fr;
      }

      .summary-card {
        position: static;
      }
    }

    @media (max-width: 680px) {
      .container {
        width: min(100% - 20px, var(--container));
      }

      .header-inner {
        padding: 14px 0;
        min-height: auto;
      }

      .header-right .phone,
      .header-right .login-btn {
        display: none;
      }

      .cart-header,
      .cart-item,
      .cart-footer,
      .summary-card,
      .benefits,
      .seo-copy {
        padding-left: 18px;
        padding-right: 18px;
      }

      .cart-item {
        grid-template-columns: 1fr;
      }

      .item-price {
        text-align: left;
        min-width: 0;
      }

      .coupon-box {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

/* Premium checkout/cart finish */
body{
  background:
    radial-gradient(circle at 12% 0%, rgba(15,163,127,.08), transparent 28%),
    linear-gradient(180deg, #f7faf8 0%, #eef4f2 100%);
}

.hero{
  background:
    linear-gradient(135deg, rgba(12,46,39,.95), rgba(15,112,92,.86));
  color:#fff;
  border-bottom:0;
}

.hero h1,
.hero .eyebrow{
  color:#fff;
}

.hero p,
.breadcrumbs{
  color:rgba(255,255,255,.78);
}

.card,
.cart-card,
.summary-card,
.benefits,
.seo-copy{
  border-color:rgba(13,63,52,.12);
  border-radius:22px;
  box-shadow:0 24px 58px rgba(15,35,48,.10);
}

.cart-header,
.cart-footer{
  background:#fbfdfc;
}

.cart-media{
  border-radius:18px;
  box-shadow:inset 0 0 0 1px rgba(13,63,52,.08);
}

.cart-chip,
.detail-pill{
  border-color:#d8eee8;
  background:#f0faf7;
  color:#0c6f5a;
}

.qty-box,
.coupon-box input,
.coupon-btn,
.secondary-btn{
  border-color:rgba(13,63,52,.16);
  border-radius:14px;
}

.checkout-btn{
  background:#0c2e27;
  border-radius:16px;
  box-shadow:0 18px 34px rgba(12,46,39,.18);
}

.checkout-btn:hover{
  background:#0f705c;
}

.checkout-btn:disabled{
  cursor:not-allowed;
  opacity:.62;
  background:#7f918b;
  box-shadow:none;
  transform:none;
}

.benefit-card{
  border-color:rgba(13,63,52,.12);
  background:linear-gradient(180deg,#fff,#f8fcfb);
}
/* Codigo: muestra el logo oficial de EspacioDucha en cabeceras y pies. */
.logo-image,
.brand-logo-image,
.ed-brand-logo-image,
.payment-logo-image {
  display: block;
  width: clamp(118px, 13vw, 168px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand .logo-image {
  width: 158px;
  max-height: 72px;
}

.payment-logo-image {
  width: 150px;
  max-height: 78px;
}

.logo a,
.brand,
.ed-brand {
  min-width: 0;
}

@media (max-width: 640px) {
  .logo-image,
  .brand-logo-image,
  .ed-brand-logo-image {
    width: 122px;
    max-height: 56px;
  }
}

.cart-advice-link{
  width:100%;
  text-align:center;
  text-decoration:none;
}

.cart-summary-visual{
  min-height:210px;
  margin-top:18px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(4,29,25,.02), rgba(4,29,25,.24)),
    url("assets/premium/product-editorial.jpg") center / cover no-repeat;
  border:1px solid rgba(13,66,55,.12);
  box-shadow:0 20px 42px rgba(13,40,35,.12);
}

.cart-process-band{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}

.cart-process-band div{
  padding:22px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 42px rgba(15,35,48,.08);
}

.cart-process-band span{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  margin-bottom:14px;
  border-radius:50%;
  background:#e8f8f3;
  color:#0f705c;
  font-weight:900;
}

.cart-process-band strong{
  display:block;
  color:#0c2e27;
  margin-bottom:6px;
}

.cart-process-band p{
  color:#52645e;
  margin:0;
}

@media(max-width:820px){
  .cart-process-band{
    grid-template-columns:1fr;
  }
}

.cart-recommendations{
  margin-top:24px;
  padding:26px;
  background:#fff;
}

.cart-recommendations h2{
  margin:0 0 6px;
  color:#0c2e27;
  font-size:clamp(1.35rem, 2vw, 1.85rem);
}

.cart-recommendations > p{
  margin:0 0 20px;
  max-width:760px;
  color:#52645e;
}

.cart-recommendations-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.cart-recommendations-grid article{
  overflow:hidden;
  border:1px solid rgba(13,63,52,.12);
  border-radius:20px;
  background:linear-gradient(180deg,#fff,#f8fcfb);
  color:#0c2e27;
  text-decoration:none;
  box-shadow:0 18px 40px rgba(15,35,48,.08);
}

.cart-recommendations-grid img{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}

.cart-recommendations-grid article > strong,
.cart-recommendations-grid article > p,
.cart-recommendations-grid article > a{
  display:block;
  margin-left:18px;
  margin-right:18px;
}

.cart-recommendations-grid article > strong{
  margin-top:18px;
}

.cart-recommendations-grid article > a{
  margin-bottom:18px;
  color:#0f705c;
  font-weight:900;
}

.cart-recommendation div{
  padding:18px;
}

.cart-recommendations-grid strong{
  display:block;
  margin-bottom:6px;
  font-size:1.04rem;
}

.cart-recommendations-grid p{
  color:#52645e;
  font-size:.94rem;
  line-height:1.45;
}

@media(max-width:820px){
  .cart-recommendations-grid{
    grid-template-columns:1fr;
  }
}

