/*
Theme Name:  Lili Star Pearls
Theme URI:   https://yourdomain.com
Author:      Your Name
Description: Custom pearl jewellery e-commerce theme — inspired by pearl.brandchakra.in. EB Garamond + Inter, burgundy brand color, full WooCommerce support.
Version:     1.0.0
Requires WP: 6.4
Requires PHP: 8.0
WC requires at least: 8.0
WC tested up to: 10.7
License:     Private
Text Domain: lilistarpearls
Tags:        woocommerce, jewellery, ecommerce, custom
*/

/* ============================================================
   DESIGN TOKENS — single source of truth
   Extracted from pearl.brandchakra.in source analysis
   ============================================================ */
:root {
  /* Brand — exact from source: background-color: #81041f */
  --brand: #81041f;
  --brand-dark: #5c0116;
  --brand-light: #a3153a;
  --brand-pale: #f9ecee;

  /* Neutrals */
  --navy: #1a1a2e;
  --charcoal: #222222;
  --mid: #666666;
  --light: #f5f0e8;
  --cream: #faf9f7;
  --border: #e8e0d5;
  --white: #ffffff;

  /* Fonts — exact from source */
  --font-serif: "EB Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --nav-h: 90px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.3s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--brand);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section-pad {
  padding-block: 70px;
}
.text-center {
  text-align: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(129, 4, 31, 0.35);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* Section Headings */
.section-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--charcoal);
}
.section-divider {
  width: 44px;
  height: 2px;
  background: var(--brand);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.lsp-topbar {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 9px 0;
  line-height: 1;
}
.lsp-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lsp-topbar a {
  color: rgba(255, 255, 255, 0.75);
}
.lsp-topbar a:hover {
  color: var(--white);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-phone {
  font-weight: 600;
  color: var(--white) !important;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.lsp-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  /* Fixed height = CLS 0 */
  height: var(--nav-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--dur) var(--ease);
}
.lsp-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  /* Explicit dimensions: CLS prevention */
  width: 220px;
  height: 56px;
  object-fit: contain;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.current,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--brand);
  background: var(--brand-pale);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 18px;
  transition: background var(--dur), color var(--dur);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-icon-btn:hover {
  background: var(--light);
  color: var(--brand);
}
.nav-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Account dropdown */
.account-dropdown-wrap {
  position: relative;
}
.account-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  min-width: 148px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13);
  padding: 6px 0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
  pointer-events: none;
  list-style: none;
}
.account-dropdown-wrap:hover .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.account-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--charcoal);
  white-space: nowrap;
  transition: color var(--dur), background var(--dur);
}
.account-dropdown li a:hover {
  color: var(--brand);
  background: var(--brand-pale);
}
.account-dropdown-divider {
  height: 1px;
  background: var(--light);
  margin: 4px 0;
  padding: 0 !important;
}
.account-dropdown-logout a {
  color: #b91c1c !important;
}
.account-dropdown-logout a:hover {
  color: #fff !important;
  background: #b91c1c !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
.mobile-drawer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: var(--white);
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu-overlay.open .mobile-drawer {
  transform: translateX(0);
}

/* Drawer head: X | Brand name | Cart */
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e8e0d8;
  flex-shrink: 0;
}
.mobile-close {
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: background var(--dur);
  background: none;
  border: none;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-close:hover {
  background: var(--light);
}
.mobile-drawer-brand {
  display: flex;
  align-items: center;
}
.mobile-drawer-brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}
.mobile-drawer-cart-btn {
  position: relative;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--dur);
}
.mobile-drawer-cart-btn:hover {
  background: var(--light);
}
.mobile-drawer-cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 2px;
}

/* Mobile Nav List */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-list li {
  border-bottom: 1px solid #f0ebe6;
}
.mobile-nav-list li a {
  display: block;
  padding: 15px 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--dur), padding-left var(--dur), border-left var(--dur);
}
.mobile-nav-list li a:hover {
  color: var(--brand);
  padding-left: 27px;
}

.mobile-nav-list .current-menu-item > a,
.mobile-nav-list .current_page_item > a,
.mobile-nav-list .current-menu-ancestor > a {
  color: var(--brand);
  padding-left: 21px;
  border-left: 3px solid var(--brand);
}
.mobile-nav-logout {
  color: #b91c1c !important;
  font-weight: 500;
}
.mobile-nav-logout:hover {
  color: #991b1b !important;
}

/* ============================================================
   HERO SLIDER — split layout (text left / image right)
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.slides-track {
  display: flex;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.slide-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 8%;
  overflow: hidden;
}
.slide-content::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("assets/images/hero-bg-pearls.png") center center / cover
    no-repeat;
  filter: blur(4px) brightness(1.15) contrast(1.1) saturate(1.2);
  /* transform: scale(1.08); */
  z-index: 0;
}
.slide-content > * {
  position: relative;
  z-index: 1;
}
.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.slide-sub {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.5vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 32px;
}
.slide-sub-logo {
  height: 28px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -0.25em;
}
.btn-hero {
  display: inline-block;
  padding: 11px 28px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--dur);
  align-self: flex-start;
}
.btn-hero:hover {
  background: var(--brand);
  color: var(--white);
}
.slide-img-wrap {
  overflow: hidden;
}
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Slider arrows — dark on white background */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--charcoal);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
  cursor: pointer;
}
.slider-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.slider-arrow.prev {
  left: 16px;
}
.slider-arrow.next {
  right: 16px;
}

@media (max-width: 768px) {
  .slide-img-wrap {
    height: 240px;
  }
  .slide-content {
    padding: 32px 20px;
  }
}

/* ============================================================
   FEATURE BAR — matches source's trust icons row
   ============================================================ */
.feature-bar {
  background: var(--charcoal);
  color: var(--white);
  padding: 18px 0;
}
.feature-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-icon {
  font-size: 22px;
  color: var(--brand-light);
  flex-shrink: 0;
}
.feature-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.feature-desc {
  font-size: 11px;
  opacity: 0.55;
  margin-top: 2px;
}

/* ============================================================
   CATEGORIES — staggered icon cards
   ============================================================ */
.categories-section {
  background: var(--light);
}
.cat-section-head {
  margin-bottom: 56px;
}
.cat-logo-img {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.35em;
  height: 1.5em;
  width: auto;
  margin-right: 4px;
}
.cat-head-text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--charcoal);
  max-width: 580px;
  margin: 14px auto 0;
}
.cat-head-text em {
  font-style: italic;
}
.cat-brand-name {
  color: var(--brand);
}
.cat-stagger-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 96px;
}
.cat-icon-card-v2 {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 44px 52px 36px;
  text-align: center;
  min-width: 200px;
  transition: box-shadow var(--dur), transform var(--dur);
  display: block;
}
.cat-icon-card-v2:hover {
  box-shadow: 0 8px 40px rgba(129, 4, 31, 0.15);
  transform: translateY(-4px);
}
.cat-icon-v2 {
  color: var(--brand);
  margin-bottom: 20px;
  line-height: 0;
}
.cat-icon-card-v2 .cat-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.cat-icon-card-v2 .cat-count {
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.03em;
}
.cat-stagger-grid .cat-icon-card-v2:nth-child(2) {
  margin-top: 48px;
}
.cat-stagger-grid .cat-icon-card-v2:nth-child(3) {
  margin-top: 96px;
}

/* ============================================================
   PRODUCT CARDS — exact Lindo product-block grid-v1 style
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.products-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Image wrapper — fixed aspect ratio prevents CLS */
.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light);
}

/* Skeleton shimmer while lazy image loads */
.product-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--light) 25%,
    #ede7dc 50%,
    var(--light) 75%
  );
  background-size: 200% 100%;
  animation: lsp-shimmer 1.6s ease-in-out infinite;
  z-index: 0;
}
@keyframes lsp-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.product-img-wrap .product-img-main,
.product-img-wrap .product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  z-index: 1;
}
.product-img-wrap .product-img-hover {
  opacity: 0;
}
.product-card:hover .product-img-main {
  transform: scale(1.05);
}
/* Fade main image only when a swap image exists */
.product-card:hover
  .product-img-wrap:has(.product-img-hover)
  .product-img-main {
  opacity: 0;
}
.product-card:hover .product-img-hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Sale badge — same as source's .sale-perc */
.sale-perc {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  z-index: 3;
  line-height: 1.4;
}
.badge-new {
  background: #2d7a4a;
}

