/*
Theme Name: House of Parampara
Theme URI: https://houseofparampara.com
Author: House of Parampara
Description: Production WooCommerce theme. Content from Customizer, Menus, Widgets, Pages, and WooCommerce.
Version: 7.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: houseofparampara
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   Design tokens — ivory / cream / gold / bronze / dark brown
   ========================================================================== */
:root {
  --hop-ivory: #faf7f2;
  --hop-cream: #f3ebe0;
  --hop-white: #ffffff;
  --hop-gold: #c6a15b;
  --hop-gold-light: #d8bc7e;
  --hop-bronze: #8c6a3d;
  --hop-brown: #5a4032;
  --hop-brown-deep: #2f211a;
  --hop-ink: #2a211c;
  --hop-muted: #7a6f64;
  --hop-maroon: #6b1d2a;
  --hop-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hop-font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --hop-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hop-max: 1440px;
  --hop-header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--hop-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hop-ink);
  background: var(--hop-ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.hop-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Critical: cover for cards; hero banners use contain (see hero section) */
.hop-lookbook-card img,
.hop-cat-card img,
.hop-ig-tile img,
.hop-product-media img,
.hop-quote-avatar {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: var(--hop-brown);
  transition: color 0.25s var(--hop-ease);
}

h1, h2, h3, h4, .hop-display {
  font-family: var(--hop-font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--hop-brown-deep);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.hop-wrap {
  width: 100%;
  max-width: var(--hop-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.hop-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  width: 100%;
}

.hop-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.hop-section-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hop-gold);
  font-weight: 500;
}

.hop-section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hop-section-sub {
  margin: 0;
  color: var(--hop-muted);
  font-size: 1.05rem;
}

.hop-section-rule {
  width: 3.5rem;
  height: 1px;
  background: var(--hop-gold);
  margin: 1.25rem auto 0;
  border: 0;
}

/* Buttons */
.hop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  background: var(--hop-gold);
  color: var(--hop-brown-deep);
  font-family: var(--hop-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--hop-ease), color 0.3s var(--hop-ease), border-color 0.3s var(--hop-ease), transform 0.3s var(--hop-ease);
}

.hop-btn:hover,
.hop-btn:focus-visible {
  background: var(--hop-gold-light);
  color: var(--hop-brown-deep);
  transform: translateY(-2px);
}

.hop-btn-outline {
  background: transparent;
  border-color: rgba(90, 64, 50, 0.35);
  color: var(--hop-brown-deep);
}

.hop-btn-outline:hover {
  border-color: var(--hop-gold);
  background: transparent;
  color: var(--hop-brown-deep);
}

.hop-btn-lg {
  min-height: 3.25rem;
  padding: 1rem 1.9rem;
}

.hop-nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 161, 91, 0.55);
  background: transparent;
  color: var(--hop-brown-deep);
  cursor: pointer;
}

.hop-nav-btn:hover {
  background: var(--hop-gold);
}

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.hop-topbar {
  background: var(--hop-brown-deep);
  color: var(--hop-ivory);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 60;
}

.hop-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.hop-topbar a {
  color: var(--hop-gold-light);
  text-decoration: none;
}

.hop-topbar .menu {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hop-topbar .menu a {
  color: rgba(250, 247, 242, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}

.hop-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition: background 0.35s var(--hop-ease), box-shadow 0.35s var(--hop-ease), color 0.35s var(--hop-ease);
}

/* Transparent header overlays the hero (fixed), then becomes solid on scroll */
body.hop-has-hero .hop-header--transparent {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

body.hop-has-hero .hop-topbar + .hop-header--transparent {
  top: var(--hop-topbar-h, 0px);
}

body.hop-has-hero .hop-header.is-scrolled {
  position: fixed;
}

body.hop-has-hero .hop-hero {
  /* Header sits over hero — no layout gap */
  margin-top: 0;
}

.hop-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--hop-header-h);
}

.hop-header--solid {
  background: rgba(250, 247, 242, 0.97);
  border-bottom: 1px solid rgba(198, 161, 91, 0.22);
  color: var(--hop-ink);
}

.hop-header--transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #fff;
}

.hop-header--transparent .hop-brand-text,
.hop-header--transparent .hop-nav .menu > li > a,
.hop-header--transparent .hop-icon-btn,
.hop-header--transparent .hop-menu-toggle {
  color: #fff;
}

