/* ════════════════════════════════════════════════════════════════
   UnilimpioSur — Main stylesheet
   Mirrors the prototype design exactly.
═══════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0B2540;
  --ink-soft:   #1C3A58;
  --muted:      #5B6B7E;
  --muted-2:    #94A3B5;
  --line:       #E4EAF0;
  --line-soft:  #F0F4F8;
  --bg:         #F6F9FC;
  --surface:    #FFFFFF;
  --brand:      #1E54E0;
  --brand-dk:   #1642B4;
  --brand-tint: #EEF3FE;
  --green:      #18A34B;
  --green-tint: #E7F6EE;
  --green-dk:   #0F7A38;
  --warn:       #D82A2A;
  --warn-tint:  #FDECEC;
  --shadow-sm:  0 1px 3px rgba(10,37,64,.05);
  --shadow-md:  0 6px 24px rgba(10,37,64,.08);
  --shadow-lg:  0 20px 56px rgba(10,37,64,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }

/* Hide WP admin bar overflow */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }


/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
  animation: slideDown .5s ease both;
}

.header-left {
  display: flex; gap: 28px; align-items: center;
  animation: fadeUp .5s ease .15s both;
}
.header-link {
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
  transition: color .2s, transform .2s;
  position: relative; padding: 4px 0;
}
.header-link:hover { color: var(--brand); transform: translateY(-1px); }
.header-link.active,
.header-link.current-menu-item { color: var(--brand); }
.header-link.active::after,
.header-link.current-menu-item > a::after {
  content: '';
  position: absolute; bottom: -29px; left: 0; right: 0;
  height: 2.5px; background: var(--brand); border-radius: 2px;
  animation: scaleIn .3s ease both;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) .1s both;
  transition: transform .3s;
}
.site-logo:hover { transform: scale(1.04); }
.site-logo img {
  height: 80px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(10,37,64,.07));
  transition: filter .3s;
}
.site-logo:hover img {
  filter: drop-shadow(0 4px 14px rgba(10,37,64,.14));
}

/* Header right */
.header-right {
  display: flex; justify-content: flex-end; align-items: center; gap: 20px;
  animation: slideInRight .5s ease .2s both;
}
.budget {
  text-align: center;
  animation: fadeUp .5s ease .3s both;
}
.budget-amount {
  font-size: 22px; font-weight: 900; color: var(--ink);
  line-height: 1; font-variant-numeric: tabular-nums;
  transition: color .3s, transform .2s;
}
.budget-amount:hover { transform: scale(1.05); }
.budget-amount.over { color: var(--warn); }
.budget-label {
  font-size: 11px; color: var(--muted); font-weight: 700;
  margin-top: 3px; letter-spacing: .03em;
}
.budget-label.over { color: var(--warn); }

.cart-pill {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  cursor: pointer; padding: 8px 12px; border-radius: 12px;
  transition: all .2s; background: transparent; border: 0;
  position: relative;
}
.cart-pill:hover { background: var(--line-soft); }
.cart-icon { width: 30px; height: 30px; position: relative; }
.cart-icon svg { display: block; color: var(--ink); transition: color .2s; }
.cart-pill:hover .cart-icon svg { color: var(--brand); }
.cart-badge {
  position: absolute; top: -5px; right: -7px;
  background: var(--warn); color: #fff;
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--surface);
  animation: bounce-in .4s cubic-bezier(.34,1.56,.64,1) .5s both;
}
.cart-lbl { font-size: 11px; color: var(--muted); font-weight: 700; }

.btn-account {
  background: var(--brand); color: #fff; border: 0;
  padding: 10px 22px; border-radius: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  font-family: 'Nunito', sans-serif;
  transition: all .2s;
  position: relative; overflow: hidden;
  text-decoration: none; display: inline-block;
}
.btn-account::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform .5s;
}
.btn-account:hover { background: var(--brand-dk); transform: translateY(-1px); color: #fff; }
.btn-account:hover::before { transform: translateX(100%); }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 1.5px solid var(--line);
  border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0;
  transition: all .25s;
  position: relative; z-index: 102;
}
.hamburger:hover { background: var(--line-soft); border-color: var(--brand); }
.hamburger .bar {
  width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .3s cubic-bezier(.4,.0,.2,1);
  transform-origin: center;
}
.hamburger.open { background: var(--line-soft); border-color: var(--brand); }
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-backdrop {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(11,37,64,.35);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  z-index: 100;
  pointer-events: none;
}
.mobile-nav.open { pointer-events: auto; }

.mobile-nav-panel {
  background: var(--surface);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0 16px;
  transform: translateY(-16px) scale(.97);
  opacity: 0;
  transition: all .35s cubic-bezier(.4,.0,.2,1);
}
.mobile-nav.open .mobile-nav-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-nav-links { list-style: none; padding: 8px 16px; }
.mobile-nav-links li { opacity: 0; transform: translateX(-12px); }
.mobile-nav.open .mobile-nav-links li { animation: menuItemIn .35s ease both; }
.mobile-nav.open .mobile-nav-links li:nth-child(1) { animation-delay: .08s; }
.mobile-nav.open .mobile-nav-links li:nth-child(2) { animation-delay: .14s; }
.mobile-nav.open .mobile-nav-links li:nth-child(3) { animation-delay: .20s; }
.mobile-nav.open .mobile-nav-links li:nth-child(4) { animation-delay: .26s; }
.mobile-nav.open .mobile-nav-links li:nth-child(5) { animation-delay: .32s; }

