/* Lightweight defaults; your active theme controls the global typography and colors. */
.silk-product-page, .silk-product-archive { width:min(1200px, calc(100% - 40px)); margin:36px auto 64px; }
.silk-product-breadcrumb { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 24px; font-size:13px; opacity:.75; }
.silk-product-breadcrumb a { text-decoration:none; }
.silk-product-main { display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(300px, .9fr); gap:clamp(28px, 5vw, 64px); align-items:start; }
.silk-product-main-image { background:#f7f5f2; aspect-ratio:4/5; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.silk-product-main-image img { display:block; width:100%; height:100%; object-fit:contain; }
.silk-no-image { width:100%; min-height:240px; display:grid; place-items:center; background:#f7f5f2; color:#777; padding:20px; text-align:center; }
.silk-product-thumbnails { display:flex; gap:10px; overflow-x:auto; padding:12px 1px 4px; }
.silk-thumbnail { flex:0 0 76px; width:76px; height:88px; padding:0; border:1px solid #ddd; background:#fff; cursor:pointer; overflow:hidden; }
.silk-thumbnail img { display:block; width:100%; height:100%; object-fit:cover; }
.silk-thumbnail.is-active { border:2px solid #333; }
.silk-product-sku { font-size:13px; opacity:.7; margin:0 0 8px; }
.silk-product-summary h1 { margin:0 0 14px; font-size:clamp(26px, 3vw, 38px); line-height:1.2; }
.silk-product-excerpt { margin:0 0 24px; }
.silk-product-specs { margin:24px 0; }
.silk-product-specs h2, .silk-product-description h2, .silk-product-inquiry-section h2 { font-size:22px; margin:0 0 14px; }
.silk-product-specs dl { margin:0; }
.silk-spec-row { display:grid; grid-template-columns:minmax(100px, .8fr) 1.2fr; gap:16px; padding:10px 0; border-bottom:1px solid #e9e6e2; }
.silk-spec-row dt { opacity:.7; }
.silk-spec-row dd { margin:0; text-align:right; }
.silk-product-customization { margin:18px 0; line-height:1.6; }
.silk-quote-button, .silk-submit-button { display:inline-flex; justify-content:center; align-items:center; width:100%; box-sizing:border-box; padding:15px 20px; border:0; border-radius:3px; background:#a95b43; color:#fff !important; text-align:center; text-decoration:none; font-weight:600; cursor:pointer; }
.silk-quote-button:hover, .silk-submit-button:hover { filter:brightness(.94); }
.silk-product-note { font-size:12px; text-align:center; opacity:.7; margin:10px 0 0; }
.silk-product-description { margin:64px 0 0; max-width:900px; }
.silk-product-content { line-height:1.8; }
.silk-product-inquiry-section { margin:56px 0 0; padding:clamp(22px, 4vw, 40px); background:#f8f6f3; scroll-margin-top:30px; }
.silk-product-inquiry-section > p { margin-top:0; }
.silk-inquiry-form { max-width:800px; }
.silk-form-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 18px; }
.silk-inquiry-form p { margin:0 0 16px; }
.silk-inquiry-form label { display:block; margin-bottom:6px; font-size:14px; font-weight:600; }
.silk-inquiry-form input, .silk-inquiry-form select, .silk-inquiry-form textarea { width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid #d8d3ce; border-radius:3px; background:#fff; color:#222; font:inherit; }
.silk-inquiry-form textarea { resize:vertical; }
.silk-form-full { grid-column:1 / -1; }
.silk-privacy-note { font-size:12px; opacity:.7; }
.silk-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.silk-notice { margin:0 0 18px; padding:12px 15px; border:1px solid #ddd; background:#fff; }
.silk-notice-success { border-color:#8bb79a; }
.silk-notice-error { border-color:#c66; }
.silk-archive-header { margin-bottom:30px; }
.silk-archive-header h1 { margin-bottom:8px; }
.silk-product-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:28px 20px; }
.silk-product-card { min-width:0; }
.silk-card-image { display:block; aspect-ratio:4/5; overflow:hidden; background:#f7f5f2; }
.silk-card-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.silk-card-image:hover img { transform:scale(1.025); }
.silk-card-content { padding:12px 0; }
.silk-card-content h2 { font-size:18px; margin:0 0 6px; }
.silk-card-content h2 a { text-decoration:none; }
.silk-card-sku { font-size:12px; opacity:.7; margin:0 0 10px; }
.silk-card-link { font-size:14px; text-decoration:none; }
.silk-pagination { margin-top:36px; }
@media (max-width: 760px) {
    .silk-product-page, .silk-product-archive { width:min(100% - 28px, 600px); margin-top:22px; }
    .silk-product-main { grid-template-columns:1fr; gap:28px; }
    .silk-product-main-image { aspect-ratio:4/4.5; }
    .silk-product-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px 12px; }
    .silk-form-grid { grid-template-columns:1fr; }
    .silk-form-full { grid-column:auto; }
}
@media (max-width: 420px) {
    .silk-product-grid { grid-template-columns:1fr; }
}

/* v0.2 product gallery: natural image ratio, no forced crop. */
.silk-product-main-image { aspect-ratio:auto; min-height:0; display:block; background:transparent; }
.silk-product-main-image img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
.silk-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.silk-card-image { aspect-ratio:1/1; }
.silk-card-image img { object-fit:cover; }
.silk-product-card h2 { font-size:17px; line-height:1.4; margin:12px 0 0; }
.silk-product-card h2 a { text-decoration:none; }
.silk-archive-header p { display:none; }
.silk-category-seo-content { margin-top:50px; line-height:1.8; }
.silk-related-products { margin:55px 0 35px; }
.silk-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; max-width:850px; }
.silk-related-item img { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; }
.silk-related-item h3 { font-size:17px; margin:10px 0; }
.silk-related-item a { text-decoration:none; }
.silk-product-comments { margin:50px 0; }
.silk-quote-page { max-width:820px; margin:30px auto; }
@media(max-width:760px) { .silk-product-main-image { aspect-ratio:auto; } .silk-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:520px) { .silk-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* v0.2.3 form, comment and content refinements */
.silk-quote-page > h2 { text-align:center; margin:0 0 28px; }
.silk-inquiry-feedback { margin-top:16px; }
.silk-inquiry-feedback .silk-notice { margin:0; border-radius:3px; font-weight:600; }
.silk-inquiry-feedback .silk-notice-success { background:#e8f6ed; border:1px solid #8bc6a0; color:#196b38; }
.silk-inquiry-feedback .silk-notice-error { background:#fff0f0; border:1px solid #e5a3a3; color:#9a2525; }
.silk-product-description h2 { padding-bottom:15px; border-bottom:1px solid #f0f0f0; }
.silk-product-content table, .silk-product-content th, .silk-product-content td { border:1px solid #f0f0f0; border-collapse:collapse; }
.silk-product-content table { width:100%; margin:20px 0; border-spacing:0; }
.silk-product-content th, .silk-product-content td { padding:10px 12px; text-align:left; }
.silk-product-comments { background:#f0f0f0; padding:clamp(20px,4vw,38px); border-radius:3px; box-sizing:border-box; }
.silk-comments-wrap, .silk-comments-wrap *, .silk-comments-wrap *::before, .silk-comments-wrap *::after { box-sizing:border-box; }
.silk-comments-wrap { width:100%; margin:0; }
.silk-comments-wrap #respond, .silk-comments-wrap .comment-respond, .silk-comments-wrap .comment-form { width:100%; max-width:800px; margin-left:0; padding-left:0; }
.silk-comments-wrap .comment-reply-title, .silk-comments-heading { font-size:22px; margin:0 0 16px; }
.silk-comments-wrap .comment-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.silk-comments-wrap .comment-form > p { margin:0 0 16px; padding:0; width:100%; }
.silk-comments-wrap .comment-form .silk-comment-notes, .silk-comments-wrap .comment-form .comment-notes, .silk-comments-wrap .comment-form .logged-in-as, .silk-comments-wrap .comment-form .comment-form-cookies-consent, .silk-comments-wrap .comment-form .silk-comment-message, .silk-comments-wrap .comment-form .form-submit { grid-column:1 / -1; }
.silk-comments-wrap label { display:block; font-size:14px; font-weight:600; margin:0 0 6px; }
.silk-comments-wrap input[type="text"], .silk-comments-wrap input[type="email"], .silk-comments-wrap textarea { display:block; width:100%; max-width:none; min-width:0; margin:0; padding:11px 12px; border:1px solid #d8d3ce; border-radius:3px; background:#fff; color:#222; font:inherit; }
.silk-comments-wrap textarea { resize:vertical; }
.silk-comments-wrap .form-submit .silk-submit-button { display:block; width:100%; max-width:none; margin:0; }
.silk-comment-list { list-style:none; padding:0; margin:0 0 30px; }
.silk-comment-list li.comment { list-style:none; padding:18px; margin:0 0 12px; background:#fff; border-radius:3px; }
.silk-comment-list .children { list-style:none; padding-left:22px; }
.silk-comments-wrap .comment-meta { font-size:13px; }
@media(max-width:640px) { .silk-comments-wrap .comment-form { grid-template-columns:1fr; } .silk-comments-wrap .comment-form > p { grid-column:1; } }

/* v0.2.4 banners, video, approved comments, details */
.silk-quote-hero, .silk-category-banner { width:100%; max-width:1920px; height:320px; margin:0 auto; background-color:#f0f0f0; background-position:center; background-size:cover; display:flex; align-items:center; justify-content:center; text-align:center; }
.silk-quote-hero h1, .silk-category-banner h1 { font-size:clamp(28px,4vw,48px); margin:0; padding:0 18px; }
.silk-quote-page { margin:35px auto 65px; }
.silk-quote-page > h2 { display:none; }
.silk-product-specs .silk-spec-row { border-bottom:1px solid #f0f0f0; }
.silk-video-stage { width:100%; aspect-ratio:16/9; background:#111; }
.silk-video-stage iframe, .silk-video-stage > div { width:100%; height:100%; }
.silk-video-play { position:relative; display:block; width:100%; height:100%; border:0; padding:0; cursor:pointer; background:#111; }
.silk-video-play img { width:100%; height:100%; object-fit:contain; }
.silk-video-play span { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:68px; height:68px; border-radius:50%; background:rgba(0,0,0,.7); color:#fff; font-size:25px; }
.silk-video-thumb { display:grid; place-items:center; }
.silk-comment-list .comment-body { overflow-wrap:anywhere; }
.silk-comment-list .children { margin:12px 0 0; padding-left:20px; border-left:2px solid #ddd; }
.silk-comment-list .comment-author { font-weight:600; }
@media(max-width:600px) { .silk-quote-hero, .silk-category-banner { height:220px; } }

/* Hide the ordinary WordPress page title on the dedicated quote page; banner owns the title. */
body.page-request-a-quote .entry-header > .entry-title, body.page-request-a-quote h1.wp-block-post-title, body.page-request-a-quote .page-header > .page-title { display:none; }

/* v0.2.5 banner and comment layout */
.silk-quote-standalone .silk-quote-hero { max-width:none; width:100%; height:200px; box-sizing:border-box; margin:0; background:#f0f0f0; background-image:none; }
.silk-quote-standalone .silk-quote-hero h1 { margin:0; }
.silk-quote-standalone .silk-quote-page { width:min(100% - 32px, 900px); margin:36px auto 64px; }
.silk-category-banner { width:100%; max-width:1920px; height:200px; box-sizing:border-box; }
@media(max-width:600px) { .silk-quote-standalone .silk-quote-hero, .silk-category-banner { height:200px; } }
.silk-comments-wrap .silk-comment-list { list-style:none; padding-left:0; margin-left:0; }
.silk-comments-wrap .silk-comment-list .children { list-style:none; margin-left:24px; padding-left:14px; border-left:2px solid #e2e2e2; }
.silk-comments-wrap .silk-comment-list li.comment { list-style:none; margin:0 0 18px; }

.silk-product-details-body { overflow-wrap:anywhere; line-height:1.8; }

/* Products archive banner: full available width, up to 1920px; fixed 200px display height. */
.silk-archive-banner { width:100%; max-width:1920px; height:200px; margin:0 auto; overflow:hidden; background:#f0f0f0; }
.silk-archive-banner-image { display:block; width:100%; height:100%; object-fit:cover; }

/* v0.3.4: Center the Products archive H1 over its banner. */
.silk-archive-banner { position:relative; display:flex; align-items:center; justify-content:center; text-align:center; isolation:isolate; }
.silk-archive-banner-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.silk-archive-banner-title { position:relative; z-index:1; margin:0; padding:12px 24px; max-width:100%; box-sizing:border-box; font-size:clamp(24px, 3vw, 42px); line-height:1.2; font-weight:600; color:#222; text-align:center; overflow-wrap:anywhere; }