.hop-header--transparent .hop-logo img {
  filter: brightness(0) invert(1);
}

.hop-header.is-scrolled {
  background: rgba(250, 247, 242, 0.98) !important;
  border-bottom-color: rgba(198, 161, 91, 0.28);
  box-shadow: 0 10px 30px rgba(47, 33, 26, 0.08);
  color: var(--hop-ink);
  backdrop-filter: blur(12px);
}

.hop-header.is-scrolled .hop-brand-text,
.hop-header.is-scrolled .hop-nav .menu > li > a,
.hop-header.is-scrolled .hop-icon-btn,
.hop-header.is-scrolled .hop-menu-toggle {
  color: var(--hop-ink);
}

.hop-header.is-scrolled .hop-logo img {
  filter: none;
}

.hop-brand-text {
  font-family: var(--hop-font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--hop-brown-deep);
}

.hop-logo .custom-logo-link,
.hop-logo .hop-custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.hop-logo img,
.hop-logo .custom-logo {
  max-height: 58px;
  width: auto;
  height: auto;
  display: block;
}

.hop-header-left,
.hop-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.hop-header-right {
  justify-content: flex-end;
}

.hop-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.hop-icon-btn:hover {
  color: var(--hop-gold);
}

.hop-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--hop-gold);
  color: var(--hop-brown-deep);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.hop-cart-count.is-empty {
  display: none;
}

.hop-menu-toggle {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.hop-header.is-scrolled .hop-menu-toggle,
.hop-header--solid .hop-menu-toggle {
  border-color: rgba(90, 64, 50, 0.25);
}

.hop-nav {
  display: none;
  flex: 2;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hop-nav {
    display: flex;
  }
  .hop-menu-toggle {
    display: none;
  }
}

.hop-nav .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hop-nav .menu > li {
  position: relative;
}

.hop-nav .menu a {
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}

.hop-nav .menu a:hover,
.hop-nav .current-menu-item > a {
  color: var(--hop-gold);
}

.hop-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: 0.85rem 0;
  list-style: none;
  background: var(--hop-white);
  border: 1px solid rgba(198, 161, 91, 0.3);
  box-shadow: 0 18px 40px rgba(47, 33, 26, 0.12);
  z-index: 70;
}

.hop-nav .menu > li:hover > .sub-menu,
.hop-nav .menu > li:focus-within > .sub-menu {
  display: block;
}

.hop-nav .sub-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--hop-ink);
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
}

.hop-mobile-nav {
  display: none;
  border-top: 1px solid rgba(198, 161, 91, 0.2);
  background: var(--hop-ivory);
  color: var(--hop-ink);
}

.hop-mobile-nav.is-open {
  display: block;
}

.hop-mobile-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
}

.hop-mobile-nav .menu a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(90, 64, 50, 0.08);
  color: var(--hop-ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.hop-mobile-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
}

.hop-search-panel {
  display: none;
  padding: 0 0 1rem;
  background: rgba(250, 247, 242, 0.98);
}

.hop-search-panel.is-open {
  display: block;
}

.hop-search-form {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.hop-search-input {
  flex: 1;
  min-height: 3rem;
  border: 1px solid rgba(198, 161, 91, 0.4);
  background: #fff;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--hop-ink);
}

.hop-search-input:focus {
  outline: 1px solid var(--hop-gold);
}

/* ==========================================================================
   Hero — full width, ~72vh, banners fully visible (no L/R crop)
   ========================================================================== */
.hop-home-main {
  width: 100%;
  overflow-x: hidden;
}

.hop-hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--hop-ivory);
}

.hop-hero-swiper,
.hop-hero-swiper .swiper-wrapper,
.hop-hero-swiper .swiper-slide {
  width: 100%;
  height: 72vh;
  min-height: 420px;
  max-height: 820px;
}

.hop-hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  /* Luxury ivory letterbox when banner does not fill the frame */
  background:
    radial-gradient(ellipse at 50% 40%, rgba(198, 161, 91, 0.12), transparent 55%),
    linear-gradient(180deg, #fffdf9 0%, var(--hop-ivory) 45%, var(--hop-cream) 100%);
}

.hop-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hop-hero-media img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  /* No scale — scaling would crop wide banners */
  transform: none;
}