/* Action buttons */
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--charcoal);
  transition: background var(--dur), color var(--dur), border-color var(--dur),
    transform var(--dur);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.product-action-btn:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  transform: scale(1.1);
}
.product-action-btn.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  transform: scale(1.1);
}

/* Product info */
.product-info {
  padding: 14px 15px 16px;
}
.product-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 8px;
  /* Reserve 2-line height — CLS prevention */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(15px * 1.4 * 2);
}
.product-title a:hover {
  color: var(--brand);
}

/* Price — matches WooCommerce del/ins pattern from source */
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.price-current {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
}
.price-original {
  font-size: 13px;
  color: var(--mid);
  text-decoration: line-through;
}
.price-save {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-pale);
  padding: 1px 6px;
  border-radius: 2px;
}

/* WooCommerce price overrides */
.woocommerce span.price,
.woocommerce-Price-amount.amount {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--brand);
}
.woocommerce span.price del {
  color: var(--mid);
  font-size: 13px;
}
.woocommerce span.price ins {
  text-decoration: none;
}

/* Add to Cart button */
.add-to-cart-btn,
.btn-add-cart {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background var(--dur);
  border: none;
  cursor: pointer;
}
.add-to-cart-btn:hover,
.btn-add-cart:hover {
  background: var(--brand);
  color: var(--white);
}

/* Quantity control */
.lsp-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
  width: fit-content;
}
.lsp-qty-btn {
  width: 34px;
  height: 36px;
  background: var(--light);
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur), color var(--dur);
  color: var(--charcoal);
  flex-shrink: 0;
}
.lsp-qty-btn:hover:not(:disabled) {
  background: var(--brand-pale);
  color: var(--brand);
}
.lsp-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.lsp-qty-input {
  width: 44px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  -moz-appearance: textfield;
}
.lsp-qty-input::-webkit-outer-spin-button,
.lsp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-wrap {
  background: var(--white);
}
.promo-section {
  background: transparent;
}
.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  align-items: stretch;
}
.promo-col-left {
  align-self: start;
  line-height: 0;
}
.promo-col-left img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-col-right {
  display: flex;
  flex-direction: column;
}
.promo-text-block {
  padding: 64px 44px 44px 0;
  flex: 0 0 auto;
}
/* Ring photo fills remaining right-column height (above the padding) */
.promo-second-img {
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  line-height: 0;
}
.promo-second-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.promo-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.test-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.test-stars {
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.test-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.test-name {
  font-size: 13px;
  font-weight: 600;
}
.test-loc {
  font-size: 11px;
  color: var(--mid);
  margin-top: 2px;
}

/* ============================================================
   BLOG SECTION — post-grid-v2 style from source
   ============================================================ */
.blog-section {
  background: var(--light);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.blog-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light);
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-img-wrap img {
  transform: scale(1.05);
}
.blog-meta {
  padding: 16px 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-pale);
  padding: 3px 8px;
  border-radius: 2px;
}
.blog-date {
  font-size: 11px;
  color: var(--mid);
  margin-left: auto;
}
.blog-title {
  padding: 10px 16px 6px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(15px * 1.4 * 2);
}
.blog-title a:hover {
  color: var(--brand);
}
.blog-excerpt {
  padding: 0 16px 10px;
  font-size: 12px;
  color: var(--mid);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-readmore {
  display: inline-block;
  margin: 0 16px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
  padding-bottom: 1px;
  transition: opacity var(--dur);
}
.blog-readmore:hover {
  opacity: 0.7;
  color: var(--brand);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.newsletter-inner {
  max-width: 520px;
  margin-inline: auto;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.newsletter-sub {
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  max-width: 420px;
  margin-inline: auto;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  font-family: inherit;
  transition: border-color var(--dur);
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.newsletter-form input:focus {
  border-color: var(--brand-light);
}
.newsletter-form button {
  padding: 14px 22px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background var(--dur);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.newsletter-form button:hover {
  background: var(--brand-dark);
}

/* ============================================================
   SITE FOOTER — brand panel left, content panel right
   ============================================================ */
.site-footer {
  display: flex;
  flex-direction: column;
  background: #1a1918;
  overflow: hidden;
}
.footer-top {
  display: flex;
  min-height: 340px;
}

/* Left: brand-colour panel */
.footer-brand-panel {
  background: var(--brand);
  flex: 0 0 33%;
  max-width: 420px;
  padding: 60px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  gap: 32px;
}
.footer-contact-info {
  line-height: 2.2;
  font-size: 14px;
}
.footer-contact-info strong {
  color: var(--white);
  font-weight: 700;
}
.footer-contact-info a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact-info a:hover {
  color: var(--white);
}

/* Social icons in brand panel */
.footer-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--dur), border-color var(--dur);
}
.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}
.footer-social-icon svg {
  width: 16px;
  height: 16px;
}

/* Right: dark content panel */
.footer-content-panel {
  flex: 1;
  padding: 60px 64px 0;
  display: flex;
  flex-direction: column;
}
.footer-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  flex: 1;
  padding-bottom: 50px;
}

/* Section heading — uppercase with amber underline */
.footer-panel-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #c07820;
  display: inline-block;
}
.footer-newsletter-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-links a {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--dur);
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Bottom bar — inside content panel */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-pay {
  height: 20px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: var(--white);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 40px rgba(0, 0, 0, 0.15);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}
.cart-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--dur);
  background: none;
  border: none;
  color: var(--charcoal);
}
.cart-drawer-close:hover {
  background: var(--light);
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--mid);
}
.cart-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--light);
  flex-shrink: 0;
}
.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
}
.cart-item-price {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  font-family: var(--font-serif);
}
.cart-item-remove {
  font-size: 11px;
  color: var(--mid);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
  margin-top: 4px;
  display: block;
}
.cart-item-remove:hover {
  color: var(--brand);
}
.cart-item-unit-price {
  font-size: 11px;
  color: var(--mid);
  margin-bottom: 5px;
}
.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.cart-item-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cart-item-qty-btn:hover:not(:disabled) {
  background: var(--light);
}
.cart-item-qty-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.cart-item-qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.cart-item-line-price {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-serif);
  color: var(--brand);
}
.cart-item-name a {
  color: inherit;
  text-decoration: none;
}
.cart-item-name a:hover {
  color: var(--brand);
}
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.cart-total-price {
  font-family: var(--font-serif);
  color: var(--brand);
}
.checkout-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background var(--dur);
}
.checkout-btn:hover {
  background: var(--brand-dark);
  color: var(--white);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.lsp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  border-left: 3px solid var(--brand);
}
.lsp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(129, 4, 31, 0.35);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--brand-dark);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.lsp-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  padding: 26px 0 54px;
  transform: translateY(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}
.lsp-search-overlay.open {
  transform: translateY(0);
}

.lsp-search-close {
  position: absolute;
  top: 22px;
  right: 32px;
  font-size: 20px;
  line-height: 1;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: color var(--dur);
}
.lsp-search-close:hover {
  color: var(--brand);
}

.lsp-search-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-top: 50px;
  margin-bottom: 26px;
}

.lsp-search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1.5px solid var(--charcoal);
  padding-bottom: 12px;
}

.lsp-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  background: transparent;
  padding: 4px 0;
}
.lsp-search-input::placeholder {
  color: var(--mid);
  opacity: 0.7;
}

