/* ═══════════════════════════════════════════════════════════════════
   Asianmicro.biz — Ultra Premium Theme Layer (v5.0)
   Red (#CC0000), Gold (#FFD700) & Green (#138808)
   Premium marketplace refinement layer — loads AFTER theme-premium.css
   Inspired by: Net-a-Porter, Farfetch, premium Shopify themes
   ═══════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════
   0. EMOJI ICON NORMALIZER
   ═══════════════════════════════════════════════════════════════════ */

.em-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  line-height: 1;
  font-size: 1em;
  vertical-align: middle;
  flex-shrink: 0;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Android Emoji', sans-serif;
  transform: translateY(-0.02em);
}
.em-icon--sm { font-size: 0.85em; }
.em-icon--lg { font-size: 1.2em; width: 1.4em; height: 1.4em; }
.em-icon--xl { font-size: 1.6em; width: 1.8em; height: 1.8em; }

h1 .em-icon, h2 .em-icon, h3 .em-icon, h4 .em-icon, h5 .em-icon {
  margin-right: 0.05em;
}


/* ═══════════════════════════════════════════════════════════════════
   1. HEADER — Sleek & Modern
   ═══════════════════════════════════════════════════════════════════ */

/* --- Top Bar: slimmer, subtle gradient, refined micro-text --- */
.top-bar {
  background: linear-gradient(90deg, #FFD700, #FFC107);
  color: #333;
  font-size: 0.68rem;
  font-weight: 400;
  padding: 0.4rem 0;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.top-bar a {
  color: #333;
  transition: color 0.25s ease;
}
.top-bar a:hover { color: #CC0000; }
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Main Header: clean white, subtle shadow, well-spaced --- */
.site-header {
  background: #fff;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

.header-inner {
  padding-block: 0.9rem;
  gap: 2.5rem;
  display: flex;
  align-items: center;
}

.logo img {
  transition: transform 0.3s var(--tp-ease-out);
}
.logo:hover img { transform: scale(1.04); }

/* --- Search Bar: modern rounded pill with smooth focus --- */
.header-search {
  flex: 1;
  max-width: 480px;
  background: #F5F5F5;
  border: 1.5px solid transparent;
  border-radius: 50px;
  padding: 0.55rem 0.6rem 0.55rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.header-search:focus-within {
  background: #fff;
  border-color: #CC0000;
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.06), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
  transform: scale(1.01);
}
.header-search input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 0.84rem;
  color: var(--tp-ink);
  min-width: 0;
  font-weight: 400;
}
.header-search input::placeholder {
  color: #999;
  font-weight: 400;
}
.header-search button {
  background: #CC0000;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: all 0.25s ease;
}
.header-search button:hover {
  background: #A30000;
  transform: scale(1.05);
}

/* --- Navigation: animated underline hover, proper spacing --- */
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--tp-ink-soft);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.3s ease;
  text-decoration: none;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #CC0000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a:hover { color: var(--tp-ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--tp-ink); font-weight: 600; }
.main-nav a.is-active::after {
  transform: scaleX(1);
  background: #FFD700;
}

/* --- Cart/Account Icons: clean circular hover backgrounds --- */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.header-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-ink-soft);
  position: relative;
  transition: all 0.3s ease;
}
.header-icon:hover {
  background: rgba(204, 0, 0, 0.06);
  color: #CC0000;
}
.header-icon__badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: #CC0000;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
  animation: badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes badgePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}


/* ═══════════════════════════════════════════════════════════════════
   1b. ACCOUNT DROPDOWN MENU
   ═══════════════════════════════════════════════════════════════════ */

.account-menu {
  position: relative;
  display: inline-flex;
}
.account-menu__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.account-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--tp-line, #E8E6E1);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 150;
}
@media (hover: hover) and (pointer: fine) {
  .account-menu:hover .account-menu__dropdown,
  .account-menu:focus-within .account-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}