.mobile-nav-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  font-size: 16px; font-weight: 700; color: var(--ink-soft);
  transition: all .2s; text-decoration: none;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { background: var(--brand-tint); color: var(--brand); }
.mobile-nav-links a .nav-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.mobile-nav-links a:hover .nav-icon,
.mobile-nav-links a.active .nav-icon { background: var(--brand-tint); }
.mobile-nav-links a .nav-icon svg { color: var(--muted); transition: color .2s; }
.mobile-nav-links a:hover .nav-icon svg,
.mobile-nav-links a.active .nav-icon svg { color: var(--brand); }

.mobile-nav-divider { height: 1px; background: var(--line); margin: 8px 24px; }

.mobile-nav-footer { padding: 8px 16px 0; opacity: 0; transform: translateY(8px); }
.mobile-nav.open .mobile-nav-footer { animation: fadeUp .35s ease .36s both; }
.mobile-nav-budget {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--line-soft); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
}
.mobile-nav-budget .mnb-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.mobile-nav-budget .mnb-value {
  font-size: 20px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums;
}
.mobile-nav-account {
  display: block; width: 100%;
  background: var(--brand); color: #fff; border: 0;
  padding: 14px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 800; letter-spacing: .06em;
  font-family: 'Nunito', sans-serif;
  text-align: center; text-decoration: none; transition: background .2s;
}
.mobile-nav-account:hover { background: var(--brand-dk); color: #fff; }


/* ═══════════════════════════════════════
   PAGE TITLE BAR
═══════════════════════════════════════ */
.page-title-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 18px 44px;
  display: flex; align-items: center; justify-content: space-between;
}
.breadcrumb { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.breadcrumb em, .breadcrumb a:hover { color: var(--ink); font-style: normal; }
.breadcrumb a { color: var(--muted); font-weight: 700; }
.page-title-bar h1 {
  font-size: 26px; font-weight: 900; color: var(--ink); letter-spacing: -.025em;
}
.page-title-bar .meta-right { font-size: 15px; color: var(--muted); font-weight: 700; text-align: right; }
.page-title-bar .meta-right strong { color: var(--ink); font-weight: 900; }

.page-title-bar.shop-banner {
  padding: 40px 44px;
  border-bottom: none;
  border-radius: 0;
  flex-shrink: 0;
}
.shop-banner h1 {
  font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -.025em;
}
.shop-banner .meta-right { color: rgba(255,255,255,.7); }
.shop-banner .meta-right strong { color: #fff; }


/* ═══════════════════════════════════════
   SHOP LAYOUT
═══════════════════════════════════════ */
.shop-wrap {
  max-width: 1320px; margin: 0 auto;
  padding: 36px 44px 64px;
  display: grid; grid-template-columns: 210px 1fr; gap: 40px;
}

.sidebar { position: sticky; top: 120px; align-self: start; }

.sb-block { margin-bottom: 8px; }
.sb-title {
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.sb-title .count {
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 1px 8px; border-radius: 100px;
}

.cat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cat-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  font-size: 15px; font-weight: 700; color: var(--ink-soft);
  border-radius: 8px; cursor: pointer; transition: all .15s;
}
.cat-list li:hover, .cat-list li a:hover { background: var(--line-soft); color: var(--ink); }
.cat-list li.active, .cat-list li.current-cat { background: var(--brand-tint); color: var(--brand); }
.cat-list li a {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.cat-list li .n {
  font-size: 13px; color: var(--muted-2); font-weight: 700;
  background: rgba(0,0,0,.05); padding: 2px 8px; border-radius: 20px;
}
.cat-list li.active .n, .cat-list li.current-cat .n { background: rgba(30,84,224,.1); color: var(--brand); }


/* Products column */
.products-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.shop-search-wrap {
  width: 100%; position: relative; display: flex; align-items: center;
}
.shop-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.shop-search-input {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 40px 12px 42px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
  font-family: 'Nunito', sans-serif;
}
.shop-search-input::placeholder { color: var(--muted-2); font-weight: 600; }
.shop-search-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,84,224,.1); }
.shop-search-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--muted-2); cursor: pointer;
  display: none; line-height: 1; font-weight: 700;
  transition: color .15s;
}
.shop-search-clear:hover { color: var(--ink); }
.shop-search-clear.visible { display: block; }

.shop-search-loading {
  text-align: center; padding: 60px 20px; color: var(--muted); font-weight: 700;
  font-size: 15px;
}
.shop-search-loading .spinner {
  width: 32px; height: 32px; border: 3px solid var(--line);
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin .6s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.shop-no-results {
  text-align: center; padding: 60px 20px; color: var(--muted);
}
.shop-no-results .icon { font-size: 48px; margin-bottom: 12px; }
.shop-no-results h3 { font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.shop-no-results p { font-weight: 600; }

.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  list-style: none;
}
.product, .products li.product {
  cursor: pointer; animation: fadeUp .5s ease both;
  list-style: none;
}
.product:nth-child(1) { animation-delay: .04s; }
.product:nth-child(2) { animation-delay: .08s; }
.product:nth-child(3) { animation-delay: .12s; }
.product:nth-child(4) { animation-delay: .16s; }
.product:nth-child(5) { animation-delay: .20s; }
.product:nth-child(6) { animation-delay: .24s; }
.product:nth-child(7) { animation-delay: .28s; }
.product:nth-child(8) { animation-delay: .32s; }
.product:nth-child(9) { animation-delay: .36s; }

.product-img {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; height: 220px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; transition: all .25s;
}
.product:hover .product-img {
  border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-4px);
}
.product-img .ill, .product-img img {
  max-width: 80%; max-height: 80%; object-fit: contain;
  transition: transform .3s;
}
.product-img .ill { font-size: 80px; }
.product:hover .product-img .ill,
.product:hover .product-img img { transform: scale(1.06); }