.lsp-search-submit {
  flex-shrink: 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0;
  transition: color var(--dur);
}
.lsp-search-submit:hover {
  color: var(--brand);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  /* Header: hamburger | logo (center) | wishlist */
  .lsp-topbar {
    display: none;
  }
  .primary-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0;
    justify-items: start;
  }
  .hamburger {
    grid-column: 1;
    justify-self: start;
  }
  .site-logo {
    grid-column: 2;
    justify-self: center;
  }
  .site-logo img {
    width: 160px;
    height: auto;
  }
  .nav-actions {
    grid-column: 3;
    justify-self: end;
    gap: 2px;
  }
  /* Hide desktop-only nav actions on mobile/tablet */
  .nav-search-btn,
  .nav-account-wrap,
  .nav-lock-btn,
  .nav-cart-btn {
    display: none;
  }
  /* Keep wishlist visible */
  .nav-wishlist-btn {
    display: flex;
  }

  /* Content grid adjustments */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .feature-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .test-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Hero — collapse to single column on tablets */
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .slide-img-wrap {
    height: 300px;
    order: -1;
  }
  .slide-content {
    padding: 40px 28px;
  }
  /* Inner pages */
  .ship-cards {
    grid-template-columns: 1fr 1fr;
  }
  .track-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .track-steps-grid::before {
    display: none;
  }
  .cs-content-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .cat-stagger-grid {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }
  .cat-stagger-grid .cat-icon-card-v2:nth-child(2),
  .cat-stagger-grid .cat-icon-card-v2:nth-child(3) {
    margin-top: 0;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .promo-section {
    padding-bottom: 0;
  }
  .promo-inner {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .promo-col-left {
    align-self: auto;
  }
  .promo-col-right {
    align-self: auto;
  }
  .promo-text-block {
    padding: 44px 28px 36px;
  }
  .promo-second-img {
    min-height: 220px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-brand-panel {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding: 40px 24px;
  }
  .footer-content-panel {
    padding: 40px 24px 0;
  }
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-bar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    border-radius: var(--radius-sm);
  }
  .newsletter-form button {
    border-radius: var(--radius-sm);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .products-grid {
    gap: 10px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .feature-bar-grid {
    grid-template-columns: 1fr;
  }
  .slide-content {
    left: 5%;
    right: 5%;
    text-align: center;
  }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce .star-rating span::before {
  color: var(--brand);
}
.woocommerce .woocommerce-message {
  border-top-color: var(--brand);
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 24px;
  transition: background var(--dur);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--brand);
  color: var(--white);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--brand);
}
.woocommerce a.button.alt:hover {
  background: var(--brand-dark);
}

/* ============================================================
   FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ============================================================
   PAGE BANNER (FAQ, inner pages)
   ============================================================ */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  font-style: normal;
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.page-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--white);
}
.page-breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.8;
  color: var(--white);
}
.page-breadcrumb a {
  color: var(--white);
  text-decoration: none;
}
.page-breadcrumb a:hover {
  color: var(--brand-pale);
}
.page-breadcrumb [aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e8e0d8;
}
.faq-item:first-child {
  border-top: 1px solid #e8e0d8;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
}
.faq-question:hover,
.faq-item.active .faq-question {
  color: var(--brand);
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before {
  width: 10px;
  height: 1.5px;
}
.faq-icon::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.3s, opacity 0.3s;
}
.faq-item.active .faq-icon {
  opacity: 1;
}
.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 4px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
}
.faq-answer p {
  margin: 0 0 10px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   CUSTOMER SERVICE PAGE
   ============================================================ */
.cs-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cs-text-block p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
  margin: 0 0 16px;
}
.cs-text-block p:last-child {
  margin-bottom: 0;
}
.cs-email-link {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}
.cs-email-link:hover {
  text-decoration: underline;
}
.cs-chat-card {
  background: var(--light);
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}
.cs-chat-icon {
  color: var(--brand);
  margin-bottom: 16px;
}
.cs-chat-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 12px;
}
.cs-chat-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 24px;
}
.cs-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background 0.2s;
}
.cs-chat-btn:hover {
  background: var(--brand-dark);
  color: var(--white);
}
@media (max-width: 700px) {
  .cs-content-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.pp-content-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.pp-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  margin: 0 0 40px;
}
.pp-block {
  margin-bottom: 36px;
}
.pp-block-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e0d8;
}
.pp-block p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  margin: 0;
}
.pp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
}
.pp-list li svg {
  flex-shrink: 0;
  color: var(--brand);
}

/* ============================================================
   TERMS & CONDITIONS PAGE
   ============================================================ */
.tc-content-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.tc-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  margin: 0 0 40px;
}
.tc-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e8e0d8;
}
.tc-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.tc-block-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 14px;
}
.tc-block p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  margin: 0 0 14px;
}
.tc-block p:last-child {
  margin-bottom: 0;
}
.tc-note {
  font-style: italic;
  color: var(--charcoal) !important;
  font-weight: 500;
}
.tc-list {
  list-style: none;
  margin: 8px 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--mid);
}
.tc-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 8px;
}
.tc-link {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}
.tc-link:hover {
  text-decoration: underline;
}

/* ============================================================
   SHIPPING PAGE
   ============================================================ */
.ship-content-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.ship-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.ship-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.ship-card {
  background: var(--white);
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.ship-card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 24px rgba(129, 4, 31, 0.08);
}
.ship-card-icon {
  color: var(--brand);
  margin-bottom: 18px;
}
.ship-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 10px;
}
.ship-card-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
  margin: 0 0 18px;
}
.ship-card-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-pale);
  padding: 4px 12px;
  border-radius: 20px;
}
.ship-notes {
  max-width: 760px;
  margin: 0 auto;
}
.ship-notes .tc-block-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e0d8;
}
@media (max-width: 768px) {
  .ship-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TRACK ORDER PAGE
   ============================================================ */
.track-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.track-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.track-form-wrap {
  background: var(--light);
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 56px;
}
.track-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.track-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.track-field label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.track-field input {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #d8cfc8;
  border-radius: 6px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.track-field input:focus {
  border-color: var(--brand);
}
.track-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  padding: 13px 32px;
  cursor: pointer;
  transition: background 0.2s;
}
.track-submit-btn:hover {
  background: var(--brand-dark);
}
.track-form-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  margin: 16px 0 0;
}
/* Steps */
.track-steps-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  text-align: center;
  margin: 0 0 36px;
}
.track-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.track-steps-grid::before {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(
    to right,
    var(--brand-pale),
    var(--brand),
    var(--brand-pale)
  );
  z-index: 0;
}
.track-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.track-step-num {
  display: none;
}
.track-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 16px;
}
.track-step-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 8px;
}
.track-step-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}
@media (max-width: 768px) {
  .track-form-grid {
    grid-template-columns: 1fr;
  }
  .track-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .track-steps-grid::before {
    display: none;
  }
}
@media (max-width: 480px) {
  .track-steps-grid {
    grid-template-columns: 1fr;
  }
  .track-form-wrap {
    padding: 24px;
  }
}

/* ============================================================
   DELIVERY INFORMATION PAGE
   ============================================================ */
.dlv-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.dlv-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.dlv-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e0d8;
}
.dlv-block:last-of-type {
  border-bottom: none;
}
.dlv-block-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 16px;
}
.dlv-block p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  margin: 0 0 14px;
}
.dlv-block p:last-child {
  margin-bottom: 0;
}
/* Delivery table */
.dlv-table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}
.dlv-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
}
.dlv-table th {
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}
.dlv-table td {
  padding: 13px 16px;
  color: var(--charcoal);
  border-bottom: 1px solid #e8e0d8;
}
.dlv-table tbody tr:nth-child(even) td {
  background: var(--light);
}
.dlv-table tbody tr:hover td {
  background: var(--brand-pale);
}
.dlv-table-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--mid);
  font-style: italic;
  margin: 0;
}
/* Contact card */
.dlv-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--light);
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  padding: 32px;
  margin-top: 8px;
}
.dlv-contact-icon {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 4px;
}
.dlv-contact-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 8px;
}
.dlv-contact-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 16px;
}
@media (max-width: 600px) {
  .dlv-contact-card {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================================
   RETURN POLICY PAGE
   ============================================================ */
.rp-content-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.rp-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal);
  margin: 0 0 14px;
}
.rp-note {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}
.rp-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e0d8;
}
.rp-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rp-block-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 24px;
}
.rp-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rp-step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #f0ebe6;
}
.rp-step-item:last-child {
  border-bottom: none;
}
.rp-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.rp-step-body {
  flex: 1;
}
.rp-step-body p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
  margin: 0 0 10px;
}
.rp-step-body p:last-child {
  margin-bottom: 0;
}
.rp-highlight {
  display: inline-block;
  background: var(--brand-pale);
  border-left: 3px solid var(--brand);
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  color: var(--brand) !important;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .lsp-topbar,
  .lsp-header,
  .hero-slider,
  .newsletter-section,
  .cart-backdrop,
  .cart-drawer,
  .lsp-toast,
  .back-to-top {
    display: none !important;
  }
}

