:root {
  --white: #FFFFFF;
  --consultation: #F5F5F5;
  --footer: #383838;
  --cta: #D67C27;
  --cta-dark: #B9651D;
  --text: #333333;
  --text-soft: #4D4D4D;
  --badge: #555555;
  --line: #E7E7E7;
  --muted: #777777;
  --soft: #F3F3F3;
  --shadow: 0 16px 42px rgba(39, 39, 39, .09);
  --font-main: "Helvetica Now", Helvetica, Arial, sans-serif;
  --container: 1240px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--text);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-space { padding: 88px 0; }
.eyebrow {
  margin: 0 0 10px;
  color: #777;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .2em;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--text); letter-spacing: -.035em; }
h1 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); }
h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: 12px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: flex; align-items: center; gap: 9px; color: var(--text-soft); white-space: nowrap; font-size: .92rem; }
.brand-copy strong { color: var(--text); font-size: 1rem; letter-spacing: .07em; }
.brand-separator { color: #B6B6B6; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a { position: relative; padding: 31px 0; color: var(--text-soft); font-size: .9rem; font-weight: 600; }
.primary-nav > a::after { content: ""; position: absolute; right: 0; bottom: 23px; left: 0; height: 2px; background: var(--cta); transform: scaleX(0); transition: transform .25s ease; }
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { transform: scaleX(1); }
.icon-button, .mobile-menu-button, .close-button, .slider-arrow {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-button { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 999px; transition: background .2s ease; }
.icon-button:hover { background: var(--soft); }
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.cart-count { position: absolute; top: 0; right: -2px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--cta); color: white; font-size: .65rem; font-weight: 700; }
.mobile-menu-button { display: none; width: 42px; height: 42px; padding: 10px; }
.mobile-menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--text); transition: transform .2s ease, opacity .2s ease; }