/* Wide / custom banners: keep full width visible, never crop sides */
.hop-hero-media img.hop-hero-banner-wide,
.hop-hero-swiper .swiper-slide.is-wide-banner .hop-hero-media img {
  object-fit: contain;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.hop-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hop-hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hop-hero-overlay-color, #2f211a);
  opacity: var(--hop-hero-overlay-alpha, 0.45);
}

@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .hop-hero-overlay {
    background: transparent;
  }
}

.hop-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: calc(var(--hop-header-h) + 1.25rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 6vh, 4rem);
}

.hop-hero-content.hop-hero-valign-top {
  align-items: flex-start;
  padding-top: calc(var(--hop-header-h) + 2rem);
}

.hop-hero-content.hop-hero-valign-center {
  align-items: center;
}

.hop-hero-content.hop-hero-valign-bottom {
  align-items: flex-end;
}

.hop-hero-content.hop-hero-pos-left {
  justify-content: flex-start;
  text-align: left;
}

.hop-hero-content.hop-hero-pos-center {
  justify-content: center;
  text-align: center;
}

.hop-hero-content.hop-hero-pos-center .hop-hero-copy {
  margin-inline: auto;
}

.hop-hero-content.hop-hero-pos-center .hop-hero-subtitle {
  margin-inline: auto;
}

.hop-hero-content.hop-hero-pos-right {
  justify-content: flex-end;
  text-align: right;
}

.hop-hero-content.hop-hero-pos-right .hop-hero-subtitle {
  margin-left: auto;
}

.hop-hero-copy {
  max-width: 38rem;
}

.hop-page-main {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hop-page-title {
  margin: 0 0 1.5rem;
  font-family: var(--hop-font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  color: var(--hop-brown-deep);
  line-height: 1.1;
}

.hop-page-featured {
  margin: 0 0 2rem;
}

.hop-page-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.hop-page-content {
  max-width: 48rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hop-ink);
}

.hop-page-content > *:first-child {
  margin-top: 0;
}

.hop-hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hop-gold-light);
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(47, 33, 26, 0.35);
}

.hop-hero-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 0.98;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 24px rgba(47, 33, 26, 0.4);
}

.hop-hero-subtitle {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: rgba(250, 247, 242, 0.92);
  font-weight: 300;
  text-shadow: 0 1px 14px rgba(47, 33, 26, 0.35);
}

.hop-hero-swiper .swiper-pagination-bullet {
  background: var(--hop-brown-deep);
  opacity: 0.35;
  width: 0.55rem;
  height: 0.55rem;
}

.hop-hero-swiper .swiper-pagination-bullet-active {
  background: var(--hop-gold);
  opacity: 1;
}

.hop-hero-swiper .swiper-button-prev,
.hop-hero-swiper .swiper-button-next {
  color: var(--hop-brown-deep);
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(250, 247, 242, 0.72);
  border-radius: 0;
}

.hop-hero-swiper .swiper-button-prev::after,
.hop-hero-swiper .swiper-button-next::after {
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hop-hero-swiper,
  .hop-hero-swiper .swiper-wrapper,
  .hop-hero-swiper .swiper-slide {
    height: 62vh;
    min-height: 380px;
    max-height: 640px;
  }
}

@media (max-width: 767px) {
  .hop-hero-swiper,
  .hop-hero-swiper .swiper-wrapper,
  .hop-hero-swiper .swiper-slide {
    height: 52vh;
    min-height: 320px;
    max-height: 480px;
  }

  .hop-hero-content {
    padding-bottom: 2.25rem;
  }

  .hop-hero-title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hop-hero-swiper .swiper-button-prev,
  .hop-hero-swiper .swiper-button-next {
    display: none;
  }
}

/* Lookbook / Featured collections */
.hop-lookbook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hop-lookbook-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hop-lookbook-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hop-lookbook-grid.cols-1 {
    grid-template-columns: 1fr;
  }
}

.hop-lookbook-card {
  position: relative;
  display: block;
  overflow: hidden;
  height: clamp(18rem, 36vw, 26rem);
  text-decoration: none;
  background: var(--hop-cream);
}

.hop-lookbook-card img {
  transition: transform 0.9s var(--hop-ease);
}

.hop-lookbook-card:hover img {
  transform: scale(1.07);
}

