/*
Theme Name: Tea Shop
Theme URI: https://example.com
Author: Yana Panko
Description: Custom WooCommerce theme for Chinese tea shop. Supports UA/EN, Nova Poshta, Telegram notifications.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: tea-shop
Tags: woocommerce, e-commerce, custom
*/

/* =============================================
   CSS VARIABLES  — palette: Глибина navy
   ============================================= */
:root {
  --color-primary:       #1e3a7a;
  --color-primary-dark:  #122558;
  --color-primary-light: #3358a8;

  --color-accent:        #c8a96e;
  --color-accent-dark:   #a07840;

  --color-bg:            #f7f8fb;
  --color-bg-alt:        #eef0f7;
  --color-surface:       #ffffff;
  --color-border:        #d4d9e8;

  --color-text:          #1a1f2e;
  --color-text-muted:    #6b7494;

  --color-error:         #c0392b;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Cormorant Garamond', 'Georgia', serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.14);

  --container:   1280px;
  --gap:         2rem;

  --header-h:    72px;
  --transition:  0.25s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.trp-language-switcher .trp-language-item { padding: 7px 9px !important;  }
.trp-shortcode-overlay {padding: 4px 0 !important;}
.trp-shortcode-anchor {padding: 0 !important;}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .03em;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo img,
.site-logo__img { height: 72px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav ul { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  display: block;
  padding: .5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav .current-menu-item a { color: var(--color-primary); background: var(--color-bg-alt); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: .25rem;
}
.lang-switcher a {
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.lang-switcher a.active,
.lang-switcher .current-lang a {
  background: var(--color-primary);
  color: #fff;
}

.trp-language-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: .25rem;
  list-style: none;
  margin: 0;
}
.trp-language-switcher ul,
.trp-ls-shortcode-language {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trp-language-switcher li { margin: 0; }
.trp-language-switcher a {
  display: block;
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition);
}
.trp-language-switcher .trp-ls-shortcode-current-language a,
.trp-language-switcher a:hover {
  background: var(--color-primary);
  color: #fff;
}

.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: all var(--transition);
}
.header-cart:hover { background: var(--color-primary); color: #fff; }
.header-cart svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.header-account {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: all var(--transition);
}
.header-account:hover { background: var(--color-primary); color: #fff; }
.header-account svg { width: 20px; height: 20px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
  transform-origin: center;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--color-surface);
  z-index: 199;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: .5rem;
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: .85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* =============================================
   HERO (front page)
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d1f44 0%, #1e3a7a 60%, #2a4d9e 100%);
  color: #fff;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--color-accent); }
.hero__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__image::after {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
}

/* =============================================
   FEATURES STRIP
   ============================================= */
.features-strip {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 1.5rem 0;
}
.features-strip__grid {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}
.features-strip__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 500;
}
.features-strip__item svg { width: 18px; height: 18px; opacity: .9; flex-shrink: 0; }

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--color-text);
}
.section-header p {
  margin-top: .75rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   CATEGORIES GRID (home)
   ============================================= */
.categories-section { padding: 5rem 0; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}
.category-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.category-card:hover .category-card__img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
}
.category-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  color: #fff;
}
.category-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .25rem;
}
.category-card__count {
  font-size: 16px;
  color: rgba(255,255,255,.75);
}

/* =============================================
   FEATURED PRODUCTS (home)
   ============================================= */
.featured-section { padding: 5rem 0; background: var(--color-bg-alt); }

/* =============================================
   PRODUCT GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-card__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.05); }

.product-card__badges {
  position: absolute;
  top: .75rem; left: .75rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-sale   { background: var(--color-error); color: #fff; }
.badge-new    { background: var(--color-primary); color: #fff; }
.badge-soldout { background: #444; color: #fff; }

.product-card__body { padding: 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }

.product-card__cats {
  font-size: .72rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .35rem;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.product-card__name a:hover { color: var(--color-primary); }

.product-card__excerpt {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: auto;
  margin-block-end: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--color-border);
  margin-top: .75rem;
}

.product-card__price { font-weight: 700; font-size: 1.05rem; color: var(--color-text); }
.product-card__price del { color: var(--color-text-muted); font-weight: 400; font-size: .85rem; margin-right: .35rem; }
.product-card__price ins { text-decoration: none; color: var(--color-error); }

.product-card__stock {
  font-size: .72rem;
  color: var(--color-text-muted);
  margin-top: auto;
}
.product-card__stock.low { color: #d97706; }

.product-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  transition: all var(--transition);
  flex-shrink: 0;
}
.product-card__add:hover { background: var(--color-primary-dark); transform: scale(1.1); }
.product-card__add svg { width: 18px; height: 18px; }
.product-card__add.disabled { background: #ccc; pointer-events: none; }

.product-card__wishlist {
  position: absolute;
  top: .65rem; right: .65rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  transition: all .2s;
  z-index: 2;
}
.product-card__wishlist:hover { color: #e53e3e; transform: scale(1.1); }
.product-card__wishlist.is-wishlisted { color: #e53e3e; }
.product-card__wishlist.is-wishlisted svg { fill: #e53e3e; }
.product-card__wishlist svg { width: 16px; height: 16px; pointer-events: none; }

.header-wishlist {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: all var(--transition);
}
.header-wishlist:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.header-wishlist svg { width: 22px; height: 22px; }
.wishlist-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: #e53e3e;
  color: #fff;
  border-radius: 8px;
  font-size: .62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* =============================================
   SHOP LAYOUT (archive-product)
   ============================================= */
.shop-page { padding: 2.5rem 0 5rem; }

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .sep { opacity: .5; }

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.shop-title { font-size: 1.5rem; font-family: var(--font-heading); }
.shop-count { font-size: .85rem; color: var(--color-text-muted); }

.shop-sort select {
  padding: .5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: .85rem;
  color: var(--color-text);
  cursor: pointer;
}

/* =============================================
   SIDEBAR / FILTERS
   ============================================= */
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.sidebar-widget__title svg { width: 16px; height: 16px; transition: transform var(--transition); }
.sidebar-widget.collapsed .sidebar-widget__title svg { transform: rotate(-90deg); }
.sidebar-widget.collapsed .sidebar-widget__body { display: none; }

