.catalog-intro { max-width: 660px; margin: -8px 0 28px; color: #82726b; }
.catalog-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.catalog-categories a { padding: 10px 18px; border: 1px solid #e8ddd6; border-radius: 24px; color: #60483e; font-size: 14px; text-decoration: none; }
.catalog-categories a:hover { background: #f2e9e3; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.catalog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #eee6e0; border-radius: 10px; background: #fcfaf8; }
.catalog-card-picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f0e7df; }
.catalog-card-picture img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.catalog-card-picture:hover img { transform: scale(1.025); }
.catalog-card-stage { position: relative; touch-action: pan-y; }
.catalog-card-gallery .product-gallery-arrow { width: 36px; height: 36px; }
.catalog-card-gallery .product-gallery-prev { left: 8px; }
.catalog-card-gallery .product-gallery-next { right: 8px; }
.catalog-card-counter { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 14px; background: #fcfaf8e8; color: #60483e; font-size: 11px; pointer-events: none; }
.catalog-card-gallery button:focus-visible { outline: 2px solid #ac8170; outline-offset: 2px; }
.shop-image-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 120px; color: #a18579; background: #f0e7df; font-family: 'Lora', Georgia, serif; font-size: 36px; font-style: italic; }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.catalog-card h2 { margin: 0; font-size: 28px; }
.catalog-card h2 a { color: #51392f; text-decoration: none; }
.catalog-card-caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 42px; margin: 8px 0 18px; color: #847a74; font-size: 14px; }
.catalog-card-bottom { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.shop-price { color: #51392f; font-size: 23px; font-weight: 500; }
.shop-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 13px 24px; border: 1px solid transparent; border-radius: 9px; background: #b88e86; color: #fff; font: 500 15px/1.4 'Manrope', Arial, sans-serif; text-decoration: none; cursor: pointer; }
.shop-button:hover { background: #a87a71; }
.shop-button:disabled { opacity: .55; cursor: wait; }
.shop-button-small { min-height: 40px; padding: 9px 17px; font-size: 13px; }
.shop-button-text { display: inline-block; min-height: 40px; padding: 9px 0; border: 0; background: transparent; color: #966b60; font: 500 14px/1.5 'Manrope', Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.shop-button-text:disabled { opacity: .5; cursor: wait; }
.shop-button-text:hover { color: #624137; }
.shop-button-text[hidden], .shop-button[hidden] { display: none; }
.shop-muted { margin: 6px 0; color: #83776f; font-size: 14px; }
.shop-empty { padding: 40px 24px; border-radius: 12px; background: #f7f0ea; color: #6a5145; }
.catalog-pagination { margin: 28px 0; }
.shop-back { display: inline-block; margin-bottom: 24px; color: #967768; font-size: 14px; text-decoration: none; }
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; padding-bottom: 32px; }
.product-gallery { min-width: 0; }
.product-gallery-stage { position: relative; overflow: hidden; border-radius: 12px; background: #f2eae4; aspect-ratio: 4 / 5; touch-action: pan-y; }
.product-gallery-slide { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-gallery-slide[hidden] { display: none; }
.product-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: #fcfaf8a6; color: #60483e; font: 32px/1 Georgia, serif; cursor: pointer; }
.product-gallery-prev { left: 12px; }
.product-gallery-arrow svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-gallery-next { right: 12px; }
.product-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; }
.product-gallery-thumb { flex: 0 0 64px; width: 64px; height: 78px; padding: 3px; border: 2px solid transparent; border-radius: 8px; background: #f2eae4; cursor: pointer; }
.product-gallery-thumb img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.product-gallery-thumb[aria-pressed='true'] { border-color: #b88e86; }
.product-gallery-counter { margin: 8px 0 0; color: #83776f; font-size: 13px; text-align: center; }
.product-gallery button:focus-visible, .product-gallery-stage:focus-visible { outline: 2px solid #ac8170; outline-offset: 2px; }
.product-info { padding: 18px 0; }
.shop-eyebrow { margin: 0 0 14px; color: #ae8d7c; font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; }
.product-info h2 { margin: 0 0 14px; color: #51392f; font-size: clamp(32px, 4vw, 46px); }
.product-price { margin: 0 0 24px; font-size: 29px; }
.product-description { margin-bottom: 24px; color: #7f7067; font-size: 15px; line-height: 1.65; }
.product-tabs { grid-column: 1 / -1; min-width: 0; border-top: 1px solid #e8ddd6; }
.product-tabs-nav { display: flex; gap: 28px; border-bottom: 1px solid #e8ddd6; }
.product-tabs-nav[hidden], .product-tab-panel[hidden] { display: none; }
.product-tab { margin: 0 0 -1px; padding: 18px 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #8a7c72; font: 500 17px/1.5 'Manrope', Arial, sans-serif; cursor: pointer; }
.product-tab[aria-selected='true'] { border-bottom-color: #bd938e; color: #51392f; }
.product-tab:hover { color: #51392f; }
.product-tab:focus-visible, .product-tab-panel:focus-visible { outline: 2px solid #ac8170; outline-offset: 4px; }
.product-tab-panel { padding: 24px 0; color: #7f7067; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.product-tab-panel h3 { margin: 0 0 14px; color: #51392f; font: 500 28px/1.2 'Lora', Georgia, serif; }
.product-tab-panel p { margin: 0 0 14px; }
.product-tab-panel p:last-child { margin-bottom: 0; }
@media (max-width: 400px) { .product-tabs-nav { gap: 18px; } .product-tab { font-size: 15px; } }
.product-options { display: grid; gap: 16px; margin-bottom: 24px; }
.product-option { display: grid; gap: 8px; font-size: 14px; color: #655045; }
.product-option[hidden] { display: none; }
.product-option select { width: 100%; padding: 12px; border: 1px solid #ddcfc4; border-radius: 8px; color: #51392f; background: #fffdfb; font-size: 15px; }
.product-size-option { grid-template-columns: 1fr auto; align-items: baseline; }
.product-size-option select { grid-column: 1 / -1; }
.product-size-guide-link { color: #785748; text-decoration: underline; text-underline-offset: 3px; }
.product-size-guide { box-sizing: border-box; width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 54px clamp(12px, 3vw, 24px) 20px; border: 0; border-radius: 16px; background: #fcfaf7; color: #51392f; }
.product-size-guide::backdrop { background: #36282066; }
.product-size-guide img { display: block; width: 100%; height: auto; margin-bottom: 16px; border-radius: 8px; }
.product-order { width: 100%; }
.product-info > .shop-button-text { width: 100%; text-align: center; margin-top: 5px; }
.product-promises { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; color: #7f7067; font-size: 14px; }
.product-promises li::before { content: '✓'; margin-right: 10px; color: #a18368; }
.shop-feedback { min-height: 24px; font-size: 14px; color: #86604f; }
.shop-feedback a { color: inherit; }
.order-drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 540px); height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 44px 32px; overflow-y: auto; border: 0; background: #fcfaf7; color: #51392f; box-shadow: -16px 0 60px #51392f20; }
.order-drawer::backdrop { background: #36282066; }
.order-is-open { overflow: hidden; }
.order-close, .product-size-guide-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: #806353; background: #f0e7df; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.order-drawer h2 { margin: 0 0 24px; font-size: 38px; }
.order-items { display: grid; gap: 12px; padding-bottom: 20px; }
.order-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; }
.order-item-image { height: 104px; overflow: hidden; border-radius: 8px; }
.order-item-image img { width: 100%; height: 100%; object-fit: cover; }
.order-item-image .shop-image-placeholder { min-height: 0; font-size: 20px; }
.order-item strong { font-size: 16px; font-weight: 500; }
.order-item-price { margin: 8px 0; font-size: 15px; }
.order-form { display: grid; gap: 18px; }
.order-form label { display: grid; gap: 7px; color: #695348; font-size: 14px; }
.order-form input:not([type='radio']):not([type='checkbox']), .order-form textarea, .order-form select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #dfd2c8; border-radius: 7px; background: #fffdfb; color: #51392f; font-size: 16px; }
.order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-product-fields { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 14px; }
.order-product-fields[hidden] { display: none; }
.order-contact-method { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 0; padding: 0; border: 0; }
.order-contact-method legend { margin-bottom: 12px; font-size: 14px; }
.order-contact-method label { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.order-form input[type='radio'], .order-form input[type='checkbox'] { accent-color: #aa8175; width: 17px; height: 17px; flex-shrink: 0; }
.order-comment { font-size: 13px; color: #977d6d; }
.order-comment summary { cursor: pointer; }
.order-comment textarea { margin-top: 10px; }
.order-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.order-disclaimer a, .order-privacy-check a { color: inherit; text-decoration: underline; }
.order-form .order-privacy-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.order-privacy-check input[type="checkbox"] { width: auto; margin-top: 0.3em; }
.order-error { margin: 0; color: #a33b36; font-size: 14px; }
.order-error:empty { display: none; }
.order-submit { width: 100%; }
.order-disclaimer { margin: 0; color: #998476; font-size: 12px; line-height: 1.7; }
.order-success { padding: 64px 0; text-align: center; }
.order-success-mark { color: #b88e86; font-size: 60px; }
.order-success p { line-height: 1.7; }
.order-success .shop-button { margin-top: 20px; }
.shop-cart { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.cart-items { display: grid; gap: 20px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr 100px; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #e9ddd4; }
.cart-item-image { height: 120px; overflow: hidden; border-radius: 8px; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-image .shop-image-placeholder { font-size: 20px; }
.cart-item-info h2 { margin: 0; color: #51392f; font-size: 28px; }
.cart-item-controls label { display: grid; gap: 7px; font-size: 12px; color: #968170; }
.cart-item-controls input { width: 90px; padding: 10px; border: 1px solid #dfd2c8; border-radius: 6px; font-size: 16px; }
.cart-summary { position: sticky; top: 24px; display: grid; gap: 16px; padding: 24px; border-radius: 12px; background: #f6efe8; }
.cart-summary[hidden] { display: none; }
.cart-summary > p { margin: 0; }
.cart-summary .shop-price { font-size: 30px; }
.shop-cart > .shop-feedback { grid-column: 1 / -1; }
.shop-button:focus-visible, .shop-button-text:focus-visible, .order-close:focus-visible, .catalog-categories a:focus-visible,
.order-form input:focus-visible, .order-form textarea:focus-visible, .order-form select:focus-visible, .product-option select:focus-visible, .cart-item-controls input:focus-visible { outline: 2px solid #ac8170; outline-offset: 3px; }
@media (max-width: 950px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail { gap: 30px; }
    .shop-cart { grid-template-columns: 1fr 270px; gap: 24px; }
    .cart-item { grid-template-columns: 80px 1fr; gap: 16px; }
    .cart-item-controls { grid-column: 2; display: flex; align-items: end; gap: 18px; }
}
@media (max-width: 650px) {
    .catalog-card-gallery .product-gallery-arrow { width: 44px; height: 44px; }
    .product-gallery-arrow { background: radial-gradient(circle, #fcfaf89e 12px, transparent 13px); }
    .product-gallery-arrow svg { width: 18px; height: 18px; }
    .catalog-grid { gap: 14px; }
    .catalog-card-body { padding: 12px; }
    .catalog-card h2 { font-size: 23px; }
    .catalog-card-bottom { align-items: stretch; flex-direction: column; gap: 10px; }
    .catalog-card-caption { font-size: 13px; }
    .catalog-card .shop-price { font-size: 19px; }
    .product-detail { grid-template-columns: 1fr; gap: 12px; }
    .product-gallery-stage { max-height: 520px; }
    .product-info { padding-top: 12px; }
    .order-drawer { padding: 52px 20px 28px; }
    .order-fields { grid-template-columns: 1fr; }
    .shop-cart { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}
@media (max-width: 370px) { .catalog-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .catalog-card-picture img { transition: none; } }