.hop-lookbook-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 33, 26, 0.78), rgba(47, 33, 26, 0.08));
  z-index: 1;
}

.hop-lookbook-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.6rem;
  color: #fff;
}

.hop-lookbook-copy .title {
  display: block;
  font-family: var(--hop-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.25rem;
}

.hop-lookbook-copy .sub {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* Categories */
.hop-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hop-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.hop-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  background: var(--hop-brown-deep);
}

.hop-cat-media {
  position: absolute;
  inset: 0;
}

.hop-cat-media img,


.hop-cat-card:hover .hop-cat-media img,

.hop-cat-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(47, 33, 26, 0.88), transparent);
  color: #fff;
}

.hop-cat-meta .name {
  display: block;
  font-family: var(--hop-font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hop-cat-meta .count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Products */
.hop-product-card {
  background: transparent;
  height: 100%;
}

.hop-product-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--hop-cream);
  text-decoration: none;
}

.hop-product-media img {
  transition: transform 0.7s var(--hop-ease);
}

.hop-product-card:hover .hop-product-media img {
  transform: scale(1.05);
}

.hop-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  background: var(--hop-gold);
  color: var(--hop-brown-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.hop-product-body {
  padding: 1rem 0.1rem 0.2rem;
}

.hop-product-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.hop-product-body h3 a {
  color: var(--hop-brown-deep);
  text-decoration: none;
}

.hop-product-body h3 a:hover {
  color: var(--hop-bronze);
}

.hop-product-price {
  color: var(--hop-maroon);
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.hop-arrivals-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hop-arrivals-head .hop-section-head {
  text-align: left;
  margin: 0;
}

.hop-arrivals-head .hop-section-rule {
  margin-left: 0;
}

.hop-bg-cream {
  background: var(--hop-cream);
}

.hop-bg-white {
  background: var(--hop-white);
}

.hop-bg-brown {
  background: var(--hop-brown-deep);
  color: var(--hop-ivory);
}

.hop-bg-brown .hop-section-title,
.hop-bg-brown h2,
.hop-bg-brown h3 {
  color: var(--hop-ivory);
}

.hop-bg-brown .hop-section-sub {
  color: rgba(250, 247, 242, 0.72);
}

/* Why choose us */
.hop-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .hop-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hop-why-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .hop-why-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hop-why-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(198, 161, 91, 0.28);
  background: rgba(255, 255, 255, 0.45);
}

.hop-why-index {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--hop-font-display);
  font-size: 1.75rem;
  color: var(--hop-gold);
  letter-spacing: 0.08em;
}

/* Testimonials */
.hop-quote-card {
  margin: 0;
  padding: 2rem;
  border: 1px solid rgba(198, 161, 91, 0.28);
  background: rgba(255, 255, 255, 0.04);
  min-height: 100%;
}

.hop-quote-card p {
  margin: 0 0 1.5rem;
  font-family: var(--hop-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.4;
  color: var(--hop-ivory);
}

.hop-quote-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 161, 91, 0.45);
  flex-shrink: 0;
}

.hop-quote-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hop-quote-meta cite {
  font-style: normal;
  color: var(--hop-gold-light);
  font-weight: 500;
  display: block;
}

.hop-quote-meta span {
  display: block;
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.6);
}

.hop-testimonials-pagination .swiper-pagination-bullet {
  background: rgba(250, 247, 242, 0.35);
}

.hop-testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--hop-gold);
}

/* Instagram */
.hop-ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hop-ig-head .hop-section-head {
  text-align: left;
  margin: 0;
}

.hop-ig-head .hop-section-rule {
  margin-left: 0;
}

.hop-ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hop-ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hop-ig-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
}

.hop-ig-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  text-decoration: none;
  background: var(--hop-cream);
}

.hop-ig-tile img {
  transition: transform 0.7s var(--hop-ease);
}

.hop-ig-hover {
  position: absolute;
  inset: 0;
  background: rgba(47, 33, 26, 0.35);
  opacity: 0;
  transition: opacity 0.35s var(--hop-ease);
}

.hop-ig-tile:hover img {
  transform: scale(1.06);
}

.hop-ig-tile:hover .hop-ig-hover {
  opacity: 1;
}

