/* KaminCN v170 source shop/recent CSS; native Django form controls below. */
.shop-page{padding-block:40px 100px;min-height:65vh}.shop-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.shop-heading h1{font-size:clamp(30px,4vw,48px)}.shop-empty{padding:64px 24px;text-align:center;border:1px solid var(--border)}.shop-empty>svg{width:48px;height:48px;margin:0 auto 20px;stroke-width:1.2}.shop-empty h2{font-size:24px;margin-bottom:12px}.shop-empty p{margin-bottom:24px;color:var(--muted-foreground)}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:36px;align-items:start}.shop-list-only{grid-template-columns:1fr}.shop-items{display:grid;gap:18px}.shop-item{display:flex;gap:24px;border:1px solid var(--border);padding:24px;background:white;min-width:0}.shop-item-image{width:130px;flex:none;align-self:flex-start}.shop-item-image img{width:130px;height:130px;object-fit:contain}.shop-item-info{min-width:0;flex:1}.shop-item-info h2{font-size:19px;line-height:1.45;overflow-wrap:anywhere;margin-bottom:10px}.shop-item-info p{font-size:14px;color:var(--muted-foreground)}.shop-item-info strong{display:block;font-size:18px;margin-top:10px}.shop-item-controls{display:flex;align-items:center;gap:16px;margin-top:18px}.quantity-controls{display:flex;align-items:center;gap:8px}.quantity-controls input{width:64px;text-align:center}.cart-summary{border:1px solid var(--border);padding:24px;background:white}.cart-summary h2{font-size:24px}.cart-summary>p{font-size:14px;color:var(--muted-foreground);margin-block:16px}.cart-total{display:flex;justify-content:space-between;gap:20px;padding-block:20px;border-bottom:1px solid var(--border)}.checkout-form fieldset{display:grid;gap:16px;min-width:0}.checkout-form label{display:grid;gap:7px;font-size:14px}.checkout-form .checkout-consent{display:flex;align-items:flex-start;gap:12px}.checkout-consent a{text-decoration:underline}.checkout-form .preview-notice{margin-bottom:24px}.checkout-form button[type=submit]{white-space:normal;min-height:44px;height:auto;padding:12px}.product-shop-actions{margin-block:18px}.shop-action-buttons{display:flex;gap:6px;flex-wrap:wrap}.shop-action-buttons [aria-pressed=true]{color:#a44228;background:#a4422812}.shop-action-message{font-size:13px;line-height:1.45;margin-top:8px}.shop-action-message:empty{display:none}.shop-action-message a{text-decoration:underline}.product-shop-actions.compact{margin:10px 0 0}.product-shop-actions.compact .shop-action-buttons{justify-content:flex-end}.comparison-table{margin-top:36px;border:1px solid var(--border);overflow-x:auto}.comparison-table table{min-width:650px}.comparison-table th,.comparison-table td{padding:18px;min-width:180px;white-space:normal;vertical-align:top}.comparison-table th{font-size:15px;font-weight:600;color:var(--foreground);background:#f1f1ee}.brand-index{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-block:20px 70px}.brand-index a{padding:20px;border:1px solid var(--border)}.account-panel{max-width:760px;margin:40px auto 90px}.account-panel h1{font-size:36px;margin-bottom:24px}.account-panel form{display:grid;gap:18px}.account-panel label{display:grid;gap:7px}.account-order{margin-block:20px;border:1px solid var(--border);padding:22px}.account-order h2{font-size:20px}.account-order p{font-size:14px;margin-block:8px}
@media(max-width:1000px){.shop-layout{grid-template-columns:minmax(0,1fr) 340px;gap:22px}.shop-item{padding:18px;gap:16px}.shop-item-image,.shop-item-image img{width:90px;height:90px}}
@media(max-width:800px){.shop-page{padding-top:26px}.shop-layout{grid-template-columns:1fr}.shop-heading{align-items:flex-start;flex-direction:column;gap:8px}.shop-item{gap:14px}.shop-item-info h2{font-size:16px}.shop-item-controls{gap:8px;flex-wrap:wrap}.quantity-controls{gap:4px}.quantity-controls input{width:54px}.shop-item-image,.shop-item-image img{width:70px;height:70px}.cart-summary{padding:20px}.brand-index{grid-template-columns:repeat(2,1fr)}.account-panel{margin-inline:20px}.shop-action-buttons [data-slot=button]{font-size:13px}}

.account-login,.account-section{margin-top:30px}.account-section{padding-top:28px;border-top:1px solid var(--border)}.account-section h2{font-size:24px;margin-bottom:20px}.account-section form{max-width:480px}.account-help{font-size:14px;margin-top:20px}.account-help a{text-decoration:underline}.account-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.account-cart-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;align-items:center}.account-order-item{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px}.account-order-item>span:last-child{white-space:nowrap}.account-order-item small{display:block}.account-panel>p{margin-bottom:18px}
/* Catalog actions keep readable labels and touch targets in narrow cards. */
.product-card .product-bottom{flex-wrap:wrap;gap:10px 8px}
.product-card .product-bottom>a{flex-shrink:0;min-height:44px;width:38px}
.product-card .catalog-actions-cart{margin:0 0 0 auto;max-width:100%}
.product-card .catalog-actions-cart [data-slot=button]{min-height:44px;padding-inline:10px;font-size:13px}
.product-card .catalog-actions-cart .shop-action-message{max-width:160px}
.product-card .catalog-actions-lists{margin:10px 0 0}
.product-card .catalog-actions-lists .shop-action-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:4px}
.product-card .catalog-actions-lists [data-slot=button]{min-width:0;min-height:44px;padding-inline:6px;font-size:13px}

