﻿@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "Instrument Serif Italic";
  src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 700;
}

:root {
  /* Color system */
  --color-navy: #081f5c;
  --color-sky: #6abae8;
  --color-sky-40: #c3e3f6;
  --color-text: #333333;
  --color-muted: #aaaaaa;
  --color-light-muted: #d9d9d9;
  --color-white: #ffffff;
  --color-image-bg: #f7f7f7;
  --color-green: #4abf66;

  /* Typography */
  --font-serif: "Instrument Serif", serif;
  --font-serif-italic: "Instrument Serif Italic", serif;
  --font-inter: "Inter", sans-serif;

  /* Spacing and sizing */
  --container-width: 1248px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-28: 28px;
  --space-30: 30px;
  --space-32: 32px;
  --space-34: 34px;
  --space-36: 36px;
  --space-38: 38px;
  --space-40: 40px;
  --space-42: 42px;
  --space-44: 44px;
  --space-46: 46px;
  --space-48: 48px;

  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter);
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.2;
  overflow-x: hidden;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col {
  flex: 1 0 0%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

textarea {
  /* Firefox */
  scrollbar-width: none;

  /* IE/Edge (old) */
  -ms-overflow-style: none;
}

/* Chrome, Safari */
textarea::-webkit-scrollbar {
  display: none;
}

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-80 {
  margin-top: 80px;
}

/* Header Container */
.header-container {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-32);
}

/* Header top utility */
.top-utility {
  background: var(--color-navy);
  color: var(--color-white);
}

.utility-wrap {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-32);
}

.utility-nav a {
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 18px;
  font-weight: 500;
}

.live-help {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 14px;
  font-weight: 600;
}

.live-help {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
}

.live-help img {
  width: 14px;
  height: 14px;
}

.responsive-utility-links {
  display: none;
  align-items: center;
  gap: 40px;
}

/* Main header */
.main-header {
  padding: var(--space-12) 0 var(--space-8) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 84px;
}

.brand img {
  width: 100%;
  height: auto;
}

.search-and-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-22);
  flex: 1;
  padding: var(--space-22) 0 9px 0;
}

.search-form {
  border: 2px solid var(--color-muted);
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: var(--space-12);
  max-width: 400px;
  flex: 1;
  position: relative;
}

.search-form input {
  border: 0;
  outline: 0;
  height: 100%;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  padding-right: var(--space-32);
}

.search-form input::placeholder {
  color: var(--color-muted);
  font-weight: 500;
}

.search-form-search-icon {
  width: 26px;
  height: 26px;
  position: absolute;
  right: var(--space-12);
}

.search-form-search-icon-dark {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  justify-self: end;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.header-link img {
  width: 15px;
  height: 15px;
}

.header-link.help-link img {
  width: 20px;
  height: 20px;
}

.header-link.help-link strong {
  color: var(--color-sky);
  font-weight: 700;
}

.header-link.help-link {
  margin-right: var(--space-16);
}

.account-cart-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.icon-action {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.menu-action {
  display: none;
}

.menu-wrapper {
  position: relative;
}

.mobile-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-muted);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 150px;
  max-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-dropdown.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  margin: 0;
  border-bottom: 1px solid var(--color-sky-40);
  padding: var(--space-8) var(--space-12);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-menu-list li:hover {
  background: var(--color-sky-40);
  padding-left: var(--space-20);
}

.mobile-menu-list li:first-child:hover {
  border-radius: 8px 8px 0 0;
}

.mobile-menu-list li:last-child:hover {
  border-radius: 0 0 8px 8px;
}

.cart-action {
  width: 30px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

/* Category navigation */
.category-nav-container {
  display: flex;
}

.category-nav-wrap {
  border-top: 1px solid var(--color-muted);
  border-bottom: 1px solid var(--color-muted);
  overflow-x: auto;
  flex: 1;

  /* Firefox */
  scrollbar-width: none;

  /* IE/Edge (old) */
  -ms-overflow-style: none;
}

/* Chrome, Safari */
.category-nav-wrap::-webkit-scrollbar {
  display: none;
}

.category-nav-wrap ul {
  display: grid;
  grid-template-columns: repeat(9, auto);
}

.category-nav-wrap li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-12);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-align: center;
  min-width: fit-content;
  white-space: nowrap;
}

.all-products-dropdown .all-products-title {
  padding: var(--space-8) var(--space-12);
  background: var(--color-sky-40);
  gap: var(--space-10);
  display: inline-flex;
  width: fit-content;
  justify-content: space-between;
  color: var(--color-text);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}

.all-products-dropdown .all-products-title img {
  width: 12px;
}

/* Products Dropdown */
.header-main-wrap {
  position: relative;
}

.products-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-muted);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 180px;
  max-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999999;
  padding: 0;
  margin: 0;
  list-style: none;
}

.products-dropdown.active {
  opacity: 1;
  visibility: visible;
}

.all-products-dropdown img {
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .all-products-dropdown:hover img {
    transform: rotate(180deg);
  }

  .all-products-dropdown:hover .products-dropdown {
    opacity: 1;
    visibility: visible;
  }

  .menu-wrapper:hover .mobile-menu-dropdown {
    opacity: 1;
    visibility: visible;
  }
}

.products-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-direction: column !important;
}

.products-dropdown-list li {
  margin: 0;
  border-bottom: 1px solid var(--color-sky-40);
}

.products-dropdown-list li:last-child {
  border-bottom: none;
}

.products-dropdown-list li a {
  display: block;
  padding: var(--space-8) var(--space-12);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-align: left;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.products-dropdown-list li a:hover {
  background: var(--color-sky-40);
  padding-left: var(--space-20);
}

.products-dropdown-list li:last-child a:hover {
  border-radius: 0 0 8px 8px;
}

/* Responsive - Dropdown adjustments for smaller screens */
@media (max-width: 640px) {
  .products-dropdown {
    min-width: 180px;
    max-width: 220px;
  }

  .products-dropdown-list li a {
    padding: var(--space-10) var(--space-12);
    font-size: 11px;
  }

  .products-dropdown-list li a:hover {
    padding-left: var(--space-16);
  }
}

/* Hero */
.hero {
  background: url("../images/hero-section-bg.svg") center top / cover no-repeat;
}

.hero-content {
  min-height: 517px;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(58px, 6.1vw, 88px);
  line-height: 1.04;
  font-weight: 700;
  max-width: 540px;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  color: var(--color-sky);
  font-family: var(--font-serif-italic);
  font-weight: 700;
}

/* Promo strip */
.promo-bar {
  background: var(--color-sky);
  padding: var(--space-8) 0;
}

.promo-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  max-width: 800px;
}

.promo-wrap img {
  width: 26px;
  height: 26px;
}

.promo-wrap p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.promo-wrap p span {
  color: #e8f6ff;
}

/* Best Sellers Section */
.best-sellers {
  margin-top: 64px;
  margin-bottom: 100px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-18);
}

.best-sellers .product-grid,
.custom-personalization-step-left-content .product-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(192px, 1fr));
  row-gap: var(--space-22);
  column-gap: var(--space-16);
}

.best-sellers .product-grid .product-card,
.custom-personalization-step-left-content .product-grid .product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 100%;
}

.best-sellers .product-grid .product-image-wrap,
.custom-personalization-step-left-content .product-grid .product-image-wrap {
  border-radius: 10px;
  width: 100%;
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-image-bg);
}

.best-sellers .product-grid .product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.best-sellers .product-grid .product-name,
.custom-personalization-step-left-content .product-grid .product-name {
  font-size: 14px;
  font-weight: 500;
}

.best-sellers .product-grid .product-price {
  font-size: 14px;
  font-weight: 700;
}

.best-sellers .shop-all-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.best-sellers .best-sellers-decor-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.best-sellers .best-sellers-decor-wrap img {
  width: 100%;
  object-fit: cover;
}

.best-sellers .best-sellers-decor-wrap .view-product-link {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: underline;
  color: var(--color-white);
  font-size: 18px;
}

/* Featured Products */
.featured-products {
  display: flex;
  align-items: center;
  gap: var(--space-48);
  margin-bottom: 96px;
  padding-block: 64px;
  border-top: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
}

.featured-products-left-decor {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-48);
}

.featured-products-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.featured-products-title {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
}

.featured-products-description {
  font-size: 18px;
}

.featured-products-slider-progress {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.slider-progress-bar {
  display: inline-block;
  width: 300px;
  height: 1.5px;
  background-color: var(--color-sky);
  position: relative;
}

.slider-progress-bar-fill {
  display: block;
  height: 4px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: var(--color-navy);
  transition: left 0.3s ease;
}

.featured-products-slider-next {
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky);
  background-color: var(--color-white);
  cursor: pointer;
}

.featured-products-slider-next:hover {
  background-color: var(--color-sky-40);
}

.featured-product-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--color-navy);
  padding-inline: var(--space-18);
  padding-bottom: var(--space-22);
}