/* Newsletter */
.hop-newsletter {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(198, 161, 91, 0.22), transparent 50%),
    linear-gradient(135deg, #2f211a 0%, #5a4032 55%, #3d2a22 100%);
  color: var(--hop-ivory);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.hop-newsletter-inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.hop-newsletter h2 {
  color: var(--hop-ivory);
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.hop-newsletter p {
  margin: 0 0 1.75rem;
  color: rgba(250, 247, 242, 0.75);
}

.hop-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hop-newsletter-form {
    flex-direction: row;
  }
}

.hop-newsletter-input {
  flex: 1;
  min-height: 3.1rem;
  border: 1px solid rgba(198, 161, 91, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.85rem 1.1rem;
  font: inherit;
}

.hop-newsletter-input::placeholder {
  color: rgba(250, 247, 242, 0.55);
}

.hop-newsletter-input:focus {
  outline: 1px solid var(--hop-gold);
}

/* Footer */
.hop-footer {
  background: var(--hop-brown-deep);
  color: var(--hop-ivory);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.hop-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .hop-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hop-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 2rem;
  }
}

.hop-footer h3 {
  color: var(--hop-gold-light);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.hop-footer p,
.hop-footer li {
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.9rem;
}

.hop-footer .menu,
.hop-footer .widget ul,
.hop-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hop-footer .menu a,
.hop-footer .widget a,
.hop-footer-list a {
  color: rgba(250, 247, 242, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.hop-footer .menu a:hover,
.hop-footer-list a:hover {
  color: var(--hop-gold-light);
}

.hop-footer-list li + li {
  margin-top: 0.5rem;
}

.hop-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.hop-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(198, 161, 91, 0.35);
  color: var(--hop-gold-light);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hop-social a:hover {
  background: var(--hop-gold);
  color: var(--hop-brown-deep);
}

.hop-footer-bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(198, 161, 91, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.55);
}

.hop-footer-bottom a {
  color: rgba(250, 247, 242, 0.6);
  text-decoration: none;
}

.hop-footer-bottom a:hover {
  color: var(--hop-gold-light);
}

/* WhatsApp */
.hop-whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.hop-whatsapp-float svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

/* WooCommerce product grids */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100% !important;
}

@media (min-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: none !important;
  text-align: left;
}

.woocommerce ul.products li.product img {
  margin: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s var(--hop-ease);
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--hop-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--hop-brown-deep);
  padding-top: 0.85rem;
}

.woocommerce ul.products li.product .price {
  color: var(--hop-maroon);
  font-weight: 500;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.hop-product-body .button {
  background: var(--hop-brown-deep) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.15rem !important;
  border: 0 !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.hop-product-body .button:hover {
  background: var(--hop-bronze) !important;
}

.woocommerce span.onsale {
  background: var(--hop-gold) !important;
  color: var(--hop-brown-deep) !important;
  border-radius: 0 !important;
  font-weight: 700;
  min-height: auto;
  line-height: 1.2;
  padding: 0.35rem 0.5rem;
}

/* Shop layout */
.hop-shop-layout {
  display: block;
}

@media (min-width: 1024px) {
  .hop-shop-layout.has-sidebar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.hop-shop-sidebar .widget {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}

.hop-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}

.woocommerce-products-header__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

/* Empty homepage helper (admin-facing only when no customizer content) */
.hop-home-empty {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hop-home-empty h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.hop-home-empty p {
  margin: 0;
  color: var(--hop-muted);
  max-width: 28rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hop-lookbook-card img,
  .hop-cat-media img,
  .hop-ig-tile img,
  .hop-product-media img,
  .hop-btn:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   v3 production layout — pages, WC wrappers, section CTAs, footer widgets
   ========================================================================== */
.hop-content-main,
.hop-wc-main,
.hop-page-main {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hop-wc-inner {
  padding-block: 0.25rem;
}

.hop-page-header {
  margin-bottom: 1.75rem;
}

.hop-page-header--center {
  text-align: center;
}

.hop-page-title {
  margin: 0 0 1rem;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  color: var(--hop-brown-deep, #2f211a);
  line-height: 1.1;
}

.hop-page-featured {
  margin: 0 0 2rem;
}

.hop-page-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.hop-page-content {
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hop-ink, #2a211c);
}

.hop-page-content.woocommerce,
.hop-wc-page .hop-page-content {
  max-width: none;
}

.hop-section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.hop-section-header-row .hop-section-head {
  flex: 1 1 16rem;
  margin-bottom: 0;
}

.hop-section-cta {
  flex: 0 0 auto;
  margin-bottom: 1.25rem;
}

.hop-arrivals-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hop-arrivals-nav {
  display: flex;
  gap: 0.65rem;
}

.hop-why-title {
  margin: 0 0 0.5rem;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.35rem;
}

.hop-why-text {
  margin: 0;
  color: var(--hop-muted, #6b5e55);
  font-size: 0.92rem;
}

.hop-widget-title {
  color: var(--hop-gold-light, #e8d5a3);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hop-widget-title--dark {
  color: var(--hop-brown-deep, #2f211a);
}

.hop-footer-widget {
  margin-bottom: 1.5rem;
}

.hop-footer-sitename {
  color: var(--hop-gold-light, #e8d5a3);
  font-size: 1.6rem;
  margin: 0 0 1rem;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
}

.hop-logo--footer {
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.hop-footer-address {
  white-space: pre-line;
}

.hop-topbar-text {
  margin: 0;
}

.hop-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hop-posts-list {
  display: grid;
  gap: 2.5rem;
}

.hop-post-card {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.22);
}

.hop-post-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hop-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.hop-post-card__thumb {
  display: block;
  margin: 0 0 1rem;
  overflow: hidden;
}

.hop-post-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.hop-empty-state {
  padding: 3rem 0;
}

.hop-empty-state--center {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.hop-404-code {
  margin: 0 0 0.5rem;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  color: var(--hop-gold, #c6a15b);
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  line-height: 1;
}

.hop-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.75rem 0 2rem;
}

.hop-404-search,
.hop-search-again {
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.hop-pagination {
  margin-top: 2.5rem;
}

.hop-search-panel[hidden]:not(.is-open) {
  display: none !important;
}

.hop-testimonials-pagination {
  margin-top: 1.5rem;
  position: relative;
}

.hop-home-empty .hop-wrap {
  text-align: center;
}

.hop-home-empty .hop-btn {
  margin-top: 1rem;
}

body.hop-has-hero .hop-header.is-scrolled {
  position: fixed;
  top: 0 !important;
}

.hop-cat-media-empty {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  background: linear-gradient(145deg, #f3ebe0 0%, #e8dcc8 100%);
}

.hop-product-media-empty {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(145deg, #f3ebe0 0%, #e8dcc8 100%);
}

.hop-shop-header {
  margin-bottom: 1.75rem;
}

.hop-section-rule--left {
  margin-left: 0;
}

.hop-shop-pagination {
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .hop-hero-copy {
    /* Offsets further reduced in JS; keep text readable */
    max-width: 100%;
  }
}


@media (max-width: 767px) {
  .hop-section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hop-hero-copy {
    max-width: 100%;
  }

  .hop-footer-grid {
    grid-template-columns: 1fr;
  }
}

img {
  max-width: 100%;
}

.hop-hero-media img {
  max-width: none;
  width: 100%;
  height: 100%;
}


/* ==========================================================================
   v5 — mega menu, search overlay, product UI, quick view, smooth scroll
   ========================================================================== */
html.hop-smooth-scroll {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html.hop-smooth-scroll {
    scroll-behavior: auto;
  }
}

/* Mega menu — add CSS class "hop-mega" or "mega-menu" on a top-level item in Appearance → Menus */
.hop-nav .menu > li {
  position: relative;
}

.hop-nav .menu > li > .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  min-width: 14rem;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  background: rgba(250, 247, 242, 0.98);
  border: 1px solid rgba(198, 161, 91, 0.28);
  box-shadow: 0 18px 40px rgba(47, 33, 26, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
}

.hop-nav .menu > li:hover > .sub-menu,
.hop-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hop-nav .menu > li > .sub-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--hop-ink, #2a211c);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hop-nav .menu > li > .sub-menu a:hover {
  color: var(--hop-gold, #c6a15b);
}

.hop-nav .menu > li.hop-mega > .sub-menu.hop-mega-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
  gap: 0.25rem 1.25rem;
  width: min(56rem, 92vw);
  left: 50%;
  transform: translate(-50%, 8px);
  padding: 1.5rem 1.75rem;
}

.hop-nav .menu > li.hop-mega:hover > .sub-menu.hop-mega-panel,
.hop-nav .menu > li.hop-mega:focus-within > .sub-menu.hop-mega-panel {
  transform: translate(-50%, 0);
}

.hop-nav .menu > li.hop-mega > .sub-menu > li > .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0.25rem 0 0.5rem;
  min-width: 0;
}

/* Search overlay */
.hop-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(47, 33, 26, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.hop-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.hop-search-overlay[hidden] {
  display: none !important;
}

.hop-search-overlay.is-open[hidden] {
  display: flex !important;
  hidden: false;
}

.hop-search-overlay-form {
  width: min(40rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.hop-search-overlay-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(250, 247, 242, 0.45);
  background: transparent;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  padding: 0.75rem 0;
  outline: none;
}

.hop-search-overlay-input::placeholder {
  color: rgba(250, 247, 242, 0.45);
}

.hop-search-overlay-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

body.hop-search-open,
body.hop-qv-open,
body.hop-nav-open {
  overflow: hidden;
}

/* Product media / hover actions */
.hop-product-media-wrap,
ul.products li.product .hop-product-media-wrap {
  position: relative;
  overflow: hidden;
  background: #f3ebe0;
}

.hop-product-media-wrap img,
.hop-product-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.55s var(--hop-ease, ease);
}

.hop-product-card:hover .hop-product-media img,
.hop-product-media-wrap:hover img,
ul.products li.product:hover .hop-product-media-wrap img {
  transform: scale(1.05);
}

.hop-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hop-badge,
.hop-badge--sale,
.hop-badge--new {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--hop-brown-deep, #2f211a);
  color: #fff;
}

.hop-badge--sale {
  background: #8b3a2f;
}

.hop-badge--new {
  background: var(--hop-gold, #c6a15b);
  color: var(--hop-brown-deep, #2f211a);
}

.hop-product-actions {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hop-product-media-wrap:hover .hop-product-actions,
.hop-product-card:hover .hop-product-actions,
ul.products li.product:hover .hop-product-actions {
  opacity: 1;
  transform: translateY(0);
}

.hop-action-btn {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(250, 247, 242, 0.95);
  color: var(--hop-brown-deep, #2f211a);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(47, 33, 26, 0.12);
}

.hop-action-btn:hover {
  background: var(--hop-gold, #c6a15b);
}

.hop-product-rating {
  margin: 0 0 0.35rem;
}

.hop-product-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.hop-product-stock {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hop-product-stock--out {
  color: #8b3a2f;
}

.hop-product-stock--low {
  color: #9a6b2f;
}

.hop-product-cart {
  margin-top: 0.75rem;
}

.hop-cat-media img {
  transition: transform 0.55s ease;
}

/* Breadcrumbs */
.hop-breadcrumb,
.woocommerce-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--hop-muted, #6b5e55);
}

.hop-breadcrumb a,
.woocommerce-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hop-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--hop-gold, #c6a15b);
}

/* Quick view modal */
.hop-qv-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.hop-qv-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.hop-qv-modal[hidden]:not(.is-open) {
  display: none !important;
}

.hop-qv-modal.is-open[hidden] {
  display: flex !important;
}

.hop-qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 33, 26, 0.65);
  backdrop-filter: blur(6px);
}

.hop-qv-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 880px);
  overflow: auto;
  background: var(--hop-ivory, #faf7f2);
  box-shadow: 0 30px 80px rgba(47, 33, 26, 0.28);
}

.hop-qv-loading {
  padding: 3rem;
  text-align: center;
}

.hop-qv-inner {
  position: relative;
}

.hop-qv-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--hop-brown-deep, #2f211a);
}

.hop-qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hop-qv-gallery {
  background: #f0e6d8;
}

.hop-qv-gallery img,
.hop-qv-image {
  width: 100%;
  height: auto;
  display: block;
}

.hop-qv-summary {
  padding: 2rem 1.75rem 2rem;
}

.hop-qv-title {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.hop-qv-price {
  margin: 0.5rem 0 1rem;
  font-size: 1.15rem;
}

.hop-qv-excerpt {
  margin: 0 0 1.25rem;
  color: var(--hop-muted, #6b5e55);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hop-qv-link {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hop-qv-link a {
  color: var(--hop-brown-deep, #2f211a);
}

@media (max-width: 767px) {
  .hop-qv-grid {
    grid-template-columns: 1fr;
  }

  .hop-nav .menu > li.hop-mega > .sub-menu.hop-mega-panel {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hop-product-actions {
    opacity: 1;
    transform: none;
  }
}

/* Mobile nested menus */
.hop-mobile-nav .menu-item-has-children > .sub-menu {
  display: none;
  padding-left: 0.75rem;
}

.hop-mobile-nav .menu-item-has-children.is-expanded > .sub-menu {
  display: block;
}


/* ==========================================================================
   v6 — always-visible homepage skeleton, empty states, secondary image
   ========================================================================== */
.hop-hero--empty {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(198, 161, 91, 0.12), transparent 55%),
    linear-gradient(160deg, #faf7f2 0%, #f0e8dc 100%);
}

.hop-hero-empty-frame {
  width: min(40rem, 90%);
  padding: 3rem 1.5rem;
}

.hop-empty-state-box {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(198, 161, 91, 0.28);
  background: rgba(250, 247, 242, 0.65);
}

.hop-bg-brown .hop-empty-state-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 213, 163, 0.25);
}

.hop-empty-state-text {
  margin: 0.85rem 0;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--hop-muted, #6b5e55);
  letter-spacing: 0.02em;
}

.hop-bg-brown .hop-empty-state-text {
  color: rgba(250, 247, 242, 0.75);
}

.hop-empty-state-rule {
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto;
  background: rgba(198, 161, 91, 0.55);
}

.hop-carousel-block {
  position: relative;
}

.hop-carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin: -0.5rem 0 1rem;
}

.hop-product-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.hop-product-img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.45s ease, transform 0.55s ease;
}

.hop-product-img--secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hop-product-card.has-secondary:hover .hop-product-img--primary {
  opacity: 0;
}

.hop-product-card.has-secondary:hover .hop-product-img--secondary {
  opacity: 1;
  transform: scale(1.04);
}

.hop-cat-media {
  position: relative;
  overflow: hidden;
}

.hop-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 33, 26, 0.55) 0%, transparent 55%);
  opacity: 0.85;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hop-cat-card:hover .hop-cat-overlay {
  opacity: 1;
}

.hop-cat-card:hover .hop-cat-media img {
  transform: scale(1.08);
}

.hop-cat-meta .desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.85;
  font-weight: 300;
}

.hop-recently-viewed {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(198, 161, 91, 0.25);
}

.hop-recently-viewed__title {
  margin: 0 0 1.5rem;
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

.hop-recently-viewed__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hop-recently-viewed__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Single product — gallery, summary, wishlist, related
   ========================================================================== */
.hop-single-product-inner {
  margin-bottom: 2rem;
}

.hop-single-top {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hop-single-top {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.hop-single-gallery .woocommerce-product-gallery {
  margin: 0;
}

.hop-single-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
}

.hop-single-summary .product_title {
  font-family: var(--hop-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.hop-single-summary .price {
  font-size: 1.25rem;
  color: var(--hop-brown-deep, #2f211a);
  margin: 0 0 1rem;
}

.hop-single-summary .price del {
  opacity: 0.55;
  margin-right: 0.5rem;
}

.hop-single-summary .price ins {
  text-decoration: none;
  color: var(--hop-bronze, #8b6914);
  font-weight: 600;
}

.hop-single-summary .woocommerce-product-details__short-description {
  margin: 0 0 1.25rem;
  color: var(--hop-muted, #6b5b52);
  line-height: 1.65;
}

.hop-single-summary form.cart {
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hop-single-summary .variations {
  width: 100%;
  margin-bottom: 1rem;
}

.hop-single-wishlist {
  margin: 0.75rem 0 1.25rem;
}

.hop-single-wishlist .hop-action-btn,
.hop-single-wishlist .yith-wcwl-add-to-wishlist {
  display: inline-flex;
}

.hop-single-summary .product_meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(198, 161, 91, 0.25);
  font-size: 0.9rem;
  color: var(--hop-muted, #6b5b52);
}

.hop-single-summary .product_meta > span {
  display: block;
  margin-bottom: 0.35rem;
}

.hop-footer-empty {
  padding: 1.5rem 0 0.5rem;
}

.hop-newsletter .hop-empty-state-box {
  margin: 0 auto;
}