.cat-tree { display: flex; flex-direction: column; gap: .1rem; }
.cat-tree__item { display: flex; align-items: center; gap: .5rem; }
.cat-tree__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--color-text);
  transition: all var(--transition);
}
.cat-tree__item a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.cat-tree__item.active > a { background: var(--color-primary); color: #fff; font-weight: 600; }
.cat-tree__count {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: .72rem;
  padding: .1rem .45rem;
  border-radius: 100px;
}
.cat-tree__item.active .cat-tree__count { background: rgba(255,255,255,.2); color: #fff; }
.cat-tree__children {
  padding-left: 1rem;
  border-left: 2px solid var(--color-border);
  margin: .25rem 0 .25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.cat-tree__children a { font-size: 16px; }

.price-filter { display: flex; flex-direction: column; gap: 1rem; }
.price-slider-wrap {
  position: relative;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: .75rem 0;
}
.price-slider-fill {
  position: absolute;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
}
.price-slider-wrap input[type=range] {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: none;
  appearance: none;
  pointer-events: none;
}
.price-slider-wrap input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  pointer-events: all;
  cursor: pointer;
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
}
.price-inputs input {
  width: 80px;
  padding: .4rem .6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.price-inputs span { color: var(--color-text-muted); }
.price-filter .btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* =============================================
   SINGLE PRODUCT
   ============================================= */
.single-product-page { padding: 2.5rem 0 5rem; }

.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-gallery__main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  cursor: zoom-in;
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-gallery__main:hover img { transform: scale(1.05); }
.product-gallery__thumbs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-bg-alt);
}
.product-gallery__thumb:hover,
.product-gallery__thumb.active { border-color: var(--color-primary); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { display: flex; flex-direction: column; gap: 1.25rem; }

.product-info__cats {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.product-info__cat-tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.product-info__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.product-info__meta {
  display: flex;
  gap: 1.5rem;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.product-info__meta span { display: flex; align-items: center; gap: .35rem; }

.product-info__price-wrap {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}
.product-info__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
}
.product-info__price-old {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.product-info__price-save {
  font-size: 16px;
  color: var(--color-error);
  font-weight: 600;
}

.product-info__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin: .85rem 0 0;
  padding: .85rem 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.product-info__spec {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-info__spec dt {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-info__spec dt svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.product-info__spec dd {
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-text);
}
.product-info__spec dt::after {
  content: ':';
}

.product-info__stock {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
}
.product-info__stock::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.product-info__stock.out-of-stock { color: var(--color-error); }
.product-info__stock.out-of-stock::before { background: var(--color-error); }
.product-info__stock.low-stock { color: #d97706; }
.product-info__stock.low-stock::before { background: #d97706; }
.product-info__stock-qty { color: var(--color-text-muted); font-weight: 400; }

.product-info__short-desc {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.product-info__qty {
  display: none;
  align-items: center;
  gap: .5rem;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-control button {
  width: 40px; height: 44px;
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 1.2rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.qty-control button:hover { background: var(--color-primary); color: #fff; }
.qty-control input {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  height: 44px;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
}
.qty-control input:focus { outline: none; }

.product-info__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-info__actions .btn { flex: 1; justify-content: center; padding: 1rem 2rem; font-size: 1rem; }

.product-info__cart-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.product-info__cart-row .btn {
  flex: 1;
  justify-content: center;
  padding: .9rem 1.5rem;
  font-size: 1rem;
  min-width: 140px;
}
.product-info__wishlist-btn {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all .2s;
  flex-shrink: 0;
}
.product-info__wishlist-btn:hover,
.product-info__wishlist-btn.is-wishlisted { color: #e53e3e; border-color: #e53e3e; }
.product-info__wishlist-btn.is-wishlisted svg { fill: #e53e3e; }
.product-info__wishlist-btn svg { width: 20px; height: 20px; pointer-events: none; }

/* Tabs */
.product-tabs { margin-top: 2rem; }
.product-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  gap: 0;
  overflow-x: auto;
}
.product-tabs__btn {
  padding: .85rem 1.5rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.product-tabs__btn:hover { color: var(--color-primary); }
.product-tabs__btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.product-tabs__panel { display: none; padding: 2rem 0; }
.product-tabs__panel.active { display: block; }
.product-tabs__panel p { line-height: 1.8; color: var(--color-text-muted); margin-bottom: 1rem; }
.product-tabs__panel h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: .75rem; margin-top: 1.5rem; }
.product-tabs__panel ul { padding-left: 1.5rem; list-style: disc; }
.product-tabs__panel ul li { margin-bottom: .35rem; color: var(--color-text-muted); }

.product-attrs {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.product-attrs tr { border-bottom: 1px solid var(--color-border); }
.product-attrs tr:last-child { border: none; }
.product-attrs th {
  width: 35%;
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 600;
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.product-attrs td { padding: .85rem 1rem; color: var(--color-text-muted); }

.related-products { padding: 4rem 0; border-top: 1px solid var(--color-border); }
.related-products h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* =============================================
   CART
   ============================================= */
.cart-page { padding: 1.5rem 0 5rem; }

.cart-page__head {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  margin: .5rem 0 2rem;
}
.cart-page__head h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0;
}
.cart-page__count {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: 999px;
  padding: .3rem .8rem;
  white-space: nowrap;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 1.75rem;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.cart-card {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), opacity .25s, transform .25s;
}
.cart-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #bcc5dd;
}
.cart-card.is-updating { opacity: .55; pointer-events: none; }
.cart-card.is-removing {
  opacity: 0;
  transform: translateX(28px);
}

.cart-card__media {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}
.cart-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cart-card:hover .cart-card__media img { transform: scale(1.06); }

.cart-card__body { min-width: 0; }

.cart-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .35rem;
}
.cart-card__title a { color: inherit; transition: color var(--transition); }
.cart-card__title a:hover { color: var(--color-primary); }

.cart-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .4rem;
  font-size: 16px;
}
.cart-card__meta dl,
.cart-card__meta dt,
.cart-card__meta dd { margin: 0; display: inline; }
.cart-card__meta dl.variation {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .3rem .45rem;
}
.cart-card__meta dt {
  font-weight: 600;
  color: var(--color-text-muted);
}
.cart-card__meta dd { margin-right: .6rem; }
.cart-card__meta dd p { display: inline; margin: 0; }

.cart-card__sku {
  font-size: .78rem;
  color: var(--color-text-muted);
  margin: 0 0 .35rem;
  letter-spacing: .02em;
}

.cart-card__unit {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.cart-card__unit span {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-muted);
}

.cart-card__stock {
  display: inline-block;
  margin: .5rem 0 0;
  padding: .2rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  background: rgba(200, 169, 110, .16);
  border-radius: 999px;
}

.cart-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
  min-width: 150px;
}

.cart-card__qty { display: inline-flex; }
.cart-card__qty .cart-qty-input { width: 46px; text-align: center; }

.cart-card__subtotal {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  white-space: nowrap;
}

.cart-card__remove {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.cart-card__remove svg { width: 14px; height: 14px; }
.cart-card__remove:hover { color: var(--color-error); }

.cart-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.cart-summary__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 1.1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem 0;
  font-size: .92rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-summary-row__muted {
  font-size: 16px;
  color: var(--color-text-muted);
  text-align: right;
}

.cart-summary-row--total {
  border-bottom: none;
  margin-top: .3rem;
  padding-top: 1rem;
  border-top: 2px solid var(--color-text);
  font-size: 1.05rem;
  font-weight: 700;
}
.cart-summary-row--total span:last-child {
  font-size: 1.45rem;
  color: var(--color-primary);
}

.cart-summary__cta {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
  font-size: 1rem;
}

.cart-summary__back {
  display: block;
  text-align: center;
  margin-top: .9rem;
  font-size: .87rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.cart-summary__back:hover { color: var(--color-primary); }

.cart-summary__perks {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.cart-summary__perks li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-muted);
}
.cart-summary__perks svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .1rem;
  color: var(--color-accent);
}

.cart-empty {
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.cart-empty__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.cart-empty__icon svg { width: 40px; height: 40px; }
.cart-empty h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin: 0 0 .5rem;
}
.cart-empty p {
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
}

@media (max-width: 720px) {
  .cart-page__head h1 { font-size: 1.9rem; }

  .cart-card {
    grid-template-columns: 84px 1fr;
    grid-template-areas:
      "media body"
      "actions actions";
    gap: .9rem;
    padding: .9rem;
  }
  .cart-card__media { grid-area: media; width: 84px; height: 84px; }
  .cart-card__body  { grid-area: body; }
  .cart-card__actions {
    grid-area: actions;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding-top: .85rem;
    border-top: 1px solid var(--color-border);
  }
  .cart-card__subtotal { font-size: 1.1rem; }
  .cart-card__remove span { display: none; }
  .cart-summary { position: static; }
}

/* =============================================
   CHECKOUT
   ============================================= */
.checkout-page { padding: 2.5rem 0 5rem; }
.checkout-page h1 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 2rem; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.checkout-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.checkout-form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.full { grid-template-columns: 1fr; }

.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--color-text); }
.form-field label .required { color: var(--color-error); margin-left: .2rem; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: .7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: .9rem;
  background: var(--color-bg);
  transition: all var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74,124,89,.1);
}
.form-field textarea { resize: vertical; min-height: 80px; }

.delivery-methods { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.25rem; }
.delivery-method-option {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.delivery-method-option:hover,
.delivery-method-option.selected {
  border-color: var(--color-primary);
  background: rgba(74,124,89,.04);
}
.delivery-method-option input[type=radio] { margin-top: 2px; accent-color: var(--color-primary); }
.delivery-method-option .method-info { flex: 1; }
.delivery-method-option .method-name { font-weight: 600; font-size: .9rem; }
.delivery-method-option .method-desc { font-size: 16px; color: var(--color-text-muted); margin-top: .2rem; }
.delivery-method-option .method-price { font-weight: 700; font-size: .9rem; color: var(--color-primary); white-space: nowrap; }

.delivery-method-option:hover,
.delivery-method-option.selected {
  background: rgba(30,58,122,.04);
}

/* =============================================
   PAGE LOADER / SPINNER
   ============================================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f7f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-rings {
  position: relative;
  width: 110px;
  height: 110px;
}

.ldr-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  opacity: 0;
  transform: scale(.2);
  animation: ldr-appear .5s cubic-bezier(.22,.68,0,1.3) forwards;
}
.ldr-ring:nth-child(1) { animation-delay: 0s;   }
.ldr-ring:nth-child(2) { animation-delay: .16s; }
.ldr-ring:nth-child(3) { animation-delay: .32s; }
.ldr-ring:nth-child(4) { animation-delay: .48s; }

@keyframes ldr-appear {
  0%   { opacity: 0; transform: scale(.2); }
  65%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.loader-rings.is-pulsing .ldr-ring {
  animation: ldr-pulse 1.6s ease-in-out infinite;
}
.loader-rings.is-pulsing .ldr-ring:nth-child(1) { animation-delay: 0s;   }
.loader-rings.is-pulsing .ldr-ring:nth-child(2) { animation-delay: .12s; }
.loader-rings.is-pulsing .ldr-ring:nth-child(3) { animation-delay: .24s; }
.loader-rings.is-pulsing .ldr-ring:nth-child(4) { animation-delay: .36s; }

@keyframes ldr-pulse {
  0%, 100% { opacity: .35; transform: scale(.96); }
  50%      { opacity: 1;   transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .ldr-ring,
  .loader-rings.is-pulsing .ldr-ring { animation: none; opacity: 1; transform: none; }
}

.ajax-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  width: 100%;
}
.ajax-spinner.is-active { display: flex; }
.ajax-spinner .loader-mark { width: 54px; height: 54px; }
.ajax-spinner .loader-mark.is-pulsing img { animation-duration: 1.4s; }

#nova-poshta-fields { margin-top: 1rem; }

.order-summary-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.order-summary-box h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 1.25rem; }
.order-summary-item {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.order-summary-item:last-of-type { border: none; }
.order-summary-item img {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.order-summary-item-info { flex: 1; min-width: 0; }
.order-summary-item-name { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-summary-item-qty { font-size: .78rem; color: var(--color-text-muted); }
.order-summary-item-price { font-weight: 700; font-size: .9rem; white-space: nowrap; }

.payment-methods { display: flex; flex-direction: column; gap: .75rem; }
.payment-method-option {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.payment-method-option:hover,
.payment-method-option.selected {
  border-color: var(--color-primary);
  background: rgba(74,124,89,.04);
}
.payment-method-option input[type=radio] { accent-color: var(--color-primary); }

.payment-method-option {
  flex-wrap: wrap;
}
.payment-method-desc {
  flex-basis: 100%;
  margin-left: 1.85rem;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.payment-method-desc p { margin: 0; }

.payment-method-fields {
  padding: .9rem 1.25rem;
  margin-top: -.35rem;
  border: 2px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: rgba(30, 58, 122, .03);
  font-size: .88rem;
}

.checkout-no-shipping {
  padding: 1rem 1.25rem;
  border: 1px dashed var(--color-accent-dark);
  border-radius: var(--radius-md);
  background: rgba(200, 169, 110, .08);
  font-size: .9rem;
  line-height: 1.5;
}
.checkout-no-shipping p { margin: 0 0 .4rem; }
.checkout-no-shipping p:last-child { margin-bottom: 0; }
.checkout-no-shipping__hint {
  font-size: 16px;
  color: var(--color-text-muted);
}
.checkout-no-shipping code {
  padding: .1rem .35rem;
  background: rgba(0, 0, 0, .06);
  border-radius: 3px;
  font-size: .95em;
}

.checkout-no-gateways {
  padding: 1rem 1.25rem;
  border: 1px dashed var(--color-error);
  border-radius: var(--radius-md);
  color: var(--color-error);
  font-size: .88rem;
  line-height: 1.5;
}

.checkout-terms {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}
.checkout-terms input { margin-top: 2px; accent-color: var(--color-primary); }
.checkout-terms a { color: var(--color-primary); text-decoration: underline; }

/* =============================================
   MY ACCOUNT
   ============================================= */
.account-page { padding: 2.5rem 0 5rem; }

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.account-nav {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}
.account-nav a:hover,
.account-nav .is-active a { background: var(--color-primary); color: #fff; }
.account-nav svg { width: 16px; height: 16px; flex-shrink: 0; }

.account-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.account-content h2 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 1.5rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-page { padding: 4rem 0 6rem; }
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.about-hero__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.about-hero__content p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-values-grid--1 { grid-template-columns: minmax(0, 30rem); justify-content: center; }
.about-values-grid--2 { grid-template-columns: repeat(2, 1fr); }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.value-card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.value-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value-card__icon svg { width: 28px; height: 28px; color: var(--color-primary); }
.value-card h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: .5rem; }
.value-card p { font-size: .88rem; color: var(--color-text-muted); line-height: 1.6; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: relative;
  background-color: #0a1c3d;
  color: rgba(255,255,255,.85);
  padding: 4rem 0 2rem;
}

.has-deep-bg .site-footer { background-color: transparent; }

html:not(.has-deep-bg) .site-footer {
  background-image: url("assets/img/deep_sea_texture_03.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .site-logo { color: #fff; }
.footer-logo img { height: 72px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand-img{
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--color-primary); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-socials img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: 16px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 1rem;
}

/* =============================================
   NOTICES / ALERTS
   ============================================= */
.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 .75rem;
  list-style: none;
}
.woocommerce-message > li,
.woocommerce-error   > li,
.woocommerce-info    > li {
  list-style: none;
  margin: 0 0 .35rem;
}
.woocommerce-message > li:last-child,
.woocommerce-error   > li:last-child,
.woocommerce-info    > li:last-child { margin-bottom: 0; }

.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a { text-decoration: underline; color: inherit; }

.woocommerce-message { background: #d1fae5; border-left: 4px solid #059669; color: #065f46; }
.woocommerce-error   { background: #fee2e2; border-left: 4px solid #dc2626; color: #991b1b; }
.woocommerce-info    { background: #dbeafe; border-left: 4px solid #2563eb; color: #1e40af; }

.checkout-layout > .woocommerce-notices-wrapper,
.checkout-layout > .woocommerce-message,
.checkout-layout > .woocommerce-error,
.checkout-layout > .woocommerce-info,
.cart-layout > .woocommerce-notices-wrapper,
.cart-layout > .woocommerce-message,
.cart-layout > .woocommerce-error,
.cart-layout > .woocommerce-info {
  grid-column: 1 / -1;
}

/* =============================================
   THANK YOU / ORDER RECEIVED
   ============================================= */
.wc-plain-page { display: block; }

.thankyou { padding: 3rem 0 5rem; }
.thankyou__inner { max-width: 980px; }

.thankyou__hero {
  text-align: center;
  margin-bottom: 2.25rem;
}
.thankyou__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, .1);
  color: #16a34a;
  animation: tea-pop .45s ease;
}
.thankyou__icon svg { width: 40px; height: 40px; }
.thankyou__icon--fail { background: rgba(220, 38, 38, .1); color: #dc2626; }

.thankyou__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 .6rem;
}
.thankyou__lead {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.6;
}

.thankyou__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.thankyou__meta-item {
  background: var(--color-surface);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.thankyou__meta-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-text-muted);
}
.thankyou__meta-value { font-size: 1.02rem; line-height: 1.3; }
.thankyou__meta-value--accent { color: var(--color-primary); font-size: 1.2rem; }
.thankyou__meta-value .amount { font-size: inherit; }

.thankyou__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

.thankyou__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}
.thankyou__card--center { text-align: center; padding: 3rem 2rem; }
.thankyou__card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0 0 1.15rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--color-border);
}

.thankyou__item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.thankyou__item:last-of-type { border-bottom: none; }

.thankyou__item-media { position: relative; width: 60px; height: 60px; }
.thankyou__item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}
.thankyou__item-qty {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou__item-name { font-weight: 600; font-size: .95rem; margin: 0; line-height: 1.35; }
.thankyou__item-meta { font-size: 16px; color: var(--color-text-muted); margin-top: .2rem; }
.thankyou__item-meta p,
.thankyou__item-meta dl,
.thankyou__item-meta dt,
.thankyou__item-meta dd { display: inline; margin: 0; }
.thankyou__item-meta dt { font-weight: 600; }
.thankyou__item-meta dd { margin-right: .5rem; }
.thankyou__item-price { font-weight: 700; white-space: nowrap; }

.thankyou__totals {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.thankyou__total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  font-size: .92rem;
}
.thankyou__total-row--grand {
  margin-top: .5rem;
  padding-top: .8rem;
  border-top: 2px solid var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
}
.thankyou__total-row--grand span:last-child { font-size: 1.3rem; color: var(--color-primary); }

.thankyou__card--side { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.thankyou__details { margin: 0; }
.thankyou__details dt {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-top: .9rem;
}
.thankyou__details dt:first-child { margin-top: 0; }
.thankyou__details dd {
  margin: .2rem 0 0;
  font-size: .92rem;
  line-height: 1.45;
}
.thankyou__details dd a { color: var(--color-primary); }
.thankyou__details-sub {
  display: block;
  font-size: 16px;
  color: var(--color-text-muted);
}

.thankyou__consult {
  margin: 1.25rem 0 0;
  padding: .8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(200, 169, 110, .14);
  font-size: .85rem;
  line-height: 1.45;
}

.thankyou__cta { width: 100%; justify-content: center; margin-top: 1.25rem; }

.thankyou__extra {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  font-size: .92rem;
  line-height: 1.6;
}
.thankyou__extra > :first-child { margin-top: 0; }
.thankyou__extra > :last-child  { margin-bottom: 0; }
.thankyou__extra h2,
.thankyou__extra h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 .5rem;
}

.thankyou__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

@media (max-width: 860px) {
  .thankyou__grid { grid-template-columns: 1fr; }
  .thankyou__card--side { position: static; }
  .thankyou__meta { grid-template-columns: repeat(2, 1fr); }
  .thankyou__title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .thankyou__meta { grid-template-columns: 1fr; }
}

.order-received {
  text-align: center;
  padding: 4rem 2rem;
}
.order-received__icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.order-received__icon svg { width: 40px; height: 40px; color: #059669; }
.order-received h1 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: .75rem; }
.order-received p { color: var(--color-text-muted); max-width: 480px; margin: 0 auto 2rem; }
.order-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 2rem auto;
}
.order-detail-item {
  padding: 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  font-size: .85rem;
}
.order-detail-item strong { display: block; font-size: 1.05rem; margin-bottom: .25rem; }

/* =============================================
   LIGHTBOX OVERLAY
   ============================================= */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.34); }
.lightbox-nav--prev { left: 1.5rem; }
.lightbox-nav--next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .85rem;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-nav--prev { left: .5rem; }
  .lightbox-nav--next { right: .5rem; }
}

/* =============================================
   MINI CART DRAWER
   ============================================= */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px;
  background: var(--color-surface);
  z-index: 300;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 299;
}
.cart-drawer__overlay.is-open { display: block; }
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer__header h3 { font-family: var(--font-heading); font-size: 1.15rem; }