.featured-product-item-new {
  background-color: var(--color-sky);
  color: var(--color-white);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 19px 11px 19px;
  letter-spacing: 0.05em;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.featured-product-item-title {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-product-item-image {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 135px;
  object-fit: contain;
}

.featured-product-item-info {
  display: flex;
  align-items: flex-end;
  width: 100%;
  justify-content: space-between;
}

.featured-product-item-price-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.featured-product-item-price {
  font-size: 14px;
  font-weight: 700;
}

.featured-product-item-price-description {
  font-size: 12px;
}

.featured-product-item-shop-link {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: underline;
  letter-spacing: 0.03em;
}

/* Our Features */
.our-features {
  background-color: var(--color-navy);
  border-radius: 10px;
  padding: var(--space-40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 96px;
}

.features-container {
  width: 100%;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-32);
  place-items: center;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  flex: 1 1 200px;
  max-width: 210px;
  min-width: 190px;
}

.feature-title {
  letter-spacing: 0.06em;
  text-align: center;
}

.feature-description {
  font-size: 14px;
  text-align: center;
  font-weight: 100;
}

.feature-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  color: var(--color-sky);
}

/* Time to remember */
.time-to-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-48);
  margin-bottom: 96px;
}

.time-to-remember-decor-left {
  width: 50%;
}

.time-to-remember-decor-left img {
  width: 100%;
  height: auto;
}

.time-to-remember-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: center;
}

.time-to-remember-title {
  font-family: var(--font-serif);
  color: var(--color-sky);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
}

#time-to-remember-slider .owl-item {
  display: flex;
  justify-content: center;
}

#time-to-remember-slider .owl-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 var(--space-16);
}

#time-to-remember-slider .owl-nav button {
  border: 2px solid var(--color-sky);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky);
  font-size: 26px;
}

#time-to-remember-slider .owl-nav button:hover {
  background-color: var(--color-sky);
  color: var(--color-white);
}

#time-to-remember-slider .owl-nav button span {
  height: 34px;
}

.time-to-remember-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  align-items: center;
  max-width: 420px;
}

.time-to-remember-item-description {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
}

.time-to-remember-item-image {
  width: auto;
  height: auto;
  max-width: 304px;
  max-height: 238px;
  object-fit: contain;
}

.time-to-remember-item-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-serif-italic);
  color: var(--color-sky);
}

.time-to-remember-item-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  letter-spacing: 0.03em;
}

/* View Products  */
.view-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-32);
  margin-bottom: 64px;
  background: url("../images/tallit-shawl.svg") center top / cover no-repeat;
  height: 506px;
}

.view-products .view-products-title {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(32px, 5vw, 84px);
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
}

.view-products .view-products-title span {
  font-family: var(--font-serif-italic);
}

.view-products .view-products-link {
  padding: 11px 28px;
  color: var(--color-white);
  background-color: var(--color-sky);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  text-transform: uppercase;
}

/* Product Guide */
.product-guide {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  margin-bottom: 96px;
}

.product-guide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-32);
  padding: var(--space-42);
  background-color: var(--color-sky);
  border-radius: 10px;
  color: var(--color-white);
}

.product-guide-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
  max-width: 620px;
}

.product-guide-link {
  text-decoration: underline;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.product-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr)) minmax(160px, 200px);
  gap: var(--space-48);
  width: 100%;
}

.product-guide-step {
  display: flex;
  gap: var(--space-16);
  align-items: center;
}

.product-guide-step-number {
  font-size: var(--space-42);
  font-weight: 500;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  border-radius: 50%;
  min-width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-guide-step-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-guide-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
}

.product-guide-step-description {
  font-size: var(--space-12);
  color: var(--color-muted);
}

.product-guide-button-step {
  align-self: center;
}

.product-guide-step-button {
  padding: var(--space-12) var(--space-40);
  background-color: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-transform: uppercase;
}

/* Follow us on Instagram */
.follow-instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: 132px;
}

.follow-instagram .follow-instagram-title {
  font-size: 48px;
  font-family: var(--font-serif);
  color: var(--color-sky);
  padding-block: var(--space-32);
}

.follow-instagram-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-16);
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-46) 0;
}

.footer-content,
.footer-bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-content {
  padding-bottom: var(--space-32);
}

.footer-bottom {
  padding-top: var(--space-32);
  border-top: 2px solid var(--color-white);
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-42);
}

.footer-logo {
  width: 148px;
  height: auto;
}

.footer-contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 300px;
}

.newsletter-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-white);
  border-radius: 7px;
  padding: var(--space-12) var(--space-22);
  background-color: var(--color-navy);
  width: 100%;
}

.newsletter-input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-white);
  font-size: 12px;
  flex: 1;
  padding-right: var(--space-4);
}

.newsletter-input::placeholder {
  color: var(--color-white);
}

.newsletter-submit {
  background-color: var(--color-navy);
  border: none;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  align-self: flex-end;
  margin-bottom: 8px;
}