.hero-slider { position: relative; overflow: hidden; background: #F8F8F8; user-select: none; touch-action: pan-y; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; will-change: transform; transition: transform .65s cubic-bezier(.22, .8, .3, 1); }
.slide { flex: 0 0 100%; margin: 0; aspect-ratio: 16 / 9; }
.slide img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.slider-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(255, 255, 255, .72); box-shadow: 0 8px 26px rgba(0,0,0,.14); transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.slider-arrow:hover { background: white; transform: translateY(-50%) scale(1.04); }
.slider-arrow svg { width: 24px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-prev { left: clamp(12px, 3vw, 48px); }
.slider-next { right: clamp(12px, 3vw, 48px); }
.slider-dots { position: absolute; z-index: 2; right: 0; bottom: 22px; left: 0; display: flex; justify-content: center; gap: 9px; }
.slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: 0 1px 4px rgba(0,0,0,.24); cursor: pointer; transition: width .25s ease, background .25s ease; }
.slider-dot.active { width: 28px; background: var(--white); }

.section-heading { margin-bottom: 34px; }
.compact-heading { max-width: 640px; margin-inline: auto; text-align: center; }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.centered-heading { max-width: 700px; margin-right: auto; margin-left: auto; text-align: center; }
.section-description { max-width: 600px; margin: 14px auto 0; color: var(--muted); line-height: 1.7; }
.text-link { color: var(--text-soft); font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.category-section { padding-top: 78px; padding-bottom: 62px; }
.category-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px; }
.category-card { border: 0; background: none; cursor: pointer; text-align: center; }
.category-icon { display: grid; width: 100%; max-width: 132px; aspect-ratio: 1; margin: 0 auto 15px; place-items: center; overflow: hidden; border-radius: 50%; background: #F1F1F1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.category-icon img { width: 74%; height: 74%; object-fit: contain; }
.category-card > span:last-child { color: var(--text-soft); font-size: clamp(.67rem, 1vw, .77rem); font-weight: 700; letter-spacing: .045em; line-height: 1.35; }
.category-card:hover .category-icon, .category-card:focus-visible .category-icon { background: #ECECEC; box-shadow: var(--shadow); transform: translateY(-5px); }

.product-section { overflow: hidden; }
.product-grid { display: grid; gap: 32px 20px; }
.four-column { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.five-column { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-card { min-width: 0; }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #F1F1F1; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.product-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 7px 10px 6px; background: var(--badge); color: white; font-size: .63rem; font-weight: 700; letter-spacing: .12em; }
.quick-add {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--cta);
  box-shadow: 0 5px 16px rgba(0,0,0,.16);
  cursor: pointer;
  opacity: .96;
  transform: scale(1);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.quick-add svg { width: 21px; height: 21px; display: block; }
.quick-add:hover,
.quick-add:focus-visible,
.product-card:hover .quick-add { transform: scale(1.08); }
.quick-add:hover,
.quick-add:focus-visible { background: var(--cta); color: white; box-shadow: 0 7px 20px rgba(0,0,0,.2); }
.quick-add:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.product-info { padding-top: 15px; }
.product-category { margin-bottom: 7px; color: #929292; font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.product-name { margin-bottom: 8px; color: var(--text); font-size: .98rem; font-weight: 650; line-height: 1.35; }
.product-price { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-bottom: 12px; color: var(--text-soft); font-size: .91rem; font-weight: 700; }
.price-regular { color: inherit; }
.price-current { color: #D94A45; font-weight: 800; }
.price-original { color: #A0A0A0; font-size: .82em; font-weight: 550; text-decoration: line-through; text-decoration-thickness: 1px; }
.price-discount-badge { display: inline-flex; align-items: center; min-height: 19px; padding: 2px 6px; border-radius: 3px; background: #FFF0EE; color: #D94A45; font-size: .68em; font-weight: 800; line-height: 1; white-space: nowrap; }
.color-options { display: flex; align-items: center; gap: 7px; }
.color-dot { display: block; width: 14px; height: 14px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #BDBDBD; }

.bestseller-section { position: relative; background: #FBFBFB; }
.bestseller-section::after { content: ""; position: absolute; top: 0; right: -80px; width: min(42vw, 610px); height: 100%; opacity: .055; background-position: right center; background-repeat: no-repeat; background-size: contain; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 700'%3E%3Cg fill='none' stroke='%23333333' stroke-width='3'%3E%3Ccircle cx='330' cy='300' r='38'/%3E%3Cellipse cx='330' cy='205' rx='48' ry='98'/%3E%3Cellipse cx='330' cy='395' rx='48' ry='98'/%3E%3Cellipse cx='235' cy='300' rx='98' ry='48'/%3E%3Cellipse cx='425' cy='300' rx='98' ry='48'/%3E%3Cellipse cx='263' cy='233' rx='52' ry='100' transform='rotate(-45 263 233)'/%3E%3Cellipse cx='397' cy='367' rx='52' ry='100' transform='rotate(-45 397 367)'/%3E%3Cellipse cx='397' cy='233' rx='52' ry='100' transform='rotate(45 397 233)'/%3E%3Cellipse cx='263' cy='367' rx='52' ry='100' transform='rotate(45 263 367)'/%3E%3Cpath d='M330 438c-8 78-58 125-113 166M331 438c23 81 79 118 137 131'/%3E%3C/g%3E%3C/svg%3E"); }
.bestseller-content { position: relative; z-index: 1; }

.secondary-banner { width: 100%; overflow: hidden; background: #EAEAEA; }
.secondary-banner img { width: 100%; aspect-ratio: 1920 / 540; object-fit: cover; }

.product-filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: -4px 0 34px; }
.filter-chip { padding: 9px 16px; border: 1px solid #D9D9D9; border-radius: 999px; background: white; color: var(--text-soft); font-size: .78rem; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.filter-chip:hover, .filter-chip.active { border-color: var(--text); background: var(--text); color: white; }
.empty-state { padding: 40px; border: 1px dashed #CCC; color: var(--muted); text-align: center; }

.consultation-section { padding: 70px 0; background: var(--consultation); }
.consultation-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.consultation-inner h2 { margin-bottom: 12px; }
.consultation-inner p:last-child { max-width: 670px; margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.primary-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 14px 24px; border: 0; background: var(--cta); color: white; font-size: .86rem; font-weight: 700; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--cta-dark); transform: translateY(-2px); }

.site-footer { padding: 68px 0 0; background: var(--footer); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 54px; }
.footer-column h2 { margin-bottom: 22px; color: white; font-size: 1rem; letter-spacing: .02em; }
.footer-column p { margin-bottom: 12px; font-size: .86rem; line-height: 1.7; }
.footer-brand img { width: 92px; height: 92px; padding: 5px; border-radius: 18px; background: white; object-fit: contain; }
.footer-tagline { margin: 18px 0 7px !important; color: white; font-weight: 700; letter-spacing: .04em; }
.footer-label { margin: 22px 0 4px !important; color: white; font-weight: 700; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.footer-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; background: white; }
.footer-icon img { width: 27px; height: 27px; object-fit: contain; }
.footer-social strong, .footer-social small { display: block; }
.footer-social strong { color: white; font-size: .87rem; }
.footer-social small { margin-top: 3px; color: rgba(255,255,255,.57); font-size: .74rem; }
.footer-social:hover strong { color: #FFD7B0; }
.footer-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-service-group { min-width: 0; }
.footer-service-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-service-heading h2 { margin: 0; color: white; font-size: .88rem; letter-spacing: .02em; }
.footer-service-heading > svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-service-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 22px; }
.footer-service-logo { display: inline-flex; height: 22px; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 0; background: transparent; border: 0; box-shadow: none; }
.footer-service-logo img { display: block; width: auto; height: 22px; max-width: 120px; object-fit: contain; background: transparent; filter: none; opacity: .96; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: white; }

.search-overlay { position: fixed; z-index: 1400; inset: 0; padding: 8vh 20px 20px; background: rgba(20,20,20,.58); backdrop-filter: blur(7px); }
.search-panel { position: relative; width: min(760px, 100%); max-height: 84vh; margin: auto; overflow: auto; padding: 48px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.close-button { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--text); font-size: 2rem; line-height: 1; }
.close-button:hover { background: var(--soft); }
.search-panel > .close-button { position: absolute; top: 18px; right: 18px; }
.search-field { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 0 18px; border: 1px solid #D9D9D9; }
.search-field svg { width: 21px; fill: none; stroke: var(--text); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.search-field input { width: 100%; height: 58px; border: 0; outline: 0; color: var(--text); font-size: 1rem; }
.search-results { display: grid; gap: 10px; margin-top: 18px; }
.search-result { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); cursor: pointer; }
.search-result:hover { background: #FAFAFA; }
.search-result img { width: 74px; aspect-ratio: 1; object-fit: cover; }
.search-result strong, .search-result small { display: block; }
.search-result small { margin-top: 4px; color: var(--muted); }
.search-result-price { font-size: .82rem; font-weight: 700; }

.cart-drawer { position: fixed; z-index: 99998; top: 0; right: 0; display: flex; width: min(430px, 100%); height: 100dvh; flex-direction: column; background: white; box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .32s ease; }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 25px; border-bottom: 1px solid var(--line); }
.cart-header .eyebrow { margin-bottom: 5px; }
.cart-header h2 { font-size: 1.7rem; }
.cart-items { flex: 1; overflow: auto; padding: 18px 25px; }
.cart-empty { padding: 60px 20px; color: var(--muted); text-align: center; line-height: 1.7; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; aspect-ratio: 1; object-fit: cover; }
.cart-item h3 { margin: 2px 0 7px; font-size: .9rem; }
.cart-item p { margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
.quantity-controls { display: inline-flex; align-items: center; border: 1px solid #DDD; }
.quantity-controls button { width: 30px; height: 29px; border: 0; background: white; cursor: pointer; }
.quantity-controls span { min-width: 24px; text-align: center; font-size: .8rem; }
.remove-item { align-self: start; border: 0; background: none; color: #999; cursor: pointer; font-size: 1.2rem; }
.cart-footer { padding: 20px 25px 25px; border-top: 1px solid var(--line); }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.checkout-button { width: 100%; }
.checkout-button.disabled { pointer-events: none; opacity: .5; }
.page-overlay { position: fixed; z-index: 99997; inset: 0; background: rgba(15,15,15,.45); backdrop-filter: blur(3px); }
.toast { position: fixed; z-index: 2000; right: 24px; bottom: 24px; max-width: min(360px, calc(100% - 48px)); padding: 14px 18px; background: var(--text); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 30px; }
  .four-column { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .five-column { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section-space { padding: 66px 0; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy span:last-child, .brand-separator { display: none; }
  .mobile-menu-button { display: block; }
  .primary-nav { position: fixed; top: var(--header-height); right: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 12px 15px 22px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 16px 32px rgba(0,0,0,.1); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .22s ease, transform .22s ease; }
  .primary-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav > a { grid-column: 1 / -1; padding: 14px 8px; border-bottom: 1px solid #F1F1F1; }
  .primary-nav > a::after { display: none; }
  .primary-nav .icon-button { margin-top: 10px; justify-self: center; }
  .mobile-menu-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-button.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-dots { bottom: 12px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 12px; }
  .four-column, .five-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { gap: 28px 15px; }
  .quick-add { width: 42px; height: 42px; opacity: 1; transform: none; padding: 0; }
  .consultation-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 40px 30px; }
  .footer-services { gap: 24px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section-space { padding: 56px 0; }
  .hero-slider { min-height: auto; }
  .slider-arrow { width: 34px; height: 34px; }
  .slider-arrow svg { width: 20px; }
  .slider-dots { gap: 7px; }
  .slider-dot { width: 6px; height: 6px; }
  .slider-dot.active { width: 20px; }
  .category-section { padding-top: 54px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-icon { max-width: 104px; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .product-grid { gap: 25px 12px; }
  .product-badge { top: 9px; left: 9px; padding: 6px 8px; font-size: .53rem; }
  .quick-add { right: 8px; bottom: 8px; left: auto; width: 40px; height: 40px; }
  .product-info { padding-top: 11px; }
  .product-name { font-size: .87rem; }
  .product-price { font-size: .83rem; }
  .secondary-banner img { min-height: 142px; object-fit: cover; object-position: center; }
  .product-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
  .filter-chip { flex: 0 0 auto; }
  .consultation-section { padding: 54px 0; }
  .primary-button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-services { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .search-overlay { padding: 0; }
  .search-panel { width: 100%; height: 100dvh; max-height: none; padding: 80px 20px 30px; }
  .search-result { grid-template-columns: 62px 1fr; }
  .search-result img { width: 62px; }
  .search-result-price { grid-column: 2; }
  .toast { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Product detail modal: isolated from the homepage layout. */
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--cta); outline-offset: 5px; }
.product-modal {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-y: auto;
  background: rgba(22, 22, 22, .62);
  backdrop-filter: blur(7px);
}
.product-modal[hidden], .image-lightbox[hidden] { display: none; }
.product-modal-dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100dvh - 56px);
  overflow: auto;
  background: var(--white);
  box-shadow: 0 32px 95px rgba(0, 0, 0, .28);
}
.product-modal-dialog::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -105px;
  width: 430px;
  height: 520px;
  opacity: .04;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 700'%3E%3Cg fill='none' stroke='%23333333' stroke-width='3'%3E%3Ccircle cx='330' cy='300' r='38'/%3E%3Cellipse cx='330' cy='205' rx='48' ry='98'/%3E%3Cellipse cx='330' cy='395' rx='48' ry='98'/%3E%3Cellipse cx='235' cy='300' rx='98' ry='48'/%3E%3Cellipse cx='425' cy='300' rx='98' ry='48'/%3E%3Cellipse cx='263' cy='233' rx='52' ry='100' transform='rotate(-45 263 233)'/%3E%3Cellipse cx='397' cy='367' rx='52' ry='100' transform='rotate(-45 397 367)'/%3E%3Cellipse cx='397' cy='233' rx='52' ry='100' transform='rotate(45 397 233)'/%3E%3Cellipse cx='263' cy='367' rx='52' ry='100' transform='rotate(45 263 367)'/%3E%3Cpath d='M330 438c-8 78-58 125-113 166M331 438c23 81 79 118 137 131'/%3E%3C/g%3E%3C/svg%3E");
}
.product-modal-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .10);
}
.product-modal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  min-height: 680px;
}
.product-modal-gallery {
  min-width: 0;
  padding: 34px;
  background: #F5F5F5;
}
.product-main-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #EEEEEE;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}
.product-main-image-button > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-main-image-button:hover > img { transform: scale(1.025); }
.image-zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 700;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .10);
}
.image-zoom-hint svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.product-thumbnail {
  width: 78px;
  min-width: 78px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: #EEEEEE;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color .2s ease, opacity .2s ease;
}
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnail:not(.active) { opacity: .67; }
.product-thumbnail.active, .product-thumbnail:hover { border-color: var(--text); opacity: 1; }
.product-modal-details {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 72px 52px 48px;
}
.modal-size-consultation {
  position: absolute;
  top: 22px;
  right: 70px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #383838;
  color: white;
  font-size: .73rem;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.modal-size-consultation:hover { background: #222; transform: translateY(-1px); }
.consultation-help {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  font-size: .72rem;
}
.product-modal-category {
  margin-bottom: 10px;
  color: #8A8A8A;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.product-modal-details h2 {
  max-width: 430px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.product-modal-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: 1.16rem;
  font-weight: 750;
}
.product-modal-price .price-original { font-size: .78em; }
.product-modal-price .price-discount-badge { font-size: .64em; }
.product-option-group { margin-bottom: 28px; }
.product-option-label {
  margin-bottom: 13px;
  color: var(--text);
  font-size: .88rem;
  font-weight: 700;
}
.product-option-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.product-option-heading .product-option-label { margin-bottom: 13px; }
.size-guide-link {
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
}
.size-guide-link span { display: inline-block; margin-left: 3px; transition: transform .2s ease; }
.size-guide-link:hover span { transform: translateX(4px); }
.modal-color-options { display: flex; flex-wrap: wrap; gap: 12px; }
.modal-color-swatch {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.modal-color-swatch span {
  display: block;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 50%;
}
.modal-color-swatch.active { border-color: var(--text); }
.modal-color-swatch:hover { transform: translateY(-2px); }
.size-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.size-swatch {
  min-height: 43px;
  padding: 8px 6px;
  border: 1px solid #D6D6D6;
  background: white;
  color: var(--text-soft);
  cursor: pointer;
  font-size: .79rem;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.size-swatch:hover { border-color: #888; }
.size-swatch.active { border-color: var(--text); background: var(--text); color: white; }
.product-purchase-row { display: grid; grid-template-columns: 122px 1fr; gap: 12px; margin-top: 4px; }
.modal-quantity {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  min-height: 50px;
  border: 1px solid #D6D6D6;
  background: white;
}
.modal-quantity button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}
.modal-quantity input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  font-weight: 700;
  appearance: textfield;
}
.modal-quantity input::-webkit-outer-spin-button,
.modal-quantity input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.modal-add-to-cart {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 17px;
  border: 0;
  background: #D67C27;
  color: white;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}
.modal-add-to-cart:hover { background: var(--cta-dark); transform: translateY(-1px); }
.modal-add-to-cart svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.product-description { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.product-description p { margin: 0; color: #676767; font-size: .86rem; line-height: 1.75; }
.image-lightbox {
  position: fixed;
  z-index: 1800;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(12, 12, 12, .92);
  cursor: zoom-out;
}
.image-lightbox img {
  width: auto;
  max-width: min(94vw, 1500px);
  max-height: 92dvh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
  cursor: default;
}
.image-lightbox-close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(0, 0, 0, .36);
  color: white;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}
.cart-variant { margin-bottom: 4px !important; color: var(--text-soft) !important; font-weight: 700; }

@media (max-width: 920px) {
  .product-modal { padding: 18px; }
  .product-modal-dialog { max-height: calc(100dvh - 36px); }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-gallery { padding: 28px; }
  .product-main-image-button { max-width: 650px; margin-inline: auto; }
  .product-thumbnails { max-width: 650px; margin-right: auto; margin-left: auto; }
  .product-modal-details { padding: 72px 38px 42px; }
}

@media (max-width: 560px) {
  .product-modal { display: block; padding: 0; }
  .product-modal-dialog { width: 100%; min-height: 100dvh; max-height: none; }
  .product-modal-gallery { padding: 64px 16px 20px; }
  .product-modal-details { padding: 68px 20px 36px; }
  .product-modal-close { position: fixed; top: 10px; right: 10px; }
  .modal-size-consultation { top: 18px; right: auto; left: 20px; }
  .product-thumbnail { width: 65px; min-width: 65px; }
  .image-zoom-hint { right: 10px; bottom: 10px; padding: 8px 10px; font-size: .66rem; }
  .product-modal-details h2 { font-size: 1.75rem; }
  .product-modal-price { margin-bottom: 28px; }
  .size-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .size-swatch { min-height: 40px; font-size: .72rem; }
  .product-purchase-row { grid-template-columns: 1fr; }
  .modal-quantity { width: 132px; }
  .image-lightbox { padding: 12px; }
  .image-lightbox-close { top: 10px; right: 10px; }
}

/* Keep decorative watermark inside the modal bounds so it never creates scrollbars. */
.product-modal-dialog { overflow-x: hidden; }
.product-modal-dialog::after { right: 0; bottom: 0; width: 360px; height: 440px; }

/* Product availability states; no homepage layout changes. */
.modal-color-swatch:disabled,
.size-swatch:disabled {
  opacity: .32;
  cursor: not-allowed;
  transform: none;
}
.size-swatch:disabled {
  background: #F5F5F5;
  color: #9A9A9A;
  text-decoration: line-through;
}


/* Floating cart: additive UI only; homepage layout remains unchanged. */
.floating-cart-button {
  position: fixed;
  z-index: 99999;
  right: 20px;
  bottom: 20px;
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 62px;
  height: 62px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #D67C27;
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(51, 51, 51, .24), 0 3px 10px rgba(214, 124, 39, .28);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.floating-cart-button:hover {
  background: var(--cta-dark);
  box-shadow: 0 13px 32px rgba(51, 51, 51, .28), 0 4px 12px rgba(214, 124, 39, .30);
  transform: translateY(-2px);
}
.floating-cart-button:active { transform: translateY(0) scale(.97); }
.floating-cart-button:focus-visible { outline: 3px solid rgba(214, 124, 39, .30); outline-offset: 4px; }
.floating-cart-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid #FFFFFF;
  border-radius: 999px;
  background: #333333;
  color: #FFFFFF;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}

@media (max-width: 560px) {
  .floating-cart-button {
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
  }
  .floating-cart-button svg { width: 26px; height: 26px; }
}