.cart-drawer__close,
.wishlist-drawer__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cart-drawer__close:hover,
.wishlist-drawer__close:hover {
  background: var(--color-error);
  color: #fff;
}
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-drawer__footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--color-border); }
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.cart-drawer__item {
  display: flex;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer__item:last-child { border: none; }
.cart-drawer__item img { width: 60px; height: 60px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.cart-drawer__item-info { flex: 1; }
.cart-drawer__item-name { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.cart-drawer__item-meta { font-size: 16px; color: var(--color-text-muted); margin-top: .2rem; }
.cart-drawer__item-price { font-size: .9rem; font-weight: 700; color: var(--color-text); margin-top: .3rem; }
.cart-drawer__item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--color-text-muted); font-size: 1rem; line-height: 1;
  padding: .2rem; border-radius: var(--radius-sm);
  transition: color .2s; align-self: flex-start; flex-shrink: 0;
}
.cart-drawer__item-remove:hover { color: #e53e3e; }
.cart-drawer__empty {
  text-align: center; padding: 3rem 1rem;
  color: var(--color-text-muted);
}
.cart-drawer__empty svg { width: 48px; height: 48px; opacity: .3; margin: 0 auto .75rem; display: block; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 240px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-product-layout { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; --gap: 1.25rem; }

  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }

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

  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cart-drawer { width: 100%; }

  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; }

  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero { min-height: 400px; }
}