.footer-social-links .social-link {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-links .social-link img {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-links-list li a {
  font-size: 16px;
  color: var(--color-white);
}

.footer-bottom span {
  font-size: 12px;
  line-height: 14px;
}

@media (max-width: 1100px) {
  .utility-wrap {
    min-height: 52px;
    gap: 18px;
    justify-content: space-between;
  }

  .utility-nav {
    display: none;
  }

  .responsive-utility-links {
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex: 1; */
    gap: 44px;
  }

  .responsive-utility-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
  }

  .responsive-utility-link strong {
    color: var(--color-sky);
  }

  .responsive-utility-link img,
  .top-utility .live-help img {
    filter: brightness(0) invert(1);
  }

  .top-utility .live-help {
    color: var(--color-white);
    font-size: 12px;
    flex-shrink: 0;
  }

  .main-header {
    padding: 24px 0 22px 0;
    gap: 28px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .search-and-actions {
    width: auto;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-top: 0;
  }

  .search-form {
    border: none;
    padding: 0;
    width: 22px;
    min-width: 22px;
    max-width: 22px;
  }

  .search-form input {
    display: none;
  }

  .search-form-search-icon {
    display: none;
  }

  .search-form-search-icon-dark {
    display: block;
  }

  .header-actions>.shipping-link,
  .header-actions>.help-link {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .menu-action {
    display: inline-flex;
  }

  .menu-action img {
    width: 28px;
    height: 28px;
  }

  .brand img {
    width: 80px;
  }

  .footer-bottom {
    gap: var(--space-12);
  }
}

@media (max-width: 960px) {
  .footer-content {
    flex-direction: column;
    align-items: start;
    gap: var(--space-32);
  }

  .footer-company-info {
    flex-direction: row;
    width: 100%;
  }

  .footer-contact-info {
    height: 100%;
    align-items: flex-end;
  }

  .footer-links {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .utility-wrap {
    min-height: 46px;
    gap: 12px;
  }

  .responsive-utility-links {
    gap: 16px;
  }

  .responsive-utility-link,
  .top-utility .live-help {
    font-size: 10px;
  }

  .brand img {
    width: 80px;
  }

  .main-header {
    padding: 18px 0 16px 0;
  }

  .header-actions {
    gap: 12px;
  }

  .menu-action img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container-width), calc(100% - 28px));
  }

  .header-container {
    margin-bottom: 12px;
  }

  .top-utility {
    display: block;
  }

  .utility-wrap {
    min-height: 42px;
    gap: 10px;
    padding: 0;
  }

  .responsive-utility-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* flex: 1; */
    gap: 14px;
    min-width: 0;
  }

  .responsive-utility-link,
  .top-utility .live-help {
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .responsive-utility-link img,
  .top-utility .live-help img {
    width: 12px;
    height: 12px;
  }

  .top-utility .live-help {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .main-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 14px;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand img {
    width: 80px;
  }

  .search-and-actions {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    flex: 0 0 auto;
  }

  .search-form {
    border: none;
    padding: 0;
    width: 24px;
    min-width: 24px;
    max-width: 24px;
  }

  .search-form input {
    display: none;
  }

  .header-actions {
    gap: 14px;
    flex-wrap: nowrap;
  }

  .icon-action img {
    width: 24px;
    height: 24px;
  }

  .cart-action {
    width: 28px;
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -5px;
    right: -6px;
  }

  .menu-action {
    display: inline-flex;
  }

  .menu-action img {
    width: 28px;
    height: 28px;
  }

  .hero {
    background-position: center top;
  }

  .hero-content {
    min-height: 250px;
    align-items: flex-start;
    padding-top: 12px;
  }

  .hero h1 {
    font-size: 52px;
    max-width: 250px;
    line-height: 0.98;
  }

  .promo-bar {
    padding: 6px 0;
  }

  .promo-wrap {
    gap: 8px;
    justify-content: center;
  }

  .promo-wrap img {
    width: 12px;
    height: 12px;
  }

  .promo-wrap p {
    font-size: 8px;
    gap: 4px;
    letter-spacing: 0.04em;
    flex-wrap: wrap;
  }

  .best-sellers {
    margin-top: 20px;
    margin-bottom: 40px;
    flex-direction: column;
    gap: 18px;
  }

  .best-sellers .product-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 18px;
  }

  .best-sellers .product-grid .product-card {
    gap: 8px;
  }

  .best-sellers .product-grid .product-image-wrap {
    height: 110px;
  }

  .best-sellers .product-grid .product-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .best-sellers .product-grid .product-name,
  .best-sellers .product-grid .product-price {
    font-size: 10px;
    line-height: 1.25;
  }

  .best-sellers .shop-all-link {
    font-size: 10px;
  }

  .best-sellers .best-sellers-decor-wrap .view-product-link {
    bottom: 12px;
    font-size: 12px;
  }

  .featured-products {
    gap: 18px;
    margin-bottom: 40px;
    padding-block: 26px;
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-products-left-decor {
    width: 100%;
    gap: 18px;
  }

  .featured-products-title {
    font-size: 32px;
  }

  .featured-products-description {
    font-size: 11px;
    max-width: 100%;
  }

  .slider-progress-bar {
    width: 150px;
  }

  .featured-products-slider-next {
    width: 28px;
    height: 28px;
  }

  .featured-product-item {
    gap: 8px;
    padding-inline: 10px;
    padding-bottom: 14px;
  }

  .featured-product-item-new {
    font-size: 10px;
    padding: 6px 12px 8px;
  }

  .featured-product-item-title {
    font-size: 11px;
    min-height: 28px;
  }

  .featured-product-item-image {
    max-width: 110px;
    max-height: 84px;
  }

  .featured-product-item-price,
  .featured-product-item-shop-link {
    font-size: 10px;
  }

  .featured-product-item-price-description {
    font-size: 8px;
  }

  .our-features {
    padding: 0;
    margin-bottom: 40px;
    border-radius: 10px;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-card {
    max-width: none;
    width: 100%;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .feature-card img {
    width: 30px;
    height: 30px;
  }

  .feature-title {
    font-size: 24px;
  }

  .feature-description {
    font-size: 11px;
    max-width: 200px;
  }

  .feature-link {
    font-size: 10px;
  }

  .time-to-remember {
    margin-bottom: 40px;
    gap: 18px;
    flex-direction: column;
  }

  .time-to-remember-decor-left,
  .time-to-remember-content {
    width: 100%;
  }

  .time-to-remember-title {
    font-size: 30px;
  }

  .time-to-remember-item {
    gap: 14px;
  }

  .time-to-remember-item-image {
    max-width: 165px;
    max-height: 130px;
  }

  .time-to-remember-item-title {
    font-size: 28px;
  }

  .time-to-remember-item-description {
    font-size: 11px;
    max-width: 250px;
  }

  .time-to-remember-item-link {
    font-size: 10px;
  }

  #time-to-remember-slider .owl-nav {
    padding: 0 8px;
  }

  #time-to-remember-slider .owl-nav button {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .view-products {
    height: 220px;
    gap: 14px;
    margin-bottom: 28px;
  }

  .view-products .view-products-title {
    font-size: 34px;
    max-width: 220px;
  }

  .view-products .view-products-link {
    font-size: 10px;
    padding: 8px 14px;
  }

  .product-guide {
    gap: 18px;
    margin-bottom: 36px;
  }

  .product-guide-content {
    gap: 18px;
    padding: 18px 14px;
  }

  .product-guide-title {
    font-size: 26px;
    max-width: 220px;
  }

  .product-guide-link {
    font-size: 10px;
  }

  .product-guide-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-guide-step {
    gap: 10px;
    align-items: center;
  }

  .product-guide-step-number {
    min-width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .product-guide-step-title {
    font-size: 10px;
  }

  .product-guide-step-description {
    font-size: 8px;
  }

  .product-guide-button-step {
    justify-self: center;
  }

  .product-guide-step-button {
    font-size: 10px;
    padding: 8px 20px;
  }

  .follow-instagram {
    margin-bottom: 36px;
    gap: 8px;
  }

  .follow-instagram .follow-instagram-title {
    font-size: 32px;
    padding-block: 10px;
  }

  .follow-instagram-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer {
    padding: 30px 0 50px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo social"
      "links links"
      "newsletter newsletter";
    gap: 28px 18px;
    padding-bottom: 22px;
    align-items: start;
  }

  .footer-company-info,
  .footer-contact-info {
    display: contents;
  }

  .footer-logo {
    width: 118px;
    grid-area: logo;
  }

  .footer-company-info {
    gap: 0;
    width: auto;
  }

  .footer-contact-info {
    width: auto;
    gap: 0;
  }

  .footer-social-links {
    grid-area: social;
    align-self: flex-start;
    margin-bottom: 0;
    gap: 10px;
  }

  .footer-social-links .social-link {
    width: 42px;
    height: 42px;
  }

  .footer-social-links .social-link img {
    width: 18px;
    height: 18px;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    grid-area: links;
  }

  .footer-links-list {
    gap: 14px;
  }

  .footer-links-list:nth-child(2) {
    display: none;
  }

  .footer-links-list li a {
    font-size: 14px;
    line-height: 1.25;
  }

  .newsletter-form {
    width: 100%;
    grid-area: newsletter;
  }

  .newsletter-label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .newsletter-input {
    font-size: 12px;
  }

  .newsletter-input-wrap {
    padding: 12px 16px;
    border-radius: 6px;
  }

  .newsletter-submit img {
    width: 20px;
    height: 20px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 18px;
  }

  .footer-bottom span {
    font-size: 11px;
    line-height: 1.35;
  }

  .footer-bottom-credit strong {
    font-size: 13px;
  }
}

/* Product Page */
.product-page {
  margin-bottom: 96px;
}

.product-page-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.product-filters-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-14);
}

.filter-group {
  border-top: 1px solid #dddddd;
}

.filter-group:last-of-type {
  border-bottom: 1px solid #dddddd;
}

.filter-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: 12px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #4f4f4f;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "+";
  font-size: 16px;
  color: #7a7a7a;
}

.filter-group[open] summary::after {
  content: "-";
}

.filter-submenu {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: 0 0 var(--space-12) var(--space-10);
}

.filter-submenu a {
  font-size: 12px;
  color: #9c9c9c;
}

.filter-submenu a.active {
  color: var(--color-text);
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b7b7b7;
  font-size: 14px;
  margin-bottom: 30px;
}

.product-breadcrumb img {
  width: 10px;
  height: 10px;
}

.product-breadcrumb span {
  color: var(--color-text);
  font-weight: 600;
}

.product-content-top {
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 6px 0 18px;
  margin-bottom: 8px;
}

.product-page-intro {
  margin-bottom: 24px;
}

.product-page-title {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(42px, 4vw, 62px);
  line-height: 0.95;
  font-weight: 700;
  margin-bottom: var(--space-16);
}

.product-page-description {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.35;
}

.product-feature-callout {
  background: #eff4f7;
  border-radius: 10px;
  padding: 44px 54px 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: var(--space-24);
  margin-bottom: 38px;
}

.product-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-20);
  text-align: center;
}

.product-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
}

.product-feature-circle {
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.solid-suede {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.08), transparent 40%), #5caed7;
}

.two-tone-suede {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 35%),
    conic-gradient(from 45deg,
      #0c3d86 0 25%,
      #73bddf 25% 50%,
      #0c3d86 50% 75%,
      #73bddf 75% 100%);
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  margin-bottom: 26px;
}