.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  z-index: 2;
}
.product-tag.green { background: var(--green); }

.product-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  border: 1.5px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--muted);
  opacity: 0; transform: translateY(-4px); transition: all .2s;
  z-index: 2;
}
.product:hover .product-fav { opacity: 1; transform: translateY(0); }

.product-quick {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  background: var(--ink); color: #fff; border: 0;
  border-radius: 9px; padding: 11px 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(8px); transition: all .2s;
  text-decoration: none;
  z-index: 2;
}
.product:hover .product-quick { opacity: 1; transform: translateY(0); }
.product-quick:hover { background: var(--brand); color: #fff; }
.product-quick svg { width: 14px; height: 14px; }

.product-body { padding: 14px 2px 0; }
.product-sku {
  font-size: 12px; color: var(--muted-2);
  font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 5px;
}
.product-name, .woocommerce-loop-product__title {
  font-size: 15px !important; font-weight: 800 !important; color: var(--ink) !important;
  line-height: 1.35 !important; margin: 0 0 6px !important;
  padding: 0 !important;
}
.product-foot { display: flex; align-items: baseline; justify-content: space-between; }
.product-price, .product .price {
  font-size: 24px !important; font-weight: 900 !important; color: var(--ink) !important;
  line-height: 1; font-variant-numeric: tabular-nums;
  text-decoration: none !important;
}
.product .added_to_cart { display: none !important; }

/* Pagination */
.pagi, .woocommerce-pagination ul {
  display: flex; gap: 4px; justify-content: center;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
  list-style: none;
}
.woocommerce-pagination ul { border: 0; padding: 0; }
.pagi button, .woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
  min-width: 38px; height: 38px; background: transparent;
  border: 1.5px solid transparent; border-radius: 8px;
  font-size: 14px; font-weight: 800; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; transition: all .15s;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  text-decoration: none;
}
.pagi button:hover, .woocommerce-pagination ul li a:hover { background: var(--line-soft); border-color: var(--line); }
.pagi button.active, .woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagi button.nav { color: var(--muted); padding: 0 16px; font-size: 13px; }