/* =============================================
   HERO
   ============================================= */
.hero--has-img { position: relative; }

.hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(13,31,68,.82) 0%, rgba(30,58,122,.65) 100%);
}
.hero--has-img .hero__inner { position: relative; z-index: 2; }

.hero:not(.hero--has-img) .hero__inner {
  grid-template-columns: 1fr;
  max-width: 700px;
}

/* =============================================
   SECTION HEADER (New Arrivals / Best Sellers)
   ============================================= */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--color-primary-dark);
}
.section-header__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  transition: color var(--transition);
}
.section-header__link:hover { color: var(--color-accent); }

.products-section { padding: 4rem 0; }
.products-section--alt { background: var(--color-bg-alt); padding: 4rem 0; }

/* =============================================
   PRODUCT CARD SLIM (.pcs) — slider cards
   ============================================= */
.pcs {
  flex: 0 0 calc(20% - 1rem);
  min-width: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.pcs:hover { box-shadow: var(--shadow-md); }

.pcs__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.pcs__img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.pcs__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.pcs:hover .pcs__img-wrap img { transform: scale(1.05); }

.pcs__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 122, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.pcs:hover .pcs__overlay { opacity: 1; }

.pcs__cart-btn,
.pcs__wish-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .85rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.pcs__cart-btn {
  background: var(--color-accent);
  color: #fff;
}
.pcs__cart-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.pcs__cart-btn:hover { background: var(--color-accent-dark); }

.pcs__wish-btn {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  padding: .45rem .5rem;
}
.pcs__wish-btn svg { width: 16px; height: 16px; }
.pcs__wish-btn:hover,
.pcs__wish-btn.is-wishlisted {
  background: rgba(200, 169, 110, .85);
  border-color: transparent;
}
.pcs__wish-btn.is-wishlisted svg { fill: #fff; }

.pcs__info {
  padding: .6rem .75rem .75rem;
}
.pcs__name {
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .3rem;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcs__name a { color: inherit; text-decoration: none; }
.pcs__name a:hover { color: var(--color-primary); }

.pcs__price { font-size: .9rem; font-weight: 700; color: var(--color-primary); }
.pcs__price .woocommerce-Price-amount { color: inherit; }
.pcs__price del .woocommerce-Price-amount { color: var(--color-text-muted); font-weight: 400; font-size: 16px; }

/* =============================================
   PRODUCTS SLIDER WRAP
   ============================================= */
.products-slider-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: .5rem;
}

.products-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}
.products-slider::-webkit-scrollbar { display: none; }
.products-slider .pcs { scroll-snap-align: start; }

.slider-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  align-self: center;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.slider-btn:hover { background: var(--color-primary-dark); transform: scale(1.08); }
.slider-btn:disabled { opacity: .3; pointer-events: none; }
.slider-btn--prev { order: -1; }
.slider-btn--next { order: 2; }

@media (max-width: 1024px) {
  .pcs { flex: 0 0 calc(25% - 1rem); }
}
@media (max-width: 768px) {
  .pcs { flex: 0 0 calc(50% - .625rem); }
  .slider-btn { width: 30px; height: 30px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .pcs { flex: 0 0 calc(75% - .5rem); }
}

/* =============================================
   WISHLIST DRAWER
   ============================================= */
.wishlist-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.wishlist-drawer__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wishlist-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  max-width: 100vw;
  height: 100%;
  background: var(--color-surface);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wishlist-drawer.is-open { transform: translateX(0); }

.wishlist-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.wishlist-drawer__header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0;
}

.wishlist-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wishlist-drawer__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: .75rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.wishlist-drawer__item:last-child { border-bottom: none; padding-bottom: 0; }

.wishlist-drawer__item > a { display: block; }
.wishlist-drawer__item > a img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}

