/*
Theme Name: Knowledge & Beyond Sunset Showcase
Author: Knowledge & Beyond
Description: Cinematic tribute storefront with approved artwork. WooCommerce-compatible.
Version: 1.4
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#090d17;color:#f5e4c3;font-family:Arial,sans-serif}a{color:inherit;text-decoration:none}button{cursor:pointer}.top{position:sticky;top:0;z-index:10;background:#080b12f2;border-bottom:1px solid #a87839;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px max(18px,5vw)}.brand{font-family:Georgia,serif;color:#ffd994;font-size:clamp(18px,2.2vw,29px)}nav{display:flex;flex-wrap:wrap;gap:18px;font-size:14px}nav a:hover,.brand:hover{color:white}.hero{position:relative;background:#080c14}.hero img{width:100%;display:block}.hero-actions{position:absolute;bottom:18%;left:10%;right:10%;display:flex;justify-content:space-between}.btn{background:linear-gradient(#3a230e,#0a0b11);border:1px solid #eeb55e;box-shadow:0 0 14px #d9904080,inset 0 0 12px #a96b3040;color:#fff2d5;border-radius:30px;padding:12px 25px;font-size:15px;display:inline-block}.btn:hover{background:#8d561e}.section{max-width:1500px;margin:auto;padding:42px 5vw}.heading{text-align:center;font:clamp(26px,3vw,42px) Georgia,serif;color:#ffd99c;margin:0 0 12px}.sub{text-align:center;color:#b9aa9a;margin:0 0 28px}.categories{position:relative;margin:0 auto;max-width:1672px}.categories img{display:block;width:100%}.hotspots{position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0}.hotspots a{display:block;border-radius:20px}.hotspots a:focus-visible{outline:3px solid #fff}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product{background:linear-gradient(155deg,#292014,#10131b 70%);border:1px solid #9c6830;border-radius:20px;overflow:hidden;box-shadow:0 0 25px #d58a1a20}.product .visual{height:170px;display:grid;place-items:center;font-size:64px;background:radial-gradient(ellipse at center,#644019,#12151e 75%)}.product .copy{padding:18px}.product h3{font:24px Georgia,serif;margin:0 0 10px;color:#ffe0a7}.product p{color:#d2c2ab;font-size:14px;line-height:1.5;min-height:42px}.panel{background:linear-gradient(125deg,#1b1b20,#101621);border-block:1px solid #8e5a2d;padding:50px 6vw;text-align:center}.panel p{max-width:720px;margin:18px auto;line-height:1.8}.footer{text-align:center;padding:30px;color:#cda56b;border-top:1px solid #634524}.note{font-size:12px;color:#aaa;text-align:center;margin-top:20px}@media(max-width:800px){.top{position:relative;display:block;text-align:center}nav{justify-content:center;margin-top:12px}.hero-actions{bottom:8%;left:4%;right:4%}.btn{font-size:12px;padding:9px 12px}.products{grid-template-columns:repeat(2,1fr)}.product .visual{height:110px}}@media(max-width:440px){.products{grid-template-columns:1fr}.hero-actions{bottom:4%}}
.product{background:linear-gradient(155deg,#2a1b0c,#080c16 80%)!important;border:2px solid #efb658!important;box-shadow:0 0 18px #ffb12a77,0 0 55px #f0901825,inset 0 0 28px #d18a1820!important;transition:transform .3s,box-shadow .3s}.product:hover{transform:translateY(-8px);box-shadow:0 0 35px #ffc34e99,0 0 75px #e49b2640!important}.product .visual{height:220px!important;background:#120e0a!important;overflow:hidden;display:block!important}.product .visual img{height:100%;width:100%;object-fit:cover;display:block;transition:transform .5s}.product:hover .visual img{transform:scale(1.08)}.product .copy{background:linear-gradient(180deg,#241508,#0a0d15);text-align:center}.product h3{text-shadow:0 0 13px #ffaf45}.products{gap:22px!important}@media(max-width:800px){.product .visual{height:160px!important}}

/* Coordinates follow the artwork's original 1671 × 941 canvas. */
.showcase { position: relative; background: #080c14; }
.showcase-art { display: block; width: 100%; height: auto; }
.showcase-animation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    mask-image: linear-gradient(transparent 5%, #000 9% 43%, transparent 55%);
}
.showcase-animation[hidden] { display: none; }
.showcase-hit { position: absolute; border-radius: 8px; }
.showcase-hit:focus-visible { outline: 3px solid white; outline-offset: -3px; }
.showcase-play { position: absolute; top: 54%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: clamp(10px, 1.1vw, 15px); padding: clamp(4px, .65vw, 10px) clamp(7px, 1vw, 16px); }
.dogs-animation-status:not(:empty) { position: absolute; left: 50%; top: 48%; transform: translateX(-50%); padding: 6px 10px; background: #080b12; color: #fff2d5; }
.showcase-brand { left: 4.369%; top: 0.000%; width: 26.750%; height: 7.333%; }
.showcase-home { left: 36.026%; top: 0.000%; width: 6.463%; height: 6.589%; }
.showcase-shop { left: 43.208%; top: 0.000%; width: 5.566%; height: 6.589%; }
.showcase-story { left: 50.329%; top: 0.000%; width: 6.463%; height: 6.589%; }
.showcase-dedication { left: 58.648%; top: 0.000%; width: 7.780%; height: 6.589%; }
.showcase-blog { left: 68.103%; top: 0.000%; width: 4.010%; height: 6.589%; }
.showcase-contact { left: 74.087%; top: 0.000%; width: 5.625%; height: 6.589%; }
.showcase-search { left: 85.039%; top: 0.000%; width: 3.172%; height: 6.589%; }
.showcase-account { left: 89.168%; top: 0.000%; width: 3.052%; height: 6.589%; }
.showcase-cart { left: 93.058%; top: 0.000%; width: 4.129%; height: 6.589%; }
.showcase-shop-now { left: 18.193%; top: 57.386%; width: 13.704%; height: 5.845%; }
.showcase-our-story { left: 68.103%; top: 57.386%; width: 13.764%; height: 5.845%; }
.showcase-dog { left: 4.488%; top: 68.438%; width: 22.920%; height: 29.543%; }
.showcase-smart { left: 27.768%; top: 68.438%; width: 22.322%; height: 29.543%; }
.showcase-cards { left: 50.509%; top: 68.438%; width: 21.903%; height: 29.543%; }
.showcase-essentials { left: 72.890%; top: 68.438%; width: 23.160%; height: 29.543%; }

/* WooCommerce cards fill their grid tracks instead of retaining float widths. */
.kb-woo-shop ul.products,
.kb-featured-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}
.kb-woo-shop ul.products::before, .kb-woo-shop ul.products::after,
.kb-featured-products ul.products::before, .kb-featured-products ul.products::after {
    display: none;
    content: none;
}
.kb-woo-shop ul.products li.product,
.kb-featured-products ul.products li.product {
    float: none;
    clear: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: clamp(10px, 1.4vw, 18px);
}
.kb-woo-shop ul.products .woocommerce-loop-product__title,
.kb-featured-products ul.products .woocommerce-loop-product__title {
    white-space: normal;
    overflow-wrap: anywhere;
}
@media (max-width: 900px) {
    .kb-woo-shop ul.products, .kb-featured-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .kb-woo-shop ul.products, .kb-featured-products ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Keep the social row in normal flow beneath the homepage hero. */
.kb-hero-social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 12px 16px;
}
.kb-hero-social ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}
