/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
    font-family: 'Didot', serif;
    width: 100%;
    overflow-x: hidden;
    
  }
  
  /* Fullscreen video */
  .hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    padding-top: 80px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .background-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
  }

  .hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Overlay text and button */
  .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
  }
  
  .overlay-content h1 {
    font-family: 'Didot', serif;
    font-size: 2rem;
    font-weight: normal;
    padding-bottom: 15px;
  }
  /* @media (max-width: 768px) {
    .background-video {
      width: 100%;
      height: 100%;
      object-fit: cover; 
    }

  } */
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .hero {
      height: 60vh;
      padding-top: 40px;
    }
  
    .background-video {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  
    .overlay-content h1 {
      font-size: 1.5rem;
    }
  
    .btn {
      padding: 8px 18px;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero {
      height: 50vh;
      padding-top: 30px;
    }
  
    .overlay-content h1 {
      font-size: 1.2rem;
    }
  
    .btn {
      padding: 6px 14px;
      font-size: 0.8rem;
    }
  }
  /* for second video opihi on main page */
  .inline-video-section {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    line-height: 0;
  }
  
  .inline-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
  
  
  /* Button styling */
  .btn {
    background-color: rgba(255, 255, 255, 0.3); /* white with 30% opacity */
    color: white;
    padding: 16px 35px;
    border: 1px solid white;
    border-radius: 999px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
  }
  
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 36px; /* increased padding for larger navbar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    color: var(--nav-color, white);
    backdrop-filter: blur(4px);
  }

  /* body-level classes control nav color so each page can opt-in */
  .dark-header .site-header { --nav-color: white; }
  .light-header .site-header { --nav-color: black; }

  .brandwhite, .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Pinyon Script', cursive;
    font-size: 2.1rem; /* slightly bigger logo */
    white-space: nowrap;
  }

  /* Nav links */
  .site-header a { color: inherit; text-decoration: none; }
  .header-left, .header-right { display: flex; gap: 20px; align-items: center; }
  .header-left .nav-item a, .header-right a { font-size: 1.08rem; /* slightly larger nav text */ }

  /* Dropdown */
  .dropdown { position: relative; }
  .dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: rgba(255,255,255,0.98);
    color: black;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 50;
  }
  .dropdown .dropdown-menu a { padding: 8px 14px; display: block; color: inherit; }
  .dropdown:hover .dropdown-menu { display: flex; }
  .dropdown:focus-within .dropdown-menu { display: flex; }

  /* For dark header pages, invert dropdown background for readability */
  .dark-header .dropdown .dropdown-menu { background: rgba(0,0,0,0.85); color: white; }
  .dark-header .dropdown .dropdown-menu a { color: white; }

  /* Mobile */
  .mobile-menu-toggle { display: none; background: transparent; border: none; color: inherit; font-size: 1.1rem; }
  .mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: white; flex-direction: column; gap: 0; padding: 12px 20px; z-index: 999; }
  .mobile-nav a { padding: 10px 0; border-bottom: 1px solid #eee; color: black; }
  .mobile-nav.mobile-open { display: flex; }

  @media (max-width: 768px) {
    .brandwhite, .brand { font-size: 1.4rem; }
    .mobile-menu-toggle { display: inline-flex; }
    .header-left { display: none; }
    .site-header { padding: 12px 18px; }

    .products-header {
      padding: 56px 16px 28px;
      font-size: 1.1rem;
    }

    .products {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 52px 16px;
    }

    .campaign {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 5;
      padding: 0 16px;
      box-sizing: border-box;
    }

    .campaign-image {
      max-width: 100%;
      max-height: none;
      width: 100%;
      height: 100%;
      padding-top: 20px;
    }

    .campaign-home-images {
      flex-direction: column;
      gap: 8px;
    }

    .campaign-home .image-container {
      flex: 1 1 auto;
      max-width: 100%;
    }

    .product-page {
      margin-top: 72px;
    }

    .product-left,
    .product-right {
      padding: 16px;
    }

    .product-left {
      width: 100%;
      overflow: visible;
    }

    .product-right {
      width: 100%;
      padding-top: 8px;
    }

    .image-gallery {
      gap: 8px;
    }

    .image-gallery img {
      max-width: 100%;
      border-radius: 0;
    }

    #productName {
      margin-top: 24px;
      font-size: 1.5rem;
    }

    .chuseok-hero {
      min-height: auto;
      padding: 104px 16px 56px;
    }

    .chuseok-story {
      padding: 52px 16px 20px;
    }

    .chuseok-story p {
      font-size: 0.98rem;
      line-height: 1.8;
    }

    .chuseok-editorial-section {
      padding: 20px 16px 64px;
    }

    .chuseok-editorial-grid,
    .chuseok-editorial-grid-reverse {
      gap: 18px;
    }

    .chuseok-editorial-column {
      align-items: stretch;
      gap: 16px;
    }

    .chuseok-editorial-image-panel {
      aspect-ratio: 4 / 5;
    }

    .chuseok-products-heading {
      font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    .chuseok-product-card-featured {
      width: 100%;
    }

    .chuseok-product-grid,
    .chuseok-product-grid-compact {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .chuseok-product-card,
    .chuseok-product-card-featured,
    .chuseok-product-card-compact {
      padding-bottom: 16px;
    }

    .chuseok-product-card .product-title-row {
      gap: 12px;
      align-items: baseline;
    }

    .chuseok-product-card .product-title {
      font-size: 1rem;
    }

    .chuseok-product-card .product-price {
      font-size: 0.95rem;
    }

    .chuseok-modal-card {
      width: min(100%, 100%);
      max-height: 100vh;
      border-radius: 0;
    }

    .chuseok-modal-media,
    .chuseok-modal-content {
      padding: 20px 16px;
    }

    .chuseok-modal-gallery {
      max-height: 42vh;
    }

    .chuseok-modal-actions {
      flex-direction: column;
      align-items: stretch;
    }

  .chuseok-button-secondary {
  width: 100%;
  min-width: 0;
}

.chuseok-button-primary {
  min-width: 0;
}

    .chuseok-button-primary {
      width: clamp(84px, 26vw, 108px);
      font-size: 0.58rem;
      margin: 0 auto;
    }

    .chuseok-modal-close {
      top: 12px;
      right: 12px;
    }
  }
  

  /* Ensure header links inherit the header color (no hardcoded black)
     and provide a subtle hover effect that works on both light/dark headers */
  .header-left a,
  .header-right a { color: inherit; font-size: 1.0rem; text-decoration: none; }
  .header-left a:hover, .header-right a:hover { opacity: 0.85; }

  .empty-message {
    padding-top: 10px;
  }
  /* ================= INSTAGRAM FOOTER (INDEX / HOME) ================= */
.instagram-footer {
  background-color: #ffffff;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 180px;
  width: 100%;
  position: relative;
  z-index: 10;
  
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  opacity: 1;
  transform: none;
}

/* Revealed state triggered by JS scroll/load */
.instagram-footer.show {
  opacity: 1 !important;
  transform: none !important;
}

/* ================= INSTAGRAM FOOTER (ABOUT PAGE) ================= */
.instagram-footer-about {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 90px;
  z-index: 999;
}

/* Icon Styles (Shared) */
.insta-link {
  display: inline-block;
  text-decoration: none;
  padding: 10px;
}

.insta-link i {
  font-size: 2.8rem;
  color: #000000;
  transition: color 0.3s ease, transform 0.3s ease;
}

.insta-link i:hover {
  color: #777777;
  transform: scale(1.1);
}

  /* For Products Page */

  .products-header {
    text-align: center;
    padding: 80px 0;
    font-weight: 300;
    font-size:1.3rem;
    font-family: 'Didot', serif;
  } 
  .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding: 80px 40px;
    background-color: white;
  }
  
  
   .product {
    text-align: left;
    width: 100%;
    padding-bottom: 30px;
    margin: 0 auto;
    
  }
  .product-title-row {
    display: flex;
    justify-content: space-between; /* pushes title to left, price to right */
    align-items: center;
    width: 100%;
  }
  
  .product-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin: 0;
    font-family: 'Didot', serif;
    padding-top: 10px;
  }
  
  .product-price {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin: 0;
    text-align: right; /* not needed for flex, but safe */
  }
  
  

  

  .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* keeps consistent aspect ratio */
    overflow: hidden;
  }
  
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crops edges to fill container */
    transition: opacity 0.3s ease;
  }
  
  .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }
  
  .image-container:hover .main-image {
    opacity: 0;
  }
  
  .image-container:hover .hover-image {
    opacity: 1;
  }

  .product-sold-out {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-align: center;
    pointer-events: none;
  }
  
  .label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
  }
  
  button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: block;
    margin: 10px auto;
  }
  
  button:hover {

    color: #888;
  }
  
  
  .close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 28px;
    cursor: pointer;
  }
  

  

  /* Product pages */

  /* for mobile adaptation */
  @media (max-width: 768px) {
    .product-page {
      display: flex;
      flex-direction: column;
      height: auto;
      margin-top: 80px;
    }
  
    .product-left,
    .product-right {
      width: 100%;
      padding: 20px;
    }
  }
  
  .product-page {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    margin-top: 80px; /* adjust if your header overlaps content */
  }
  
  .product-left {
    width: 50%;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
  }
  
  .image-gallery {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  
  .image-gallery img {
    flex: 0 0 auto;
    width: min(85vw, 520px);
    height: auto;
    border-radius: 8px;
    scroll-snap-align: start;
    object-fit: cover;
  }
  
  .product-right {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
    background-color: #fff;;
  }
  
  

  #productName {
    font-family: 'Didot', serif;
    text-align: center;
    font-weight: 140;
    font-size: 1.8rem;
    margin-bottom: 3px;
    margin-top: 105px;
  }

