@font-face {
	font-family: 'DM Sans';
	src: url('../fonts/DM-Sans/DM-Sans-Latin.woff2') format('woff2');
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--accessories-bg: #fff0e5;
	--accessories-panel: #fffaf5;
	--accessories-ink: #171512;
	--accessories-brown: #5b4527;
	--accessories-muted: #927968;
	--accessories-line: #ddc8b6;
}

.accessories-product,
.accessories-demo-page {
	color: var(--accessories-ink);
	background: var(--accessories-bg);
}

.accessories-product .haptelle-related-products .product-action_bot .tf-btn.btn-white:hover { background:var(--accessories-brown); }

body.haptelle-accessories-root-demo .haptelle-staging-banner {
	display: none;
}

.accessories-product { --accessories-content-gutter: clamp(20px, 2.1vw, 30px); padding: 16px 0 0; }
.accessories-product__first-panel,
.accessories-product__detail-image,
.accessories-product__realism { box-sizing:border-box; width:calc(100% - var(--accessories-content-gutter) - var(--accessories-content-gutter)); max-width:1740px; margin-right:auto; margin-left:auto; }
.accessories-product__first-panel { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:clamp(32px, 4vw, 60px); align-items:start; padding:14px 0 clamp(48px, 7vw, 104px); }
.accessories-product__gallery-column { min-width:0; }
.accessories-product__gallery { position:static; }
.accessories-product__gallery .product-thumbs-slider { display:flex; align-items:flex-start; gap:20px; }
.accessories-product__gallery .tf-product-media-thumbs { order:-1; flex:0 0 80px; width:80px; height:70vh; min-height:300px; max-height:min(764px, calc(100vh - 49px)); margin:0; }
.accessories-product__gallery .tf-product-media-thumbs .swiper-slide { height:auto; opacity:.78; cursor:pointer; }
.accessories-product__gallery .tf-product-media-thumbs .swiper-slide-thumb-active { opacity:1; }
.accessories-product__gallery .tf-product-media-thumbs .swiper-slide .item img { width:100%; height:110px; border-radius:3px; object-fit:cover; }
.accessories-product__gallery .tf-product-media-main { flex:1 1 auto; min-width:0; width:auto; }
.accessories-product__gallery .tf-product-media-main .swiper-slide { background:#f7eee5; }
.accessories-product__gallery .tf-product-media-main .item { display:flex; width:100%; height:100%; min-height:0; align-items:center; justify-content:center; background:#f7eee5; }
.accessories-product__gallery .tf-product-media-main img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100vh - 49px); object-fit:contain; }
.accessories-product__gallery .tf-product-media-main .video-product { display:flex; width:100%; max-height:calc(100vh - 49px); align-items:center; justify-content:center; background:#f7eee5; }
.accessories-product__gallery .tf-product-media-main .video-product > video { width:100%; max-height:inherit; object-fit:contain; }
.accessories-product__summary { min-width:0; }
.accessories-product .tf-product-info-heading h1 { color:var(--text); }
.accessories-product .haptelle-customizer--product .haptelle-customizer__shipping-note { align-items:flex-start; }
.accessories-product .haptelle-customizer--product .haptelle-customizer__shipping-note svg { margin-top:1px; }
.accessories-product .haptelle-customizer--product .haptelle-customizer__shipping-link { margin-left:0; }
.accessories-product__eyebrow,
.accessories-demo-eyebrow { margin:0 0 10px; color:var(--accessories-muted); font-size:11px; font-weight:700; letter-spacing:.15em; }
.accessories-option-groups { box-sizing:border-box; width:min(100%, 38vw); margin-top:12px; overflow:visible; }
.accessories-option-groups .haptelle-customizer__option.is-selected { border-color:#594423; box-shadow:0 0 0 1px #594423; }
.accessories-option-groups .haptelle-customizer__options { overflow:visible; }
.accessories-option-groups.haptelle-customizer--product .haptelle-customizer__option-title { display:grid; grid-template-rows:minmax(37px,auto) minmax(28px,auto); gap:4px; align-items:center; font-size:12px; line-height:16px; }
.accessories-option-groups.haptelle-customizer--product .haptelle-customizer__option-title > strong { grid-row:1; font-size:12px; line-height:17px; font-weight:500; }
.accessories-option-groups.haptelle-customizer--product .haptelle-customizer__option-price { display:block; grid-row:2; margin:0; color:#594423; font-size:11px; line-height:16px; }
.accessories-option-groups.haptelle-customizer--product .accessories-option-group { box-sizing:border-box; padding:13px 0 16px; border:0; }
.accessories-option-groups.haptelle-customizer--product .accessories-option-group:first-child { padding-top:0; }
.accessories-option-groups.haptelle-customizer--product .accessories-option-group + .accessories-option-group { border-top:1px solid var(--accessories-line); }
.accessories-option-group h3 span:not(.screen-reader-text) { color:#9e6a42; }
.accessories-option-card { width:100%; padding:0; border:0; border-radius:inherit; background:transparent; color:inherit; font:inherit; text-align:center; cursor:pointer; }
.accessories-option-card:disabled { cursor:not-allowed; }
.accessories-option-unavailable { display:block; margin-top:4px; color:#80563d; font-size:11px; }
.accessories-option-note { margin:12px 0 0; color:var(--accessories-muted); font-size:12px; line-height:1.55; }
.accessories-option-group[hidden], .accessories-option-note[hidden] { display:none; }
.accessories-product__quote { margin:2px 0 12px; color:var(--accessories-muted); }
.accessories-product__quote-status { min-height:0; margin:0; color:var(--accessories-muted); font-size:14px; line-height:1.5; }
.accessories-product__quote-status:empty { display:none; }
.accessories-product__quote-status.is-error { color:#9b2d2d; }
.accessories-product__buy { display:block; }
.accessories-product__purchase-actions { min-width:0; }
.accessories-quantity { display:grid; box-sizing:border-box; height:44px; grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr); align-items:center; justify-items:stretch; overflow:hidden; border:1px solid var(--accessories-line); border-radius:24px; background:#fffaf5; }
.accessories-quantity button { display:grid; width:100%; height:100%; padding:0; border:0; place-items:center; background:transparent; color:var(--accessories-brown); font-size:19px; line-height:1; appearance:none; }
.accessories-quantity input { display:block; box-sizing:border-box; width:100%; min-width:0; height:100%; margin:0; padding:0; border:0; background:transparent; color:var(--accessories-ink); text-align:center; font-size:13px; line-height:1; font-variant-numeric:tabular-nums; appearance:textfield; }
.accessories-quantity input::-webkit-inner-spin-button,
.accessories-quantity input::-webkit-outer-spin-button { margin:0; appearance:none; }
.accessories-product__buy .accessories-quantity { display:inline-flex; flex:0 0 auto; gap:12px; align-items:center; box-sizing:border-box; height:auto; min-height:52px; padding:6px; overflow:visible; }
.accessories-product__buy .accessories-quantity button { flex:0 0 31px; width:31px; height:31px; border-radius:50%; font-size:19px; }
.accessories-product__buy .accessories-quantity input { flex:0 0 18px; width:18px; height:31px; font-size:16px; }
.accessories-product__purchase-actions .accessories-product__add { flex:1 1 auto; width:auto; min-width:0; min-height:52px; }
.accessories-demo-button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:10px 18px; border:1px solid var(--accessories-brown); border-radius:24px; background:transparent; color:var(--accessories-brown); font-size:13px; font-weight:700; text-align:center; text-decoration:none; }
.accessories-demo-button--primary { background:#4e3a20; color:#fff; }
.accessories-product__add:disabled,
.accessories-product__buy-now:disabled { cursor:not-allowed; opacity:.45; }
.accessories-product__favorite { display:block; width:max-content; margin:8px auto 0; padding:5px 12px; border:0; background:transparent; color:var(--accessories-muted); font-size:13px; }
.accessories-product__favorite[aria-pressed="true"] { color:#8d503e; }
.accessories-product__help { margin-top:19px; border-top:1px solid var(--accessories-line); }
.accessories-product__help details { border-bottom:1px solid var(--accessories-line); }
.accessories-product__help summary { padding:16px 2px; color:var(--accessories-brown); font-size:16px; font-weight:600; line-height:1.5; cursor:pointer; }
.accessories-product__help p { margin:0; padding:0 2px 16px; color:#474747; font-size:16px; line-height:26px; }
.accessories-product__detail-image { display:grid; min-height:0; padding:clamp(24px, 3vw, 40px) 0; place-items:center; border-top:1px solid var(--accessories-line); }
.accessories-product__detail-image img { display:block; width:100%; max-height:750px; aspect-ratio:16 / 9; object-fit:cover; object-position:center 40%; }
body.postid-2821 .accessories-product__detail-image--2 img { width:96%; }
.accessories-product__realism-layout { align-items:center; }
.accessories-product__realism .sw-thumb { min-width:0; }
.accessories-product__realism .sw-thumb .sw-image { aspect-ratio:1 / 1; overflow:hidden; }
.accessories-product__realism .sw-thumb .sw-image img { display:block; width:100%; height:100%; object-fit:cover; }
.accessories-product__features { min-width:0; }
.accessories-product__features .testimonial-v01 { width:100%; min-width:0; }
.accessories-product__features .tes-content { width:100%; min-width:0; }
.accessories-option-dialog { width:min(560px, calc(100vw - 32px)); max-height:min(84vh, 760px); margin:auto; padding:32px; border:1px solid var(--accessories-line); border-radius:16px; background:var(--accessories-panel); color:var(--accessories-ink); box-shadow:0 20px 60px #3b291c33; }
.accessories-option-dialog::backdrop { background:#21180f99; }
.accessories-option-dialog[open] { display:grid; grid-template-columns:minmax(120px, .8fr) minmax(0, 1.2fr); gap:22px; align-items:center; }
.accessories-option-dialog img { width:100%; border-radius:10px; object-fit:cover; }
.accessories-option-dialog img[hidden] { display:none; }
.accessories-option-dialog:has(img[hidden]) { grid-template-columns:1fr; }
.accessories-option-dialog h2 { margin:0 0 10px; font-size:24px; }
.accessories-option-dialog p:last-child { color:var(--accessories-muted); font-size:14px; line-height:1.6; }
.accessories-option-dialog__close { position:absolute; top:8px; right:10px; width:34px; height:34px; border:0; border-radius:50%; background:#f0e4da; color:var(--accessories-brown); font-size:22px; }

.accessories-demo-page { min-height:60vh; padding:clamp(30px, 5vw, 70px) clamp(18px, 5vw, 80px) 80px; }
.accessories-demo-intro { max-width:1080px; margin:0 auto 42px; text-align:center; }
.accessories-demo-intro h1 { margin:0 0 12px; color:var(--accessories-brown); font-size:clamp(32px, 4vw, 50px); }
.accessories-demo-intro p:not(.accessories-demo-eyebrow) { max-width:680px; margin:0 auto 18px; color:var(--accessories-muted); line-height:1.6; }
.accessories-demo-catalog { max-width:1500px; margin:0 auto; }
.accessories-demo-cards { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px; }
.accessories-demo-card { display:grid; grid-template-rows:auto auto auto auto auto; gap:9px; padding:16px; border:1px solid var(--accessories-line); border-radius:16px; background:var(--accessories-panel); color:inherit; text-decoration:none; }
.accessories-demo-card__image { display:block; overflow:hidden; background:#f5e9dd; }
.accessories-demo-card__image img { display:block; width:100%; aspect-ratio:1.5; object-fit:cover; }
.accessories-demo-card__category { color:var(--accessories-muted); font-size:11px; text-transform:uppercase; letter-spacing:.1em; }
.accessories-demo-card strong { font-size:20px; }
.accessories-demo-card__price { color:var(--accessories-brown); font-size:13px; font-weight:650; }
.accessories-demo-card__link { color:var(--accessories-brown); font-size:13px; font-weight:700; }
.accessories-demo-preview-grid { display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(280px, .7fr); gap:28px; max-width:1200px; margin:0 auto; align-items:start; }
.accessories-demo-lines { display:grid; gap:14px; }
.accessories-demo-line { display:grid; grid-template-columns:120px minmax(0, 1fr) auto; gap:16px; padding:14px; border:1px solid var(--accessories-line); border-radius:12px; background:var(--accessories-panel); }
.accessories-demo-line img { width:120px; aspect-ratio:1; object-fit:cover; background:#f2e7dd; }
.accessories-demo-line h2 { margin:0 0 8px; font-size:17px; }
.accessories-demo-line p { margin:4px 0; color:var(--accessories-muted); font-size:12px; }
.accessories-demo-line__actions { display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:10px; }
.accessories-demo-line__actions input { width:70px; min-height:36px; border:1px solid var(--accessories-line); border-radius:18px; text-align:center; }
.accessories-demo-line__actions button { border:0; background:transparent; color:#865c44; text-decoration:underline; }
.accessories-demo-totals { position:sticky; top:96px; padding:22px; border:1px solid var(--accessories-line); border-radius:14px; background:var(--accessories-panel); }
.accessories-demo-totals h2 { margin:0 0 16px; font-size:20px; }
.accessories-demo-totals > p:not(.accessories-demo-shipping-note) { display:flex; justify-content:space-between; gap:12px; margin:12px 0; font-size:13px; }
.accessories-demo-shipping-note { margin:16px 0; color:var(--accessories-muted); font-size:12px; line-height:1.55; }
.accessories-demo-totals .accessories-demo-button { width:100%; margin-top:8px; }
.accessories-demo-loading,.accessories-demo-empty,.accessories-demo-error { padding:22px; border:1px solid var(--accessories-line); border-radius:12px; background:var(--accessories-panel); color:var(--accessories-muted); }
.accessories-demo-error { color:#9b2d2d; }
.accessories-demo-newsletter__card { display:block; width:min(420px, calc(100vw - 40px)); padding:28px; border-radius:14px; background:#fff; color:#101010; box-shadow:0 12px 36px #0002; }
.accessories-demo-newsletter__card h2 { margin:0 0 8px; color:#a87d65; font-size:28px; font-weight:600; }
.accessories-demo-newsletter__card .desc { margin:0 0 18px; color:#927968; font-size:13px; line-height:1.6; }
.accessories-demo-newsletter__card label { display:block; margin-bottom:7px; font-size:12px; }
.accessories-demo-newsletter__card form > div { display:flex; gap:8px; }
.accessories-demo-newsletter__card input { flex:1; min-width:0; height:40px; padding:0 14px; border:1px solid var(--accessories-line); border-radius:22px; background:#fff; }
.accessories-demo-newsletter__card button { min-height:40px; padding:0 16px; border:0; border-radius:22px; background:#ad846a; color:#fff; font-size:12px; }
.accessories-demo-newsletter__status { min-height:0; margin:0; color:var(--accessories-muted); font-size:12px; }
.accessories-demo-newsletter__status:not(:empty) { min-height:18px; margin-top:10px; }
.accessories-demo-footer-note { padding:0 0 20px; color:rgba(255,255,255,.72); text-align:center; }
.accessories-demo-footer-note small { font-size:12px; line-height:1.5; }
.accessories-cart-migration-status { margin:0 0 18px; padding:12px 16px; border:1px solid var(--accessories-line); border-radius:8px; color:var(--accessories-ink); font-size:14px; line-height:1.5; }
.accessories-cart-migration-status.is-error { border-color:#b75e52; color:#8f3028; }

@media (max-width: 991.98px) {
	.accessories-product__first-panel { grid-template-columns:minmax(0, 1fr); gap:28px; }
	.accessories-product__gallery-column { position:static; }
	.accessories-product__summary { min-width:0; }
	.accessories-product__detail-image { min-height:0; }
	.accessories-product__realism-layout { align-items:center; }
	.accessories-product__realism .col-right { padding-right:0; padding-left:0; }
}

/* Match the Customizer product grid: keep the gallery column beside the long
 * option panel while it scrolls, constrained to the purchase section. */
@media (min-width: 992px) {
	.accessories-product__gallery-column { position:sticky; top:0; align-self:start; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.accessories-product__gallery .tf-product-media-main img { max-height:calc(100vh - 220px); }
	.accessories-product__gallery .tf-product-media-main .video-product { max-height:calc(100vh - 220px); }
}

/* Keep replacement-head gallery framing aligned with the standard portrait product gallery. */
@media (min-width: 1200px) {
	.accessories-product .accessories-product__gallery .tf-product-media-main .item img.tf-image-zoom {
		width:auto;
		height:min(calc(100vh - 49px), 1200px);
		max-width:100%;
		max-height:calc(100vh - 49px);
		aspect-ratio:2 / 3;
		object-fit:cover;
		object-position:center;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.accessories-product .accessories-product__gallery .tf-product-media-main .item img.tf-image-zoom {
		width:auto;
		height:min(calc(100vh - 220px), 1200px);
		max-width:100%;
		max-height:calc(100vh - 220px);
		aspect-ratio:2 / 3;
		object-fit:cover;
		object-position:center;
	}
}

@media (max-width: 991.98px) {
	.accessories-product .accessories-product__gallery .tf-product-media-main .item img.tf-image-zoom {
		width:100%;
		height:auto;
		max-height:none;
		aspect-ratio:2 / 3;
		object-fit:cover;
		object-position:center;
	}
}

@media (max-width: 1199px) {
	.accessories-option-groups { width:100%; }
	.accessories-product__gallery .product-thumbs-slider { flex-direction:column; width:100%; min-width:0; }
	.accessories-product__gallery .flat-wrap-media-product { width:100%; max-width:100%; min-width:0; flex:0 0 auto; }
	.accessories-product__gallery .tf-product-media-main { width:100%; min-width:0; flex:0 0 auto; }
	.accessories-product__gallery .tf-product-media-thumbs { order:2; width:100%; height:auto; min-height:0; max-height:none; flex-basis:auto; }
	.accessories-product__gallery .tf-product-media-thumbs .swiper-slide { width:auto !important; height:auto !important; }
}

@media (max-width: 600px) {
	.accessories-product { --accessories-content-gutter:20px; padding:10px 0 0; }
	.accessories-product__first-panel { gap:22px; padding-bottom:46px; }
	.accessories-product__gallery .product-thumbs-slider { display:flex; width:100%; min-width:0; flex-direction:column; gap:9px; }
	.accessories-product__gallery .flat-wrap-media-product { width:100%; max-width:100%; min-width:0; flex:0 0 auto; }
	.accessories-product__gallery .tf-product-media-main { width:100%; min-width:0; flex:0 0 auto; }
	.accessories-product__gallery .tf-product-media-thumbs { order:2; width:100%; height:auto; max-height:none; flex-basis:auto; }
	.accessories-product__gallery .tf-product-media-thumbs .swiper-wrapper { flex-direction:row; }
	.accessories-product__gallery .tf-product-media-thumbs .swiper-slide { width:64px !important; }
	.accessories-product__gallery .tf-product-media-thumbs .swiper-slide .item img { height:72px; }
	.accessories-product__purchase-actions { gap:8px; }
	.accessories-product__buy .accessories-quantity { gap:5px; }
	.accessories-product__realism-layout { --bs-gutter-y:22px; }
	.accessories-option-dialog { padding:28px 20px 20px; }
	.accessories-option-dialog[open] { grid-template-columns:1fr; gap:14px; }
	.accessories-option-dialog img { max-height:35vh; object-position:center 28%; }
	.accessories-option-dialog h2 { font-size:21px; }
	.accessories-demo-page { padding:34px 16px 54px; }
	.accessories-demo-cards { grid-template-columns:1fr; gap:14px; }
	.accessories-demo-card { padding:12px; }
	.accessories-demo-card__image img { aspect-ratio:1.2; }
	.accessories-demo-preview-grid { grid-template-columns:1fr; gap:16px; }
	.accessories-demo-totals { position:static; }
	.accessories-demo-line { grid-template-columns:76px minmax(0, 1fr); gap:10px; padding:10px; }
	.accessories-demo-line img { width:76px; }
	.accessories-demo-line__actions { grid-column:2; flex-direction:row; align-items:center; }
	.accessories-demo-newsletter__card form > div { flex-direction:column; }
	.accessories-demo-newsletter__card button { min-height:40px; }
}

/* Match the desktop accessory hero to the standard Shop product gallery. The
 * Shop page is a Bootstrap row: 30px container gutters plus 15px column
 * gutters, so the media/copy columns start 30px in and sit 30px apart. Use the
 * same outer width and gap here, and drop the accessory-only height caps so the
 * media keeps the Shop gallery's width-driven proportions. */
@media (min-width:1200px) {
	.accessories-product__first-panel { width:calc(100% - 60px); gap:30px; }
	.accessories-product__summary { margin-top:0; }
	.accessories-product__gallery .product-thumbs-slider { align-items:stretch; }
	.accessories-product__gallery .tf-product-media-thumbs { height:auto; min-height:0; max-height:764px; }
	.accessories-product__gallery .tf-product-media-thumbs .swiper-slide .item img { height:100%; object-fit:contain; }
	.accessories-product .accessories-product__gallery .tf-product-media-main .item img.tf-image-zoom {
		width:100%;
		height:auto;
		max-height:none;
		aspect-ratio:auto;
		object-fit:contain;
	}
}