.wishlist-drawer__item-info {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.wishlist-drawer__item-name {
  font-size: .88rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.wishlist-drawer__item-name a {
  color: var(--color-text);
  text-decoration: none;
}
.wishlist-drawer__item-name a:hover { color: var(--color-primary); }

.wishlist-drawer__item-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
.wishlist-drawer__item-price .woocommerce-Price-amount { color: inherit; }

.wishlist-drawer__item-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-top: .25rem;
}

.wishlist-drawer__cart-btn {
  flex: 1;
  padding: .38rem .6rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.wishlist-drawer__cart-btn:hover { background: var(--color-accent-dark); }

.wishlist-drawer__remove-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition);
  padding: 0;
}
.wishlist-drawer__remove-btn svg { width: 14px; height: 14px; }
.wishlist-drawer__remove-btn:hover { color: var(--color-error); border-color: var(--color-error); }

.wishlist-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text-muted);
  gap: 1rem;
  flex: 1;
}
.wishlist-drawer__empty svg {
  width: 48px;
  height: 48px;
  opacity: .35;
}
.wishlist-drawer__empty p {
  font-size: .95rem;
  margin: 0;
}

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

/* ── Banner ── */
.about-banner {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  background: var(--color-primary-dark);
  overflow: hidden;
}
.about-banner:not(.about-banner--has-img) {
  align-items: center;
}
.about-banner--has-img .about-banner__img {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: 0;
  right: 0;
  z-index: 0;
  will-change: transform;
}
.about-banner--has-img .about-banner__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-banner__content { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .about-banner__img,
  .about-banner__content { transform: none !important; }
}
.about-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
          to top,
          rgba(13, 31, 68, .92) 0%,
          rgba(13, 31, 68, .55) 45%,
          rgba(13, 31, 68, .15) 100%
  );
}
.about-banner .container { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 3.5rem; }
.about-banner__content { max-width: 640px; }
.about-banner__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .75rem;
}
.about-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.about-banner__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 540px;
}

/* ── Values ── */
.about-values-section { padding: 5rem 0; background: var(--color-bg); }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.about-value {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-value:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.about-value__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
  color: var(--color-primary);
}
.about-value__icon svg { width: 28px; height: 28px; }
.about-value h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: .5rem;
}
.about-value p { font-size: .9rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ── Story ── */
.about-story-section { padding: 5rem 0; background: var(--color-bg-alt); }
.about-story { max-width: 760px; margin: 0 auto; }
.about-story__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}
.about-story__body { font-size: 1rem; line-height: 1.8; color: var(--color-text); }
.about-story__body p { margin-bottom: 1em; }

/* ── Team ── */
.about-team-section { padding: 5rem 0; background: var(--color-bg); }
.about-team__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 3rem;
}
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
}
.about-team__member { text-align: center; }
.about-team__photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.about-team__member:hover .about-team__photo-wrap { box-shadow: var(--shadow-md); }
.about-team__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-team__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.about-team__photo-placeholder svg { width: 56px; height: 56px; }
.about-team__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .25rem;
}
.about-team__role {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: .4rem;
}
.about-team__bio { font-size: 16px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

/* ── CTA ── */
.about-cta {
  padding: 5rem 0;
  background: var(--color-primary-dark);
  text-align: center;
}
.about-cta__inner { max-width: 540px; margin: 0 auto; }
.about-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: .75rem;
}
.about-cta p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1rem; }

/* ── About page responsive ── */
@media (max-width: 768px) {
  .about-values-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-banner { min-height: 360px; }
  .about-team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .about-team__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .about-team__photo-wrap { width: 110px; height: 110px; }
}

/* ── About values heading & dynamic grid ── */
.about-values__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* 1–2 cards */
.about-values-grid--1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.about-values-grid--2 { grid-template-columns: repeat(2, 1fr); }
/* 3 is default (repeat(3,1fr)) */
/* 4 cards */
.about-values-grid--4 { grid-template-columns: repeat(4, 1fr); }
/* 5–6 cards: wrap into 2 rows */
.about-values-grid--5,
.about-values-grid--6 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .about-values-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   HERO — video background variant
   ============================================= */
.hero__bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero--has-img  .hero__bg-overlay,
.hero--has-video .hero__bg-overlay {
  background: linear-gradient(
          135deg,
          rgba(13, 31, 68, .82) 0%,
          rgba(30, 58, 122, .60) 100%
  );
}

.hero--has-video .hero__bg-overlay {
  background: linear-gradient(
          160deg,
          rgba(13, 31, 68, .75) 0%,
          rgba(30, 58, 122, .50) 60%,
          rgba(13, 31, 68, .70) 100%
  );
}

/* ── Announcement bar ────────────────────────────── */
.announcement-bar {
  width: 100%;
  text-align: center;
  padding: .5rem 1rem;
  font-size: 16px;
  letter-spacing: .03em;
}
.announcement-bar a,
.announcement-bar span {
  color: #fff;
  text-decoration: none;
}
.announcement-bar a:hover { text-decoration: underline; }

