/* Reference layout, using Pavan's existing palette and typography. */
@font-face {
  font-family: 'Pavan Inter';
  src: url('images/fonts/inter-regular.ttf') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pavan Inter';
  src: url('images/fonts/inter-bold.ttf') format('truetype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
.product-editorial {
  --product-paper: #f2eee6;
  --product-ink: #1c1915;
  --product-muted: #48443f;
  --product-line: #1c191524;
  --product-accent: var(--color-accent, #56221b);
  --product-header-height: 72px;
  --font-body: 'Pavan Inter', Arial, sans-serif;
  --font-heading: 'Pavan Inter', Arial, sans-serif;
  background: var(--product-paper);
  color: var(--product-ink);
  font: 400 14px/1.5 var(--font-body);
}
.product-editorial [hidden] { display: none !important; }
.product-editorial h1, .product-editorial h2, .product-editorial h3, .product-editorial button { font-family: var(--font-body); }
.product-editorial .product-page a:focus-visible, .product-masthead a:focus-visible, .product-editorial button:focus-visible, .product-editorial summary:focus-visible { outline: 2px solid var(--product-accent); outline-offset: 4px; }
.product-masthead { position: fixed; inset: 0 0 auto; z-index: 80; height: var(--product-header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; background: var(--product-paper); }
.product-menu-toggle { justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.product-masthead-brand { display: block; width: 180px; }
.product-masthead-brand img { display: block; width: 100%; height: auto; }
.product-masthead-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.product-masthead-actions > a { position: relative; display: grid; place-items: center; width: 36px; height: 44px; }
.product-masthead-actions .cart-count { position: absolute; top: 1px; right: -3px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 50%; background: var(--product-accent); color: #fff; font-size: 9px; text-align: center; }
.product-site-menu { position: absolute; inset: 100% 0 auto; display: flex; justify-content: center; gap: 38px; padding: 24px 40px; border-bottom: 1px solid var(--product-line); background: var(--product-paper); }
.product-editorial .product-page { width: 100%; max-width: none; margin: 0; padding: var(--product-header-height) 0 0; min-height: 70vh; background: var(--product-paper); }
.product-editorial .product-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(430px,.92fr); gap: 0; max-width: none; margin: 0; align-items: start; }
.product-editorial .product-gallery { position: relative; top: auto; display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 26px; align-items: start; min-height: calc(100vh - var(--product-header-height)); padding: 0 0 0 34px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.product-editorial .gallery-thumbs { position: sticky; top: calc(var(--product-header-height) + 38vh); display: grid; grid-template-columns: 1fr; align-content: start; gap: 10px; width: 54px; margin: 38vh 0 0; padding: 0; z-index: 1; }
.product-editorial .gallery-thumb { display: grid; place-items: center; width: 54px; padding: 0; border: 0; border-right: 3px solid transparent; border-radius: 0; background: transparent; opacity: .6; box-shadow: none; cursor: pointer; }
.product-editorial .gallery-thumb.active { border-right-color: var(--product-ink); opacity: 1; box-shadow: none; }
.product-editorial .gallery-thumb:hover { opacity: 1; }
.product-editorial .gallery-thumb img { display: block; width: 42px; height: 62px; object-fit: contain; background: var(--product-paper); }
.product-image-stack { min-width: 0; display: grid; }
.product-image-shell { position: relative; height: calc(100vh - var(--product-header-height)); min-height: 500px; overflow: hidden; background: var(--product-paper); scroll-margin-top: var(--product-header-height); }
.product-image-shell > img { display: block; width: 100%; height: 100%; object-fit: contain; transform: translate(var(--product-image-translate-x, 0), var(--product-image-translate-y, 0)) scale(var(--product-image-scale, 1)); transform-origin: center; }
.product-image-missing { display: grid; place-items: center; min-height: 60vh; color: var(--product-muted); }
.product-editorial .product-info { position: sticky; top: var(--product-header-height); align-self: start; display: grid; align-content: start; min-width: 0; min-height: calc(100vh - var(--product-header-height)); padding: clamp(24px,2vw,36px) clamp(48px,7vw,156px) 34px clamp(46px,5.2vw,92px); border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.product-editorial .product-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; color: var(--product-muted); font-size: 12px; line-height: 1.4; }
.product-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.product-editorial .product-brand { margin: 0 0 6px; font-size: 11px; line-height: 1.2; letter-spacing: .14em; color: var(--product-muted); text-transform: uppercase; }
.product-editorial .product-info h1 { margin: 0; color: var(--product-ink); font-size: clamp(20px,1.42vw,27px); font-weight: 500; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.product-editorial .product-price-block { margin: 12px 0 0; padding: 0; border: 0; }
.product-editorial .product-price-block .deal-price { margin: 0; font: 500 17px/1.5 var(--font-body); color: var(--product-ink); }
.product-editorial .product-price-block .mrp { margin: 6px 0 0; font-size: 11px; color: var(--product-muted); }
.product-editorial .product-price-block #productMrp { text-decoration: line-through; text-decoration-thickness: 1px; }
.product-editorial .product-price-block .savings { color: var(--product-accent); font-weight: 400; }
.product-meta { display: grid; gap: 10px; margin-top: 18px; }
.product-meta p { margin: 0; font-size: 13px; color: var(--product-ink); }
.product-meta .stock-status { font-size: 12px; font-weight: 400; color: var(--product-muted); }
.product-editorial .color-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.product-editorial .color-pill { padding: 4px 8px; border: 1px solid var(--product-line); border-radius: 0; background: transparent; font-size: 12px; }
.product-quantity-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 26px; font-size: 13px; }
.product-quantity-row p { margin: 0; color: var(--product-ink); }
.product-quantity-row a { color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.product-editorial .product-order-actions { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; }
.product-editorial .add-cart-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px; border: 1px solid var(--product-accent); border-radius: 0; background: var(--product-accent); color: #fff9ef; font: 400 14px/1.5 var(--font-body); cursor: pointer; box-shadow: none; }
.product-editorial .add-cart-btn img { filter: invert(1); }
.product-editorial .add-cart-btn:hover { background: var(--color-accent-hover, #421813); }
.product-editorial .add-cart-btn:disabled { opacity: .7; cursor: default; }
.product-editorial .product-enquire-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 12px; border: 1px solid var(--product-accent); background: transparent; color: var(--product-accent); font: 400 14px/1.5 var(--font-body); letter-spacing: .02em; text-decoration: none; transition: color .18s ease, background .18s ease; }
.product-editorial .product-enquire-btn:hover { background: var(--product-accent); color: #fff9ef; }
.product-editorial .product-order-actions :focus-visible { outline: 2px solid var(--product-accent); outline-offset: 3px; }
.product-editorial .product-highlights { display: grid; gap: 4px; margin: 24px 0 26px; padding-left: 18px; color: var(--product-ink); font-size: 13px; line-height: 1.5; }
.product-accordions { margin-top: 26px; border-top: 1px solid var(--product-line); }
.product-highlights:not([hidden]) + .product-accordions { margin-top: 0; }
.product-disclosure { border-bottom: 1px solid var(--product-line); }
.product-disclosure summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; color: var(--product-ink); font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; list-style: none; cursor: pointer; }
.product-disclosure summary::-webkit-details-marker { display: none; }
.product-disclosure .disclosure-minus, .product-disclosure[open] .disclosure-plus { display: none; }
.product-disclosure[open] .disclosure-minus { display: block; }
.product-editorial .product-description, .product-disclosure p { margin: -2px 0 18px; color: var(--product-ink); font: 400 13px/1.6 var(--font-body); }
.product-editorial .product-specs { width: 100%; margin: 0 0 18px; border: 0; font-size: 13px; }
.product-editorial .product-specs td { padding: 5px 0; border: 0; background: transparent; color: var(--product-ink); vertical-align: top; }
.product-editorial .product-specs td:first-child { width: 42%; font-weight: 600; padding-right: 14px; }
.product-ar-tools:has(#productARButton[style*="display: none"]) { display: none; }
.product-ar-tools .gallery-interactive { display: block; margin-top: 24px; }
.product-ar-tools .gallery-action { width: 100%; padding: 14px 0; border: 0; border-top: 1px solid var(--product-line); border-radius: 0; background: transparent; box-shadow: none; color: var(--product-ink); }
.product-ar-tools .gallery-action-title { font-size: 13px; }
.product-ar-tools .gallery-action p { margin: 4px 0 0; font-size: 11px; }
.product-back-link { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; font-size: 11px; color: var(--product-muted); }
.product-editorial .related-section { width: 100%; max-width: none; margin: 0; padding: 70px 40px; border: 0; border-top: 1px solid var(--product-line); border-radius: 0; background: transparent; box-shadow: none; }
.product-editorial .related-header { display: flex; flex-direction: row; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.product-editorial .related-header h2 { margin: 0; color: var(--product-ink); font-size: clamp(26px,2.4vw,40px); font-weight: 500; letter-spacing: -.035em; }
.product-editorial .related-header p { margin: 8px 0 0; font-size: 13px; color: var(--product-muted); }
.product-editorial .related-header > a { display: inline-flex; align-items: center; gap: 12px; flex: none; text-decoration: underline; text-underline-offset: 5px; }
.product-editorial .related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 16px; }
.product-editorial .related-card { position: relative; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.product-editorial .related-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 16px; object-fit: contain; background: var(--product-paper); }
.product-editorial .related-card-content { padding: 12px 0 0; gap: 5px; }
.product-editorial .related-card-title { margin: 0; font-size: 13px; font-weight: 400; color: var(--product-ink); }
.product-editorial .related-card-price { margin: 0; font-size: 12px; font-weight: 400; color: var(--product-muted); }
.product-editorial .related-card-link { position: absolute; inset: 0; margin: 0; }
.product-editorial .product-page > [role="alert"] { padding: 80px 40px 10px; }
.product-editorial .product-page > [role="alert"] + a { display: inline-block; margin: 0 40px 80px; text-decoration: underline; }
@media (max-width: 1100px) {
  .product-editorial .product-detail-grid { grid-template-columns: 1fr; }
  .product-editorial .product-gallery { grid-template-columns: 76px minmax(0,1fr); padding: 24px 30px 0; min-height: 0; }
  .product-image-shell { height: min(760px,72vh); min-height: 0; }
  .product-editorial .product-info { position: static; min-height: 0; padding: 58px 42px 72px; }
}
@media (max-width: 700px) {
  .product-editorial { --product-header-height: 72px; }
  .product-masthead { padding: 0 12px; }
  .product-masthead-brand { width: 148px; }
  .product-masthead-actions { gap: 5px; }
  .product-masthead-actions > a { width: 30px; }
  .product-masthead-actions img { width: 20px; height: 20px; }
  .product-site-menu { flex-direction: column; gap: 0; padding: 10px 22px; }
  .product-site-menu a { padding: 14px 0; }
  .product-editorial .product-gallery { grid-template-columns: 1fr; gap: 14px; padding: 16px 16px 0; }
  .product-editorial .gallery-thumbs { position: static; display: flex; order: 2; gap: 14px; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .product-editorial .gallery-thumb { flex: 0 0 58px; width: 58px; padding-bottom: 8px; border-right: 0; border-bottom: 2px solid transparent; }
  .product-editorial .gallery-thumb.active { border-bottom-color: var(--product-ink); }
  .product-editorial .gallery-thumb img { width: 54px; height: 72px; }
  .product-image-shell { height: 64vh; scroll-margin-top: var(--product-header-height); }
  .product-editorial .product-info { padding: 38px 22px 54px; }
  .product-editorial .product-info h1 { font-size: 22px; }
  .product-editorial .related-section { padding: 38px 20px 56px; }
  .product-editorial .related-header { align-items: start; gap: 18px; }
  .product-editorial .related-header h2 { font-size: 26px; }
  .product-editorial .related-header > a { font-size: 11px; gap: 6px; margin-top: 9px; }
  .product-editorial .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .product-editorial .related-card img { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-editorial { scroll-behavior: auto; }
}

.product-editorial .footer p, .product-editorial .footer p a { color: #fff9ef; }