.account-menu.is-open .account-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.account-menu__dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 14px;
}
.account-menu__header {
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.account-menu__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  background: var(--tp-primary, #CC0000);
}
.account-menu__info { min-width: 0; flex: 1; }
.account-menu__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--tp-ink, #1B1B1B);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu__email {
  font-size: 0.72rem;
  color: var(--tp-muted, #6B6B6B);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu__tier {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--tp-accent-dark, #B8860B);
  background: var(--tp-accent-soft, #F9F4E8);
  border-radius: 4px;
}
.account-menu__divider {
  height: 1px;
  background: var(--tp-line-soft, #F1F0EC);
  margin: 0.3rem 0;
}
.account-menu__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.86rem;
  color: var(--tp-ink-text, #1F2937);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.account-menu__item:hover {
  background: var(--tp-bg-alt, #F7F5F0);
  color: #CC0000;
}
.account-menu__icon {
  font-size: 1rem;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}
.account-menu__item--admin {
  color: var(--tp-accent-dark, #B8860B);
  font-weight: 600;
}
.account-menu__item--logout {
  color: var(--tp-danger, #B91C1C);
}
.account-menu__item--logout:hover {
  background: var(--tp-danger-soft, #FEE2E2);
  color: var(--tp-danger, #B91C1C);
}

@media (max-width: 500px) {
  .account-menu__dropdown {
    right: -0.5rem;
    min-width: 240px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   2. HERO SLIDER — Cinematic Full-Width
   ═══════════════════════════════════════════════════════════════════ */

/* --- Full viewport height hero --- */
.hero-slider {
  position: relative;
}
.hero-slide {
  min-height: clamp(540px, 85vh, 820px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* --- Ken Burns background animation --- */
.hero-slide__bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -0.5%); }
}

/* --- Gradient overlay for text readability (bottom-to-top dark) --- */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}
.hero-slide > .container {
  position: relative;
  z-index: 2;
}

/* --- Hero typography: larger, bolder, text-shadow for depth --- */
.hero-slide__subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  border: none;
  border-top: 1px solid rgba(255, 215, 0, 0.5);
  border-bottom: 1px solid rgba(255, 215, 0, 0.5);
  display: inline-block;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.hero-slide h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.hero-slide p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* --- CTA Button: larger with subtle glow/pulse --- */
.hero-slide .btn--lg {
  padding: 1.15rem 2.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-width: 2px;
  border-radius: 50px;
  background: #CC0000;
  color: #fff;
  border-color: #CC0000;
  box-shadow: 0 8px 32px -8px rgba(204, 0, 0, 0.5), 0 0 0 0 rgba(204, 0, 0, 0.3);
  transition: all 0.4s ease;
  animation: heroPulse 3s ease-in-out infinite;
}
.hero-slide .btn--lg:hover {
  background: #fff;
  color: #CC0000;
  border-color: #fff;
  box-shadow: 0 12px 40px -8px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  animation: none;
}
@keyframes heroPulse {
  0%, 100% { box-shadow: 0 8px 32px -8px rgba(204, 0, 0, 0.5), 0 0 0 0 rgba(204, 0, 0, 0.3); }
  50% { box-shadow: 0 8px 32px -8px rgba(204, 0, 0, 0.5), 0 0 0 12px rgba(204, 0, 0, 0); }
}

/* --- Slider Arrows: glassmorphism (frosted glass) --- */
.hero-slider__arrow {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}
.hero-slider__arrow--prev { left: 2.5rem; }
.hero-slider__arrow--next { right: 2.5rem; }

/* --- Dots: modern pill shape, wider active with smooth transition --- */
.hero-slider__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hero-slider__dot {
  width: 28px;
  height: 3px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.hero-slider__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
.hero-slider__dot.active {
  background: #fff;
  width: 52px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}


/* ═══════════════════════════════════════════════════════════════════
   3. TRUST STRIP — Refined
   ═══════════════════════════════════════════════════════════════════ */

.trust-strip {
  background: #FAFAFA;
  padding: 2.8rem 0;
  border-top: 1px solid rgba(204, 0, 0, 0.08);
  border-bottom: 1px solid rgba(204, 0, 0, 0.08);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--tp-line);
}
.trust-item__icon {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 0, 0, 0.04);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.trust-item:hover .trust-item__icon {
  background: rgba(204, 0, 0, 0.08);
  transform: scale(1.05);
}
.trust-item__title {
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tp-ink);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.trust-item__desc {
  font-size: 0.72rem;
  color: var(--tp-muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════════
   4. PRODUCT CARDS — Premium Feel
   ═══════════════════════════════════════════════════════════════════ */

/* --- Clean white card with rounded corners --- */
.product-card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12), 0 4px 12px -4px rgba(0, 0, 0, 0.06);
}

/* --- Image: smooth zoom on hover, aspect-ratio 4/5 --- */
.product-card__image,
.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F8F8F8;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
  display: block;
}
.product-card__image .product-card__img,
.product-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card__image .product-card__img--hover {
  opacity: 0;
  transform: scale(1.02);
}
.product-card:hover .product-card__image .product-card__img--primary {
  opacity: 0;
  transform: scale(1.05);
}
.product-card:hover .product-card__image .product-card__img--hover {
  opacity: 1;
  transform: scale(1);
}
.product-card:hover .product-card__image img:only-child {
  opacity: 1;
  transform: scale(1.05);
}

/* --- Badge: pill shape, top-left, subtle backdrop --- */
.product-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(204, 0, 0, 0.9);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.product-card__badge--sale {
  background: rgba(185, 28, 28, 0.9);
}

/* --- Wishlist heart: top-right, clean circular button --- */
.product-card__side-actions {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card__side-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-card__side-actions a,
.product-card__side-actions button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.product-card__side-actions a:hover,
.product-card__side-actions button:hover {
  background: #CC0000;
  color: #fff;
  transform: scale(1.1);
}

/* --- Quick-add: slides up from bottom on hover --- */
.product-card__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.product-card:hover .product-card__actions {
  transform: translateY(0);
  opacity: 1;
}
.product-card__actions .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #CC0000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.product-card__actions .btn:hover {
  background: #A30000;
  transform: translateY(-1px);
}

/* --- Product Card Body --- */
.product-card__body {
  padding: 1rem 1.1rem 1.2rem;
}
.product-card__category {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tp-muted-light);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
/* --- Product name: 2-line clamp with ellipsis --- */
.product-card__title,
.product-card__title a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--tp-ink-text);
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
  transition: color 0.25s ease;
}
.product-card__title a:hover { color: #CC0000; }

/* --- Price: bold, good size, red for emphasis --- */
.product-card__price {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #CC0000;
  margin-top: 0.4rem;
  letter-spacing: -0.02em;
}
.product-card__pv {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #138808;
  margin-top: 0.3rem;
  text-transform: uppercase;
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════════════
   5. CATEGORY CARDS — Magazine Style
   ═══════════════════════════════════════════════════════════════════ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.category-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F5F5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  text-decoration: none;
}
/* --- Gradient overlay from bottom (transparent to dark) --- */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.05) 60%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.97);
}
/* --- Hover: slight image zoom + text lift --- */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.2);
}
.category-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.02);
}
/* --- Text at bottom with clean typography --- */
.category-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.8rem 1.5rem;
  z-index: 2;
  color: #fff;
  background: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover .category-card__overlay {
  transform: translateY(-4px);
}
.category-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
/* --- Product count badge with arrow icon --- */
.category-card__count {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 215, 0, 0.9);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.category-card__count::after {
  content: '\2192';
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
}
.category-card:hover .category-card__count::after {
  opacity: 1;
  transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════════════
   6. FEATURE CARDS (Why Choose Us) — Clean Modern
   ═══════════════════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  padding: 2.5rem 1.6rem;
  border-radius: 12px;
  border: 1px solid var(--tp-line-soft);
  background: #fff;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
/* --- Icon in colored circular background --- */
.feature-card__icon {
  font-size: 1.8rem;
  width: 68px;
  height: 68px;
  line-height: 68px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.06), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(204, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.1), rgba(255, 215, 0, 0.15));
}
.feature-card h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--tp-ink);
}
.feature-card p {
  font-size: 0.84rem;
  color: var(--tp-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-inline: auto;
}


/* ═══════════════════════════════════════════════════════════════════
   7. TESTIMONIALS — Modern Cards
   ═══════════════════════════════════════════════════════════════════ */

.testimonials-section {
  background: #FAFAF8;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before,
.testimonials-section::after {
  content: '\201C';
  position: absolute;
  font-family: 'Raleway', sans-serif;
  font-size: 20rem;
  color: rgba(204, 0, 0, 0.03);
  line-height: 0.5;
  pointer-events: none;
  z-index: 0;
}
.testimonials-section::before { top: 15%; left: -1%; }
.testimonials-section::after {
  bottom: 10%; right: -1%;
  transform: rotate(180deg);
}
.testimonials-section > .container { position: relative; z-index: 1; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* --- Clean white cards with left accent border (gold) --- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--tp-line-soft);
  border-left: 3px solid #FFD700;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.1);
  border-left-color: #CC0000;
}

/* --- Star rating in gold --- */
.testimonial-card__stars {
  color: #FFD700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

/* --- Quote in italic with proper line-height --- */
.testimonial-card__quote {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tp-ink-text);
  font-style: italic;
  margin-bottom: 1.6rem;
  flex: 1;
  font-weight: 400;
}

/* --- Avatar with ring border --- */
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--tp-line-soft);
}
.testimonial-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #CC0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}
.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--tp-ink);
  margin-bottom: 0.15rem;
}
.testimonial-card__role {
  font-size: 0.72rem;
  color: var(--tp-muted);
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════════════
   8. NEWSLETTER SECTION — Bold & Eye-Catching
   ═══════════════════════════════════════════════════════════════════ */

.newsletter-section {
  background: #CC0000;
  background-image:
    radial-gradient(ellipse at top left, rgba(255, 215, 0, 0.2), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 0, 0, 0.2), transparent 50%);
  /* Subtle pattern texture */
  background-size: 100% 100%, 100% 100%;
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Decorative subtle pattern overlay */
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.newsletter-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.newsletter-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* --- Email input: large, rounded pill with attached submit --- */
.newsletter-form {
  display: flex;
  max-width: 540px;
  margin: 0 auto;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.35rem 0.35rem 0.35rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s ease;
}
.newsletter-form:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 0.8rem 0.5rem;
  font-size: 0.92rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-form button {
  background: #FFD700;
  color: #1B1B1B;
  border: none;
  border-radius: 100px;
  padding: 0.8rem 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: #fff;
  color: #CC0000;
  transform: scale(1.02);
}

/* --- Privacy text: small, muted --- */
.newsletter-privacy {
  margin-top: 1.4rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
}
.newsletter-privacy a {
  color: rgba(255, 215, 0, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.newsletter-privacy a:hover { color: #FFD700; }


/* ═══════════════════════════════════════════════════════════════════
   9. CTA BANNER — Impactful
   ═══════════════════════════════════════════════════════════════════ */

.cta-banner {
  background: linear-gradient(135deg, #CC0000 0%, #8B0000 50%, #CC0000 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}
/* --- Prominent CTA button with hover animation --- */
.cta-banner .btn {
  background: #FFD700;
  color: #1B1B1B;
  border: 2px solid #FFD700;
  padding: 1rem 2.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}
.cta-banner .btn:hover {
  background: #fff;
  color: #CC0000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(255, 255, 255, 0.3);
}


/* ═══════════════════════════════════════════════════════════════════
   10. FOOTER — Clean & Organized
   ═══════════════════════════════════════════════════════════════════ */

.site-footer {
  background: #CC0000;
  border-top: none;
  color: rgba(255, 255, 255, 0.85);
}
.site-footer .footer-logo img {
  filter: brightness(0) invert(1) !important;
  height: 60px;
  width: auto;
}
.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col h4 {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.8rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #FFD700;
  border-radius: 2px;
}
/* --- Links with hover underline animation --- */
.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}
.site-footer a:hover { color: #FFD700; }
.footer-col ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #FFD700;
  transition: width 0.3s ease;
}
.footer-col ul a:hover::after { width: 100%; }

/* --- Social icons (if any) with circular hover --- */
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Bottom bar: clear copyright --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.8rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}


/* ═══════════════════════════════════════════════════════════════════
   11. GENERAL POLISH
   ═══════════════════════════════════════════════════════════════════ */

/* --- Smooth scroll-reveal animations (fade-up on scroll) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.54s; }

/* --- Section spacing: generous --- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* --- Hairline dividers between sections --- */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--tp-line) 50%, transparent 95%);
  margin: 0;
  border: none;
  opacity: 0.6;
}

/* --- Section Label — refined luxury caps --- */
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--tp-accent-dark);
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.8rem;
  height: 1.5px;
  background: #CC0000;
  transform: translateY(-50%);
}
.section-header--center .section-label { padding-left: 0; }
.section-header--center .section-label::before { display: none; }
.section-header--center .section-label {
  position: relative;
  padding: 0.4rem 0;
}
.section-header--center .section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #CC0000;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* --- Page transition --- */
body {
  animation: pageEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Smooth scroll behavior --- */
html {
  scroll-behavior: smooth;
}

/* --- Focus-visible states for accessibility --- */
:focus-visible {
  outline: 2px solid #CC0000;
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #CC0000;
  outline-offset: 2px;
}

/* --- Consistent transitions on all interactive elements --- */
a, button, input, .btn {
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* --- Button refinements --- */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn--primary {
  background: #CC0000;
  border-color: #CC0000;
}
.btn--primary:hover {
  background: #A30000;
  border-color: #A30000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(204, 0, 0, 0.4);
}
.btn--outline {
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn--outline:hover {
  transform: translateY(-1px);
}

/* --- Selection color --- */
::selection {
  background: rgba(204, 0, 0, 0.12);
  color: #1B1B1B;
}


/* ═══════════════════════════════════════════════════════════════════
   11b. INSTAGRAM GRID
   ═══════════════════════════════════════════════════════════════════ */

.instagram-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.instagram-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--tp-muted);
  font-size: 0.88rem;
  margin-top: 0.6rem;
  transition: color 0.25s ease;
}
.instagram-handle:hover { color: #CC0000; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
  border-radius: 12px;
  overflow: hidden;
}
.instagram-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F5F5F5;
  display: block;
}
.instagram-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.instagram-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(204, 0, 0, 0);
  z-index: 1;
  transition: all 0.4s ease;
}
.instagram-tile::after {
  content: '\2665';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  color: #fff;
  font-size: 1.8rem;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.instagram-tile:hover img { transform: scale(1.08); }
.instagram-tile:hover::before {
  background: rgba(204, 0, 0, 0.5);
}
.instagram-tile:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* ═══════════════════════════════════════════════════════════════════
   11c. PROMO BANNERS
   ═══════════════════════════════════════════════════════════════════ */

.promo-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.promo-banner {
  position: relative;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15));
}
.promo-banner__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 80%;
}
.promo-banner__content h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0.25rem;
}