/* ============================================================
   CONTACT PAGE (page-contact.php)
   ============================================================ */

/* Map */
.ct-map-wrap {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin-top: 48px;
}
.ct-map-frame {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(15%);
}

/* Section layout */
.ct-section {
  background: var(--white);
}
.ct-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

/* ── Info column ── */
.ct-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
  margin-bottom: 40px;
}
.ct-info-block {
}
.ct-info-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.ct-info-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
}
.ct-info-text a {
  color: var(--mid);
  transition: color var(--dur) var(--ease);
}
.ct-info-text a:hover {
  color: var(--brand);
}

/* Follow Us */
.ct-follow .ct-info-title {
  margin-bottom: 14px;
}
.ct-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ct-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-decoration: none;
  cursor: pointer;
}
.ct-social:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  color: var(--white);
}
.ct-social--fb {
  background: #1877f2;
}
.ct-social--tw {
  background: #1da1f2;
}
.ct-social--yt {
  background: #ff0000;
}
.ct-social--ig {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.ct-social--wa {
  background: #25d366;
}

/* ── Form column ── */
.ct-form-wrap {
}
.ct-form-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 32px;
}
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ct-form-row {
  display: flex;
  gap: 16px;
}
.ct-form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ct-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
}
.ct-input::placeholder {
  color: #aaa;
}
.ct-input:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.07);
}
.ct-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}
.ct-submit {
  display: inline-block;
  padding: 15px 40px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.ct-submit:hover:not(:disabled) {
  background: var(--brand-dark);
}
.ct-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.ct-form-feedback {
  font-size: 14px;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease),
    padding 0.3s var(--ease);
}
.ct-form-feedback--ok,
.ct-form-feedback--err {
  padding: 14px 18px;
  max-height: 120px;
  opacity: 1;
}
.ct-form-feedback--ok {
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
}
.ct-form-feedback--err {
  color: #6d1a1a;
  background: #fdf0f0;
  border: 1px solid #e8b4b4;
}

/* Contact page responsive */
@media (max-width: 960px) {
  .ct-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .ct-map-frame {
    height: 340px;
  }
}
@media (max-width: 600px) {
  .ct-info-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ct-form-row--half {
    grid-template-columns: 1fr;
  }
  .ct-map-frame {
    height: 260px;
  }
}

/* ============================================================
   BLOG PAGE (page-blog.php)
   ============================================================ */
.blg-section {
  background: var(--white);
}
.blg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

/* Card */
.blg-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.blg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

/* Image */
.blg-img-link {
  display: block;
  flex-shrink: 0;
}
.blg-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light);
}
.blg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.blg-card:hover .blg-img {
  transform: scale(1.05);
}

/* Content area */
.blg-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

/* Meta row: [person icon] source — [gem icon] category */
.blg-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--mid);
}
.blg-source {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--mid);
}
.blg-source svg,
.blg-cats-wrap svg {
  flex-shrink: 0;
  color: var(--mid);
}
.blg-sep {
  color: var(--mid);
  font-weight: 400;
  padding-inline: 2px;
}
.blg-cats-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blg-cats {
  color: var(--mid);
}

/* Title */
.blg-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--charcoal);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blg-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.blg-title a:hover {
  color: var(--brand);
}

/* Excerpt */
.blg-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mid);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

/* Footer: date + read more */
.blg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.blg-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--mid);
}
.blg-readmore {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a.blg-readmore:hover {
  color: var(--brand);
}

/* Pagination */
.blg-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
}
.blg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.blg-pagination .page-numbers:hover,
.blg-pagination .page-numbers.current {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}
.blg-pagination .prev,
.blg-pagination .next {
  width: auto;
  padding-inline: 16px;
}

/* Blog page responsive */
@media (max-width: 960px) {
  .blg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}
@media (max-width: 600px) {
  .blg-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .blg-title {
    font-size: 17px;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Intro */
.about-intro {
  background: var(--cream);
}
.about-intro-text {
  max-width: 780px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--charcoal);
  text-align: center;
}

/* Pearls section */
.about-pearls {
  background: var(--white);
}
.about-pearls-origin {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 52px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  text-align: center;
}

/* Attribute cards grid */
.about-attrs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-attr-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.about-attr-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.about-attr-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
}
.about-attr-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.about-attr-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
}

/* Why section */
.about-why {
  background: var(--light);
}
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin-inline: auto;
}
.about-why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.about-why-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.about-why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand);
}
.about-why-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.about-why-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
}

/* Mission section */
.about-mission {
  background: var(--navy);
}
.about-mission .section-tag {
  color: var(--brand-pale);
}
.about-mission .section-title {
  color: var(--white);
}
.about-mission .section-divider {
  background: var(--brand-light);
  margin-inline: auto;
}
.about-mission-inner {
  max-width: 860px;
  margin-inline: auto;
}
.about-mission-text {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  margin-bottom: 24px;
}
.about-mission-text:last-child {
  margin-bottom: 0;
}

/* About page responsive */
@media (max-width: 900px) {
  .about-attrs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .about-attrs-grid {
    grid-template-columns: 1fr;
  }
  .about-why-grid {
    grid-template-columns: 1fr;
  }
  .about-why-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   LOGIN MODAL
   ============================================================ */
.lsp-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.lsp-login-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lsp-login-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 520px;
  padding: 52px 48px 44px;
  transform: translateY(12px);
  transition: transform var(--dur) var(--ease);
}
.lsp-login-overlay.open .lsp-login-modal {
  transform: translateY(0);
}
.lsp-login-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--dur) var(--ease);
}
.lsp-login-close:hover {
  background: var(--brand-dark);
}
.lsp-login-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 32px;
}
.lsp-login-field {
  margin-bottom: 20px;
}
.lsp-login-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.lsp-login-field label span {
  color: var(--brand);
}
.lsp-login-field input[type="text"],
.lsp-login-field input[type="email"],
.lsp-login-field input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  outline: none;
}
.lsp-login-field input[type="text"]:focus,
.lsp-login-field input[type="email"]:focus,
.lsp-login-field input[type="password"]:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}
.lsp-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.lsp-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
}
.lsp-login-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--charcoal);
  cursor: pointer;
  flex-shrink: 0;
}
.lsp-login-lost {
  font-size: 13px;
  color: #7a5230;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}
.lsp-login-lost:hover {
  color: var(--brand);
}
.lsp-login-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lsp-login-btn:hover {
  background: var(--brand);
}
.lsp-login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--mid);
}
.lsp-login-footer a {
  color: #7a5230;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.lsp-login-footer a:hover {
  color: var(--brand);
}
/* Login feedback */
.lsp-login-feedback {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  font-size: 13px;
  font-family: var(--font-sans);
  border-radius: 6px;
  padding: 0 14px;
  margin-bottom: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease,
    margin-bottom 0.3s ease;
}
.lsp-login-feedback--ok,
.lsp-login-feedback--err {
  max-height: 80px;
  opacity: 1;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.lsp-login-feedback--ok {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}
.lsp-login-feedback--err {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

@media (max-width: 600px) {
  .lsp-login-modal {
    padding: 44px 28px 36px;
  }
  .lsp-login-close {
    top: -14px;
    right: -8px;
  }
}

/* ============================================================
   MOBILE / TABLET BOTTOM NAVIGATION
   Visible on ≤ 1024 px. Hides via .lsp-bottom-nav--hidden
   when the site footer scrolls into view (IntersectionObserver).
   ============================================================ */
.lsp-bottom-nav {
  display: none; /* desktop: hidden */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  /* safe-area for iOS home-bar */
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.lsp-bottom-nav--hidden {
  transform: translateY(110%);
}

@media (max-width: 1024px) {
  .lsp-bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
  }
  /* push page content up so last section isn't hidden behind the bar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Each nav item ──────────────────────────────────────── */
.lsp-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mid);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lsp-bnav-item:hover,
.lsp-bnav-item.active {
  color: var(--brand);
}

/* ── Icon wrapper (holds badge) ─────────────────────────── */
.lsp-bnav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

/* ── Cart badge ─────────────────────────────────────────── */
.lsp-bnav-badge {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--white);
}
.lsp-bnav-badge:empty,
.lsp-bnav-badge[data-count="0"] {
  display: none; /* hide when cart is empty */
}

/* ── Label ───────────────────────────────────────────────── */
.lsp-bnav-label {
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

/* ── Auth tabs ───────────────────────────────────────────── */
.lsp-auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}
.lsp-auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 11px 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  cursor: pointer;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.lsp-auth-tab::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.lsp-auth-tab.active {
  color: var(--brand);
}
.lsp-auth-tab.active::after {
  transform: scaleX(1);
}

/* ── Password show/hide wrapper ─────────────────────────── */
.lsp-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.lsp-pw-wrap input {
  flex: 1;
  padding-right: 42px !important;
}
.lsp-pw-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color var(--dur) var(--ease);
}
.lsp-pw-toggle:hover {
  color: var(--charcoal);
}