p {
    font-family: 'Didot', serif;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 100;
    text-align: center;
    color: #333;

  }

  #addToCartBtn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
  }
  /* polaroid image on products page */
  
  .campaign {
    display: flex;
    justify-content: center;
    align-items: center;
   margin: 0 auto;
    height: 90vh;          
    width: 120vh;          
    max-width: 100vw;     
    overflow: hidden;      
  }
  
  .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .campaign-image {
    max-width: 110vh;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    padding-top:40px;
    display: block;
  }
  
  /* campaign image on main page index.html */

  .campaign-home-images {
    display: flex;
    width: 100%;
    gap : 1.5px;
  }

  .campaign-home .image-container {
    flex: 0 0 50%;
    max-width:50%;
  }

  .campaign-home-pic {
    padding-top: 10px;
    margin-top:0;
    padding-bottom: 10px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  @media (max-width: 768px) {
    .campaign-home-pic {
      padding-top: 10px;
    }
  
    .campaign-home {
      margin-top: 0;
      padding-top: 0;
    }
  
    .campaign-home-images {
      margin-top: 0;
      padding-top: 0;
    }

    .campaign-home {
      width: 100%;
      overflow: hidden;
    }
  }

    /* Chuseok Collection page */
    .chuseok-page {
      background: #ffffff;
      color: #1f1a16;
    }

    .chuseok-page .site-header {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
    }

    .chuseok-hero {
      min-height: 100vh;
      padding: 120px 24px 80px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background: #ffffff;
    }

    .chuseok-hero-eyebrow {
      font-size: 1.0rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: #6f5d50;
      margin-bottom: 14px;
    }

    .chuseok-hero h1 {
      font-family: 'Didot', serif;
      font-size: clamp(3rem, 6vw, 5.5rem);
      font-weight: 400;
      line-height: 0.92;
      margin-bottom: 28px;
      color: #201915;
    }

    .chuseok-hero-image {
      width: min(920px, 100%);
      overflow: hidden;
      border-radius: 0;
      box-shadow: none;
    }

    .chuseok-hero-image img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    /* Preserve the Bangles campaign photo's full 4:3 composition. */
    .bangles-page .chuseok-hero-image img {
      height: auto;
      aspect-ratio: auto;
      object-fit: contain;
    }

    .bangles-page .bangles-bottom-image {
      padding-top: 0;
      padding-bottom: 72px;
    }

    .chuseok-story {
      max-width: 820px;
      margin: 0 auto;
      padding: 72px 24px 28px;
      text-align: center;
    }

    .chuseok-story h2 {
      font-family: 'Didot', serif;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 400;
      margin-bottom: 18px;
      color: #201915;
    }

    .chuseok-story p {
      font-family: 'Didot', serif;
      font-size: 1.04rem;
      line-height: 1.9;
      color: #574b43;
    }

    .chuseok-editorial-section {
      width: min(1280px, 100%);
      margin: 0 auto;
      padding: 28px 24px 96px;
    }

    .chuseok-editorial-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
      gap: 40px;
      align-items: start;
    }

    .chuseok-editorial-grid-reverse {
      grid-template-columns: minmax(360px, 1.06fr) minmax(0, 0.94fr);
    }

    .chuseok-editorial-column {
      display: flex;
      flex-direction: column;
      gap: 22px;
      align-items: flex-start;
    }

    .chuseok-editorial-stack {
      display: grid;
      gap: 22px;
    }

    .chuseok-editorial-image-panel {
      position: sticky;
      top: 98px;
      overflow: hidden;
      background: #f5f2ee;
      box-shadow: 0 24px 55px rgba(33, 25, 21, 0.12);
      aspect-ratio: 4 / 5;
    }

    .chuseok-editorial-image-panel img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .chuseok-products-heading {
      width: 100%;
      text-align: center;
      align-self: stretch;
      font-family: 'Didot', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 400;
      margin-bottom: 8px;
      color: #201915;
    }

    .chuseok-product-card-featured .image-container,
    .chuseok-product-card-compact .image-container {
      aspect-ratio: 4 / 5;
    }

    .chuseok-product-card-featured {
      padding-bottom: 0;
      width: min(100%, 86%);
    }

    .chuseok-product-card-compact {
      padding-bottom: 0;
    }

    .chuseok-side-gallery {
      width: min(1200px, 100%);
      margin: 0 auto;
      padding: 36px 24px 92px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .chuseok-side-card {
      min-height: 420px;
      overflow: hidden;
      border-radius: 0;
      box-shadow: none;
      background: #ffffff;
    }

    .chuseok-side-card img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .chuseok-products {
      width: min(1280px, 100%);
      margin: 0 auto;
      padding: 24px 24px 110px;
    }

    .chuseok-products h2 {
      text-align: center;
      font-family: 'Didot', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 400;
      margin-bottom: 14px;
      color: #201915;
    }

    .chuseok-products-subtitle {
      max-width: 740px;
      margin: 0 auto 44px;
      text-align: center;
      color: #5f5249;
      font-size: 1.02rem;
      line-height: 1.75;
    }

    .chuseok-product-grid {
      width: min(1120px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }

    .chuseok-product-grid-compact {
      width: 100%;
      margin: 0;
    }

    .bangles-product-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chuseok-product-card {
      display: block;
      width: 100%;
      padding: 0;
      padding-bottom: 30px;
      margin: 0;
      border: 0;
      background: transparent;
      color: inherit;
      text-align: left;
      cursor: pointer;
    }

    .chuseok-product-card:hover {
      color: inherit;
    }

    .chuseok-product-card .product-title-row {
      align-items: baseline;
    }

    .chuseok-product-card .product-title {
      padding-top: 0;
    }

    .chuseok-product-card .image-container {
      aspect-ratio: 4 / 5;
    }

    .chuseok-featured-products {
      width: min(1120px, 100%);
      margin: 0 auto 44px;
    }

    .chuseok-featured-header {
      display: flex;
      justify-content: center;
      margin-bottom: 18px;
    }

    .chuseok-featured-header h3 {
      font-family: 'Didot', serif;
      font-size: clamp(1.3rem, 2vw, 1.8rem);
      font-weight: 400;
      color: #201915;
      letter-spacing: 0.04em;
    }

    .chuseok-featured-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }

    .chuseok-featured-card {
      display: grid;
      gap: 12px;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: pointer;
      text-align: left;
    }

    .chuseok-featured-card-image {
      display: block;
      overflow: hidden;
      border-radius: 0;
      aspect-ratio: 4 / 5;
      background: #ffffff;
      box-shadow: 0 22px 50px rgba(33, 25, 21, 0.14);
    }

    .chuseok-featured-card-image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease, filter 0.35s ease;
    }

    .chuseok-featured-card:hover .chuseok-featured-card-image img {
      transform: scale(1.04);
      filter: saturate(1.02);
    }

    .chuseok-featured-card-meta {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      padding: 0 4px;
      color: #201915;
    }

    .chuseok-featured-card-name,
    .chuseok-featured-card-price {
      font-size: 1rem;
      line-height: 1.2;
    }

    .chuseok-featured-card-name {
      font-family: 'Didot', serif;
      font-size: 1.15rem;
      font-weight: 400;
    }

    .chuseok-featured-card-price {
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.03em;
    }

    .chuseok-carousel-stage {
      position: relative;
      padding-bottom: 62px;
    }

    .chuseok-carousel-shell {
      position: relative;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 18px;
      margin-top: 8px;
      z-index: 2;
    }

    .chuseok-carousel-tray {
      position: relative;
      z-index: 1;
      width: min(980px, 94%);
      margin: -86px auto 0;
      pointer-events: none;
      filter: drop-shadow(0 18px 30px rgba(40, 29, 22, 0.18));
    }

    .chuseok-carousel-tray img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .chuseok-carousel-viewport {
      position: relative;
      min-height: clamp(520px, 64vw, 760px);
      perspective: 1800px;
      overflow: hidden;
    }

    .chuseok-carousel-track {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
    }

    .chuseok-carousel-card {
      position: absolute;
      top: 50%;
      left: 50%;
      width: min(100%, 330px);
      padding: 0;
      border: 0;
      border-radius: 28px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(248, 241, 235, 0.34));
      border: 1px solid rgba(255, 255, 255, 0.38);
      box-shadow: 0 28px 70px rgba(33, 25, 21, 0.16);
      transform-style: preserve-3d;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease, box-shadow 0.35s ease;
      backdrop-filter: blur(10px);
    }

    .chuseok-carousel-card-inner {
      position: relative;
      display: block;
      width: 100%;
      height: 100%;
      transform: translateY(0) scale(1);
      transition: transform 0.35s ease, filter 0.35s ease;
      transform-style: preserve-3d;
    }

    .chuseok-carousel-card:hover .chuseok-carousel-card-inner {
      transform: translateY(-10px) scale(1.02);
    }

    .chuseok-carousel-card[data-offset="0"]:hover .chuseok-carousel-card-inner {
      transform: translateY(-14px) scale(1.04);
    }

    .chuseok-carousel-card img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      transform: scale(1.01);
    }

    .chuseok-carousel-card-glow {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(25,20,18,0.14) 100%);
      pointer-events: none;
      z-index: 1;
    }

    .chuseok-carousel-meta {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 12px;
      padding: 18px 20px 16px;
      color: #ffffff;
      text-align: left;
    }

    .chuseok-carousel-name {
      font-family: 'Didot', serif;
      font-size: 1.08rem;
      font-weight: 400;
      line-height: 1.1;
      text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    }

    .chuseok-carousel-price {
      font-size: 0.98rem;
      letter-spacing: 0.02em;
      text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    }

    .chuseok-carousel-card[data-offset="0"] {
      opacity: 1;
      z-index: 4;
      pointer-events: auto;
      transform: translate3d(-50%, -50%, 120px) scale(1);
    }

    .chuseok-carousel-card[data-offset="1"] {
      opacity: 0.9;
      z-index: 3;
      transform: translate3d(calc(-50% + 240px), -50%, 0) rotateY(-36deg) scale(0.84);
    }

    .chuseok-carousel-card[data-offset="-1"] {
      opacity: 0.9;
      z-index: 3;
      transform: translate3d(calc(-50% - 240px), -50%, 0) rotateY(36deg) scale(0.84);
    }

    .chuseok-carousel-card[data-offset="2"] {
      opacity: 0.42;
      z-index: 2;
      pointer-events: none;
      filter: blur(1px);
      transform: translate3d(calc(-50% + 430px), -50%, -160px) rotateY(-50deg) scale(0.72);
    }

    .chuseok-carousel-card[data-offset="-2"] {
      opacity: 0.42;
      z-index: 2;
      pointer-events: none;
      filter: blur(1px);
      transform: translate3d(calc(-50% - 430px), -50%, -160px) rotateY(50deg) scale(0.72);
    }

    .chuseok-carousel-card[data-offset="3"],
    .chuseok-carousel-card[data-offset="-3"] {
      opacity: 0;
      pointer-events: none;
      transform: translate3d(-50%, -50%, -260px) scale(0.6);
    }

    .chuseok-carousel-card.is-active {
      box-shadow: 0 34px 80px rgba(33, 25, 21, 0.22);
    }

    .chuseok-carousel-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
      pointer-events: none;
    }

    .chuseok-carousel-card:focus-visible,
    .chuseok-carousel-arrow:focus-visible,
    .chuseok-modal-close:focus-visible,
    .chuseok-button-primary:focus-visible,
    .chuseok-button-secondary:focus-visible {
      outline: 2px solid #b38c70;
      outline-offset: 3px;
    }

    .chuseok-carousel-arrow {
      width: 46px;
      height: 46px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(33, 25, 21, 0.12);
      background: rgba(255, 255, 255, 0.88);
      color: #201915;
      box-shadow: 0 12px 30px rgba(33, 25, 21, 0.12);
      z-index: 5;
    }

    .chuseok-carousel-arrow:hover {
      background: #fffdf9;
      color: #7d6253;
    }

    .chuseok-modal {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: grid;
      place-items: center;
      padding: 24px;
    }

    .chuseok-modal[hidden] {
      display: none;
    }

    .chuseok-modal.is-open {
      animation: chuseokModalFade 0.28s ease;
    }

    .chuseok-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 11, 9, 0.5);
      backdrop-filter: blur(7px);
    }

    .chuseok-modal-card {
      position: relative;
      z-index: 1;
      width: min(980px, 100%);
      max-height: min(90vh, 900px);
      overflow: auto;
      display: grid;
      grid-template-columns: 1.15fr 0.95fr;
      background: #ffffff;
      border-radius: 0;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
    }

    .chuseok-modal-media {
      min-height: 100%;
      background: #ffffff;
      padding: 22px 22px 18px;
      display: block;
    }

    .chuseok-modal-gallery {
      display: grid;
      gap: 14px;
      overflow-y: auto;
      overscroll-behavior: contain;
      max-height: calc(90vh - 88px);
      padding-right: 6px;
    }

    .chuseok-modal-gallery-item {
      overflow: hidden;
      background: #ffffff;
    }

    .chuseok-modal-gallery-item img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .chuseok-modal-content {
      padding: 40px 38px 34px;
      display: flex;
      flex-direction: column;
      gap: 18px;
      background: #ffffff;
    }

    .chuseok-modal-kicker {
      text-transform: uppercase;
      letter-spacing: 0.24em;
      font-size: 0.72rem;
      color: #111111;
    }

    .chuseok-modal-content h3 {
      font-family: 'Didot', serif;
      font-size: clamp(2rem, 3vw, 3rem);
      font-weight: 400;
      color: #201915;
      text-align: center;
    }

    .chuseok-modal-price {
      font-size: 1.15rem;
      color: #111111;
    }

    .chuseok-modal-description {
      text-align: left;
      line-height: 1.85;
      color: #111111;
      font-size: 1rem;
    }

    .chuseok-modal-notes {
      list-style: none;
      display: grid;
      gap: 10px;
      margin-top: 4px;
    }

    .chuseok-modal-notes li {
      position: relative;
      padding-left: 0;
      color: #111111;
      line-height: 1.65;
    }

    .chuseok-modal-notes li::before {
      content: none;
    }

    .chuseok-modal-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 8px;
      justify-content: center;
    }

    .chuseok-button-primary,
    .chuseok-button-secondary {
      margin: 0;
      padding: 14px 20px;
      border-radius: 999px;
      font-size: 0.98rem;
      min-width: 150px;
      text-align: center;
    }

    .chuseok-button-primary {
      width: auto;
      aspect-ratio: auto;
      padding: 13px 24px;
      min-width: 154px;
      border: 1px solid rgba(33, 25, 21, 0.45);
      border-radius: 999px;
      background-color: rgba(255, 255, 255, 0.16);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #111111;
      display: inline-flex;
      position: relative;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-family: 'Didot', serif;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      line-height: 1;
      box-shadow: none;
    }

    .chuseok-button-primary:hover {
      background-color: rgba(255, 255, 255, 0.34);
      transform: translateY(-1px);
    }

    .chuseok-button-primary:active {
      transform: translateY(0);
    }

    .chuseok-modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: auto;
      height: auto;
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: #111111;
      font-size: 1.6rem;
      line-height: 1;
      box-shadow: none;
    }

    @keyframes chuseokModalFade {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .chuseok-fade-in {
      opacity: 0;
      transform: translateY(24px);
      animation: chuseokFadeIn 0.8s ease forwards;
    }

    @keyframes chuseokFadeIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 900px) {
      .chuseok-editorial-grid,
      .chuseok-editorial-grid-reverse {
        grid-template-columns: 1fr;
      }

      .chuseok-editorial-image-panel {
        position: static;
      }

      .chuseok-product-card-featured {
        width: 100%;
      }

      .chuseok-side-gallery {
        grid-template-columns: 1fr;
      }

      .chuseok-side-card {
        min-height: 300px;
      }

      .chuseok-product-grid {
        grid-template-columns: 1fr;
      }

      .chuseok-product-grid-compact {
        grid-template-columns: 1fr;
      }

      .bangles-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .chuseok-modal-card {
        grid-template-columns: 1fr;
      }

      .chuseok-modal-media {
        padding-bottom: 8px;
      }
    }

    @media (max-width: 768px) {
      .chuseok-hero {
        padding-top: 120px;
        min-height: auto;
      }

      .chuseok-editorial-section {
        padding-bottom: 72px;
      }

      .chuseok-products {
        padding-bottom: 80px;
      }

      .chuseok-featured-grid {
        gap: 18px;
      }

      .chuseok-modal-content {
        padding: 28px 22px 26px;
      }

      .chuseok-modal-image-shell {
        min-height: 260px;
      }

      .chuseok-modal-thumbnail-rail {
        max-height: 260px;
      }

      .chuseok-button-primary,
      .chuseok-button-secondary {
        width: 100%;
      }

      .chuseok-featured-grid {
        grid-template-columns: 1fr;
      }
    }