/* ═══════════════════════════════════════════════════════════════════
   11d. SKELETON / SHIMMER PLACEHOLDER
   ═══════════════════════════════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg,
    #F5F5F5 0%,
    #ECECEC 50%,
    #F5F5F5 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}


/* ═══════════════════════════════════════════════════════════════════
   11e. CATEGORIES BAR (below header)
   ═══════════════════════════════════════════════════════════════════ */

.categories-bar {
  background: linear-gradient(90deg, #138808, #0D6B06);
  border-bottom: none;
}
.categories-bar a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.categories-bar a:hover { color: #FFD700; }


/* ═══════════════════════════════════════════════════════════════════
   12. RESPONSIVE REFINEMENTS
   ═══════════════════════════════════════════════════════════════════ */

/* --- Tablet (max 900px) --- */
@media (max-width: 900px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .trust-item:nth-child(2)::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }

  /* Tablet: 3-column product grid */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

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

/* --- Mobile (max 700px) --- */
@media (max-width: 700px) {
  /* Mobile hero: smaller text, full-width CTA */
  .hero-slide {
    min-height: 60vh;
    min-height: clamp(420px, 60vh, 560px);
  }
  .hero-slide h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    letter-spacing: -0.02em;
  }
  .hero-slide p {
    font-size: 0.9rem;
    max-width: 100%;
  }
  .hero-slide .btn--lg {
    padding: 0.9rem 2rem;
    font-size: 0.72rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: inline-block;
  }
  .hero-slider__arrow { display: none; }
  .hero-slider__dots { bottom: 1.5rem; }

  /* Trust strip mobile */
  .trust-strip { padding: 1.8rem 0; }
  .trust-strip__grid { gap: 1.4rem 0.8rem; }
  .trust-item { padding: 0 0.5rem; }
  .trust-item::after { display: none !important; }
  .trust-item__icon { width: 48px; height: 48px; font-size: 1.3rem; }
  .trust-item__title { font-size: 0.85rem; }
  .trust-item__desc { font-size: 0.68rem; }

  /* Testimonials mobile */
  .testimonial-card { padding: 1.5rem; }
  .testimonial-card__quote { font-size: 0.92rem; }

  /* Instagram mobile */
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 0.3rem; }

  /* Newsletter mobile */
  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
  }
  .newsletter-form input {
    padding: 0.85rem 1rem;
    text-align: center;
  }
  .newsletter-form button {
    border-radius: 8px;
    padding: 0.9rem;
    width: 100%;
  }

  /* Section label mobile */
  .section-label { padding-left: 0; }
  .section-label::before { display: none; }

  /* Features mobile */
  .features-grid { grid-template-columns: 1fr; }

  /* Product card mobile refinement */
  .product-card__body { padding: 0.8rem 0.9rem 1rem; }
  .product-card__title, .product-card__title a { font-size: 0.82rem; }
  .product-card__price { font-size: 1.05rem; }
}