/* ── Password strength indicator ───────────────────────── */
.lsp-pw-strength {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  min-height: 16px;
  transition: color var(--dur) var(--ease);
}
.lsp-pw-weak {
  color: #dc2626;
}
.lsp-pw-fair {
  color: #d97706;
}
.lsp-pw-good {
  color: #2563eb;
}
.lsp-pw-strong {
  color: #16a34a;
}

/* ── First / Last name side-by-side row ─────────────────── */
.lsp-login-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 420px) {
  .lsp-login-field-row {
    grid-template-columns: 1fr;
  }
}

/* ── Footer "switch tab" link-button ────────────────────── */
.lsp-login-footer-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: #7a5230;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.lsp-login-footer-link:hover {
  color: var(--brand);
}

/* ── Login title replaced by tabs — keep title hidden ───── */
.lsp-login-title {
  display: none;
}

/* ============================================================
   COMPARE — button, sticky bar, modal, table
   ============================================================ */

/* ── Sticky compare bar (slides up from bottom) ───────────── */
.lsp-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}
.lsp-compare-bar.open {
  transform: translateY(0);
}
.lsp-compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lsp-compare-bar-text {
  font-family: var(--font-sans);
  font-size: 14px;
  margin: 0;
}
.lsp-compare-bar-text span {
  font-weight: 700;
  font-size: 18px;
}
.lsp-compare-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lsp-compare-now-btn {
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.lsp-compare-now-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.lsp-compare-now-btn:not(:disabled):hover {
  background: var(--brand-dark);
}
.lsp-compare-clear-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lsp-compare-clear-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── Compare overlay + modal ──────────────────────────────── */
.lsp-compare-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.lsp-compare-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lsp-compare-modal {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 40px 40px;
  border-radius: 2px;
  transform: translateY(24px);
  transition: transform 0.3s var(--ease);
}
.lsp-compare-overlay.open .lsp-compare-modal {
  transform: translateY(0);
}
.lsp-compare-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}
.lsp-compare-modal-close:hover {
  background: var(--brand);
}
.lsp-compare-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 28px;
}

/* ── Comparison table ─────────────────────────────────────── */
.lsp-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lsp-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.lsp-compare-table tr {
  border-bottom: 1px solid var(--border);
}
.lsp-compare-table tr:last-child {
  border-bottom: none;
}
.lsp-compare-row-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: left;
  padding: 14px 16px 14px 0;
  width: 110px;
  vertical-align: top;
  white-space: nowrap;
}
.lsp-compare-cell {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  padding: 14px 12px;
  vertical-align: top;
  width: calc(50% - 55px);
}
.lsp-compare-cell--img {
  text-align: center;
  padding-top: 20px;
}
.lsp-compare-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  border: 1px solid var(--border);
}
.lsp-compare-remove-btn {
  display: inline-block;
  background: none;
  border: 1px solid var(--border);
  color: var(--mid);
  font-family: var(--font-sans);
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lsp-compare-remove-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.lsp-compare-product-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.4;
}
.lsp-compare-product-name:hover {
  color: var(--brand);
}
.lsp-compare-price .woocommerce-Price-amount,
.lsp-compare-price ins,
.lsp-compare-price del {
  font-size: 15px;
}
.lsp-compare-instock {
  color: #166534;
  font-weight: 600;
}
.lsp-compare-outstock {
  color: var(--brand);
  font-weight: 600;
}
.lsp-compare-atc-btn {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lsp-compare-atc-btn:hover {
  background: var(--brand);
}
.lsp-compare-view-btn {
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lsp-compare-view-btn:hover {
  background: var(--charcoal);
  color: var(--white);
}

@media (max-width: 600px) {
  .lsp-compare-modal {
    padding: 44px 20px 28px;
  }
  .lsp-compare-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============================================================
   MY ACCOUNT PAGE
   ============================================================ */

/* ── Reset WooCommerce two-column account layout ──────────── */
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce-page {
  display: block !important;
}
.woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.lsp-account-content-area::after,
.lsp-account-section .container::after {
  content: "";
  display: table;
  clear: both;
}

/* ── Section wrapper ──────────────────────────────────────── */
.lsp-account-section {
  padding: 64px 0 96px;
}
.lsp-account-section--auth {
  padding: 64px 0 96px;
}

/* ── Page title ───────────────────────────────────────────── */
.lsp-account-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 24px;
  line-height: 1.2;
}

/* ── Horizontal navigation tabs ──────────────────────────── */
.lsp-account-nav {
  margin-bottom: 48px;
}
.lsp-account-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  border-bottom: 1px solid var(--border);
  padding: 0;
  margin: 0;
  list-style: none;
}
.lsp-account-nav-list li {
  margin: 0;
}
.lsp-account-nav-list li a {
  display: block;
  padding: 0 2px 13px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lsp-account-nav-list li a:hover {
  color: var(--brand);
}
.lsp-account-nav-list li.is-active > a {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 500;
}

/* ── Account content area ─────────────────────────────────── */
.lsp-account-content-area {
  min-height: 200px;
  padding-top: 40px;
  padding-bottom: 24px;
}

/* ── WooCommerce notices ──────────────────────────────────── */
.lsp-account-content-area .woocommerce-info,
.lsp-account-content-area .woocommerce-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: #f5f3f0;
  border: none;
  border-left: 4px solid #9b4020;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 24px;
  list-style: none;
}
.lsp-account-content-area .woocommerce-info::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b4020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cline x1='9' y1='7' x2='15' y2='7'/%3E%3Cline x1='9' y1='11' x2='15' y2='11'/%3E%3Cline x1='9' y1='15' x2='13' y2='15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.lsp-account-content-area .woocommerce-message {
  border-left-color: #2d7a4f;
  background: #f0faf4;
}
.lsp-account-content-area .woocommerce-error {
  background: var(--brand-pale);
  border-left: 4px solid var(--brand);
  padding: 14px 20px;
  margin-bottom: 24px;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
}
.lsp-account-content-area .woocommerce-error li {
  list-style: none;
}

/* ── Browse Products / WC forward buttons ─────────────────── */
.lsp-account-content-area .woocommerce-info .button,
.lsp-account-content-area .woocommerce-info .woocommerce-button,
.lsp-account-content-area .woocommerce-message .button {
  background: #9b4020;
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--dur) var(--ease);
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}
.lsp-account-content-area .woocommerce-info .button:hover,
.lsp-account-content-area .woocommerce-message .button:hover {
  background: #7a3218;
  color: var(--white);
}

/* ── General WC buttons in account content ────────────────── */
.lsp-account-content-area .button,
.lsp-account-content-area button.button {
  display: inline-block;
  padding: 11px 22px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.lsp-account-content-area .button:hover {
  background: var(--brand);
  color: var(--white);
}

/* ── Orders table ─────────────────────────────────────────── */
.lsp-account-content-area table.woocommerce-orders-table,
.lsp-account-content-area table.woocommerce-MyAccount-orders {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
}
.lsp-account-content-area table th {
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}
.lsp-account-content-area table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 14px;
}
.lsp-account-content-area table tbody tr:hover td {
  background: var(--cream);
}
.lsp-account-content-area table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Orders: order number link ────────────────────────────── */
.lsp-account-content-area .woocommerce-orders-table__cell-order-number a {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}
.lsp-account-content-area .woocommerce-orders-table__cell-order-number a:hover {
  color: var(--brand);
}