/* ═══════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════ */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(11,37,64,.4);
  backdrop-filter: blur(4px); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 460px;
  max-width: 100vw;
  background: var(--surface); z-index: 201; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.mini-cart-fragment { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.drawer-head {
  padding: 22px 28px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-head h3 { font-size: 22px; font-weight: 900; color: var(--ink); }
.drawer-head h3 span { color: var(--brand); font-weight: 700; font-size: 16px; margin-left: 6px; }
.drawer-close {
  width: 36px; height: 36px; background: transparent;
  border: 1.5px solid var(--line); border-radius: 50%;
  color: var(--ink); font-size: 18px; transition: all .15s;
}
.drawer-close:hover { background: var(--line-soft); }

.drawer-items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.drawer-items .empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
  font-weight: 700;
}
.drawer-items .empty span { font-size: 48px; display: block; margin-bottom: 16px; }
.di-item {
  display: grid; grid-template-columns: 68px 1fr auto;
  gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line-soft); align-items: center;
}
.di-thumb {
  width: 68px; height: 68px; border-radius: 10px;
  background: var(--line-soft); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.di-thumb img { width: 100%; height: 100%; object-fit: cover; }
.di-name {
  font-size: 14px; font-weight: 800; line-height: 1.35;
  color: var(--ink); margin-bottom: 6px; text-decoration: none; display: block;
}
.di-name:hover { color: var(--brand); }
.di-qty { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.di-qty .price { color: var(--brand); font-weight: 800; }
.di-remove {
  background: transparent; border: 0; color: var(--muted-2);
  font-size: 20px; padding: 4px; border-radius: 6px;
  transition: color .15s; align-self: start; line-height: 1;
  text-decoration: none;
}
.di-remove:hover { color: var(--warn); }

.drawer-foot {
  padding: 22px 28px; border-top: 1px solid var(--line); background: var(--line-soft);
}
.subtotal-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px;
}
.subtotal-row .l { font-size: 13px; color: var(--muted); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.subtotal-row .v { font-size: 28px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.drawer-note { font-size: 13px; color: var(--muted); font-weight: 600; margin: 10px 0 18px; line-height: 1.5; }

.btn-primary {
  width: 100%; background: var(--ink); color: #fff; border: 0;
  border-radius: 10px; padding: 15px 24px;
  font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .2s; text-decoration: none;
}
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); color: #fff; }
.btn-primary .arrow { display: inline-block; transition: transform .25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }


/* ═══════════════════════════════════════
   CHECKOUT
═══════════════════════════════════════ */
.checkout-titlebar {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 18px 44px;
}
.checkout-titlebar h1 { font-size: 30px; font-weight: 900; color: var(--ink); letter-spacing: -.025em; }
.checkout-titlebar h1 span { color: var(--brand); }

.empty-cart {
  max-width: 480px; margin: 80px auto 120px; text-align: center;
}
.empty-cart-icon { margin-bottom: 24px; }
.empty-cart h2 {
  font-size: 24px; font-weight: 900; color: var(--ink);
  letter-spacing: -.025em; margin-bottom: 10px;
}
.empty-cart p {
  font-size: 15px; color: var(--muted); font-weight: 600;
  line-height: 1.6; margin-bottom: 32px;
}
.btn-back-shop {
  display: inline-block; padding: 14px 36px;
  background: var(--brand); color: #fff !important;
  font-weight: 800; font-size: 15px;
  border-radius: 12px; transition: background .15s;
}
.btn-back-shop:hover { background: var(--brand-dk); }

.checkout-wrap {
  max-width: 1320px; margin: 0 auto;
  padding: 36px 44px 80px;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 40px; align-items: start;
}

.budget-alert {
  grid-column: 1 / -1;
  background: var(--warn-tint); border: 1px solid #F3BBBB;
  border-left: 4px solid var(--warn); border-radius: 10px;
  padding: 18px 22px; display: flex; gap: 16px; align-items: center;
  animation: slideDown .35s ease both; margin-bottom: 4px;
}
.budget-alert .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--warn); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; flex-shrink: 0;
}
.ba-body { flex: 1; }
.ba-title { font-size: 15px; font-weight: 800; color: #8B1818; margin-bottom: 3px; }
.ba-desc { font-size: 14px; color: #B22020; font-weight: 600; line-height: 1.4; }
.ba-desc strong { font-weight: 900; }

/* Section cards */
.section-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden; margin-bottom: 20px;
}
.section-card-head {
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--line-soft);
}
.section-card-head h2 { font-size: 18px; font-weight: 900; color: var(--ink); }
.section-card-head h2 span { color: var(--brand); font-weight: 700; font-size: 15px; margin-left: 6px; }
.section-card-head .meta { font-size: 12px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.line-table { width: 100%; border-collapse: collapse; }
.line-table thead th {
  padding: 12px 20px; font-size: 12px; font-weight: 800;
  text-align: left; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: #FAFBFD; border-bottom: 1px solid var(--line);
}
.line-table thead th:nth-child(3),
.line-table thead th:nth-child(4),
.line-table thead th:nth-child(5) { text-align: right; }
.line-table tbody td {
  padding: 18px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: middle;
}
.line-table tbody tr:last-child td { border-bottom: 0; }

.lt-x {
  background: transparent; border: 1.5px solid var(--line);
  width: 28px; height: 28px; border-radius: 50%;
  color: var(--muted); font-size: 15px; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.lt-x:hover { border-color: var(--warn); color: var(--warn); }

.lt-prod { display: flex; align-items: center; gap: 16px; }
.lt-prod .thumb {
  width: 60px; height: 60px; border-radius: 10px;
  background: var(--line-soft); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
}
.lt-prod .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lt-prod .info strong, .lt-prod .info a { display: block; font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; line-height: 1.35; text-decoration: none; }
.lt-prod .info a:hover { color: var(--brand); }
.lt-prod .info span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .05em; }

.lt-price { text-align: right; font-size: 18px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lt-price .cur { font-size: 12px; color: var(--muted); font-weight: 700; margin-right: 1px; }
.lt-subtotal { text-align: right; font-size: 20px; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lt-subtotal .cur { font-size: 13px; color: var(--muted); font-weight: 700; margin-right: 1px; }

.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden;
}
.qty-stepper button {
  background: var(--surface); border: 0;
  width: 32px; height: 34px; color: var(--muted);
  font-size: 17px; font-family: 'Nunito', sans-serif;
  transition: background .12s;
}
.qty-stepper button:hover { background: var(--line-soft); color: var(--ink); }
.qty-stepper input {
  border: 0; width: 40px; text-align: center;
  font-size: 14px; font-weight: 900; color: var(--ink);
  font-variant-numeric: tabular-nums; outline: none;
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  height: 34px; background: var(--surface);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.notes-area { padding: 22px; }
.notes-area label {
  display: block; font-size: 13px; font-weight: 800;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.notes-area textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-size: 15px; color: var(--ink);
  resize: vertical; min-height: 100px; outline: none;
  background: var(--bg); transition: border-color .15s;
  font-family: 'Nunito', sans-serif;
}
.notes-area textarea:focus { border-color: var(--brand); background: var(--surface); }

/* Form fields */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .15s;
  font-family: 'Nunito', sans-serif; background: var(--surface);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--brand); }
.form-row.form-row-first, .form-row.form-row-last { width: 49%; display: inline-block; }
.form-row.form-row-first { margin-right: 1.5%; }

/* Order summary */
.order-summary {
  position: sticky; top: 90px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.os-head {
  padding: 20px 24px; background: var(--ink); color: #fff;
}
.os-head h3 { font-size: 20px; font-weight: 900; color: #fff; }
.os-head h3 span { opacity: .65; font-weight: 600; font-size: 14px; margin-left: 6px; }
.os-head .num { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); margin-top: 4px; letter-spacing: .07em; text-transform: uppercase; }
.os-body { padding: 14px 22px; }
.os-line {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; padding: 8px 0; font-size: 14px;
}
.os-line .name { color: var(--ink-soft); padding-right: 12px; line-height: 1.4; font-weight: 700; }
.os-line .name .multi { display: block; font-size: 12px; color: var(--muted-2); font-weight: 700; margin-top: 2px; }
.os-line .price { font-size: 16px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.os-divider { border-top: 1px dashed var(--line); margin: 10px 0; }
.os-total {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 18px 22px; background: var(--line-soft); border-top: 1px solid var(--line);
}
.os-total .lbl { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.os-total .v { font-size: 34px; font-weight: 900; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.os-total .v .cur { font-size: 18px; color: var(--muted); font-weight: 700; margin-right: 2px; }
.os-action { padding: 16px 22px 22px; }
.btn-place {
  width: 100%; background: var(--brand); color: #fff; border: 0;
  border-radius: 10px; padding: 16px 24px;
  font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .2s; position: relative; overflow: hidden;
  cursor: pointer; text-decoration: none;
}
.btn-place:disabled { background: var(--muted-2); cursor: not-allowed; }
.btn-place:hover:not(:disabled) { background: var(--brand-dk); }
/* Force btn-place styles over WC defaults */
#place_order,
.woocommerce-checkout-payment .btn-place,
.btn-place#place_order {
  width: 100% !important; background: var(--brand) !important; color: #fff !important; border: 0 !important;
  border-radius: 10px !important; padding: 16px 24px !important;
  font-size: 14px !important; font-weight: 800 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
  font-family: 'Nunito', sans-serif !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  transition: all .2s; position: relative; overflow: hidden;
  cursor: pointer; text-decoration: none !important;
  line-height: 1.5 !important; margin: 0 !important;
}
#place_order:disabled { background: var(--muted-2) !important; cursor: not-allowed; }
#place_order:hover:not(:disabled) { background: var(--brand-dk) !important; }

/* Hide payment methods text/description — keep inputs in DOM for WC */
.woocommerce-checkout-payment .payment_methods,
.woocommerce-checkout-payment .wc_payment_methods,
.woocommerce-checkout-payment .payment_box,
.woocommerce-checkout-payment .wc-payment-form,
#payment .payment_methods { display: none !important; }
.woocommerce-checkout-payment { margin: 0; padding: 0; border: 0; }

/* Terms and conditions */
.woocommerce-terms-and-conditions-wrapper {
  margin: 14px 0 10px; padding: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--muted);
  line-height: 1.5;
}
.woocommerce-terms-and-conditions-wrapper a {
  color: var(--brand); font-weight: 700;
}
.woocommerce-terms-and-conditions-wrapper a:hover { text-decoration: underline; }
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p { margin: 0; }

.os-secure {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 12px;
}
.os-secure svg { color: var(--green); flex-shrink: 0; }


/* ═══════════════════════════════════════
   THANK YOU / CONFIRMATION
═══════════════════════════════════════ */
.conf-wrap { max-width: 960px; margin: 0 auto; padding: 56px 44px 80px; }

.conf-stamp {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; margin-bottom: 48px;
}
.conf-circle {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--green-tint); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative;
  animation: pop .6s cubic-bezier(.34,1.56,.64,1) both;
}
.conf-circle::before {
  content: ''; position: absolute; inset: -10px;
  border: 1px solid var(--green); border-radius: 50%;
  opacity: .3; animation: ring 2s ease-out infinite;
}
.conf-circle::after {
  content: ''; position: absolute; inset: -20px;
  border: 1px solid var(--green); border-radius: 50%;
  opacity: .15; animation: ring 2s ease-out .4s infinite;
}
.conf-circle svg {
  width: 40px; height: 40px; color: var(--green-dk);
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: draw 1s ease-out .3s both;
}

.conf-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green-dk);
  margin-bottom: 14px; animation: fadeUp .5s ease .4s both;
}
.conf-stamp h1 {
  font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  color: var(--ink); margin-bottom: 16px; max-width: 640px;
  animation: fadeUp .5s ease .5s both;
}
.conf-stamp h1 span { color: var(--brand); }
.conf-stamp .lead {
  font-size: 16px; line-height: 1.65; color: var(--muted); font-weight: 600;
  max-width: 480px; animation: fadeUp .5s ease .6s both;
}
.conf-stamp .lead strong { color: var(--ink); font-weight: 800; }