.view-toggle,
.sort-toggle {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b7b7b7;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.view-toggle img,
.sort-toggle img {
  width: 11px;
  height: 11px;
}

.view-toggle-icon {
  width: 14px;
  height: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.view-toggle-icon span {
  border: 1px solid #c3c3c3;
}

.product-listing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 50px;
}

.product-listing .product-card {
  width: 100%;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-listing .product-image-wrap {
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.product-listing .product-image {
  width: auto;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.product-card-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-listing .product-name {
  font-size: 14px;
  font-weight: 500;
}

.product-listing .product-price {
  font-size: 14px;
  font-weight: 700;
}

.product-price-note {
  font-size: 12px;
  color: #767676;
}

.product-pagination {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-top: 16px;
}

.product-pagination a {
  font-size: 18px;
  font-family: var(--font-inter);
  font-weight: 400;
  line-height: 1;
  color: #b7b7b7;
}

.product-pagination a.active {
  color: var(--color-text);
}

/* Product Detail Page */
.product-detail-page {
  margin-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-detail-layout {
  grid-template-columns: 188px minmax(0, 1fr);
}

.product-detail-content {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.product-detail-mobile-intro,
.product-detail-mobile-price-row,
.mobile-approve-button,
.mobile-customize-tabs {
  display: none;
}

.product-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 340px);
  gap: 40px;
  align-items: start;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-detail-stage {
  position: relative;
  min-height: 430px;
  border: 1px solid #f0f0f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.product-detail-main-image {
  width: 100%;
  max-width: 520px;
  max-height: 260px;
  object-fit: contain;
}

.product-detail-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.product-detail-zoom img {
  width: 15px;
  height: 15px;
}

.product-detail-thumbs {
  display: flex;
  gap: 14px;
}

.product-thumb {
  width: 62px;
  height: 48px;
  border: 1px solid #efefef;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-thumb.active {
  border-color: #dadada;
}

.product-thumb img {
  max-width: 38px;
  max-height: 24px;
  object-fit: contain;
}

.product-detail-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-detail-category {
  font-size: 12px;
  color: #9b9b9b;
}

.product-detail-title {
  font-size: 28px;
  line-height: 1.1;
  color: var(--color-text);
}

.product-detail-sku {
  font-size: 12px;
  color: #8e8e8e;
  margin-top: -8px;
}

.product-detail-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-detail-price {
  font-size: 26px;
  font-weight: 700;
}

.product-detail-price-note {
  font-size: 12px;
  color: #6f6f6f;
}

.detail-label {
  font-size: 12px;
  font-weight: 700;
  color: #444444;
  letter-spacing: 0.03em;
}

.product-tier-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-row {
  display: grid;
  grid-template-columns: 1fr 74px;
  align-items: center;
  font-size: 12px;
  border: 1px solid #d8d8d8;
  min-height: 28px;
}

.tier-row span,
.tier-row strong {
  padding: 7px 10px;
}

.tier-row strong {
  background: #ececec;
  text-align: center;
}

.tier-row.active {
  border-color: #79bde5;
}

.tier-row.active strong {
  background: #79bde5;
  color: var(--color-white);
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #535353;
}

.product-detail-bullets ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 6px;
}

.product-detail-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-current-color,
.detail-side-link {
  font-size: 11px;
  color: #8ebfdb;
}

.detail-current-color-block {
  display: block;
  margin-top: -4px;
}

.qty-stepper {
  width: 86px;
  border: 1px solid #cbcbcb;
  display: grid;
  grid-template-columns: 1fr 18px;
  min-height: 28px;
  border-radius: 3px;
  overflow: hidden;
  background: #ffffff;
}

.qty-stepper input {
  border: none;
  background: transparent;
  font-size: 12px;
  color: #444444;
}

.qty-stepper input {
  width: 100%;
  padding: 0 8px;
  text-align: left;
}

.qty-stepper-controls {
  border-left: 1px solid #cbcbcb;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.qty-stepper-controls button {
  border: none;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #666666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.qty-stepper-controls button:first-child {
  border-bottom: 1px solid #cbcbcb;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.color-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.color-dot.active {
  outline: 1px solid #000;
  outline-offset: 2px;
}

.c1 {
  background: #7cc6e8;
}

.c2 {
  background: #7db5dc;
}

.c3 {
  background: #7da9c3;
}

.c4 {
  background: #6b947b;
}

.c5 {
  background: #6f8f66;
}

.c6 {
  background: #479cb2;
}

.c7 {
  background: #96b2d4;
}

.c8 {
  background: #4d7aa6;
}

.c9 {
  background: #1f5083;
}

.c10 {
  background: #24395f;
}

.c11 {
  background: #73256e;
}

.c12 {
  background: #bd2e38;
}

.c13 {
  background: #dc6449;
}

.c14 {
  background: #f07f30;
}

.c15 {
  background: #efbf3d;
}

.c16 {
  background: #f4de54;
}

.product-detail-options select {
  height: 30px;
  border: 1px solid #cbcbcb;
  background: #ffffff;
  padding: 0 12px;
  font-size: 12px;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 8px 18px;
  border-radius: 5px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.button-light {
  background: #79bde5;
  color: var(--color-white);
}

.button-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.button-personalize {
  min-height: 48px;
  gap: 8px;
  color: var(--color-navy);
  font-size: 12px;
}

.button-edit-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  position: relative;
  transform: rotate(-42deg);
}

.button-edit-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 9px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
}

.button-edit-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 0;
  height: 0;
  border-top: 1.5px solid transparent;
  border-bottom: 1.5px solid transparent;
  border-right: 3px solid var(--color-navy);
}

.button-add-cart {
  min-height: 52px;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.button-subtitle {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.button-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button-full {
  width: 100%;
}

.product-detail-customize {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail-promo-bar {
  min-height: 44px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.product-detail-promo-bar img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.promo-bar-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.promo-accent {
  color: var(--color-sky);
}

.product-customize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.inside-personalization-container,
.outside-personalization-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.occasion-personalization-options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.occasion-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.remove-logo-button {
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--color-sky);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.remove-logo-button:hover {
  opacity: 0.7;
}

.occasion-select {
  border: 2px solid var(--color-text);
  background: #ffffff;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 5px;
  width: 210px;
  max-width: 220px;
}

.personalization-occasion-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.personalization-occasion-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  flex-wrap: wrap;
  width: 97%;
}

.personalization-logo-option {
  padding: 2px 20px;
  border: 1px solid var(--color-text);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inside-personalization-container .info-container {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.inside-personalization-container .info-container .info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-sky);
}

.inside-personalization-section-container {
  width: 100%;
}

.inside-personalization-choose-from-logo-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inside-personalization-text-only-section {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.inside-personalization-upload-own-logo-section {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.inside-personalization-upload-own-logo-input-wrap {
  display: flex;
  flex-direction: column;
}

.inside-personalization-container .customize-select-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px;
}

.inside-personalization-container .customize-select-wrap .customize-field select {
  width: 100%;
}

.imprint-textarea-wrap {
  display: flex;
  align-items: center;
  border-radius: 5px;
  border: 2px solid var(--color-text);
  padding-inline: 8px;
  gap: 8px;
}

.imprint-textarea {
  width: 100%;
  height: 60px;
  resize: none;
  font-size: 12px;
  border: none;
  padding-inline: 0px;
  padding-block: 8px;
}

.imprint-textarea:focus {
  outline: none;
}

.inside-personalization-preview-panel {
  gap: 18px !important;
}

.inside-personalization-preview-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#inside-personalization-text-only-preview-box {
  display: none;
}

#inside-personalization-upload-own-logo-preview-box {
  display: none;
}

.inside-personalization-text-preview-box .preview-card {
  background: url("../images/uniform-grid-black-dots-white-square.svg") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.inside-personalization-text-preview-box .preview-card img {
  width: 100%;
  max-width: 210px;
}

.inside-personalization-text-preview-box .preview-card h1 {
  font-size: 40px !important;
  font-weight: bolder !important;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.inside-personalization-text-preview-box .preview-card h2 {
  font-size: 22px !important;
  max-width: 210px;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

#outside-personalization-grid {
  display: none;
}

.customize-form-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.customize-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  max-width: 450px;
}

.customize-tab {
  min-height: 32px;
  padding: 7px 16px;
  border: none;
  background-color: var(--color-light-muted);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  letter-spacing: 0.02em;
  max-width: 220px;
}

.customize-tab.active {
  background: var(--color-sky);
  color: var(--color-white);
  font-weight: 700;
}

.customize-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customize-form-panel select {
  border: 2px solid var(--color-text);
  background: #ffffff;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 5px;
}

.customize-form-panel select {
  width: 190px;
  height: 34px;
  padding: 0 14px;
}

.customize-choice-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
}

.customize-choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.customize-choice-row input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.customize-choice-row input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-sky);
  transform: translate(-50%, -50%) scale(0);
}

.customize-choice-row input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Monogram Maker Section */
.outside-personalization-monogram-maker-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.monogram-input-wrap {
  /* position: relative; */
  width: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 8px;
  border: 2px solid var(--color-text);
  border-radius: 5px;
}

#monogram-text {
  width: 100%;
  height: 60px;
  resize: none;
  font-size: 16px;
  font-family: var(--font-serif-italic);
  border: none;
  padding-block: 8px;
}

#monogram-text:focus {
  outline: none;
}