/* ── Orders: status badges ────────────────────────────────── */
.lsp-account-content-area .woocommerce-order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.lsp-account-content-area mark.order-status,
.lsp-account-content-area .woocommerce-order-status {
  background: var(--light);
  color: var(--charcoal);
}
.lsp-account-content-area mark.order-status.status-completed,
.lsp-account-content-area .woocommerce-order-status.status-completed {
  background: #dcfce7;
  color: #15803d;
}
.lsp-account-content-area mark.order-status.status-processing,
.lsp-account-content-area .woocommerce-order-status.status-processing {
  background: #dbeafe;
  color: #1d4ed8;
}
.lsp-account-content-area mark.order-status.status-on-hold,
.lsp-account-content-area .woocommerce-order-status.status-on-hold {
  background: #fef9c3;
  color: #854d0e;
}
.lsp-account-content-area mark.order-status.status-cancelled,
.lsp-account-content-area mark.order-status.status-refunded,
.lsp-account-content-area .woocommerce-order-status.status-cancelled,
.lsp-account-content-area .woocommerce-order-status.status-refunded {
  background: #f1f5f9;
  color: var(--mid);
}
.lsp-account-content-area mark.order-status.status-failed,
.lsp-account-content-area .woocommerce-order-status.status-failed {
  background: var(--brand-pale);
  color: var(--brand);
}

/* ── Orders: view button ──────────────────────────────────── */
.lsp-account-content-area
  .woocommerce-orders-table__cell-order-actions
  a.button,
.lsp-account-content-area
  .woocommerce-MyAccount-orders
  td.order-actions
  a.button {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
}

/* ── Orders: section heading ──────────────────────────────── */
.lsp-account-content-area .woocommerce-MyAccount-content > h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ── Downloads table ──────────────────────────────────────── */
.lsp-account-content-area .woocommerce-MyAccount-downloads {
  margin-top: 0;
}
.lsp-account-content-area table.woocommerce-MyAccount-downloads {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
}
.lsp-account-content-area table.woocommerce-MyAccount-downloads th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.lsp-account-content-area table.woocommerce-MyAccount-downloads td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--charcoal);
  font-size: 14px;
}
.lsp-account-content-area
  table.woocommerce-MyAccount-downloads
  tbody
  tr:last-child
  td {
  border-bottom: none;
}
.lsp-account-content-area
  table.woocommerce-MyAccount-downloads
  .download-product
  a {
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
}
.lsp-account-content-area
  table.woocommerce-MyAccount-downloads
  .download-product
  a:hover {
  color: var(--brand);
}
.lsp-account-content-area
  table.woocommerce-MyAccount-downloads
  .download-file
  a.woocommerce-MyAccount-downloads-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--dur);
}
.lsp-account-content-area
  table.woocommerce-MyAccount-downloads
  .download-file
  a:hover {
  background: var(--brand);
}
.lsp-account-content-area .woocommerce-MyAccount-downloads-file::before {
  content: "↓ ";
}

/* ── Addresses ────────────────────────────────────────────── */
.lsp-account-content-area .woocommerce-Addresses,
.lsp-account-content-area .addresses {
  margin-top: 8px;
}
.lsp-account-content-area .col2-set {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.lsp-account-content-area .col2-set .col-1,
.lsp-account-content-area .col2-set .col-2,
.lsp-account-content-area .u-column1,
.lsp-account-content-area .u-column2 {
  flex: 1;
  min-width: 240px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
}
.lsp-account-content-area .woocommerce-Address-title,
.lsp-account-content-area .woocommerce-column__title-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lsp-account-content-area .woocommerce-Address-title h3,
.lsp-account-content-area .woocommerce-column__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
}
.lsp-account-content-area .woocommerce-Address-title a.edit,
.lsp-account-content-area a.edit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #7a5230;
  text-decoration: none;
  font-weight: 400;
}
.lsp-account-content-area .woocommerce-Address-title a.edit:hover {
  color: var(--brand);
}
.lsp-account-content-area address {
  font-style: normal;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
}
.lsp-account-content-area .woocommerce-Addresses > p,
.lsp-account-content-area .addresses-intro {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 24px;
}

/* MY ADDRESSES section heading */
.lsp-account-content-area .woocommerce-MyAccount-content > h3:first-child,
.lsp-account-content-area > .woocommerce > h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 6px;
}

/* ── Account details form ─────────────────────────────────── */
.lsp-account-content-area .woocommerce-EditAccountForm .form-row,
.lsp-account-content-area .woocommerce-form-row {
  margin-bottom: 20px;
}
.lsp-account-content-area .woocommerce-EditAccountForm .form-row-first,
.lsp-account-content-area .woocommerce-EditAccountForm .form-row-last {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}
.lsp-account-content-area .woocommerce-EditAccountForm .form-row-last {
  margin-left: 3%;
}
.lsp-account-content-area .woocommerce-EditAccountForm label {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--brand);
  margin-bottom: 6px;
}
.lsp-account-content-area .woocommerce-EditAccountForm label abbr,
.lsp-account-content-area .woocommerce-EditAccountForm label .optional {
  color: var(--brand);
}
.lsp-account-content-area .woocommerce-EditAccountForm input[type="text"],
.lsp-account-content-area .woocommerce-EditAccountForm input[type="email"],
.lsp-account-content-area .woocommerce-EditAccountForm input[type="password"],
.lsp-account-content-area .woocommerce-EditAccountForm .woocommerce-Input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
  background: var(--white);
  outline: none;
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.lsp-account-content-area .woocommerce-EditAccountForm input:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.07);
}
.lsp-account-content-area .woocommerce-EditAccountForm fieldset {
  border: none;
  padding: 0;
  margin: 32px 0 0;
}
.lsp-account-content-area .woocommerce-EditAccountForm fieldset legend {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 20px;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
}
.lsp-account-content-area .woocommerce-EditAccountForm .woocommerce-Button,
.lsp-account-content-area .woocommerce-EditAccountForm button[type="submit"] {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}
.lsp-account-content-area
  .woocommerce-EditAccountForm
  .woocommerce-Button:hover,
.lsp-account-content-area
  .woocommerce-EditAccountForm
  button[type="submit"]:hover {
  background: var(--brand);
}

/* Wishlist page heading count */
.lsp-wishlist-page-count {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--mid);
  margin-left: 6px;
}

/* ── Compare / Wishlist empty states ──────────────────────── */
.lsp-account-empty-msg {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
  padding: 32px 0;
}
.lsp-account-content-area .wishlist-empty,
.lsp-account-content-area .yith-wcwl-wishlist-empty {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
  padding: 16px 0;
}

/* ── Downloads ────────────────────────────────────────────── */
.lsp-account-content-area .woocommerce-MyAccount-downloads table td,
.lsp-account-content-area .woocommerce-MyAccount-downloads table th {
  font-family: var(--font-sans);
}

/* ── Address edit form ────────────────────────────────────── */
.lsp-account-content-area .woocommerce-address-fields .form-row {
  margin-bottom: 20px;
}
.lsp-account-content-area .woocommerce-address-fields label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--brand);
  margin-bottom: 6px;
}
.lsp-account-content-area .woocommerce-address-fields input,
.lsp-account-content-area .woocommerce-address-fields select,
.lsp-account-content-area .woocommerce-address-fields textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
}
.lsp-account-content-area .woocommerce-address-fields button[type="submit"] {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}
.lsp-account-content-area
  .woocommerce-address-fields
  button[type="submit"]:hover {
  background: var(--brand);
}

/* ── Auth wrapper — not logged in ─────────────────────────── */
.lsp-auth-outer {
  display: flex;
  justify-content: center;
}
.lsp-auth-wrap {
  width: 100%;
  max-width: 660px;
}
.lsp-auth-hidden {
  display: none !important;
}