.conf-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 16px; overflow: hidden; margin-bottom: 24px;
  box-shadow: var(--shadow-sm); animation: fadeUp .5s ease .7s both;
}
.conf-card-head {
  padding: 22px 28px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; background: linear-gradient(135deg, #FAFCFF, #F3F8FF);
}
.conf-meta-item .k {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.conf-meta-item .v { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.conf-meta-item .v.large { font-size: 15px; font-weight: 900; }
.conf-meta-item .v.brand { color: var(--brand); }
.conf-meta-item .v .badge-st {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-tint); color: var(--green-dk);
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px;
}
.conf-meta-item .v .badge-st::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite;
}

.conf-items { padding: 12px 28px 4px; }
.conf-line {
  display: grid; grid-template-columns: 60px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.conf-line:last-child { border-bottom: 0; }
.conf-line .thumb {
  width: 60px; height: 60px; border-radius: 10px; background: var(--line-soft);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  overflow: hidden;
}
.conf-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.conf-line .name { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.conf-line .name span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 3px; letter-spacing: .05em; }
.conf-line .qty {
  font-size: 13px; color: var(--muted); font-weight: 800;
  background: var(--line-soft); padding: 4px 12px; border-radius: 100px;
}
.conf-line .sub { font-size: 20px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.conf-line .sub .cur { font-size: 13px; color: var(--muted); font-weight: 700; margin-right: 1px; }

.conf-totals { padding: 20px 28px; background: var(--line-soft); border-top: 1px solid var(--line); }
.ct-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 6px 0; font-size: 14px; }
.ct-row .l { color: var(--muted); font-weight: 700; }
.ct-row .v { font-size: 18px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.ct-row.total { border-top: 0; margin-top: 0; padding-top: 0; }
.ct-row.total .l { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: flex; align-items: baseline; }
.ct-row.total .v { font-size: 40px; line-height: 1; color: var(--brand); }
.ct-row .cur { font-size: 13px; color: var(--muted); font-weight: 700; margin-right: 1px; }
.ct-row.total .cur { font-size: 40px; font-weight: 900; color: var(--brand); }

.conf-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 32px; animation: fadeUp .5s ease .85s both;
}
.info-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 22px; }
.info-card .ic-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.info-card .ic-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--brand-tint); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.info-card h4 { font-size: 15px; font-weight: 900; color: var(--ink); }
.info-card h4 span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.info-card .ic-body { font-size: 14px; line-height: 1.6; color: var(--ink-soft); font-weight: 600; }
.info-card .ic-body strong { color: var(--ink); font-weight: 800; }