.recently-viewed{margin-top:14px;padding-top:8px;border-top:1px solid var(--border)}
.recently-viewed .recently-viewed-heading{font-size:18px;font-weight:600;padding-block:15px 18px;align-items:center}
.recently-viewed-list{list-style:none;padding:20px 0 0;margin:0;display:flex;flex-direction:column;gap:20px}
.recently-viewed-link{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:center;font-size:14px;line-height:1.5}
.recently-viewed-image{width:90px;height:84px;border:1px solid var(--border);border-radius:3px;background:white;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--muted-foreground)}
.recently-viewed-image img{width:100%;height:100%;padding:7px;object-fit:contain}
.recently-viewed-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.recently-viewed-link:hover .recently-viewed-name{color:var(--primary)}
.recently-viewed-link:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
.recently-viewed-error{font-size:14px;line-height:1.5;padding-top:16px}
.recently-viewed-error button{color:var(--primary);text-decoration:underline;cursor:pointer}
@media(max-width:1024px){.recently-viewed{margin-block:0 24px}.recently-viewed-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.recently-viewed-link{grid-template-columns:76px minmax(0,1fr);gap:10px}.recently-viewed-image{width:76px;height:76px}}
@media(max-width:520px){.recently-viewed-list{grid-template-columns:1fr}.recently-viewed-link{grid-template-columns:84px minmax(0,1fr)}.recently-viewed-image{width:84px;height:80px}}