/* ================= RESPONSIVE FOUNDATION ================= */
img,
video {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Keep the home editorial images inside the viewport at every width. */
.campaign-home-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.campaign-home .image-container {
  min-width: 0;
  max-width: none;
  flex: none;
}

.campaign-home-pic {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .campaign-home-images {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .campaign-home-pic {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .campaign {
    width: min(100%, 720px);
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .campaign-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding-top: 0;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 62svh;
    min-height: 390px;
    padding-top: 0;
  }

  .overlay-content {
    width: min(92%, 420px);
  }

  .overlay-content h1 {
    font-size: clamp(1.8rem, 9vw, 2.7rem) !important;
    line-height: 1.05;
  }

  .btn {
    display: inline-block;
    padding: 13px 24px;
  }

  .products {
    padding: 48px 16px;
    gap: 28px;
  }

  .products-header {
    padding: 72px 16px 36px;
  }

  .product-title-row {
    gap: 8px;
    align-items: flex-start;
  }

  .product-title,
  .product-price {
    overflow-wrap: anywhere;
  }

  .product-page {
    margin-top: 64px;
  }

  .product-left,
  .product-right {
    padding: 16px;
  }

  #productName {
    margin-top: 24px;
  }

  .image-gallery img {
    width: 82vw;
  }

  .chuseok-modal {
    padding: 12px;
  }

  .chuseok-modal-card {
    max-height: calc(100svh - 24px);
  }

  .chuseok-modal-actions .chuseok-button-primary {
    width: auto;
    min-width: 154px;
  }

  .instagram-footer {
    height: 132px;
  }
}