.conf-delivery-note {
  font-size: 14px; font-weight: 600; color: var(--muted);
  margin-top: 10px; line-height: 1.5;
}

.conf-cta {
  display: flex; flex-direction: column; gap: 12px;
  animation: fadeUp .5s ease 1s both;
}
.btn-outline {
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink);
  padding: 15px 24px; border-radius: 10px; text-align: center;
  font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  font-family: 'Nunito', sans-serif; transition: all .15s; text-decoration: none;
  display: block;
}
.btn-outline:hover { border-color: var(--ink); background: var(--line-soft); color: var(--ink); }
.btn-solid {
  background: var(--ink); color: #fff; border: 0;
  padding: 15px 24px; border-radius: 10px; text-align: center;
  font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  font-family: 'Nunito', sans-serif; transition: all .15s; text-decoration: none;
  display: block;
}
.btn-solid:hover { background: var(--brand); color: #fff; }


/* ═══════════════════════════════════════
   MY ACCOUNT
═══════════════════════════════════════ */
.account-hero {
  background: linear-gradient(135deg, #0B2540 0%, #1642B4 100%);
  padding: 60px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.account-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(24,163,75,.2) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(30,84,224,.3) 0%, transparent 50%);
}
.account-hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
.account-hero h1 {
  color: #fff; font-size: 38px; font-weight: 900;
  letter-spacing: -.025em; line-height: 1.15; margin-bottom: 8px;
}
.account-hero h1 span { color: #4ADE80; }
.account-hero .sub { font-size: 15px; color: rgba(255,255,255,.7); font-weight: 600; }

.budget-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 18px 44px;
  text-align: center;
}
.budget-banner-inner {
  max-width: 900px; margin: 0 auto;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand-tint);
  border: 1px solid #C7D5F5;
  padding: 12px 22px;
  border-radius: 100px;
}
.budget-banner-inner .icon {
  width: 28px; height: 28px; background: var(--brand); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px;
}
.budget-banner-inner .text { font-size: 15px; font-weight: 700; color: var(--ink); }
.budget-banner-inner .text strong { color: var(--brand); font-weight: 900; font-size: 18px; }

.account-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 36px 44px 80px;
  display: grid; grid-template-columns: 260px 1fr;
  gap: 40px;
}

.acct-nav {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 8px;
  position: sticky; top: 86px; align-self: start;
}
.acct-nav ul { list-style: none; }
.acct-nav li { margin: 0; }
.acct-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink-soft);
  text-decoration: none; transition: all .15s;
}
.acct-nav li a:hover { background: var(--line-soft); color: var(--ink); }
.acct-nav li.is-active a, .acct-nav li.woocommerce-MyAccount-navigation-link--is-active a {
  background: var(--brand-tint); color: var(--brand);
}
.acct-nav li a .icon {
  width: 18px; height: 18px; opacity: .7;
}
.acct-nav li.is-active a .icon { opacity: 1; }