.typeface-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.typeface-button {
  width: 48px;
  height: 52px;
  border: 1px solid #4d4d4d;
  border-radius: 4px;
  background: #ffffff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}

.typeface-button.active {
  box-shadow: inset 0 0 0 1px #9fcfea;
}

.typeface-button.script {
  font-family: var(--font-serif-italic);
}

.typeface-button.rounded {
  border-radius: 10px;
  font-size: 28px;
}

.typeface-button.bold {
  font-weight: 700;
  font-size: 32px;
}

.typeface-button.serif {
  font-family: var(--font-serif);
}

.typeface-button.light {
  font-weight: 300;
}

.color-wheel {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(#c92d2d,
      #d54424,
      #f18f1d,
      #ffd43a,
      #f5e84b,
      #7fc241,
      #2da84a,
      #17a38b,
      #2f79c4,
      #3d4ca5,
      #6a2f98,
      #c92d2d);
}

.detail-comments {
  width: 280px;
  min-height: 104px;
  border: 2px solid var(--color-text);
  resize: none;
  border-radius: 5px;
  padding: 8px;
}

/* Outside Personalization - Upload Own Logo Section */
.outside-personalization-upload-own-logo-section {
  display: none;
  flex-direction: column;
}

.upload-file-button {
  background-color: var(--color-sky);
  color: var(--color-white);
  padding: var(--space-12) var(--space-40);
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-family: var(--font-inter);
  letter-spacing: 0.05em;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}

.upload-own-logo-file-name {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text);
}

.responsive-approve-personalization-button {
  display: none;
}

.customize-preview-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: flex-end;
}

.preview-card {
  width: 354px;
  min-height: 354px;
  border: 1px solid #3c3c3c;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  padding: 22px 20px;
}

.preview-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.personalization-preview-span {
  position: absolute;
  bottom: 134px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif-italic);
  font-size: 34px;
  color: #2f2a2a;
}

.keyboard-badge {
  /* position: absolute; */
  /* right: 10px;
  top: 50%;
  transform: translateY(-50%); */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 7px;
  line-height: 1.05;
  color: #7fc4eb;
  text-align: center;
}

.keyboard-icon {
  width: 28px;
  height: 20px;
  border: 2px solid #7fc4eb;
  border-radius: 4px;
  position: relative;
}

.customize-preview-panel .button-full {
  width: 354px;
  min-height: 26px;
  font-size: 11px;
}

.keyboard-icon::before {
  content: "";
  position: absolute;
  inset: 5px 4px auto 4px;
  height: 2px;
  background: #7fc4eb;
  box-shadow:
    0 6px 0 #7fc4eb,
    8px 0 0 #7fc4eb,
    8px 6px 0 #7fc4eb,
    16px 0 0 #7fc4eb,
    16px 6px 0 #7fc4eb,
    24px 0 0 #7fc4eb,
    24px 6px 0 #7fc4eb;
}

.product-detail-banner {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  min-height: 340px;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.68) 42%,
      rgba(255, 255, 255, 0) 100%),
    url("../images/make-it-personl.svg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 46px;
  box-sizing: border-box;
}

.product-detail-banner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.product-detail-banner-copy h2 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
}

.product-detail-banner-copy h2 span:last-child {
  color: var(--color-sky);
}

.product-detail-banner-image {
  width: 240px;
  max-height: 140px;
  object-fit: contain;
}

.product-detail-banner .button-light {
  min-height: 34px;
  width: auto;
  padding: 0 28px;
  font-size: 12px;
  border-radius: 4px;
}