/* ── Header phone ────────────────────────────────── */
.header-phone {
  font-size: .85rem;
  color: var(--color-text, #0d1f44);
  text-decoration: none;
  white-space: nowrap;
  margin-right: .5rem;
}
.header-phone:hover { text-decoration: underline; }
@media (max-width: 768px) { .header-phone { display: none; } }

/* ══════════════════════════════════════════════════════
   CONSULTATION
   ══════════════════════════════════════════════════════ */

.consult-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem .7rem .9rem;
  background: var(--color-accent, #1e3a7a);
  color: #fff;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13,31,68,.35);
  transition: transform .2s, box-shadow .2s;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.consult-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(13,31,68,.45);
}
.consult-fab__label { white-space: nowrap; }
@media (max-width: 480px) {
  .consult-fab { padding: .75rem; border-radius: 50%; bottom: 1.2rem; right: 1.2rem; }
  .consult-fab__label { display: none; }
}

/* ── Modal ───────────────────────────────────────── */
.consult-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; }
.consult-modal[hidden] { display: none; }
.consult-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(13,31,68,.55);
  backdrop-filter: blur(3px);
}
.consult-modal__box {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.5rem 2rem 2rem;
  width: 100%; max-width: 440px;
  margin: 1rem;
  box-shadow: 0 24px 60px rgba(13,31,68,.25);
  animation: consultSlideIn .22s ease;
}
@keyframes consultSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.consult-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: #999; line-height: 1;
  padding: .25rem .4rem; border-radius: .25rem;
  transition: color .15s;
}
.consult-modal__close:hover { color: #333; }
.consult-modal__title { font-size: 1.3rem; font-weight: 700; margin: 0 0 .4rem; }
.consult-modal__sub   { color: #666; font-size: .9rem; margin: 0 0 1.2rem; }

/* ── Form fields ─────────────────────────────────── */
.consult-form__field { margin-bottom: .9rem; }
.consult-form__field label { display: block; font-size: 16px; font-weight: 600; margin-bottom: .3rem; color: #333; }
.consult-form__field input {
  width: 100%; padding: .6rem .85rem;
  border: 1.5px solid #ddd; border-radius: .5rem;
  font-size: .95rem; transition: border-color .15s;
}
.consult-form__field input:focus { outline: none; border-color: var(--color-accent, #1e3a7a); }
.consult-form__messenger-label { font-size: 16px; font-weight: 600; margin: 0 0 .5rem; color: #333; }

/* ── Messenger selector ──────────────────────────── */
.consult-messenger-row {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.consult-messenger-opt { cursor: pointer; }
.consult-messenger-opt input { display: none; }
.consult-messenger-opt span {
  display: flex; align-items: center; gap: .35rem;
  padding: .45rem .85rem;
  border: 1.5px solid #ddd; border-radius: 2rem;
  font-size: .88rem; font-weight: 500;
  transition: border-color .15s, background .15s, color .15s;
}
.consult-messenger-opt input:checked + span {
  border-color: var(--color-accent, #1e3a7a);
  background: var(--color-accent, #1e3a7a);
  color: #fff;
}
.consult-messenger-opt:hover span { border-color: var(--color-accent, #1e3a7a); }

.consult-form__error {
  background: #fff0f0; border: 1px solid #f5c6cb;
  color: #c00; border-radius: .4rem;
  padding: .5rem .8rem; font-size: .85rem;
  margin-bottom: .8rem;
}
.consult-form__submit { width: 100%; justify-content: center; margin-top: .2rem; }
.consult-form__submit.is-loading { opacity: .7; pointer-events: none; }

.consult-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 1.5rem 0 .5rem; gap: 1rem;
  color: #1a6b3a;
}
.consult-success svg { stroke: #1a6b3a; }
.consult-success p { font-size: 1.05rem; font-weight: 600; margin: 0; }

.consult-checkout {
  border: 1.5px solid #e8edf5;
  border-radius: .75rem;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  background: #f8faff;
}
.consult-checkout__toggle {
  display: flex; align-items: center; gap: .6rem;
  cursor: pointer; font-weight: 600; font-size: .95rem;
}
.consult-checkout__toggle input[type=checkbox] {
  width: 1.1rem; height: 1.1rem; accent-color: var(--color-accent, #1e3a7a); flex-shrink: 0;
}
.consult-checkout__messengers {
  margin-top: .9rem; padding-top: .9rem;
  border-top: 1px solid #dde3f0;
  display: none;
}
.consult-checkout__messengers.is-open { display: block; }
.consult-checkout__hint { font-size: .85rem; color: #666; margin: 0 0 .6rem; }

/* ══════════════════════════════════════════════════════
   CHECKOUT — simplified layout
   ══════════════════════════════════════════════════════ */

.woocommerce-checkout #customer_details,
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 { float: none; width: 100%; }

@media (min-width: 900px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 2.5rem; align-items: start; }
  .woocommerce-checkout #customer_details { grid-column: 1; }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 2; }
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 1rem;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout h3,
#order_review_heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid #eee;
  color: var(--color-heading, #0d1f44);
}

.woocommerce-checkout .form-row { margin-bottom: 1rem; }
/*.woocommerce-checkout label { font-size: 16px; font-weight: 600; margin-bottom: .3rem; display: block; }*/
.woocommerce-checkout input.input-text,
.woocommerce-checkout select:not(.select2-hidden-accessible),
.woocommerce-checkout textarea {
  width: 100% !important;
  padding: .65rem .9rem;
  border: 1.5px solid #dde3ef;
  border-radius: .55rem;
  font-size: .95rem;
  font-family: inherit;
  background: #fafbfd;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus {
  border-color: var(--color-accent, #1e3a7a);
  box-shadow: 0 0 0 3px rgba(30,58,122,.08);
  background: #fff;
}

.woocommerce-checkout .required { color: var(--color-accent, #1e3a7a); }

.woocommerce-checkout #ship-to-different-address { display: none !important; }

.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding: .6rem 0; border-bottom: 1px solid #f0f0f0; }
.woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout-review-order-table tfoot .order-total th { font-weight: 700; font-size: 1rem; color: var(--color-heading, #0d1f44); border-top: 2px solid #eee; padding-top: .9rem; }

.woocommerce-checkout #payment { background: none; border-radius: 0; padding: 0; }
.woocommerce-checkout #payment .payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; }

.woocommerce-checkout #place_order {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  border-radius: .65rem;
}

.woocommerce-checkout .woocommerce-invalid input { border-color: #e53935; }
.woocommerce-checkout .woocommerce-error {
  display: block;
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-left: 4px solid #dc2626;
  border-radius: .5rem;
  padding: .9rem 1.15rem;
  font-size: .88rem;
  line-height: 1.5;
  color: #c62828;
}

/* ══════════════════════════════════════════════════════
   VARIATION SWATCHES
   ══════════════════════════════════════════════════════ */
.product-variations { margin-bottom: 1rem; }

.product-variation-group { margin-bottom: 1rem; }

.variation-label {
  font-size: 16px;
  font-weight: 600;
  color: #555;
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.variation-label strong {
  color: var(--color-heading, #0d1f44);
  font-weight: 700;
}

.variation-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.variation-btn {
  padding: .4rem .85rem;
  border: 1.5px solid #d0d7e5;
  border-radius: .4rem;
  background: #fff;
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text, #333);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
  line-height: 1.4;
}
.variation-btn:hover {
  border-color: var(--color-accent, #1e3a7a);
  color: var(--color-accent, #1e3a7a);
}
.variation-btn.is-selected {
  border-color: var(--color-accent, #1e3a7a);
  background: var(--color-accent, #1e3a7a);
  color: #fff;
}
.variation-btn.is-unavailable {
  opacity: .5;
  text-decoration: line-through;
  background: repeating-linear-gradient(
          -45deg, #fff, #fff 5px, #f1f3f7 5px, #f1f3f7 10px
  );
}
.variation-btn.is-unavailable.is-selected {
  opacity: 1;
  color: #fff;
  background: #9aa4b8;
  border-color: #9aa4b8;
}

.woocommerce-variation.single_variation { margin-bottom: .5rem; min-height: 0; }
.woocommerce-variation-price .price { font-size: 1.4rem; font-weight: 700; color: var(--color-heading, #0d1f44); }

.single_variation_wrap { display: block; }

/* ═════════════════════════════════════════════════════
   ADD-TO-CART FEEDBACK
   ═════════════════════════════════════════════════════ */

.single_add_to_cart_button.is-added,
[data-add-to-cart].is-added {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
  opacity: 1 !important;
  animation: tea-pop .35s ease;
}

@keyframes tea-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.cart-count.is-bumped {
  animation: tea-bump .45s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes tea-bump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* ── Toasts ───────────────────────────────────────── */
.tea-toasts {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none;
}

.tea-toast {
  min-width: 200px;
  max-width: 340px;
  padding: .75rem 1.1rem;
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background: #16a34a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .3s ease, transform .3s ease;
}

.tea-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.tea-toast--error { background: #dc2626; }

@media (max-width: 600px) {
  .tea-toasts {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  .tea-toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tea-toast,
  .cart-count.is-bumped,
  .single_add_to_cart_button.is-added,
  [data-add-to-cart].is-added { animation: none; transition: opacity .2s; }
}

/* =============================================
   PARALLAX HERO — sky / mountains / waves
   ============================================= */
.hero--parallax {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(to bottom, #b9b4c7 0 44%, transparent 44%);
}
.hero--parallax::before { content: none; }

.hero__layers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__layer {
  position: absolute;
  left: 0;
  right: 0;
  will-change: transform;
}
.hero__layer img,
.hero__layer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__layer--sky,
.hero__layer--mountains {
  -webkit-clip-path: inset(0 0 50% 0);
  clip-path: inset(0 0 50% 0);
}

.hero__layer-move {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__layer-move img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 1 — Sky */
.hero__layer--sky {
  top: -15%;
  bottom: -15%;
  z-index: 1;
}
.hero__layer--sky img { object-position: center center; }

/*
 * 2 — Mountains.
 */
.hero__layer--mountains {
  top: -5%;
  bottom: -5%;
  z-index: 2;
}
.hero__layer--mountains img { object-position: center top; }

/*
 * 4 — Waves.
 */
.hero__layer--waves {
  top: 0;
  bottom: 0;
  z-index: 4;
}
.hero__layer--waves video { object-position: center center; }

.hero--parallax .hero__inner {
  position: relative;
  z-index: 5;
  will-change: transform, opacity;
  display: block;
  padding: 0;
}
.hero--parallax .hero__content { max-width: 34rem; }

.hero__btn-ghost {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.hero__btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  color: #fff;
}

.hero--parallax .hero__title,
.hero--parallax .hero__text {
  text-shadow: 0 2px 20px rgba(13, 31, 68, .6);
}

@media (max-width: 768px) {
  .hero--parallax { min-height: 84svh; }
  .hero--parallax .hero__content { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__layer,
  .hero--parallax .hero__inner { transform: none !important; }
}

/* =============================================================
   COLOUR SCHEMES
   ============================================================= */

html.has-deep-bg {
  background-color: #0a1c3d;
  background-image: url("assets/img/deep_sea_texture_03.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

html.has-deep-bg body { background: transparent; }

.has-deep-bg body {
  --color-bg:         transparent;
  --color-bg-alt:     rgba(255,255,255,.07);
  --color-surface:    rgba(9, 26, 56, .55);
  --color-border:     rgba(255,255,255,.18);
  --color-text:       #eaeef7;
  --color-text-muted: rgba(234,238,247,.74);
  --color-primary:       #93b4f0;
  --color-primary-dark:  #b9cdf7;
  --color-primary-light: #7fa3e8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.35);
  --shadow-md: 0 4px 16px rgba(0,0,0,.40);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.48);

  color: var(--color-text);
}

.has-deep-bg .products-section,
.has-deep-bg .products-section--alt,
.has-deep-bg .about-values-section,
.has-deep-bg .about-story-section,
.has-deep-bg .about-cta {
  background: transparent;
}

.has-deep-bg .product-card,
.has-deep-bg .about-value,
.has-deep-bg .cart-card,
.has-deep-bg .cart-summary,
.has-deep-bg .checkout-form-section,
.has-deep-bg .order-summary-box,
.has-deep-bg .thankyou__card,
.has-deep-bg .thankyou__meta-item {
  background: var(--color-surface);
  border-color: var(--color-border);
  backdrop-filter: blur(6px);
}

.has-deep-bg input:not([type=submit]):not([type=radio]):not([type=checkbox]),
.has-deep-bg select,
.has-deep-bg textarea {
  background: rgba(255,255,255,.08);
  border-color: var(--color-border);
  color: var(--color-text);
}
.has-deep-bg input::placeholder,
.has-deep-bg textarea::placeholder { color: rgba(234,238,247,.45); }

.has-deep-bg h1, .has-deep-bg h2, .has-deep-bg h3,
.has-deep-bg h4, .has-deep-bg h5, .has-deep-bg h6,
.has-deep-bg .section-header__title { color: #fff; }

.has-deep-bg .btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.has-deep-bg .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* ── Header ───────────────────────────────────────────────*/

.theme-light .site-header {
  background: #fff;
  border-bottom: 1px solid #d4d9e8;
  height: 100%;
  padding: 5px 0;
}
.theme-light .site-header a { color: #1a1f2e; }

.theme-dark .site-header {
  background: rgba(9, 26, 56, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: 100%;
  padding: 5px 0;
}
.theme-dark .site-header a,
.theme-dark .main-nav a { color: var(--color-text); }
.theme-dark .site-logo__img { filter: brightness(0) invert(1); }

.theme-dark .page-loader { background: #0a1c3d; }
.theme-dark .ldr-ring { filter: brightness(0) invert(1); }
.theme-dark .breadcrumbs,
.theme-dark .breadcrumbs a { color: var(--color-text-muted); }

/* =============================================
   FRONT-PAGE PRODUCT FEED
   ============================================= */

.products-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .products-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .products-grid--three { grid-template-columns: 1fr; }
}

.products-grid--three > .product-card {
  animation: feed-in .45s ease both;
}
@keyframes feed-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.products-feed__more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  margin-top: 2.5rem;
}

.products-feed__spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  animation: feed-spin .8s linear infinite;
}
@keyframes feed-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .products-grid--three > .product-card { animation: none; }
  .products-feed__spinner { animation-duration: 2s; }
}

.breadcrumbs-row { padding-top: 1.25rem; }

.product-card__wishlist {
  color: #8b93a7;
}
.product-card__wishlist svg {
  stroke-width: 2;
}
.product-card__wishlist:hover { color: #e53e3e; }

.product-info__wishlist-btn { color: #8b93a7; }
.product-info__wishlist-btn:hover,
.product-info__wishlist-btn.is-wishlisted { color: #e53e3e; }

.product-info__cart-row .btn {
  flex: 0 1 auto;
  min-width: 190px;
  max-width: 260px;
  padding: 0 1.5rem;
  height: 46px;
}
.product-info__cart-row .qty-control,
.product-info__cart-row .product-info__wishlist-btn {
  height: 46px;
}
.product-info__cart-row .qty-control button { height: 100%; }

.site-header { padding-block: .35rem; }

.mobile-nav__account {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.mobile-nav__account svg { width: 20px; height: 20px; flex-shrink: 0; }

.mobile-nav .trp-language-switcher,
.mobile-nav .lang-switcher {
  margin-top: 1.25rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .header-actions { gap: .3rem; }
  .header-actions > .trp-language-switcher,
  .header-actions > .lang-switcher,
  .header-actions > .header-account { display: none; }
}

@media (max-width: 560px) {
  .site-header { padding-block: .3rem; }
  .header-actions { gap: .15rem; }
  .header-cart,
  .header-wishlist { width: 40px; height: 40px; }
  .header-cart svg { width: 18px; height: 18px; }
  .header-wishlist svg { width: 20px; height: 20px; }
  .site-logo__img { height: 46px; width: auto; }

  .product-info__cart-row .btn { min-width: 0; flex: 1 1 100%; max-width: none; }
}

/* =============================================================
   MY ACCOUNT — WooCommerce content
   ============================================================= */

.account-content p { line-height: 1.65; }
.account-content > p:first-child { margin-top: 0; }
.account-content a { color: var(--color-primary); }

.account-content h2,
.account-content h3,
.woocommerce-column__title,
.woocommerce-Address-title h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 1.75rem 0 .85rem;
}
.account-content > h2:first-child { margin-top: 0; }

.account-content mark,
.woocommerce-order mark {
  background: rgba(255,255,255,.12);
  color: inherit;
  padding: .1rem .45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95em;
}
.theme-light:not(.home) .account-content mark {
  background: var(--color-bg-alt);
}

/* ── Tables ─────────────────────────────────────────────── */
.account-content table.woocommerce-table,
.account-content table.shop_table,
.woocommerce-order table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 0 1.5rem;
  font-size: .92rem;
}

.account-content table th,
.woocommerce-order table th {
  text-align: left;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid var(--color-border);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.theme-light:not(.home) .account-content table th,
.theme-light:not(.home) .woocommerce-order table th {
  background: var(--color-bg-alt);
}

.account-content table td,
.woocommerce-order table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.account-content table tr:last-child td,
.woocommerce-order table tr:last-child td { border-bottom: none; }

.woocommerce-order table tfoot th { text-transform: none; font-size: .9rem; }
.woocommerce-order table tfoot tr:last-child th,
.woocommerce-order table tfoot tr:last-child td {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.account-content .button,
.account-content .woocommerce-Button,
.woocommerce-order .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  color: var(--color-text);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}
.account-content .button:hover,
.account-content .woocommerce-Button:hover,
.woocommerce-order .button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #0d1f44;
}

/* ── Addresses ──────────────────────────────────────────── */
.woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.woocommerce-Address {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
}
.woocommerce-Address address {
  font-style: normal;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.woocommerce-Address-title h3 { margin: 0 0 .6rem; }

.has-deep-bg .account-content .woocommerce-info,
.has-deep-bg .account-content .woocommerce-message {
  background: rgba(255,255,255,.08);
  border-left-color: var(--color-primary);
  color: var(--color-text);
}
.has-deep-bg .account-content .woocommerce-info a,
.has-deep-bg .account-content .woocommerce-message a { color: var(--color-primary-dark); }

.account-content .woocommerce-form-row label,
.account-content .form-row label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 600;
}
.account-content .form-row { margin-bottom: 1rem; }
.account-content fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.account-content legend { padding: 0 .5rem; font-weight: 700; }

@media (max-width: 640px) {
  .account-content table.woocommerce-table thead { display: none; }
  .account-content table.woocommerce-table tr {
    display: block;
    border-bottom: 1px solid var(--color-border);
    padding: .5rem 0;
  }
  .account-content table.woocommerce-table tr:last-child { border-bottom: none; }
  .account-content table.woocommerce-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: none;
    padding: .4rem 1rem;
  }
  .account-content table.woocommerce-table td::before {
    content: attr(data-title);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }
}

/* =============================================
   CATEGORY TREE — nested levels
   ============================================= */
.cat-tree__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .1rem;
}

.cat-tree__children {
  margin-left: .85rem;
  padding-left: .6rem;
  border-left: 1px solid var(--color-border);
}

/* =============================================================
   CONSULTATION MODAL — fixes
   ============================================================= */


[hidden] { display: none !important; }

.consult-modal__box {
  color: #1a1f2e;
}
.consult-modal__title { color: #0d1f44; }
.consult-modal__sub   { color: #5a6478; }

.consult-form__field label,
.consult-form__messenger-label { color: #1a1f2e; }

.consult-modal__box input:not([type=submit]):not([type=radio]):not([type=checkbox]),
.has-deep-bg .consult-modal__box input:not([type=submit]):not([type=radio]):not([type=checkbox]) {
  color: #1a1f2e;
  background: #fff;
  border-color: #ddd;
}
.consult-modal__box input:focus { border-color: var(--color-accent, #c8a96e); }

.consult-modal__box input::placeholder { color: #8a93a8; opacity: 1; }

.consult-messenger-opt span {
  color: #4a5468;
  background: #fff;
}
.consult-messenger-opt:hover span { color: #0d1f44; }
.consult-messenger-opt input:checked + span { color: #fff; }

.consult-modal__close { color: #6b7494; }
.consult-modal__close:hover { color: #0d1f44; }

.sidebar-widget--search { padding: 1rem; }

.product-search {
  position: relative;
  display: flex;
}
.product-search input[type="search"] {
  width: 100%;
  padding: .65rem 2.75rem .65rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: .9rem;
  font-family: inherit;
}
.product-search input[type="search"]::placeholder { color: var(--color-text-muted); }
.product-search input[type="search"]:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.product-search input[type="search"]::-webkit-search-decoration,
.product-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.product-search button {
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.product-search button:hover { color: var(--color-primary); }
.product-search button svg { width: 17px; height: 17px; }

/* =============================================
   ВИБІР КРАЇНИ — Select2
   ============================================= */
#billing_country { width: 100%; }

/* ── Саме поле ──────────────────────────────────── */
.select2-container--default .select2-selection--single {
  height: auto;
  min-height: 44px;
  padding: .55rem 2.4rem .55rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: var(--color-text);
  font-size: .9rem;
}

.select2-container--default .select2-selection--single:hover {
  border-color: var(--color-primary-light);
}

.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(30, 58, 122, .15);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: .85rem;
  width: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: none;
  margin: 0;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1f2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 14px;
}
.select2-container--open .select2-selection__arrow b { transform: translateY(-50%) rotate(180deg); }

/* =============================================
   ПІДВОДНА СЦЕНА ПІД ФУТЕРОМ
   ============================================= */
.deep-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.deep-banner__layers { position: absolute; inset: 0; }

.deep-banner .hero__layer { position: absolute; inset: 0; }

.deep-banner .hero__layer-move {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.deep-banner__bg   { --x: 0%; --y: -9.4%; --scale: 1;    z-index: 1; }
.deep-banner__mid  { --x: 0%; --y:  39%; --scale: 1;    z-index: 2; }
.deep-banner__fore { --x: 0%; --y:   7.3%; --scale: 1.02; z-index: 3; }

.deep-banner .hero__layer img,
.deep-banner .hero__layer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate(var(--x), var(--y)) scale(var(--scale));
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .deep-banner .hero__layer-move { transform: none !important; }
}
@media (max-width: 900px) {
  .deep-banner { aspect-ratio: 3 / 2; }
  .deep-banner__bg   { --y: -2%; --scale: 1.25; }
  .deep-banner__mid  { --y:  52%; --scale: 1.20; }
  .deep-banner__fore { --y:   10%; --scale: 1; }
}

@media (max-width: 600px) {
  .deep-banner { aspect-ratio: 5 / 4; }
  .deep-banner__bg   { --y: 0%; --scale: 1.25; }
  .deep-banner__mid  { --y:  52%; --scale: 1; }
  .deep-banner__fore { --y:   13%; --scale: 1; }
}