/* --- Small mobile (max 480px) --- */
@media (max-width: 480px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile cards: 2-column grid, smaller gaps */
  .category-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  .trust-strip__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .trust-item { padding: 0; }

  /* Category cards smaller on mobile */
  .category-card { aspect-ratio: 3 / 4; border-radius: 10px; }
  .category-card__name { font-size: 1.1rem; }
  .category-card__overlay { padding: 1.2rem 1rem; }

  /* Product card compact */
  .product-card { border-radius: 10px; }
  .product-card__image, .product-card__image-wrap { border-radius: 10px 10px 0 0; }

  /* Mobile footer: single column stack */
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Large desktop (min 1200px) --- */
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}


/* ═══════════════════════════════════════════════════════════════════
   13. UTILITY ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Subtle link underline animation for content links */
a:not(.btn):not(.category-card):not(.product-card__image):not(.header-icon):not(.logo):not(.main-nav a):not(.account-menu__item) {
  position: relative;
}

/* Loading state for buttons */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.7;
}
.btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  margin-left: 0.5rem;
  animation: btnSpin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F5F5F5;
}
::-webkit-scrollbar-thumb {
  background: #CCC;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Print: hide decorative elements */
@media print {
  .hero-slider,
  .trust-strip,
  .instagram-section,
  .newsletter-section,
  .cta-banner { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════
   MODERN LAYOUT UPGRADE — Utility & Component Classes
   ═══════════════════════════════════════════════════════════════════ */

/* Screen-reader only utility */
.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;
}

/* --- Header scroll state --- */
.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

/* ═══════════════════════════════════════════════════════════════════
   1c. COMPACT SINGLE-ROW HEADER
   logo (left) · primary nav (centered) · search-icon + actions (right)
   Search lives in a slide-down panel toggled by the search icon.
   ═══════════════════════════════════════════════════════════════════ */
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 0.85rem;
}
.logo { flex: 1 1 0; flex-shrink: 0; min-width: 0; }
.logo img { height: 46px; width: auto; }

/* Primary nav — centered between logo and the right-side controls */
.main-nav { flex: 0 0 auto; margin: 0; }
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Right-side controls cluster */
.header-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}
.header-right .header-icons,
.header-right .header-actions { margin-left: 0; }
.header-actions { gap: 0.5rem; }