/* ── Auth card ────────────────────────────────────────────── */
.lsp-auth-card {
  border: 1px solid var(--border);
  padding: 60px 52px 52px;
  background: var(--white);
}

/* ── Auth title ───────────────────────────────────────────── */
.lsp-auth-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 32px;
  line-height: 1.2;
}

/* ── Auth fields ──────────────────────────────────────────── */
.lsp-auth-field {
  margin-bottom: 20px;
}
.lsp-auth-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.lsp-auth-field label span {
  color: var(--brand);
}
.lsp-auth-field input[type="text"],
.lsp-auth-field input[type="email"],
.lsp-auth-field input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.lsp-auth-field input:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.07);
}

/* ── Remember me / lost password row ─────────────────────── */
.lsp-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.lsp-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
}
.lsp-auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--charcoal);
  cursor: pointer;
  flex-shrink: 0;
}
.lsp-auth-lost {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #7a5230;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}
.lsp-auth-lost:hover {
  color: var(--brand);
}

/* ── Submit buttons ───────────────────────────────────────── */
.lsp-auth-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: background var(--dur) var(--ease);
}
.lsp-auth-btn:hover {
  background: var(--brand);
  color: var(--white);
}

/* ── Auth footer (switch link) ────────────────────────────── */
.lsp-auth-footer {
  text-align: center;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
}
.lsp-auth-footer a {
  color: #7a5230;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.lsp-auth-footer a:hover {
  color: var(--brand);
}

/* ── Register helper texts ────────────────────────────────── */
.lsp-auth-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 12px;
  line-height: 1.6;
}
.lsp-auth-privacy {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 24px;
  line-height: 1.65;
}
.lsp-auth-privacy a {
  color: #7a5230;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}
.lsp-auth-privacy a:hover {
  color: var(--brand);
}

/* ── WooCommerce notices inside auth area ─────────────────── */
.lsp-auth-card .woocommerce-error,
.lsp-auth-card .woocommerce-message,
.lsp-auth-card .woocommerce-info {
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  list-style: none;
}
.lsp-auth-card .woocommerce-error {
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}
.lsp-auth-card .woocommerce-message {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.lsp-auth-card .woocommerce-error li {
  list-style: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .lsp-account-content-area .woocommerce-EditAccountForm .form-row-first,
  .lsp-account-content-area .woocommerce-EditAccountForm .form-row-last {
    width: 100%;
    display: block;
    margin-left: 0;
  }
  .lsp-account-content-area .col2-set {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .lsp-account-section {
    padding: 48px 0 72px;
  }
  .lsp-account-nav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0 20px;
    scrollbar-width: none;
  }
  .lsp-account-nav-list::-webkit-scrollbar {
    display: none;
  }
  .lsp-account-nav-list li a {
    font-size: 13px;
    padding-bottom: 12px;
  }
  .lsp-auth-card {
    padding: 44px 28px 40px;
  }
  .lsp-account-content-area table {
    font-size: 13px;
  }
  .lsp-account-content-area table th,
  .lsp-account-content-area table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .lsp-account-section {
    padding: 40px 0 60px;
  }
  .lsp-auth-card {
    padding: 36px 20px 36px;
  }
  .lsp-auth-title {
    font-size: 28px;
    margin-bottom: 24px;
  }
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */

/* Two-column layout */
.lsp-single-product {
  padding: 60px 0 0;
}
.lsp-single-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

/* ── Gallery (Flexslider essentials) ── */
.woocommerce-product-gallery {
  position: relative;
  width: 100%;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform var(--dur);
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
  transform: scale(1.1);
}
.woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
/* Flexslider core */
.flexslider {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-sm);
}
.flexslider .slides {
  list-style: none;
  padding: 0;
  margin: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flexslider .slides > li:first-child {
  display: block;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
/* Thumbnails strip */
.flex-control-nav {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flex-control-thumbs li {
  width: calc(25% - 6px);
  cursor: pointer;
  flex-shrink: 0;
}
.flex-control-thumbs li img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}
.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: var(--brand);
}

/* ── Summary ── */
.lsp-single-summary {
  padding-top: 6px;
}
.lsp-single-summary .product_title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}
.lsp-single-summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.lsp-single-summary .woocommerce-review-link {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lsp-single-summary p.price,
.lsp-single-summary span.price {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--brand);
  font-weight: 500;
  display: block;
  margin-bottom: 20px;
}
.lsp-single-summary .price del {
  color: var(--mid);
  font-size: 18px;
  margin-right: 8px;
  opacity: 0.7;
}
.lsp-single-summary .price ins {
  text-decoration: none;
}
.lsp-single-summary .woocommerce-product-details__short-description {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
/* Stock badge */
.lsp-single-summary .stock {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.lsp-single-summary .in-stock {
  color: #16a34a;
}
.lsp-single-summary .out-of-stock {
  color: var(--brand);
}
/* Cart form */
.lsp-single-summary form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.lsp-single-summary .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur);
  flex-shrink: 0;
}
.lsp-single-summary .single_add_to_cart_button:hover,
.lsp-single-summary .single_add_to_cart_button.alt {
  background: var(--brand);
}
.lsp-single-summary .single_add_to_cart_button.alt:hover {
  background: var(--brand-dark);
}
/* Variations */
.lsp-single-summary table.variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.lsp-single-summary table.variations td {
  padding: 0 12px 14px 0;
  border: none;
  vertical-align: middle;
}
.lsp-single-summary table.variations label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.lsp-single-summary table.variations select {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 32px 10px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 10px center / 16px;
  outline: none;
  cursor: pointer;
  min-width: 160px;
  transition: border-color var(--dur);
}
.lsp-single-summary table.variations select:focus {
  border-color: var(--charcoal);
}
.lsp-single-summary .reset_variations {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 6px;
  display: inline-block;
}
/* Meta: SKU, categories, tags */
.lsp-single-summary .product_meta {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.lsp-single-summary .product_meta span {
  display: block;
}
.lsp-single-summary .product_meta a {
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lsp-single-summary .product_meta a:hover {
  color: var(--brand);
}

/* ── Tabs (Description, Reviews, etc.) ── */
.lsp-single-below {
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.woocommerce-tabs ul.tabs::-webkit-scrollbar {
  display: none;
}
.woocommerce-tabs ul.tabs li {
  flex-shrink: 0;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--dur), border-color var(--dur);
  text-decoration: none;
  white-space: nowrap;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.woocommerce-tabs .panel {
  padding: 36px 0 0;
  max-width: 760px;
}
.woocommerce-tabs .panel h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.woocommerce-tabs .panel p,
.woocommerce-tabs .panel li {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 12px;
}
/* Reviews */
#reviews #comments ol.commentlist {
  list-style: none;
  padding: 0;
}
#reviews #comments ol.commentlist li.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
#reviews .comment-text p.meta strong {
  font-weight: 600;
  color: var(--charcoal);
}
#reviews .comment-text p.meta time {
  color: var(--mid);
  font-size: 13px;
}
#reviews .comment-text .description p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
}
#review_form .comment-form-rating label {
  font-weight: 600;
}
#review_form .stars a {
  color: var(--brand);
  font-size: 20px;
}
#review_form .form-submit input {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur);
}
#review_form .form-submit input:hover {
  background: var(--brand);
}
/* Related / Upsells */
.related,
.up-sells {
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}
.related > h2,
.up-sells > h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 36px;
}
.related ul.products,
.up-sells ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 960px) {
  .lsp-single-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
  }
  .related ul.products,
  .up-sells ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .lsp-single-product {
    padding-top: 40px;
  }
  .woocommerce-tabs ul.tabs li a {
    padding: 12px 14px;
  }
  .related ul.products,
  .up-sells ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ============================================================
   QUANTITY +/- BUTTONS
   ============================================================ */
.quantity {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 48px;
}
.lsp-qty-btn {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--charcoal);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background var(--dur), color var(--dur);
  flex-shrink: 0;
}
.lsp-qty-btn:hover {
  background: var(--charcoal);
  color: var(--white);
}
input.lsp-qty-input,
input.qty {
  width: 54px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  outline: none;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  background: var(--white);
}
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ============================================================
   WC NOTICES
   ============================================================ */
