/* Mabruk: desktop composition and immersive product detail. */
body[data-page="catalog"]{--detail-accent:#8a6a3e;--detail-soft:#f2eee6;font-family:Manrope,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
body[data-page="catalog"] button,body[data-page="catalog"] input,body[data-page="catalog"] select{font-family:inherit}
body[data-page="catalog"] .section-heading h1,body[data-page="catalog"] .category-section-title,body[data-page="catalog"] .detail-info h2{font-weight:700;letter-spacing:-.045em;text-wrap:balance}
body[data-page="catalog"] .product-name-button{text-align:left;letter-spacing:-.02em}
body[data-page="catalog"] #modal:has(.product-detail){padding:0;width:min(1120px,calc(100vw - 64px));max-width:1120px;max-height:90dvh;overflow:auto;border-radius:30px}
body[data-page="catalog"] #modal:has(.product-detail) .modal-top{position:sticky;top:0;z-index:5;margin:0;padding:14px 24px;background:var(--ui-surface);border-bottom:1px solid var(--ui-border)}
body[data-page="catalog"] #modal:has(.product-detail) #modal-title{font-size:12px;letter-spacing:.03em;font-weight:600}
body[data-page="catalog"] #modal:has(.product-detail) .modal-top .icon-button{width:42px;height:42px;border-radius:50%;background:var(--ui-soft);border:1px solid var(--ui-border);font-size:24px;display:grid;place-items:center}
body[data-page="catalog"] .product-detail{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0;align-items:start}
body[data-page="catalog"] .detail-gallery{padding:28px;background:var(--detail-soft);min-width:0;position:sticky;top:71px}
body[data-page="catalog"] .detail-photo-stage{border:0;border-radius:22px;background:#fff;box-shadow:0 10px 30px -20px #44392355;aspect-ratio:1}
body[data-page="catalog"] .detail-photo-stage .detail-main-image{width:100%;height:100%;max-height:none;object-fit:contain;aspect-ratio:1}
body[data-page="catalog"] .detail-thumbnails{justify-content:center;margin:18px 0 0;gap:10px;flex-wrap:wrap}
body[data-page="catalog"] .detail-thumbnails button{width:58px;height:58px;border-radius:14px;padding:4px;background:#fff}
body[data-page="catalog"] .detail-thumbnails button[aria-pressed=true]{border-color:var(--detail-accent);box-shadow:0 0 0 2px #b49b7033}
body[data-page="catalog"] .detail-photo-count{background:#242723db;color:white;border:1px solid #ffffff30;border-radius:20px;padding:6px 12px;font-size:11px;backdrop-filter:blur(8px)}
body[data-page="catalog"] .detail-info{padding:30px 32px;min-width:0;display:flex;flex-direction:column;align-items:stretch}
body[data-page="catalog"] .detail-info>.eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--detail-accent);line-height:1.6}
body[data-page="catalog"] .detail-info h2{font-size:34px;line-height:1.16;margin:12px 0 18px;overflow-wrap:anywhere}
body[data-page="catalog"] .detail-price{font-size:34px;margin:0 0 5px;font-weight:700;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
body[data-page="catalog"] .detail-price small{font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--ui-muted)}
body[data-page="catalog"] .detail-tax{font-size:11px;line-height:1.65;margin:4px 0 14px;color:var(--ui-muted)}
body[data-page="catalog"] .detail-availability{align-self:start;border-radius:20px;padding:7px 12px;font-size:11px;margin:2px 0 16px;background:var(--ui-soft)}
body[data-page="catalog"] .detail-variants h3{font-size:13px;font-weight:700;margin:6px 0 12px}
body[data-page="catalog"] .variant-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-page="catalog"] .variant-option{min-height:66px;padding:12px;border-radius:15px;position:relative;text-align:left}
body[data-page="catalog"] .variant-option[aria-pressed=true]{padding-right:24px;background:var(--detail-soft);border-color:var(--detail-accent)}
body[data-page="catalog"] .variant-option[aria-pressed=true]::after{content:"✓";position:absolute;right:9px;top:10px;color:var(--detail-accent);font-weight:700}
body[data-page="catalog"] .detail-description-panel{margin:8px 0;padding:16px 0;border-top:1px solid var(--ui-border);border-bottom:1px solid var(--ui-border);font-size:13px;line-height:1.8}
body[data-page="catalog"] .detail-description-panel summary{font-size:13px;font-weight:700}
body[data-page="catalog"] .detail-description-panel p{margin:12px 0 0;color:var(--ui-muted)}
body[data-page="catalog"] .detail-specs{background:none;padding:10px 0;margin:0 0 14px;gap:12px}
body[data-page="catalog"] .detail-specs dt{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--ui-muted)}
body[data-page="catalog"] .detail-specs dd{font-size:12px;font-weight:600;margin-top:5px}
body[data-page="catalog"] #detail-add-form{order:10;margin:12px 0 0}
body[data-page="catalog"] .detail-buy-row{margin:0;padding:16px;background:var(--detail-soft);border:1px solid var(--ui-border);border-radius:19px;grid-template-columns:84px minmax(0,1fr);gap:12px}
body[data-page="catalog"] .detail-buy-row label{font-size:10px;font-weight:700;letter-spacing:.02em}
body[data-page="catalog"] .detail-buy-row input{background:var(--ui-surface);font-size:16px;font-weight:600;text-align:center;margin-top:5px}
body[data-page="catalog"] .detail-buy-row button{background:#282e28;color:#fffaf0;border:1px solid #444c40;border-radius:14px;min-height:52px;font-weight:700;box-shadow:0 8px 14px -10px #24272399}
body[data-page="catalog"] .detail-buy-row button:disabled{opacity:.5;box-shadow:none}
@media(min-width:900px){
body[data-page="catalog"] .site-header{padding-top:17px;padding-bottom:17px}
body[data-page="catalog"] .home-search-wrap{margin-top:28px}
body[data-page="catalog"] .hero:not(.catalog-hero){height:410px;margin-top:24px;border-radius:32px}
body[data-page="catalog"] .hero:not(.catalog-hero) .hero-copy{padding:38px 46px;width:53%}
body[data-page="catalog"] .hero:not(.catalog-hero) h1{font-size:clamp(42px,4vw,58px);line-height:1.04;font-weight:700;letter-spacing:-.055em;margin:22px 0 18px}
body[data-page="catalog"] .hero:not(.catalog-hero) h1 em{font-family:Manrope,"Segoe UI",sans-serif;font-size:.94em;font-style:normal;font-weight:400;letter-spacing:-.055em}
body[data-page="catalog"] .hero:not(.catalog-hero) .hero-copy>p{font-size:14px;max-width:350px;line-height:1.75}
body[data-page="catalog"] .hero:not(.catalog-hero) .hero-button{min-height:48px;font-size:12px}
body[data-page="catalog"] .app-shortcuts{margin-top:22px;gap:16px}
body[data-page="catalog"] .app-shortcuts a{padding:20px 24px;border-radius:20px;grid-template-columns:42px 1fr;box-shadow:0 5px 18px -14px #302a2240}
body[data-page="catalog"] .app-shortcuts .app-section-symbol{width:40px;height:40px;border-radius:13px;background:var(--detail-soft);padding:9px}
body[data-page="catalog"] .app-shortcuts strong{font-size:13px}
body[data-page="catalog"] .app-shortcuts small{font-size:11px;margin-top:4px}
body[data-page="catalog"] .catalog-section{padding-top:38px}
body[data-page="catalog"] .category-section-title{font-size:23px;margin-bottom:18px}
body[data-page="catalog"] #home-categories,body[data-page="catalog"] #categories{gap:14px;padding:3px 2px 22px;margin-bottom:30px;border-bottom:1px solid var(--ui-border)}
body[data-page="catalog"] #home-categories .chip,body[data-page="catalog"] #categories .chip{flex:1 0 124px;max-width:166px;width:auto;padding:16px 10px 10px;border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:22px;gap:12px;box-shadow:0 6px 14px -12px #302a2255}
body[data-page="catalog"] #home-categories .chip.active,body[data-page="catalog"] #categories .chip.active{background:var(--detail-soft);border-color:#b79a68}
body[data-page="catalog"] #home-categories .category-icon,body[data-page="catalog"] #categories .category-icon{border:0;width:64px;height:64px;box-shadow:none;background:var(--detail-soft)}
body[data-page="catalog"] #home-categories .chip span,body[data-page="catalog"] #categories .chip span{font-size:11px}
body[data-page="catalog"] .section-heading h1{font-size:34px}
body[data-page="catalog"] .section-heading{margin-bottom:26px}
body[data-page="catalog"] #products:not(.list-view){gap:24px}
body[data-page="catalog"] #products:not(.list-view) .product-card{padding:10px;border-radius:25px;border-color:var(--ui-border)}
body[data-page="catalog"] #products:not(.list-view) .product-body{padding:18px 10px 10px}
body[data-page="catalog"] #products:not(.list-view) .product-body h3{font-size:17px;line-height:1.4}
body[data-page="catalog"] #products:not(.list-view) .product-price{font-size:25px}
}
@media(min-width:768px) and (max-width:1000px){body[data-page="catalog"] #products:not(.list-view){grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page="catalog"] .detail-info{padding:24px}body[data-page="catalog"] .detail-info h2{font-size:28px}}
@media(max-width:767px){
body[data-page="catalog"] #modal:has(.product-detail){width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;overscroll-behavior:contain}
body[data-page="catalog"] #modal:has(.product-detail) .modal-top{position:absolute;top:env(safe-area-inset-top,0px);left:0;right:0;justify-content:flex-end;padding:14px 16px;background:transparent;border:0;pointer-events:none}
body[data-page="catalog"] #modal:has(.product-detail) #modal-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-page="catalog"] #modal:has(.product-detail) .modal-top .icon-button{pointer-events:auto;background:#fffffff0;color:#282e28;box-shadow:0 4px 15px #00000012}
body[data-page="catalog"] .product-detail{grid-template-columns:minmax(0,1fr);gap:0}
body[data-page="catalog"] .detail-gallery{position:relative;top:auto;padding:0 0 36px;background:#f4f1eb}
body[data-page="catalog"] .detail-gallery .detail-photo-stage{border-radius:0;border:0;box-shadow:none;aspect-ratio:auto;height: min(100vw,420px);max-height:none;background:#f4f1eb}
body[data-page="catalog"] .detail-photo-stage .detail-main-image{height:100%;width:100%;max-height:none;padding:26px 16px 12px;object-fit:contain}
body[data-page="catalog"] .detail-thumbnails{margin:0;padding:8px 16px;gap:8px}
body[data-page="catalog"] .detail-thumbnails button{width:48px;height:48px;border-radius:12px}
body[data-page="catalog"] .detail-photo-count{bottom:14px;right:16px}
body[data-page="catalog"] .detail-info{position:relative;margin-top:-30px;padding:26px 22px max(18px,env(safe-area-inset-bottom));border-radius:30px 30px 0 0;background:var(--ui-surface);box-shadow:0 -10px 25px -20px #302a2266}
body[data-page="catalog"] .detail-info h2{font-size:29px;line-height:1.16;margin:10px 0 14px}
body[data-page="catalog"] .detail-price{font-size:30px}
body[data-page="catalog"] .detail-info>.eyebrow{font-size:9px}
body[data-page="catalog"] #detail-add-form{position:sticky;bottom:0;margin:12px -6px 0;padding:10px 0 max(8px,env(safe-area-inset-bottom));background:var(--ui-surface);z-index:3}
body[data-page="catalog"] .detail-buy-row{padding:12px;border-radius:19px;grid-template-columns:74px minmax(0,1fr);box-shadow:0 -6px 20px -15px #302a2240}
body[data-page="catalog"] .detail-buy-row button{font-size:12px;padding:10px 8px}
}
html[data-theme=dark] body[data-page="catalog"]{--detail-soft:#35352e;--detail-accent:#dec18e}
@media(hover:hover){body[data-page="catalog"] .variant-option:hover{border-color:var(--detail-accent)}body[data-page="catalog"] .app-shortcuts a:hover{border-color:#b79a68}}
@media(prefers-reduced-motion:reduce){body[data-page="catalog"] *{scroll-behavior:auto!important}}

/* Unified contemporary wordmark: header, footer and splash. */
body .brand .brand-name,#app-splash>strong{
 font-family:Manrope,"Segoe UI",sans-serif;font-weight:700;font-style:normal;
 font-size:34px;letter-spacing:-.065em;line-height:1.08;color:#302e29;
 text-shadow:none;font-kerning:normal;font-feature-settings:"kern","liga";
}
body .brand .brand-name small{
 font-family:Manrope,"Segoe UI",sans-serif;font-weight:600;font-size:8px;
 letter-spacing:.17em;line-height:1.4;margin-top:6px;color:#8a7150;text-shadow:none;
}
html[data-theme=dark] body .brand .brand-name{color:#ecd5b1;text-shadow:none}
html[data-theme=dark] body .brand .brand-name small{color:#c4b69f}
body .site-footer .brand .brand-name{font-size:25px;letter-spacing:-.06em}
#app-splash>strong{font-size:42px;color:#efd6aa;letter-spacing:-.065em}
@media(max-width:1100px){body .site-header .brand .brand-name{font-size:30px}}
@media(max-width:767px){
 body .site-header .brand .brand-name{font-size:28px;letter-spacing:-.06em}
 body .brand .brand-name small{font-size:6px;letter-spacing:.12em;margin-top:4px}
 body .site-footer .brand .brand-name{font-size:23px}
}
@media(max-width:360px){body .site-header .brand .brand-name{font-size:25px}}

/* Palette matched to the supplied Canva catalogue cover. */
body[data-page="catalog"]{--detail-accent:#895b28;--detail-soft:#f5ece2;--ui-soft:#f5ece2;--ui-border:#e5d7cc;background:#fbf7f1}
body[data-page="catalog"] .notice-bar{background:#4d0712;color:#f9e9d1}
body[data-page="catalog"] .hero:not(.catalog-hero){background:#4d0712}
body[data-page="catalog"] .hero:not(.catalog-hero) .hero-backdrops::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='none'%3E%3Cpath d='M0 0H700C520 170 820 320 650 500H0Z' fill='%23c7a568'/%3E%3Cpath d='M0 0H691C511 170 811 320 641 500H0Z' fill='%234d0712'/%3E%3C/svg%3E")}
body[data-page="catalog"] .hero .brand-film{background:radial-gradient(ellipse at 85% 45%,#710c1d,#30040c)}
body[data-page="catalog"] .hero .canva-cover-image{position:absolute;right:4%;top:0;width:36%;height:100%;object-fit:contain;object-position:center}
body[data-page="catalog"] .hero:not(.catalog-hero) h1{color:#fff4e5}
body[data-page="catalog"] .hero:not(.catalog-hero) h1 em{color:#e4c48e}
body[data-page="catalog"] .hero:not(.catalog-hero) .hero-copy>p,body[data-page="catalog"] .hero .hero-trust{color:#f0d8cf}
body[data-page="catalog"] .button:not(.hero-button),body[data-page="catalog"] .detail-buy-row button{background:#650d20;color:#fff4e5;border-color:#650d20}
body[data-page="catalog"] .section-heading h1,body[data-page="catalog"] .category-section-title{color:#4d0712}
body[data-page="catalog"] #home-categories .chip.active,body[data-page="catalog"] #categories .chip.active{background:#f6e9df;border-color:#b58e52;color:#650d20}
body[data-page="catalog"] #home-categories .chip.active .category-icon,body[data-page="catalog"] #categories .chip.active .category-icon{background:#650d20;border-color:#650d20;color:#f0d49b}
body[data-page="catalog"] .site-header .brand .brand-name{color:#650d20}
html[data-theme=dark] body[data-page="catalog"]{background:#230d12;--ui-surface:#30171c;--ui-soft:#40242a;--ui-border:#64414a;--detail-soft:#40242a;--detail-accent:#e2c18c}
html[data-theme=dark] body[data-page="catalog"] .section-heading h1,html[data-theme=dark] body[data-page="catalog"] .category-section-title,html[data-theme=dark] body[data-page="catalog"] .site-header .brand .brand-name{color:#f0d49b}
html[data-theme=dark] body[data-page="catalog"] #home-categories .chip.active,html[data-theme=dark] body[data-page="catalog"] #categories .chip.active{background:#50202a;color:#f0d49b}
@media(max-width:767px){
body[data-page="catalog"] .hero .canva-cover-image{right:-5%;width:50%;object-fit:cover;object-position:center}
body[data-page="catalog"] .hero:not(.catalog-hero) .hero-backdrops::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 0H300C230 100 350 190 285 300H0Z' fill='%23c7a568'/%3E%3Cpath d='M0 0H295C225 100 345 190 280 300H0Z' fill='%234d0712'/%3E%3C/svg%3E")}
}

/* Separate decorative photo, scalable typography and vector color layers. */
body[data-page="catalog"] .hero .brand-film{background:#4d0712}
body[data-page="catalog"] .hero .canva-cover-image{right:0;top:0;width:47%;height:100%;object-fit:contain;object-position:center;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 92%,transparent)}
@media(max-width:767px){
body[data-page="catalog"] .hero .canva-cover-image{right:-8%;width:58%;object-fit:contain;object-position:right center;opacity:.85}
}

body[data-page="catalog"] .hero .canva-cover-image{mask-image:radial-gradient(ellipse 35% 70% at center,#000 48%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse 35% 70% at center,#000 48%,transparent 75%)}

/* Dense catalogue grid: consistent cards even when filters return one item. */
body[data-page="catalog"] #products:not(.list-view){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch}
body[data-page="catalog"] #products:not(.list-view)>.product-card{display:flex;flex-direction:column;gap:0;min-width:0;padding:6px;border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 5px 16px -10px #4d071230}
body[data-page="catalog"] #products:not(.list-view) .product-image{aspect-ratio:1;height:auto;max-height:none;border-radius:13px;padding:0;flex:none}
body[data-page="catalog"] #products:not(.list-view) .product-image img{width:100%;height:100%;object-fit:contain;padding:0}
body[data-page="catalog"] #products:not(.list-view) .product-body{padding:10px 7px 5px;max-width:none;display:flex;flex:1;flex-direction:column;min-width:0}
body[data-page="catalog"] #products:not(.list-view) .product-body>small{font-size:10px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-page="catalog"] #products:not(.list-view) .product-body h3{font-size:13px;line-height:1.4;margin:6px 0}
body[data-page="catalog"] #products:not(.list-view) .product-name-button{font:inherit;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
body[data-page="catalog"] #products:not(.list-view) .product-price{font-size:19px;line-height:1.3;margin:0;white-space:nowrap}
body[data-page="catalog"] #products:not(.list-view) .product-price small{font-size:9px}
body[data-page="catalog"] #products:not(.list-view) .product-stock{font-size:10px;margin:7px 0 0;padding:0;line-height:1.4;display:block;background:none;border:0}
body[data-page="catalog"] #products:not(.list-view) .product-stock strong{display:none}
body[data-page="catalog"] #products:not(.list-view) .product-markers{position:absolute;top:12px;left:12px;z-index:1}
body[data-page="catalog"] #products:not(.list-view) .product-markers .badge{font-size:9px;padding:4px 7px}
body[data-page="catalog"] #products:not(.list-view) .product-bottom{margin-top:auto;padding-top:9px;gap:7px;display:flex;justify-content:flex-end}
body[data-page="catalog"] #products:not(.list-view) .product-bottom .qty,
body[data-page="catalog"] #products:not(.list-view) .product-selection-state{display:none}
body[data-page="catalog"] #products:not(.list-view) .product-add-button,
body[data-page="catalog"] #products:not(.list-view) .product-details-button{width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px;padding:0;display:grid;place-items:center;border-radius:12px;position:relative}
body[data-page="catalog"] #products:not(.list-view) .product-add-button{font-size:0}
body[data-page="catalog"] #products:not(.list-view) .product-add-button::after{content:"+";font-size:24px;line-height:1;position:static;transform:none;display:block}
body[data-page="catalog"] #products:not(.list-view) .product-add-button[data-added=true]::after{content:"✓";font-size:19px}
body[data-page="catalog"] #products:not(.list-view) .product-add-button:disabled{display:none}
@media(max-width:1199px){body[data-page="catalog"] #products:not(.list-view){grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media(max-width:899px){body[data-page="catalog"] #products:not(.list-view){grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:599px){
body[data-page="catalog"] #products:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-page="catalog"] #products:not(.list-view)>.product-card{padding:4px;border-radius:15px}
body[data-page="catalog"] #products:not(.list-view) .product-body{padding:8px 6px 4px}
body[data-page="catalog"] #products:not(.list-view) .product-body h3{font-size:12px;margin:5px 0}
body[data-page="catalog"] #products:not(.list-view) .product-price{font-size:17px}
body[data-page="catalog"] #products:not(.list-view) .product-body>small{font-size:9px}
body[data-page="catalog"] #products:not(.list-view) .product-stock{font-size:9px;margin-top:5px}
body[data-page="catalog"] #products:not(.list-view) .product-bottom{padding-top:6px}
body[data-page="catalog"] #products:not(.list-view) .product-add-button,
body[data-page="catalog"] #products:not(.list-view) .product-details-button{width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px}
}

/* Quick quantity controls on home and catalogue cards. */
body[data-page="catalog"] #products:not(.list-view) .product-bottom{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px;align-items:center}
body[data-page="catalog"] #products:not(.list-view) .product-bottom .qty{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px;grid-column:1/-1;grid-row:1;width:100%;min-width:0;height:40px;border:1px solid var(--ui-border);border-radius:11px;overflow:hidden;background:var(--ui-surface)}
body[data-page="catalog"] #products:not(.list-view) .qty button{display:grid;place-items:center;width:36px;height:40px;min-width:0;min-height:0;padding:0;font-size:21px;line-height:1;border:0;border-radius:0;background:var(--ui-soft);color:var(--ui-text)}
body[data-page="catalog"] #products:not(.list-view) .qty input{display:block;width:100%;min-width:0;height:40px;padding:0 2px;margin:0;border:0;border-radius:0;text-align:center;font-size:16px;line-height:40px;appearance:textfield;-moz-appearance:textfield;background:var(--ui-surface);color:var(--ui-text)}
body[data-page="catalog"] #products:not(.list-view) .qty input::-webkit-inner-spin-button,
body[data-page="catalog"] #products:not(.list-view) .qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body[data-page="catalog"] #products:not(.list-view) .product-add-button{grid-column:1;grid-row:2;width:100%;min-width:0;height:40px;min-height:40px;display:flex;justify-content:center;align-items:center;padding:6px;font-size:11px;line-height:1.3;white-space:normal;text-align:center}
body[data-page="catalog"] #products:not(.list-view) .product-add-button::before,
body[data-page="catalog"] #products:not(.list-view) .product-add-button::after{display:none}
body[data-page="catalog"] #products:not(.list-view) .product-add-button:disabled{display:flex;opacity:.45;cursor:not-allowed}
body[data-page="catalog"] #products:not(.list-view) .product-details-button{grid-column:2;grid-row:2}
body[data-page="catalog"] #products:not(.list-view) .product-selection-state{display:block!important;grid-column:1/-1;text-align:center;font-size:9px;line-height:1.4;color:var(--ui-muted)}
body[data-page="catalog"] #products:not(.list-view) .qty button:disabled,
body[data-page="catalog"] #products:not(.list-view) .qty input:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:599px){
body[data-page="catalog"] #products:not(.list-view) .product-bottom{grid-template-columns:minmax(0,1fr) 44px;gap:6px}
body[data-page="catalog"] #products:not(.list-view) .product-bottom .qty{height:44px;grid-template-columns:40px minmax(0,1fr) 40px}
body[data-page="catalog"] #products:not(.list-view) .qty button{width:40px;height:44px}
body[data-page="catalog"] #products:not(.list-view) .qty input{height:44px;line-height:44px}
body[data-page="catalog"] #products:not(.list-view) .product-add-button{height:44px;min-height:44px;font-size:10px}
}

/* Brown purchase action with readable enabled and unavailable states. */
body[data-page="catalog"] #products .product-add-button{
 background:#895b28;color:#fffaf3;border:1px solid #895b28;
 font-weight:700;box-shadow:0 3px 8px #895b2814;
}
body[data-page="catalog"] #products .product-add-button:hover:not(:disabled){
 background:#70491f;border-color:#70491f;color:#fffaf3;
}
body[data-page="catalog"] #products .product-add-button:focus-visible{
 outline:3px solid #895b28;outline-offset:3px;
}
body[data-page="catalog"] #products .product-add-button:disabled{
 background:#eee9e1;color:#71695e;border-color:#d8d0c4;opacity:1;box-shadow:none;
}
html[data-theme="dark"] body[data-page="catalog"] #products .product-add-button:disabled{
 background:#403832;color:#bdb1a1;border-color:#63574a;
}

/* Consistent brown purchase buttons in cards and product detail. */
body[data-page="catalog"] #products .product-add-button,
body[data-page="catalog"] #detail-add-form .detail-buy-row button{
 background:#895b28;color:#fffaf3;border-color:#895b28;
}
body[data-page="catalog"] #products .product-add-button:hover:not(:disabled),
body[data-page="catalog"] #detail-add-form .detail-buy-row button:hover:not(:disabled){
 background:#70491f;color:#fffaf3;border-color:#70491f;
}
body[data-page="catalog"] #products:not(.list-view) .product-add-button:disabled,
body[data-page="catalog"] #detail-add-form .detail-buy-row button:disabled{
 background:#895b28;color:#fffaf3;border-color:#895b28;opacity:.55;box-shadow:none;
}
body[data-page="catalog"] #toast.toast-top{
 position:fixed;top:calc(106px + env(safe-area-inset-top));bottom:auto;
 left:50%;right:auto;transform:translateX(-50%);margin:0;
 width:max-content;max-width:calc(100% - 32px);z-index:1000;pointer-events:none;
}
@media(max-width:767px){
 body[data-page="catalog"] #toast.toast-top{top:calc(88px + env(safe-area-inset-top));left:16px;right:16px;transform:none;width:auto;text-align:center}
}
