/* Keeper Knit Wear homepage layout repair.
   Load AFTER keeper-modern.css, keeper-v3.css, marketplace/readable and other theme files. */
html, body.keeper-v3 { width:100%; max-width:100%; margin:0; overflow-x:hidden; }
body.keeper-v3 { font-family:'DM Sans',Arial,sans-serif; color:#082747; background:#fff; }
body.keeper-v3 > main { display:block !important; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
body.keeper-v3 > main > section { display:block; position:relative; box-sizing:border-box; }
body.keeper-v3 .v3-hero { display:grid !important; grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr) !important; align-items:stretch !important; min-height:490px !important; height:auto !important; padding:0 !important; margin:0 !important; overflow:hidden !important; background:linear-gradient(115deg,#eef7fb,#fff 60%) !important; }
body.keeper-v3 .v3-hero-copy { position:relative !important; inset:auto !important; transform:none !important; width:auto !important; max-width:none !important; padding:clamp(28px,5vw,72px) clamp(22px,4vw,60px) !important; align-self:center !important; z-index:3 !important; }
body.keeper-v3 .v3-hero-copy h1 { font-size:clamp(34px,4.2vw,60px) !important; line-height:1.08 !important; margin:18px 0 !important; }
body.keeper-v3 .v3-hero-copy p { max-width:480px; font-size:15px !important; line-height:1.7 !important; }
body.keeper-v3 .v3-hero-visual { position:relative !important; display:block !important; width:100% !important; height:490px !important; min-height:0 !important; max-height:none !important; padding:0 !important; margin:0 !important; overflow:hidden !important; }
body.keeper-v3 .hero-image-frame { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; min-height:0 !important; border-radius:0 !important; overflow:hidden !important; }
body.keeper-v3 .hero-slide { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; }
body.keeper-v3 .hero-slide img { display:block !important; width:100% !important; height:100% !important; max-width:none !important; object-fit:cover !important; object-position:center !important; }
body.keeper-v3 .v3-hero .image-tag { max-width:80%; }
body.keeper-v3 .v3-benefits { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; width:min(1120px,92%) !important; max-width:1120px !important; margin:-1px auto 0 !important; padding:18px 22px !important; gap:18px !important; position:relative; z-index:2; background:#fff !important; border:1px solid #dceaf2 !important; border-radius:0 0 16px 16px !important; }
body.keeper-v3 .v3-section { display:block !important; width:min(1120px,92%) !important; max-width:1120px !important; margin:0 auto !important; padding:64px 0 !important; }
body.keeper-v3 .v3-section-head { display:flex !important; align-items:end !important; justify-content:space-between !important; gap:24px !important; margin:0 0 28px !important; }
body.keeper-v3 .v3-category-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:18px !important; width:100% !important; }
body.keeper-v3 .v3-category { display:block !important; position:relative !important; height:240px !important; min-height:0 !important; padding:20px !important; overflow:hidden !important; border-radius:16px !important; }
body.keeper-v3 .v3-category img { position:absolute !important; right:5% !important; bottom:5% !important; width:62% !important; height:65% !important; max-width:62% !important; max-height:65% !important; object-fit:contain !important; object-position:center bottom !important; }
body.keeper-v3 .category-copy { position:relative !important; z-index:2 !important; max-width:58%; }
body.keeper-v3 .category-copy h3 { font-size:20px !important; line-height:1.2 !important; }
body.keeper-v3 .v3-featured { display:block !important; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:#f0f7fb !important; }
body.keeper-v3 .v3-featured-inner { padding-top:60px !important; padding-bottom:60px !important; }
body.keeper-v3 .v3-product-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:18px !important; width:100% !important; align-items:stretch !important; }
body.keeper-v3 .v3-product { display:block !important; min-width:0 !important; overflow:hidden !important; background:#fff !important; border-radius:14px !important; }
body.keeper-v3 .v3-product-img { position:relative !important; display:grid !important; place-items:center !important; width:100% !important; height:230px !important; min-height:0 !important; overflow:hidden !important; border-radius:0 !important; }
body.keeper-v3 .v3-product-img img { display:block !important; width:100% !important; height:100% !important; max-width:100% !important; max-height:100% !important; object-fit:contain !important; object-position:center !important; }
body.keeper-v3 .v3-product-meta { display:flex !important; align-items:start !important; justify-content:space-between !important; gap:10px !important; padding:14px !important; }
body.keeper-v3 .v3-story { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; align-items:center !important; gap:clamp(28px,5vw,64px) !important; width:min(1120px,92%) !important; max-width:1120px !important; margin:0 auto !important; padding:68px 0 !important; background:#fff !important; }
body.keeper-v3 .v3-story-image { position:relative !important; width:100% !important; min-width:0 !important; height:360px !important; overflow:hidden !important; border-radius:16px !important; background:#f0f7fb !important; }
body.keeper-v3 .v3-story-image > img { display:block !important; width:100% !important; height:100% !important; max-width:100% !important; max-height:100% !important; object-fit:cover !important; object-position:center !important; }
body.keeper-v3 .v3-story-copy { min-width:0; }
body.keeper-v3 .v3-contact { display:flex !important; width:min(1120px,92%) !important; max-width:1120px !important; margin:0 auto 48px !important; padding:42px clamp(22px,5vw,64px) !important; align-items:center !important; justify-content:space-between !important; gap:28px !important; border-radius:18px !important; }
body.keeper-v3 .v3-footer { display:block !important; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
body.keeper-v3 .v3-footer-main { display:grid !important; grid-template-columns:1.4fr .7fr 1fr !important; gap:clamp(24px,5vw,72px) !important; width:min(1120px,92%) !important; max-width:1120px !important; margin:0 auto !important; padding:52px 0 38px !important; }
body.keeper-v3 .v3-footer-bottom { display:flex !important; justify-content:space-between !important; gap:18px !important; width:100% !important; padding:18px max(calc((100% - 1120px)/2),4%) !important; }
body.keeper-v3 .v3-whatsapp { position:fixed !important; z-index:100 !important; }
body.keeper-v3 img { max-width:100%; }
@media(max-width:900px){
 body.keeper-v3 .v3-hero { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) !important; min-height:390px !important; }
 body.keeper-v3 .v3-hero-visual { height:390px !important; }
 body.keeper-v3 .v3-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
 body.keeper-v3 .v3-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
 body.keeper-v3 .v3-benefits { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:600px){
 body.keeper-v3 .v3-hero { display:flex !important; flex-direction:column !important; min-height:0 !important; }
 body.keeper-v3 .v3-hero-copy { padding:34px 22px 24px !important; }
 body.keeper-v3 .v3-hero-copy h1 { font-size:38px !important; }
 body.keeper-v3 .v3-hero-visual { height:300px !important; min-height:300px !important; }
 body.keeper-v3 .v3-benefits { width:92% !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; padding:16px !important; }
 body.keeper-v3 .v3-section { width:92% !important; padding:42px 0 !important; }
 body.keeper-v3 .v3-section-head { display:block !important; }
 body.keeper-v3 .v3-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
 body.keeper-v3 .v3-category { height:190px !important; padding:14px !important; }
 body.keeper-v3 .category-copy h3 { font-size:16px !important; }
 body.keeper-v3 .v3-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
 body.keeper-v3 .v3-product-img { height:180px !important; }
 body.keeper-v3 .v3-story { display:grid !important; grid-template-columns:1fr !important; width:92% !important; gap:24px !important; padding:42px 0 !important; }
 body.keeper-v3 .v3-story-image { height:260px !important; }
 body.keeper-v3 .v3-contact { display:flex !important; flex-direction:column !important; align-items:flex-start !important; width:92% !important; margin-bottom:32px !important; padding:28px 22px !important; }
 body.keeper-v3 .v3-footer-main { grid-template-columns:1fr 1fr !important; width:92% !important; gap:26px 18px !important; padding:38px 0 28px !important; }
 body.keeper-v3 .v3-footer-brand { grid-column:1/-1; }
 body.keeper-v3 .v3-footer-bottom { flex-direction:column !important; width:92% !important; margin:auto !important; padding:16px 0 !important; }
}