/* Notice wrapper — icon is a real flex child, not absolute */
.lsp-notice,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  font-family: var(--font-sans);
  font-size: 14px;
  list-style: none;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

/* Icon: inline flex item — no background, sits beside text */
.lsp-notice::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  flex-shrink: 0;
  align-self: center;
  font-size: 17px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

/* Each list item: fills remaining width, puts button at far end */
.lsp-notice li,
.woocommerce-message li,
.woocommerce-error li,
.woocommerce-info li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

/* Colour variants */
.lsp-notice--success,
.woocommerce-message {
  background: #dcfce7;
  color: #15803d;
  border-left: 4px solid #16a34a;
}
.lsp-notice--success::before,
.woocommerce-message::before {
  content: "✓";
  color: #16a34a;
}

.lsp-notice--error,
.woocommerce-error {
  background: #fee2e2;
  color: #b91c1c;
  border-left: 4px solid var(--brand);
}
.lsp-notice--error::before,
.woocommerce-error::before {
  content: "!";
  color: var(--brand);
}

.lsp-notice--info,
.woocommerce-info {
  background: #e0f2fe;
  color: #0369a1;
  border-left: 4px solid #0284c7;
}
.lsp-notice--info::before,
.woocommerce-info::before {
  content: "i";
  color: #0284c7;
  font-style: italic;
}

/* Button: stays at the far right end */
.woocommerce-message a.button,
.woocommerce-info a.button,
.lsp-notice a.button {
  flex-shrink: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--dur);
  white-space: nowrap;
  display: inline-block;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.lsp-notice a.button:hover {
  background: var(--brand);
  color: var(--white);
}

/* Mobile / tablet: stack text and button vertically */
@media (max-width: 640px) {
  .lsp-notice,
  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info {
    align-items: flex-start;
  }
  .lsp-notice::before,
  .woocommerce-message::before,
  .woocommerce-error::before,
  .woocommerce-info::before {
    margin-top: 2px;
  }
  .lsp-notice li,
  .woocommerce-message li,
  .woocommerce-error li,
  .woocommerce-info li {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .woocommerce-message a.button,
  .woocommerce-info a.button,
  .lsp-notice a.button {
    align-self: flex-start;
  }
}

/* ============================================================
   CART PAGE
   ============================================================ */

/* Outer wrapper from page-cart.php / page-checkout.php — handles all margin */
.lsp-wc-page-wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding: 60px 48px 80px;
}

/* WC shortcode_wrapper outputs <div class="woocommerce"> — layout only */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.woocommerce-cart-form {
  grid-column: 1;
}
.cart-collaterals {
  grid-column: 2;
}
/* Cart table */
table.cart,
table.woocommerce-cart-form__contents {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
}
table.cart thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
table.cart tbody td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.cart .product-remove a {
  color: var(--mid);
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--dur), background var(--dur);
  text-decoration: none;
  font-style: normal;
}
table.cart .product-remove a:hover {
  color: var(--brand);
  background: var(--brand-pale);
}
table.cart .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--light);
}
table.cart .product-name a {
  font-weight: 500;
  color: var(--charcoal);
}
table.cart .product-name a:hover {
  color: var(--brand);
}
table.cart .product-name dl.variation {
  font-size: 12px;
  color: var(--mid);
  margin-top: 4px;
}
table.cart .product-price,
table.cart .product-subtotal {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
}
table.cart .product-subtotal {
  color: var(--brand);
}
table.cart .actions {
  padding: 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}
.coupon input[type="text"] {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  transition: border-color var(--dur);
}
.coupon input[type="text"]:focus {
  border-color: var(--charcoal);
}
.coupon button[name="apply_coupon"] {
  padding: 11px 20px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur);
}
.coupon button[name="apply_coupon"]:hover {
  background: var(--brand);
}
button[name="update_cart"] {
  padding: 11px 20px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur);
}
button[name="update_cart"]:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}
/* Cart totals */
.cart_totals h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.cart_totals table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 24px;
}
.cart_totals table th {
  width: 40%;
  text-align: left;
  padding: 13px 0;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cart_totals table td {
  padding: 13px 0;
  text-align: right;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
}
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  border-bottom: none;
  padding-top: 16px;
}
.cart_totals .order-total td {
  color: var(--brand);
}
.wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 32px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(129, 4, 31, 0.35);
}
/* Cross-sells */
.cross-sells h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--charcoal);
  margin: 32px 0 20px;
}
.cross-sells ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Empty cart */
.lsp-cart-empty-wrap {
  text-align: center;
  padding: 80px 20px;
}
.lsp-cart-empty-icon {
  font-size: 56px;
  opacity: 0.45;
  margin-bottom: 16px;
}
.lsp-cart-empty-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.lsp-cart-empty-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .lsp-wc-page-wrap {
    padding: 40px 24px 60px;
  }
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
  }
  .cart-collaterals {
    grid-column: 1;
  }
  table.cart .product-price,
  table.cart thead th.product-price {
    display: none;
  }
  .woocommerce-checkout .woocommerce > form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .lsp-wc-page-wrap {
    padding: 32px 16px 48px;
  }
  table.cart .product-thumbnail {
    display: none;
  }
  .coupon {
    flex-wrap: wrap;
  }
  .coupon input[type="text"] {
    width: 100%;
  }
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.woocommerce-checkout .woocommerce {
  /* sizing handled by .lsp-wc-page-wrap — no extra padding needed here */
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce > form {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}
.woocommerce-checkout h3,
#order_review_heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.woocommerce-checkout .form-row {
  margin-bottom: 18px;
}
.woocommerce-checkout .form-row label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.woocommerce-checkout .form-row label .required {
  color: var(--brand);
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--dur), box-shadow var(--dur);
  -webkit-appearance: none;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.07);
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}
.woocommerce-checkout .form-row-last {
  margin-left: 3%;
}
/* Order review */
#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 20px;
}
#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
#order_review table.shop_table .order-total th,
#order_review table.shop_table .order-total td {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--brand);
  border-bottom: none;
}
/* Payment */
#payment {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}
#payment .payment_methods {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
#payment .payment_methods li label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
#payment .payment_box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
}
#payment #place_order {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur);
}
#payment #place_order:hover {
  background: var(--brand-dark);
}
@media (max-width: 900px) {
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    display: block;
    margin-left: 0;
  }
}

/* ============================================================
   SHOP LOOP — result count, orderby, pagination, empty state
   ============================================================ */
.lsp-result-count {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  margin: 0;
}
.lsp-orderby {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 36px 9px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--charcoal);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 10px center / 16px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--dur);
}
.lsp-orderby:focus {
  border-color: var(--charcoal);
}
/* Pagination */
.lsp-pagination {
  text-align: center;
  margin-top: 48px;
}
.lsp-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.lsp-pagination .page-numbers li a,
.lsp-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  transition: all var(--dur);
  text-decoration: none;
}
.lsp-pagination .page-numbers li a:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.lsp-pagination .page-numbers li span.current {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  font-weight: 600;
}
/* No products found */
.lsp-no-products {
  text-align: center;
  padding: 80px 20px;
}
.lsp-no-products-icon {
  font-size: 48px;
  opacity: 0.3;
  margin-bottom: 16px;
}
.lsp-no-products-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.lsp-no-products-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ============================================================
   ACCOUNT DASHBOARD CARDS
   ============================================================ */
.lsp-account-dashboard {
  padding: 8px 0;
}
.lsp-dash-greeting {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 36px;
}
.lsp-dash-greeting strong {
  color: var(--charcoal);
}
.lsp-dash-greeting a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lsp-dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lsp-dash-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur), box-shadow var(--dur),
    transform var(--dur);
  text-decoration: none;
  color: inherit;
}
.lsp-dash-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(129, 4, 31, 0.08);
  transform: translateY(-2px);
  color: inherit;
}
.lsp-dash-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.lsp-dash-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.lsp-dash-card p {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--mid);
  margin: 0;
}
.lsp-dash-logout .lsp-dash-icon,
.lsp-dash-logout h3 {
  color: var(--mid);
}
.lsp-dash-logout:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}
@media (max-width: 900px) {
  .lsp-dash-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .lsp-dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