@media (max-width: 1100px) {
  .product-page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-filters {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .product-content {
    order: 1;
  }

  .product-filters-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .product-feature-callout {
    grid-template-columns: 1fr;
    padding-inline: 24px;
  }

  .product-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .preview-card,
  .customize-preview-panel .button-full {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-product .product-page-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-product .product-filters {
    display: none;
  }

  .page-product .product-content-top {
    border-radius: 0;
    padding-top: 4px;
    margin-bottom: 0;
  }

  .page-product .product-breadcrumb {
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 12px;
    margin-bottom: 16px;
  }

  .page-product .product-page-intro {
    margin-bottom: 18px;
  }

  .page-product .product-page-title {
    font-size: 29px;
    margin-bottom: 10px;
  }

  .page-product .product-page-description {
    font-size: 11px;
    line-height: 1.3;
    max-width: 100%;
  }

  .page-product .product-feature-callout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 12px 10px;
    margin-bottom: 18px;
  }

  .page-product .product-feature-circle {
    width: 88px;
  }

  .page-product .product-feature-card {
    gap: 10px;
  }

  .page-product .product-feature-card h3 {
    font-size: 12px;
    line-height: 1.25;
  }

  .page-product .product-toolbar {
    flex-direction: row;
    align-items: center;
    margin-bottom: 14px;
  }

  .page-product .view-toggle,
  .page-product .sort-toggle {
    font-size: 11px;
    gap: 6px;
  }

  .page-product .view-toggle-icon {
    width: 11px;
    height: 11px;
  }

  .page-product .product-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 18px;
  }

  .page-product .product-card-link {
    gap: 8px;
  }

  .page-product .product-listing .product-image-wrap {
    min-height: 92px;
  }

  .page-product .product-listing .product-image {
    max-height: 82px;
  }

  .page-product .product-card-details {
    gap: 3px;
  }

  .page-product .product-listing .product-name {
    font-size: 9px;
    line-height: 1.25;
  }

  .page-product .product-listing .product-price {
    font-size: 12px;
  }

  .page-product .product-price-note {
    font-size: 9px;
  }

  .page-product .product-pagination {
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 10px;
  }

  .page-product .product-pagination a {
    font-size: 14px;
  }

  .page-product-detail .product-detail-page {
    gap: 24px;
    margin-bottom: 52px;
  }

  .page-product-detail .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-product-detail .product-filters {
    display: none;
  }

  .page-product-detail .product-detail-content {
    gap: 20px;
  }

  .page-product-detail .product-breadcrumb {
    font-size: 12px;
    margin-bottom: 8px;
    gap: 14px;
    position: relative;
    padding-right: 30px;
  }

  .page-product-detail .product-detail-top {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .page-product-detail .product-detail-mobile-intro {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .page-product-detail .product-detail-mobile-intro-head {
    display: block;
  }

  .page-product-detail .mobile-filter-trigger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 0;
    flex-shrink: 0;
  }

  .page-product-detail .mobile-filter-trigger span {
    width: 18px;
    height: 2px;
    background: #76bfe7;
    border-radius: 999px;
  }

  .page-product-detail .product-detail-gallery {
    display: grid;
    grid-template-columns: minmax(0, calc(100% - 96px)) 84px;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-product-detail .product-detail-stage {
    float: none;
    width: 100%;
    min-height: 312px;
    padding: 10px 6px 16px;
    border-radius: 10px;
  }

  .page-product-detail .product-detail-main-image {
    width: 108%;
    max-width: 108%;
    max-height: 228px;
    transform: translateX(-2%);
  }

  .page-product-detail .product-detail-zoom {
    right: 8px;
    bottom: 8px;
  }

  .page-product-detail .product-detail-zoom img {
    width: 12px;
    height: 12px;
  }

  .page-product-detail .product-detail-thumbs {
    float: none;
    width: 84px;
    flex-direction: column;
    gap: 10px;
  }

  .page-product-detail .product-thumb {
    width: 84px;
    height: 84px;
    border-radius: 10px;
  }

  .page-product-detail .product-thumb img {
    max-width: 54px;
    max-height: 34px;
  }

  .page-product-detail .product-detail-mobile-price-row {
    display: grid;
    grid-template-columns: minmax(0, calc(100% - 96px)) 84px;
    gap: 10px;
    align-items: end;
    margin-top: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-product-detail .detail-field-qty-mobile {
    gap: 4px;
    min-width: 84px;
    align-self: end;
    justify-self: stretch;
  }

  .page-product-detail .product-detail-summary {
    gap: 10px;
  }

  .page-product-detail .product-detail-summary>.product-detail-category,
  .page-product-detail .product-detail-summary>.product-detail-title,
  .page-product-detail .product-detail-summary>.product-detail-sku,
  .page-product-detail .product-detail-summary>.product-detail-price-wrap,
  .page-product-detail .product-detail-summary .detail-field:first-child {
    display: none;
  }

  .page-product-detail .product-detail-category {
    font-size: 11px;
    color: #a8a8a8;
    margin-bottom: 8px;
  }

  .page-product-detail .product-detail-title {
    font-size: 18px;
    line-height: 1.18;
    margin-bottom: 4px;
  }

  .page-product-detail .product-detail-mobile-intro .product-detail-sku {
    display: block;
    font-size: 11px;
    color: var(--color-sky);
    margin-top: 0;
  }

  .page-product-detail .product-detail-sku,
  .page-product-detail .product-detail-price-note,
  .page-product-detail .product-detail-copy,
  .page-product-detail .product-detail-bullets ul,
  .page-product-detail .detail-label,
  .page-product-detail .detail-current-color,
  .page-product-detail .detail-side-link {
    font-size: 12px;
  }

  .page-product-detail .product-detail-price {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 6px;
  }

  .page-product-detail .product-detail-price-note {
    font-size: 12px;
  }

  .page-product-detail .product-tier-pricing {
    gap: 4px;
  }

  .page-product-detail .product-tier-pricing .detail-label {
    margin-bottom: 2px;
  }

  .page-product-detail .tier-row {
    grid-template-columns: 1fr 58px;
    min-height: 24px;
    font-size: 10px;
  }

  .page-product-detail .product-tier-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 8px;
    align-items: start;
  }

  .page-product-detail .product-tier-pricing .detail-label {
    grid-column: 1 / -1;
  }

  .page-product-detail .tier-row span,
  .page-product-detail .tier-row strong {
    padding: 5px 8px;
  }

  .page-product-detail .product-detail-copy {
    line-height: 1.35;
    gap: 10px;
  }

  .page-product-detail .product-detail-bullets ul {
    margin-top: 4px;
    padding-left: 14px;
  }

  .page-product-detail .product-detail-options {
    gap: 12px;
    max-width: 70%;
  }

  .page-product-detail .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 0;
  }

  .page-product-detail .button {
    min-height: 34px;
    padding: 6px 10px;
  }

  .page-product-detail .button-personalize {
    min-height: 34px;
    font-size: 9px;
    gap: 5px;
  }

  .page-product-detail .button-add-cart {
    min-height: 34px;
    gap: 0;
  }

  .page-product-detail .button-subtitle {
    font-size: 6px;
  }

  .page-product-detail .button-title {
    font-size: 12px;
  }

  .page-product-detail .qty-stepper {
    width: 104px;
    min-height: 30px;
    border-radius: 6px;
  }

  .page-product-detail .detail-field-qty-mobile .qty-stepper {
    width: 84px;
  }

  .page-product-detail .qty-stepper input {
    font-size: 12px;
    padding: 0 8px;
  }

  .page-product-detail .qty-stepper-controls {
    grid-template-rows: 1fr 1fr;
  }

  .page-product-detail .color-swatches {
    display: grid;
    grid-template-columns: repeat(9, 12px);
    gap: 8px 10px;
    align-items: center;
  }

  .page-product-detail .color-dot {
    width: 17px;
    height: 17px;
  }

  .page-product-detail .color-dot.active {
    outline-width: 1px;
    outline-offset: 2px;
    box-shadow:
      0 0 0 2px #ffffff,
      0 0 0 3px #8ecae8;
  }

  .page-product-detail .detail-current-color-block {
    margin-top: -2px;
    margin-bottom: 2px;
  }

  .page-product-detail .product-detail-options select,
  .page-product-detail .customize-form-panel select {
    height: 36px;
    font-size: 11px;
    border-radius: 6px;
    padding: 0 14px;
  }

  .page-product-detail .product-detail-options .detail-field {
    gap: 6px;
  }

  .page-product-detail .product-detail-customize {
    gap: 10px;
  }

  .page-product-detail .product-detail-promo-bar {
    min-height: 30px;
    font-size: 9px;
    gap: 8px;
    border-radius: 2px;
  }

  .page-product-detail .product-detail-promo-bar img {
    width: 10px;
    height: 10px;
  }

  .page-product-detail .promo-bar-copy {
    gap: 3px;
    flex-wrap: nowrap;
  }

  .page-product-detail .product-customize-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .customize-preview-panel {
    justify-self: flex-start;
    width: 100%;
  }

  .responsive-approve-personalization-button {
    display: flex;
  }

  .page-product-detail .customize-tabs {
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .page-product-detail .customize-tab {
    padding: 5px 12px;
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .page-product-detail .mobile-customize-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    max-width: 450px;
    order: -2;
  }

  .page-product-detail .customize-form-panel>.customize-tabs {
    display: none;
  }

  .page-product-detail .customize-preview-panel {
    order: -1;
    gap: 8px;
  }

  .page-product-detail .preview-card {
    width: 100%;
    min-height: 210px;
    border-radius: 8px;
    padding: 16px 12px;
  }

  .page-product-detail .preview-image {
    max-width: 250px;
    max-height: 150px;
  }

  .page-product-detail .personalization-preview-span {
    font-size: 30px;
    bottom: 74px;
  }

  .page-product-detail .customize-preview-panel .button-full {
    display: none;
  }

  .page-product-detail .customize-form-panel {
    gap: 14px;
    align-items: flex-start;
  }

  .page-product-detail .customize-form-panel .customize-field {
    width: 100%;
  }

  .page-product-detail .mobile-approve-button {
    display: inline-flex;
    width: 100%;
    min-height: 28px;
    font-size: 9px;
    margin-top: 6px;
  }

  .page-product-detail .customize-choice-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .page-product-detail .customize-choice-row input[type="radio"] {
    width: 14px;
    height: 14px;
  }

  .page-product-detail .customize-choice-row input[type="radio"]::after {
    width: 6px;
    height: 6px;
  }

  .page-product-detail #monogram-text {
    font-size: 18px;
  }

  .page-product-detail #detail-comments {
    width: 100%;
  }

  .page-product-detail .keyboard-badge {
    right: 6px;
    bottom: 5px;
  }

  .page-product-detail .keyboard-icon {
    width: 24px;
    height: 18px;
  }

  .page-product-detail .keyboard-icon::before {
    inset: 4px 3px auto 3px;
    box-shadow:
      0 5px 0 #7fc4eb,
      6px 0 0 #7fc4eb,
      6px 5px 0 #7fc4eb,
      12px 0 0 #7fc4eb,
      12px 5px 0 #7fc4eb,
      18px 0 0 #7fc4eb,
      18px 5px 0 #7fc4eb;
  }

  .page-product-detail .typeface-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 306px;
  }

  .page-product-detail .typeface-button {
    width: 46px;
    height: 46px;
    font-size: 22px;
    border-radius: 3px;
  }

  .page-product-detail .typeface-button.rounded {
    font-size: 18px;
  }

  .page-product-detail .typeface-button.bold {
    font-size: 22px;
  }

  .page-product-detail .color-wheel {
    width: 60px;
    height: 60px;
  }

  .page-product-detail #detail-comments {
    width: 100%;
  }

  .page-product-detail .product-detail-banner {
    min-height: 220px;
    padding: 16px 14px 18px;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-position: center center;
  }

  .page-product-detail .product-detail-banner-image {
    width: 180px;
    max-height: 110px;
  }

  .page-product-detail .product-detail-banner-copy {
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .page-product-detail .product-detail-banner-copy h2 {
    font-size: 28px;
    line-height: 0.95;
  }

  .page-product-detail .product-detail-banner .button-light {
    min-height: 26px;
    padding: 0 16px;
    font-size: 8px;
  }
}

/* ------------------------------------- */
/* Personalization Material Page */
/* ------------------------------------- */

.custom-personalization-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.custom-personalization-progress-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  width: 100%;
}

.custom-personalization-title {
  font-size: 28px;
  color: var(--color-text);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.custom-personalization-progress {
  display: flex;
  align-items: center;
  width: calc(100% - 20px);
  margin-left: 20px;
}

.progress-step {
  position: relative;
  background-color: var(--color-light-muted);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex: 0 1 205px;
  text-align: center;
  height: 40px;
  cursor: pointer;
}

.progress-step.active {
  background-color: var(--color-sky);
}

.progress-step.completed {
  background-color: var(--color-green);
}

.progress-step .step-number {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 1;
  transform: translateX(-50%);
  background-color: var(--color-light-muted);
  box-sizing: content-box;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-step.active .step-number {
  background-color: var(--color-sky);
}

.progress-step.completed .step-number {
  background-color: var(--color-green);
}

.progress-step .step-label {
  letter-spacing: 0.05em;
  width: 100%;
}

.personalization-time-to-remember {
  display: flex;
  margin-block: 80px;
  background-image: url("../images/personalization-time-to-remember.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.personalization-time-to-remember-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  justify-content: center;
  align-items: start;
  background: linear-gradient(to right,
      rgba(239, 244, 246, 1) 69%,
      rgba(239, 244, 246, 0) 100%);
  padding: 158px 224px 158px 104px;
  border-radius: 10px 0 0 10px;
}

.personalization-time-to-remember h1 {
  font-size: 64px;
  color: var(--color-sky);
  font-family: var(--font-serif);
  line-height: 1;
  font-weight: 900;
  max-width: 400px;
}

.personalization-time-to-remember p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 400px;
}

#kippah-editor-app code {
    font-family: var(--font-inter);
}

.custom-personalization-step-container {
  display: flex;
  gap: var(--space-20);
}

.custom-personalization-step-left-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  width: 100%;
  max-width: 67%;
}

.custom-personalization-step-left-content .product-card {
  cursor: pointer;
}

.custom-personalization-step-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.custom-personalization-step-heading h4 {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.custom-personalization-step-heading p {
  font-size: 12px;
  color: var(--color-muted);
}

.custom-personalization-step-left-content .product-grid .product-card.selected .product-image-wrap {
  border: 2px solid var(--color-sky);
}

.custom-personalization-step-right-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-16);
  position: relative;
  /* top: -72px; */
}

.custom-personalization-step-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding: 18px 34px 24px 34px;
  border-radius: 6px;
  border: 2px solid var(--color-muted);
}

.custom-personalization-step-summary-title {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-muted);
}

