.ss-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}.ss-product{border:1px solid #ddd;border-radius:6px;padding:18px;background:#fff;color:#222}.ss-product img{width:100%;height:auto;object-fit:contain}.ss-product h3{font-size:1.15rem;margin:12px 0}.ss-product button,#ss-checkout button[type=submit]{background:#b58b35;color:#fff;border:0;border-radius:4px;padding:11px 20px;cursor:pointer;font-weight:600}.ss-product button:hover,#ss-checkout button:hover{background:#8d6b26}.ss-lines{list-style:none;padding:0}.ss-lines li{border-bottom:1px solid #ddd;padding:12px 0}.ss-qty{width:65px!important;margin:0 8px!important}.ss-remove{border:1px solid #aaa;background:white;padding:5px 10px;cursor:pointer}#ss-checkout{max-width:740px}#ss-checkout label{display:block;margin:10px 0}#ss-checkout input:not([type=radio]){display:block;width:100%;max-width:420px;padding:8px;border:1px solid #aaa}#ss-checkout .ss-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 15px}#ss-checkout fieldset{margin:18px 0;border:1px solid #ddd}#ss-checkout button:disabled{opacity:.6}#ss-message{color:#a22}

.ss-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start}.ss-product{min-width:0}.ss-product h3 a{color:inherit;text-decoration:none}.ss-price{font-size:1.25rem}.ss-main-photo{display:block;width:100%;padding:0;border:0;background:#f8f8f8;cursor:zoom-in}.ss-main-photo img{display:block;width:100%;height:300px;object-fit:contain}.ss-thumbnails{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ss-thumb{width:70px;height:70px;padding:3px;border:1px solid #ddd;background:#fff;cursor:pointer}.ss-thumb.is-active{border:2px solid #b58b35}.ss-thumb img{width:100%;height:100%;object-fit:cover}.ss-no-photo{height:240px;background:#f6f6f6;display:grid;place-items:center;color:#777}.ss-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:30px;max-width:1100px}.ss-detail .ss-main-photo img{height:440px}.ss-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;padding:55px 25px 25px}.ss-lightbox img{max-width:100%;max-height:100%;object-fit:contain}.ss-lightbox-close{position:absolute;right:20px;top:10px;color:#fff;background:transparent;border:0;font-size:38px;cursor:pointer}#ss_gallery_preview{display:flex;gap:8px;flex-wrap:wrap}#ss_gallery_preview img{width:80px;height:80px;object-fit:cover}@media(max-width:700px){.ss-detail{grid-template-columns:1fr}.ss-detail .ss-main-photo img{height:320px}}

.ss-category-filter{display:flex;align-items:center;gap:12px;margin:0 0 24px;flex-wrap:wrap}.ss-category-filter select{min-width:190px;padding:8px}

/* v0.4: transparent product surfaces, inherit theme background */
.ss-product,.ss-main-photo,.ss-thumb,.ss-no-photo,.ss-detail{background:transparent!important;background-color:transparent!important;}

/* Sold-out label for one-of-a-kind products */
.ss-sold-label{color:#B00020!important;font-weight:800!important;font-size:1.25rem;letter-spacing:.04em;margin:12px 0;}

/* Checkout return-policy notice and required acknowledgement */
#ss-checkout .ss-returns-notice{border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:14px 0;margin:18px 0;background:transparent;color:inherit}
#ss-checkout .ss-returns-notice h4{margin:0 0 8px;font-size:1.1rem}
#ss-checkout .ss-returns-notice p{margin:8px 0}
#ss-checkout .ss-policy-agreement{display:flex;align-items:flex-start;gap:9px;margin:16px 0 20px;cursor:pointer}
#ss-checkout .ss-policy-agreement input[type=checkbox]{display:inline-block;width:auto;max-width:none;flex:0 0 auto;margin:4px 0 0}

/* v0.4.7: larger product titles in catalog and individual product pages */
.ss-grid .ss-product h3, .ss-product h3 {font-size:22px!important;font-weight:700!important;line-height:1.3!important;}
body.single-ss_product h1.entry-title, body.single-ss_product .entry-header h1, body.single-ss_product h1.wp-block-post-title, body.single-ss_product .entry-title {font-size:28px!important;font-weight:700!important;line-height:1.25!important;}

/* v0.4.8: uniform catalog cards; individual product pages unchanged. */
.ss-grid{align-items:stretch;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.ss-grid .ss-product{box-sizing:border-box;display:flex;flex-direction:column;min-width:0;padding:16px;gap:10px}
.ss-grid .ss-gallery,.ss-grid .ss-no-photo{height:calc(300px + 68px);flex:none;min-width:0}
.ss-grid .ss-main-photo{height:300px;padding:0!important;border:0!important;box-shadow:none}
.ss-grid .ss-main-photo img{height:300px;width:100%;object-fit:contain}
.ss-grid .ss-thumbnails{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;height:68px;margin:0;padding:4px 0;box-sizing:border-box;align-items:flex-start}
.ss-grid .ss-thumb{box-sizing:border-box;flex:0 0 48px;width:48px;height:48px;padding:3px!important;border:1px solid #ddd;border-radius:4px;box-shadow:none}
.ss-grid .ss-thumb.is-active{border:2px solid #b58b35}
.ss-grid .ss-thumb img{width:100%;height:100%;object-fit:contain}
.ss-grid .ss-product h3{margin:0!important;height:2.6em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;flex:none}
.ss-grid .ss-card-preview{font-size:15px;line-height:1.4;height:2.8em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;flex:none}
.ss-grid .ss-price{margin:auto 0 0!important;line-height:1.4;min-height:1.4em}
.ss-grid .ss-card-action{height:44px;display:flex;align-items:center;flex:none}
.ss-grid .ss-card-action .ss-add{width:100%;height:44px;margin:0;padding:8px 12px}
.ss-grid .ss-card-action p{margin:0}
@media(max-width:600px){.ss-grid .ss-gallery,.ss-grid .ss-no-photo{height:308px}.ss-grid .ss-main-photo,.ss-grid .ss-main-photo img{height:240px}}