/* Quote form declarations copied verbatim from source globals.css. */
.quote-page{display:grid;grid-template-columns:.85fr 1.15fr;gap:110px;padding-top:24px;padding-bottom:90px}.quote-intro{padding-top:20px}.quote-intro h1{font-size:clamp(42px,4.3vw,64px);letter-spacing:-2px}.quote-intro>p:not(.eyebrow){max-width:360px;color:var(--muted-foreground)}.quote-next{margin-block:36px;padding-block:28px;border-block:1px solid var(--border)}.quote-next h3{font-size:20px;font-weight:400;margin-bottom:18px}.quote-next ol{padding-left:21px;font-size:16px;color:var(--muted-foreground)}.quote-next li{padding-left:10px;margin-bottom:12px}.quote-form{max-width:650px}.preview-notice{background:#f3e6dc;border-left:3px solid var(--primary);padding:18px 20px;margin-bottom:28px;font-size:14px}.preview-notice p{margin:5px 0 0;line-height:1.6}.selected-product{border:1px solid var(--border);padding:18px 20px;margin-bottom:26px;display:flex;flex-direction:column;gap:6px}.selected-product>span{font-size:12px;color:var(--muted-foreground)}.selected-product a{font-size:16px}.quote-form fieldset{border:0;margin:0;padding:0;min-width:0}.quote-form legend{font-size:16px;margin-bottom:14px}.task-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:26px}.task-option{padding:14px 12px;border:1px solid var(--border);display:flex;gap:9px;align-items:center;font-size:14px;line-height:1.5;cursor:pointer}.task-option.selected{border-color:var(--primary);background:#f3e6dc}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}.form-fields label{font-size:14px;display:block}.form-fields input,.form-fields textarea{margin-top:9px;background:#fff;font-size:16px;min-height:50px;padding:12px 14px;box-shadow:none}.form-fields textarea{line-height:1.6;resize:vertical}.form-fields label>span{color:var(--primary)}.form-fields .full{grid-column:1/-1}.form-fields .optional{color:var(--muted-foreground);font-size:12px;margin-left:8px}.consent{display:flex;align-items:flex-start;gap:12px;font-size:14px;color:var(--muted-foreground);margin-top:26px;margin-bottom:25px;cursor:pointer}.consent [data-slot=checkbox]{margin-top:4px;flex-shrink:0}.consent a{text-decoration:underline;text-underline-offset:3px}.form-submit[data-slot=button]{width:100%}.form-error{padding:15px;border:1px solid var(--destructive);color:var(--destructive);font-size:14px}.form-success{padding:45px 35px;border:1px solid var(--border);align-self:start}.form-success>svg{color:var(--primary);margin-bottom:22px}.form-success h2{font-size:36px;letter-spacing:-1px;margin-bottom:24px}.form-success .text-link{display:flex;margin-top:24px}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.task-options{display:grid}.quote-form input:not([type=radio]):not([type=checkbox]),.quote-form textarea{width:100%;border:1px solid var(--border);border-radius:3px}.quote-form input[type=radio],.quote-form input[type=checkbox],.checkout-form input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;flex:none;accent-color:var(--primary)}.quote-form .consent input{margin-top:4px}.checkout-form .checkout-consent input{margin-top:4px}.shop-item-controls [data-remove-cart]{padding:10px;min-height:40px}.shop-item-info>.text-link{font-size:14px}.shop-item-info>.text-link svg{width:14px;height:14px}.comparison-table table{width:100%;border-collapse:collapse}.comparison-table td,.comparison-table th{border-bottom:1px solid var(--border)}.recently-viewed summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between}.recently-viewed summary:after{content:'⌄'}.recently-viewed details[open] summary:after{content:'⌃'}.recently-viewed details{padding:0;margin:0}.shop-page [hidden],[data-recent-placement][hidden]{display:none!important}.shop-list-only .shop-item-controls{min-width:0}.shop-list-only .shop-item-controls>a{white-space:normal}.quote-page [data-inquiry-container]{min-width:0}.quote-form [data-slot=button]{white-space:normal}.shop-list-only .shop-item-info{overflow-wrap:anywhere}
@media(max-width:1200px){.quote-page{gap:60px}.task-options{grid-template-columns:1fr}}
@media(max-width:800px){.quote-page{grid-template-columns:1fr;gap:24px;padding-top:8px;padding-bottom:60px}.quote-intro h1{font-size:44px}.quote-intro h1 br{display:none}.quote-intro>p:not(.eyebrow){max-width:600px}.quote-next{display:none}.quote-form{max-width:none}.task-options{grid-template-columns:1fr}.task-option{padding:13px 16px}.form-fields{grid-template-columns:1fr;gap:18px}.form-fields .full{grid-column:auto}.form-success{padding:30px 24px}}
.shop-page [data-slot=button][data-variant=ghost]{background:transparent;border-color:transparent;color:var(--foreground)}
/* Source shadcn control dimensions, which Tailwind supplied in the original app. */
.checkout-form input:not([type=checkbox]):not([type=hidden]){height:36px;min-height:36px;padding:4px 12px;border-radius:3px;border:1px solid #d4d5cd;box-shadow:0 1px 2px #0000000d;font-size:14px}
.checkout-form textarea{field-sizing:content;min-height:64px;height:auto;padding:8px 12px;border-radius:3px;border:1px solid #d4d5cd;box-shadow:0 1px 2px #0000000d;font-size:14px}
.quote-form textarea{field-sizing:content;height:auto;min-height:50px}.quote-next ol{list-style:none}.comparison-table table{font-size:14px;line-height:1.5;text-align:left}.comparison-table tbody tr:last-child td{border-bottom:0}
.quantity-controls [data-slot=button]{width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border-color:var(--foreground);border-radius:3px}.quantity-controls input{height:36px;min-height:36px;padding:4px 12px;border:1px solid #d4d5cd;border-radius:3px;box-shadow:0 1px 2px #0000000d}.shop-item-controls [data-remove-cart]{min-width:36px;width:36px;height:36px;min-height:36px;padding:0}.shop-item-controls [data-remove-cart] svg{width:16px;height:16px}.shop-item-info>.text-link{margin-top:0}
@media(max-width:767px){.checkout-form input:not([type=checkbox]):not([type=hidden]),.checkout-form textarea{font-size:16px}}
.shop-list-only .shop-item-controls>[data-slot=button]{height:36px;min-height:36px;border-radius:3px;padding-block:8px;line-height:18px}.shop-list-only .shop-item-controls>[data-variant=outline]{border-color:var(--foreground);box-shadow:0 1px 2px #0000000d}.comparison-table table{line-height:20px}.comparison-table td,.comparison-table th{border-bottom-color:var(--foreground)}
.shop-heading h1{margin-bottom:28px;line-height:1.07}.shop-item-controls>[data-variant=ghost]{width:36px;min-width:36px;height:36px;min-height:36px;padding:0}.shop-item-controls>[data-variant=ghost] svg{width:16px;height:16px}