/* Search toggle button (reuses .header-icon circular hover) */
.header-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

/* --- Slide-down search panel --- */
.header-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.18);
  z-index: 140;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-search-panel.is-open { opacity: 1; transform: translateY(0); }
.header-search-panel .container { padding-block: 0.9rem; }
.header-search-panel .header-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: none;
  margin: 0;
  background: #F5F5F5;
  border: 1.5px solid transparent;
  border-radius: 50px;
  padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.header-search-panel .header-search:focus-within {
  background: #fff;
  border-color: #CC0000;
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.06);
}
.header-search__icon { color: #999; flex-shrink: 0; }
.header-search-panel .header-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: var(--tp-ink);
  min-width: 0;
}
.header-search__submit {
  flex-shrink: 0;
  background: #CC0000;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.header-search__submit:hover { background: #A30000; }
.header-search-panel__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--tp-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.35rem;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-search-panel__close:hover { background: rgba(0,0,0,0.05); color: #CC0000; }
.header-search-panel .search-suggest { top: calc(100% + 10px); }

/* Scrolled state: tighten the row */
.site-header.header-scrolled .header-inner { padding-block: 0.5rem; }

/* --- Tablet: tighten spacing so the single row fits --- */
@media (max-width: 1100px) {
  .header-inner { gap: 0.75rem; }
  .main-nav ul { gap: 0.1rem; }
  .main-nav a { padding-inline: 0.6rem; font-size: 0.74rem; letter-spacing: 0.02em; }
}

/* --- Mobile: nav + desktop controls collapse into the hamburger menu --- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-search-toggle { display: none; }
  .header-search-panel { display: none; }
  .header-right .header-icons,
  .header-right .header-actions { display: none; }
  .hamburger { display: flex; }
  .logo { flex: 0 1 auto; }
  .header-right { flex: 0 0 auto; }
}

/* --- Section header between variant --- */
.section-header--between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Section label variants --- */
.section-label--light {
  color: var(--tp-accent-light, rgba(255, 215, 0, 0.85));
  padding-left: 0;
}
.section-label--gold {
  color: var(--gold-light, #FFE066);
}

/* --- Categories bar active states --- */
.categories-bar a.is-active {
  color: var(--gold-dark, #B8860B);
  font-weight: 600;
  border-bottom: 2px solid var(--gold, #FFD700);
  padding-bottom: 0.2rem;
}

/* --- Promo banner CTA --- */
.promo-banner__cta {
  margin-top: 1rem;
}

/* --- Empty state block --- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white, #fff);
  border-radius: var(--radius-lg, 12px);
}
.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.empty-state__title {
  margin-bottom: 0.5rem;
}
.empty-state__text {
  color: var(--text-muted, #777);
  margin: 1rem 0 1.6rem;
}
.empty-state__link {
  color: var(--tp-ink, #1B1B1B);
  font-weight: 600;
}

/* --- Product card schema / semantic upgrades --- */
.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-card__price--member {
  color: var(--tp-success, #138808);
}
.product-card__price--original {
  color: var(--tp-muted, #999);
  font-size: 0.82rem;
}
.product-card__wishlist-form {
  display: inline;
}
.product-card__wishlist-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__add-form {
  display: inline;
}
.product-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
.product-card__title a:hover {
  color: var(--gold-dark, #B8860B);
}

/* --- Shop page layout --- */
.shop-hero {
  background: var(--cream, #FAFAF5);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream-2, #EFEFEA);
}
.shop-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.shop-hero__title {
  margin: 0;
  font-size: 1.5rem;
}
.shop-hero__search {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.shop-hero__input {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius, 6px);
  border: 1px solid var(--cream-2, #EFEFEA);
  font-size: 0.82rem;
  min-width: 200px;
  background: var(--white, #fff);
}
.shop-section {
  padding-top: 2rem;
}
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Shop sidebar --- */
.shop-sidebar {
  position: sticky;
  top: 5rem;
}
.shop-filter-block {
  background: var(--white, #fff);
  border: 1px solid var(--cream-2, #EFEFEA);
  border-radius: var(--radius-lg, 12px);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}
.shop-filter-block__title {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.shop-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.shop-filter-link {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius, 6px);
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.shop-filter-link:hover {
  background: var(--cream, #FAFAF5);
}
.shop-filter-link.is-active {
  background: var(--cream, #FAFAF5);
  color: var(--gold-dark, #B8860B);
  font-weight: 600;
}
.shop-filter-link__count {
  float: right;
  color: var(--text-muted, #777);
  font-size: 0.75rem;
}
.shop-filter-sublist {
  margin-left: 1rem;
  margin-top: 0.3rem;
  list-style: none;
  padding: 0;
}
.shop-filter-link--sub {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted, #777);
}
.shop-filter-link--sub.is-active {
  color: var(--gold-dark, #B8860B);
  font-weight: 600;
}

/* --- Shop sort --- */
.shop-sort-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shop-sort-link {
  display: block;
  padding: 0.35rem 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted, #777);
  text-decoration: none;
  transition: color 0.2s;
}
.shop-sort-link.is-active {
  color: var(--gold-dark, #B8860B);
  font-weight: 600;
}
.shop-sort-link__indicator {
  margin-right: 0.3rem;
}

/* --- Shop main --- */
.shop-main {}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.shop-toolbar__count {
  color: var(--text-muted, #777);
  font-size: 0.875rem;
  margin: 0;
}
.products-grid--shop {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* --- Breadcrumb --- */
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.82rem;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted, #777);
}
.breadcrumb__item a {
  color: var(--text-muted, #777);
  text-decoration: none;
}
.breadcrumb__item a:hover {
  color: var(--gold-dark, #B8860B);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: var(--cream-2, #EFEFEA);
  margin-right: 0;
}
.breadcrumb__item[aria-current="page"] {
  font-weight: 600;
  color: var(--text, #333);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.pagination__list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius, 6px);
  border: 1.5px solid var(--cream-2, #EFEFEA);
  background: transparent;
  color: var(--text, #333);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s;
}
.pagination__link:hover {
  border-color: var(--gold, #FFD700);
  background: var(--cream, #FAFAF5);
}
.pagination__link.is-active {
  border-color: var(--gold, #FFD700);
  background: var(--gold, #FFD700);
  color: var(--dark, #1B1B1B);
  font-weight: 600;
}

/* --- Footer social --- */
.footer-social {
  margin-top: 1.2rem;
}
.footer-social__list {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social__link:hover {
  background: var(--gold, #FFD700);
  color: var(--dark, #1B1B1B);
  transform: translateY(-2px);
}
.footer-social__link svg {
  width: 18px;
  height: 18px;
}

/* --- Footer bottom layout --- */
.footer-bottom__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-back-to-top:hover {
  color: var(--gold, #FFD700);
}
.footer-payments__label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 0.3rem;
}

/* --- Trust strip semantic (ul/li) fix --- */
.trust-strip__grid {
  padding: 0;
  margin: 0;
}
ul.trust-strip__grid {
  list-style: none;
}
.trust-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}
.trust-item__desc {
  margin: 0;
  font-size: 0.78rem;
}