.custom-personalization-summary-table {
  width: 100%;
  text-align: left;
}

.custom-personalization-summary-table-head {
  font-size: 12px;
  line-height: 21px;
  color: var(--color-text);
  letter-spacing: 0.03em;
  font-weight: 800;
}

.custom-personalization-summary-table-body {
  font-size: 12px;
  line-height: 21px;
}

.custom-personalization-summary-table-body .selection-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.completed-selection {
  font-weight: 600;
}

.completed-selection-icon {
  display: none;
}

.completed-selection .completed-selection-icon {
  display: inline-block;
}

.completed-selection .selection-icon {
  display: none;
}

.custom-personalization-step-summary-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.custom-personalization-step-summary-price h4 {
  font-size: 14px;
  color: var(--color-navy);
  font-weight: 700;
}

.custom-personalization-step-summary-price p {
  font-size: 10px;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

.custom-personalization-step-summary-price p:first-of-type {
  margin-top: 4px;
}

.custom-personalization-step-summary-price p span {
  font-weight: 600;
}

.custom-personalization-next-button,
.custom-personalization-submit-button {
  background-color: var(--color-sky);
  color: var(--color-white);
  padding: var(--space-10);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-inter);
}

.custom-personalization-submit-button {
  background-color: var(--color-green);
}

.custom-personalization-step-left-content .custom-personalization-next-button {
  max-width: 300px;
}

.custom-personalization-step-left-content .custom-personalization-submit-button {
  max-width: 300px;
}

#custom-personalization-step-2,
#custom-personalization-step-3,
#custom-personalization-step-4 {
  display: none;
}

.four-panel-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

#four-panel-second-color-swatch {
  display: none;
}

.custom-personalization-color-options-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 200px));
  gap: var(--space-16);
}

.custom-personalization-color-option {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  cursor: pointer;
}

.color-option-image-wrapper {
  border: 2px solid var(--color-text);
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-personalization-color-option.selected .color-option-image-wrapper {
  border-color: var(--color-sky);
}

.color-option-description {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.color-option-description h4 {
  font-size: 14px;
  font-weight: 800;
}

.color-option-description p {
  font-size: 12px;
}

.custom-personalization-color-swatches-container {
  display: flex;
  flex-direction: column;
}

.custom-personalization-color-swatches-container .selected-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: none;
}

.custom-personalization-color-swatches-container.complete-selection .selected-swatch {
  display: inline-block;
  border: 1px solid var(--color-muted);
  vertical-align: middle;
}

/* Selected color name beside the preview dot (filled by JS) */
.selected-swatch-name {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text, #333);
}

/* Compact closed state — once a color is picked and the accordion collapses,
   the tab shrinks to summary row + dot + name. */
.custom-personalization-color-swatches-container.complete-selection details:not([open]) + .selected-swatch {
  margin-top: 2px;
}

.custom-personalization-color-swatches-container.complete-selection
  details.color-swatches-details:not([open]) ~ * {
  margin-bottom: 0;
}

.color-swatches-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.color-swatches-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
}

.color-swatches-summary::-webkit-details-marker {
  display: none;
}

.color-swatches-summary::after {
  content: url("../images/chevron-down-icon.svg");
  font-size: 16px;
  color: #7a7a7a;
  display: inline-flex;
  align-items: center;
  order: 2; /* chevron always last */
}

.color-swatches-details[open] summary::after {
  content: url("../images/chevron-up-icon.svg");
}

.edit-color-text {
  font-size: 10px;
  color: var(--color-sky);
  font-weight: 600;
  order: 1; /* right after the label, before the chevron */
  display: none;
  align-items: center;
}

.color-swatches-summary img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: none;
}

.custom-personalization-color-swatches-container.complete-selection .color-swatches-summary img {
  display: inline-flex;
}

.custom-personalization-color-swatches-container.complete-selection .color-swatches-summary .edit-color-text {
  display: inline-flex;
}

.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: var(--space-12);
  padding-bottom: 12px;
}

.color-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border: 1px solid var(--color-muted);
  border-radius: 50%;
  /* Anchor for the instant name chip below — the native title= tooltip the
     swatches used before had the browser's ~1s delay, which read as sluggish. */
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.color-swatch:hover {
  transform: scale(1.12);
  z-index: 3;
}

/* Instant colour-name chip (replaces the delayed native tooltip) */
.color-swatch::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  padding: 4px 9px;
  border-radius: 5px;
  background: #081f5c;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 6;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s ease-out;
}

.color-swatch:hover::after,
.color-swatch:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.color-swatch.selected {
  border: 4px solid var(--color-sky);
  box-shadow: 0 0 0 2px #fff inset;
}

/* SUEDE */
.suede-black {
  background-color: #2b2b2b;
}

.suede-brown {
  background-color: #7a5230;
}

.suede-navy {
  background-color: #1f2a44;
}

/* EMBOSSED */
.embossed-black {
  background-color: #1a1a1a;
}

.embossed-brown {
  background-color: #6b4423;
}

.embossed-navy {
  background-color: #16213a;
}

/* LEATHER */
.leather-black {
  background-color: #0f0f0f;
}

.leather-brown {
  background-color: #5a3b1f;
}

.leather-navy {
  background-color: #0d1b2a;
}

/* SATIN */
.satin-black {
  background-color: #3a3a3a;
}

.satin-brown {
  background-color: #8c5a2b;
}

.satin-navy {
  background-color: #243b55;
}

/* RAW SILK */
.raw-silk-black {
  background-color: #2f2f2f;
}

.raw-silk-brown {
  background-color: #9c6b3d;
}

.raw-silk-navy {
  background-color: #2a3f5f;
}

/* LINEN */
.linen-black {
  background-color: #3d3d3d;
}

.linen-brown {
  background-color: #a67c52;
}

.linen-navy {
  background-color: #3a4f7a;
}

/* BURLAP */
.burlap-black {
  background-color: #4a4a4a;
}

.burlap-brown {
  background-color: #b08d57;
}

.burlap-navy {
  background-color: #4a5d73;
}

/* HAND KNIT */
.hand-knit-black {
  background-color: #555555;
}

.custom-personalization-step-preview-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: center;
  padding-block: 30px;
  border: 2px solid var(--color-text);
  border-radius: 10px;
  text-align: center;
}

.custom-personalization-step-preview {
  width: 100%;
}

.custom-personalization-step-preview img {
  width: 100%;
}

.six-panel-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

#six-panel-section {
  display: none;
}

#six-panel-second-color-swatch,
#six-panel-third-color-swatch {
  display: none;
}

.six-panel-extra-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.six-panel-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.six-panel-upload-heading {
  font-size: 12px;
  font-weight: 900;
  color: var(--color-navy);
  text-transform: uppercase;
}

.six-panel-upload-logo .upload-file-button {
  background-color: var(--color-navy);
}

.stitching-colors-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-18);
}

.stitching-colors-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.stitching-colors-options p {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stitching-colors-options .customize-choice-row {
  font-weight: normal;
}

.stitching-color-wheels-wrapper {
  display: flex;
  gap: var(--space-22);
}

/* Extras (design element + contrast stitching) show for BOTH 4 & 6 panel.
   The block is no longer hidden by default; the stitching color field starts
   hidden via inline style and is toggled by JS when a contrast option is chosen. */

#custom-personalization-step-3 .customize-form-panel {
  max-width: 450px;
}

#outside-personalization-container,
#outside-personalization-preview-panel {
  display: none;
}

#final-selection-border-stitching-color-wheel,
#final-selection-top-stitching-color-wheel {
  display: none;
}

.final-selection-personalization-details-container {
  display: flex;
  gap: var(--space-16);
}

.final-selection-product-image-wrap {
  width: 100%;
  min-height: 300px;
  background: linear-gradient(to right,
      rgba(247, 247, 247, 0) 0%,
      rgba(247, 247, 247, 1) 100%);
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.final-selection-product-image {
  width: 100%;
}

.final-selection-product-image-wrap .zoom-icon {
  width: 14px;
  height: 14px;
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.final-selection-personalization-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.final-selection-personalization-details-tag {
  font-size: 14px;
  color: var(--color-muted);
}

.final-selection-personalization-details-heading {
  display: flex;
  gap: var(--space-8);
  flex-direction: column;
}

.final-selection-personalization-details-heading h2 {
  font-size: 24px;
  font-weight: 700;
}

.final-selection-personalization-details-heading p {
  font-size: 14px;
  color: var(--color-sky);
}

.final-selection-personalization-details .customize-field {
  gap: var(--space-4);
}

.final-selection-personalization-details .detail-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-weight: 700;
  font-size: 12px;
}

.final-selection-personalization-details .detail-info {
  font-size: 12px;
  color: var(--color-muted);
}

.final-selection-personalization-details .customize-choice-row {
  gap: var(--space-6);
}

.final-selection-personalization-details .stitching-colors-wrapper {
  height: fit-content;
}

.kippah-select,
.production-select {
  border: 2px solid var(--color-text);
  background: #ffffff;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 5px;
  /* Fill the field column so all three (Size, Clips, Production Time) are the
     same width. Production's option text is much longer than the others, so a
     fixed narrow width truncated it and let the arrow overlap the text. */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stitching-color-wheels-wrapper {
  display: none;
}

@media (max-width: 1100px) {
  .personalization-time-to-remember-content {
    padding: 120px 180px 120px 80px;
  }
}

@media (max-width: 1050px) {
  #custom-personalization-step-4 {
    flex-direction: column;
  }

  #custom-personalization-step-4 .custom-personalization-step-left-content {
    max-width: 100%;
  }

  #custom-personalization-step-4 .custom-personalization-step-left-content .custom-personalization-submit-button {
    display: none;
  }
}