.acct-main { min-width: 0; }
.acct-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 28px;
  margin-bottom: 20px;
}
.acct-card h2 { font-size: 22px; font-weight: 900; color: var(--ink); margin-bottom: 8px; letter-spacing: -.02em; }
.acct-card .lead { font-size: 15px; color: var(--muted); font-weight: 600; line-height: 1.6; margin-bottom: 20px; }
.acct-card .lead strong { color: var(--ink); font-weight: 800; }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.btn-reorder {
  background: var(--brand-tint); color: var(--brand); border: 0;
  padding: 7px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  font-family: 'Nunito', sans-serif; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: all .15s; cursor: pointer;
}
.btn-reorder:hover { background: var(--brand); color: #fff; }
.dash-stat {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 22px;
}
.dash-stat .k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dash-stat .v { font-size: 28px; font-weight: 900; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.dash-stat .v.brand { color: var(--brand); }
.dash-stat .v.green { color: var(--green-dk); }
.dash-stat .v .cur { font-size: 16px; color: var(--muted); font-weight: 700; margin-right: 1px; }
.dash-stat .sub { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 6px; }

.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-link {
  background: var(--brand-tint); color: var(--brand); border: 0;
  padding: 11px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  font-family: 'Nunito', sans-serif; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.btn-link:hover { background: var(--brand); color: #fff; }

.orders-table {
  width: 100%; border-collapse: collapse;
}
.orders-table thead th {
  padding: 12px 16px; font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  background: var(--line-soft); border-bottom: 1px solid var(--line);
}
.orders-table tbody td {
  padding: 18px 16px; font-size: 14px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.orders-table tbody tr:hover { background: var(--bg); }
.order-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 20px;
}
.order-status.processing { background: var(--brand-tint); color: var(--brand); }
.order-status.completed { background: var(--green-tint); color: var(--green-dk); }
.order-status.pending { background: #FFF3D6; color: #8B5A00; }
.order-status.cancelled { background: var(--warn-tint); color: var(--warn); }

/* Login form */
.login-wrap {
  max-width: 460px; margin: 60px auto;
  padding: 0 44px;
}
.login-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 36px;
  box-shadow: var(--shadow-md);
}
.login-card h2 { font-size: 26px; font-weight: 900; color: var(--ink); margin-bottom: 8px; text-align: center; }
.login-card .lead { font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; margin-bottom: 28px; }
.login-card .form-row { margin-bottom: 16px; }
.login-card .form-row.remember { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 700; }
.login-card .button {
  width: 100%; background: var(--brand); color: #fff; border: 0;
  border-radius: 10px; padding: 14px 24px;
  font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  cursor: pointer; transition: background .15s;
}
.login-card .button:hover { background: var(--brand-dk); }
.login-card .lost-pwd { text-align: center; margin-top: 16px; }
.login-card .lost-pwd a { font-size: 13px; color: var(--brand); font-weight: 700; }


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 28px 44px; text-align: center;
  font-size: 13px; color: var(--muted); font-weight: 700;
  margin-top: auto;
}
.site-footer strong { color: var(--ink); font-weight: 900; }


/* ═══════════════════════════════════════
   NOTICES & MESSAGES
═══════════════════════════════════════ */
.woocommerce-notices-wrapper { margin: 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--brand-tint); border: 1px solid #C7D5F5; border-left: 4px solid var(--brand);
  color: var(--ink); padding: 14px 18px; border-radius: 10px;
  margin: 0 0 16px; font-size: 14px; font-weight: 700;
  list-style: none;
}
/* Errors WC checkout JS prepends directly to <form> — move into the grid's left column */
form.checkout > .woocommerce-error,
form.checkout > .woocommerce-NoticeGroup {
  grid-column: 1; margin-bottom: 0;
}
.woocommerce-error { background: var(--warn-tint); border-color: #F3BBBB; border-left-color: var(--warn); color: #8B1818; }
.woocommerce-message { background: var(--green-tint); border-color: #BFE5CD; border-left-color: var(--green); color: var(--green-dk); }

/* WC inline links button reset */
.button, .wc-block-components-button, .wp-block-button__link {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
}


/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bounce-in {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes menuItemIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pop {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes ring {
  0% { transform: scale(.85); opacity: .4; }
  100% { transform: scale(1.2); opacity: 0; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .shop-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .account-wrap { grid-template-columns: 1fr; }
  .acct-nav { position: static; }
  .conf-grid { grid-template-columns: 1fr; }
  .conf-card-head { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr auto; gap: 0; padding: 0 16px; height: 68px;
  }
  .header-left { display: none; }
  .header-right { gap: 10px; }
  .budget { display: none; }
  .btn-account { display: none; }
  .site-logo { justify-content: flex-start; }
  .site-logo img { height: 48px; }
  .hamburger { display: flex; }
  .mobile-nav-backdrop { display: block; }
  .mobile-nav { display: block; }
  .cart-pill { padding: 6px 8px; }
  .cart-lbl { display: none; }
  .page-title-bar, .checkout-titlebar { padding: 14px 16px; }
  .page-title-bar h1 { font-size: 22px; }
  .page-title-bar.shop-banner { padding: 20px 16px; }
  .page-title-bar, .checkout-titlebar { padding: 16px; }
  .shop-wrap, .checkout-wrap, .account-wrap, .conf-wrap { padding: 24px 16px 48px; }
  .shop-wrap { grid-template-columns: 1fr; overflow-x: hidden; gap: 10px; }
  .sidebar { width: 100%; max-width: 100%; overflow-x: hidden; }
  .cat-list { margin: 0; }
  .cat-list li { margin: 0; padding: 10px 8px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-img { height: 160px; }
  .product-quick { display: none !important; }
  .drawer { width: 100vw; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .orders-table thead th:nth-child(3),
  .orders-table thead th:nth-child(4),
  .orders-table tbody td:nth-child(3),
  .orders-table tbody td:nth-child(4) { display: none; }
  .line-table thead { display: none; }
  .line-table tbody td { display: block; padding: 8px 16px; border: 0; text-align: left !important; }
  .line-table tbody tr { display: block; border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
  .conf-card-head { grid-template-columns: 1fr 1fr; padding: 18px; gap: 16px; }
  .conf-line { grid-template-columns: 50px 1fr auto; }
  .conf-line .qty { grid-column: 2; }
  .conf-line .sub { grid-column: 3; }
  body.admin-bar .mobile-nav-backdrop,
  body.admin-bar .mobile-nav { top: 114px; }
}

/* ═══════════════════════════════════════
   SINGLE PRODUCT
═══════════════════════════════════════ */
.sp-wrap {
  max-width: 1320px; margin: 0 auto;
  padding: 36px 44px 48px;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 40px; align-items: start;
}

/* Gallery */
.sp-gallery {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.sp-main-image {
  display: flex; align-items: center; justify-content: center;
  min-height: 420px; padding: 32px;
  background: var(--line-soft);
  position: relative;
}
.sp-main-image img.sp-img {
  max-width: 100%; max-height: 380px; object-fit: contain;
  border-radius: 8px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.sp-main-image:hover img.sp-img { transform: scale(1.04); }
.sp-img-placeholder {
  font-size: 120px;
  filter: drop-shadow(0 4px 10px rgba(10,37,64,.08));
}

.sp-thumbs {
  display: flex; gap: 8px; padding: 14px 16px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
}
.sp-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; cursor: pointer;
  background: var(--surface); padding: 0;
  transition: border-color .2s, box-shadow .2s;
}
.sp-thumb:hover { border-color: var(--muted); }
.sp-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(30,84,224,.15); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Description cards */
.sp-description, .sp-details { margin-top: 20px; }
.sp-description-body {
  padding: 24px; font-size: 15px; line-height: 1.7;
  color: var(--ink-soft); font-weight: 500;
}
.sp-description-body p { margin-bottom: 12px; }
.sp-description-body p:last-child { margin-bottom: 0; }

/* Sidebar card */
.sp-sidebar { position: sticky; top: 90px; }
.sp-sidebar-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sp-sidebar-head {
  padding: 22px 24px; background: var(--ink); color: #fff;
}
.sp-sidebar-title {
  font-size: 18px; font-weight: 900; color: #fff;
  line-height: 1.3; margin: 0;
}
.sp-sidebar-sku {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5);
  margin-top: 6px; letter-spacing: .07em; text-transform: uppercase;
}

.sp-sidebar-body { padding: 20px 24px; }

/* Tags / badges */
.sp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.sp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
}
.sp-badge--cart { background: var(--green-tint); color: var(--green-dk); }
.sp-badge--sale { background: var(--warn-tint); color: var(--warn); }
.sp-badge--featured { background: var(--brand-tint); color: var(--brand); }
.sp-badge--stock { background: var(--green-tint); color: var(--green-dk); }
.sp-badge--stock svg { animation: pulse 2s infinite; }
.sp-badge--nostock { background: var(--warn-tint); color: var(--warn); }

/* Price */
.sp-price-block {
  padding-bottom: 18px; margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.sp-price-label {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 8px;
}
.sp-price {
  font-size: 36px; font-weight: 900; color: var(--brand);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.sp-price .cur { font-size: 20px; color: var(--muted); font-weight: 700; margin-right: 2px; }
.sp-price-old {
  font-size: 16px; font-weight: 700; color: var(--muted-2);
  text-decoration: line-through; margin-bottom: 4px;
}

/* Meta rows */
.sp-meta-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 10px 0; font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.sp-meta-row:last-child { border-bottom: 0; }
.sp-meta-label { font-weight: 800; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.sp-meta-value { font-weight: 700; color: var(--ink); text-align: right; }
.sp-meta-value a { color: var(--brand); }
.sp-meta-value a:hover { text-decoration: underline; }

/* Add to cart area */
.sp-sidebar-action {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--line-soft);
}
.sp-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.sp-qty-label {
  font-size: 13px; font-weight: 800; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
}
.sp-sidebar-action .btn-place { gap: 8px; }

/* Back link */
.sp-back-link {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 12px 0;
  font-size: 14px; font-weight: 700; color: var(--muted);
  transition: color .15s;
}
.sp-back-link:hover { color: var(--brand); }
.sp-back-link svg { transition: transform .2s; }
.sp-back-link:hover svg { transform: translateX(-3px); }

/* Related products */
.sp-related {
  max-width: 1320px; margin: 0 auto;
  padding: 0 44px 64px;
}
.sp-related-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.sp-related-head h2 {
  font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -.02em;
}
.sp-related-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--brand);
  transition: gap .2s;
}
.sp-related-link:hover { gap: 10px; }
.sp-related-grid { grid-template-columns: repeat(3, 1fr); }

/* Single product responsive */
@media (max-width: 1024px) {
  .sp-wrap { grid-template-columns: 1fr; }
  .sp-sidebar { position: static; }
  .sp-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .sp-wrap { padding: 24px 16px 32px; gap: 20px; }
  .sp-main-image { min-height: 280px; padding: 20px; }
  .sp-main-image img.sp-img { max-height: 260px; }
  .sp-sidebar-title { font-size: 16px; }
  .sp-price { font-size: 28px; }
  .sp-related { padding: 0 16px 48px; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-related-head h2 { font-size: 18px; }
}


/* Hide WC default elements we don't want */
.woocommerce-products-header__title.page-title { display: none; }
.woocommerce-breadcrumb { display: none; }
nav.woocommerce-MyAccount-navigation { display: block; }
.woocommerce-MyAccount-content { min-width: 0; }
.unilimpio-cart-fragment { display: contents; }