@media (max-width: 980px) {
  .custom-personalization-step-left-content {
    max-width: 55%;
  }

  .personalization-time-to-remember-content {
    padding: 120px 140px 120px 60px;
  }

  .personalization-time-to-remember-content h1 {
    font-size: 48px;
  }

  .personalization-time-to-remember-content p {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .progress-step {
    flex: 1 1 120px;
  }
}

@media (max-width: 880px) {
  .personalization-time-to-remember-content {
    padding: 120px 20px 120px 20px;
  }
}

@media (max-width: 776px) {
  .custom-personalization-step-container {
    flex-direction: column;
  }

  .custom-personalization-step-left-content {
    max-width: 100%;
  }

  .personalization-time-to-remember-content {
    background: none;
  }

  .personalization-time-to-remember {
    background-position: center center;
    background-size: cover;
  }

  .personalization-time-to-remember-content h1 {
    color: var(--color-navy);
    font-size: 46px;
    max-width: 100%;
  }

  .custom-personalization-step-left-content .custom-personalization-next-button {
    display: none;
  }
}

@media (max-width: 768px) {
  .progress-step {
    font-size: 12px;
    flex: 1 0 auto;
  }

  .progress-step .step-label {
    padding-inline: 30px;
  }

  #custom-personalization-step-4 .final-selection-personalization-details-container {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .custom-personalization-title {
    font-size: var(--space-20);
  }

  .progress-step {
    font-size: 10px;
    height: 30px;
  }

  .progress-step .step-number {
    width: 30px;
    height: 30px;
  }

  .progress-step .step-label {
    padding-inline: 20px;
  }

  .custom-personalization-progress {
    margin-left: 15px !important;
  }

  .personalization-time-to-remember-content h1 {
    font-size: 32px;
  }

  .custom-personalization-progress-container {
    gap: var(--space-16);
  }

  .custom-personalization-container {
    gap: var(--space-16);
  }

  .personalization-time-to-remember {
    margin-block: 60px;
  }

  .our-features {
    margin-block: 60px;
  }
}

@media (max-width: 490px) {
  .progress-step {
    font-size: 8px;
    height: 24px;
  }

  .progress-step .step-number {
    width: 24px;
    height: 24px;
  }

  .custom-personalization-progress {
    margin-left: 12px !important;
  }
}

@media (max-width: 420px) {
  .progress-step .step-label {
    padding-inline: 17px;
  }

  .progress-step {
    height: 20px;
  }

  .progress-step .step-number {
    width: 20px;
    height: 20px;
  }
}

/* ── Inside personalization 3D preview (step 3) ── */
.sp-inside-3d-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-inside-3d-preview-wrap .kippah-preview__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--kippah-text-muted, #888);
  text-transform: uppercase;
  margin: 0;
}

.sp-inside-3d-preview-wrap .sp-inside-3d-canvas-wrap {
  width: 300px;
  height: 300px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

#sp-kippah-inside-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* ==========================================================================
   Personalization upload image controls (size / position sliders)
   ========================================================================== */

.kippah-image-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.kippah-image-control-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kippah-image-control-row label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  cursor: default;
}

.kippah-image-control-row label .detail-label {
  margin: 0;
}

.kippah-image-control-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-sky, #3a7fd5);
  font-variant-numeric: tabular-nums;
}

.kippah-image-control-row input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #d4d4d4;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.kippah-image-control-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--color-sky, #3a7fd5);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.kippah-image-control-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--color-sky, #3a7fd5);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.kippah-image-reset-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--color-sky, #3a7fd5);
  color: var(--color-sky, #3a7fd5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.kippah-image-reset-btn:hover {
  background: var(--color-sky, #3a7fd5);
  color: #fff;
}

/* ==========================================================================
   Custom editor step 3 — flat preview cards span the same width as the 3D box
   (Scoped to .custom-personalization-step-container so the SP page,
    which uses the same .preview-card class, stays at its fixed 354px width.)
   ========================================================================== */

#custom-personalization-step-3 .inside-personalization-preview-panel,
#custom-personalization-step-3 #outside-personalization-preview-panel {
  width: 100%;
  margin-bottom: 16px;
}

#custom-personalization-step-3 .inside-personalization-preview-box {
  width: 100%;
}

#custom-personalization-step-3 .inside-personalization-preview-box .preview-card {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  max-height: none;
  height: auto; /* keep the square from aspect-ratio, not the SP pixel height */
}

/* The 3D wrapper already declares width:100%; aspect-ratio:1 inline, so the
   flat previews above will visually match its footprint. */
#custom-personalization-step-3 #step-3-3d-slot {
  width: 100%;
}

/* Hide 3D preview visually on the material-selection step without removing
   layout space — keeps Three.js canvas sized so step 2+ render correctly. */
.kippah-3d-hidden-on-step-1 {
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   Color swatch wrap + rim price badges
   Swatches are now wrapped (swatch + optional price tag below). The badge
   text is rewritten live by JS: "Free" when the rim color matches a selected
   panel color, "+$X.XX" otherwise.
   ========================================================================== */

.color-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.color-swatch-wrap .color-swatch {
  border-radius: 50%;
}

.color-swatch-price {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-muted, #777);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.color-swatch-price[data-free="1"] {
  color: #1a8a3c;
}

/* Layout (multi-color) surcharge badge on option cards */
.layout-price-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-sky, #3a7fd5);
  white-space: nowrap;
}

/* Occasion logo color options (Gold / Black / Silver / White) */
.logo-color-field { margin-top: 14px; }
.logo-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.logo-color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.logo-color-swatch:hover { border-color: var(--color-sky, #3a7fd5); }
.logo-color-swatch.active {
  border-color: var(--color-sky, #3a7fd5);
  box-shadow: 0 0 0 1px var(--color-sky, #3a7fd5) inset;
}
.logo-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

/* Flat/plain preview text must wrap inside the preview card instead of
   overflowing — including long unbroken strings (no spaces to wrap at). */
.inside-personalization-text-preview-box .preview-card h1,
.inside-personalization-text-preview-box .preview-card h2,
.inside-personalization-text-preview-box .preview-card p,
#outside-monogram-preview-text {
  max-width: 100%;
  white-space: pre-line;   /* honour explicit line breaks, still wrap */
  overflow-wrap: anywhere; /* break long unbroken words */
  word-break: break-word;
}

.inside-personalization-text-preview-box .preview-card {
  overflow: hidden;
  /* The frame is fixed: `.preview-card` declares `min-height`, so a tall
     imprint used to stretch the card. Overflowing text is scaled down by
     fitPreviewLines() instead of resizing the box. */
  height: 354px;
  /* The card is `width:100%` inside a content-sized column, so a nowrap line
     inflated the whole column (391px -> 819px) and the fit then measured the
     inflated width and barely shrank. Size containment stops the contents
     from feeding back into the card's inline size. */
  contain: inline-size;
}

@media (max-width: 640px) {
  .page-product-detail .inside-personalization-text-preview-box .preview-card {
    height: 210px; /* matches the min-height this breakpoint already sets */
  }
}

/* ==========================================================================
   3D preview — manual zoom control
   Sits in the canvas container's top-right corner; travels with the wrapper
   as JS relocates it between step slots.
   ========================================================================== */
.kippah-3d-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.kippah-3d-zoom-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #d6d9de;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #081f5c;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, border-color 0.15s;
}

.kippah-3d-zoom-btn:hover {
  background: #081f5c;
  border-color: #081f5c;
  color: #fff;
}

.kippah-3d-zoom-btn:active {
  transform: translateY(1px);
}


/* Occasion logo selection state — parity with the single-product page
   (sheet row 6). The grid toggled a .selected class but nothing styled it,
   so there was no feedback about which logo was active. */
.personalization-logo-option {
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.personalization-logo-option.selected {
  border: 2px solid var(--color-sky, #3a7fd5);
  box-shadow: 0 0 0 2px rgba(58, 127, 213, 0.18);
}

.personalization-logo-option:hover {
  border-color: var(--color-sky, #3a7fd5);
}
