
.dci-home{background:#f7f1e7;color:#111;font-family:inherit;line-height:1.35}
.dci-home *{box-sizing:border-box}
.dci-home a{text-decoration:none}
.dci-hero{position:relative;overflow:hidden;background:var(--dci-hero-bg);line-height:0}
.dci-hero-media{display:block}
.dci-hero-media{display:block;width:100%}.dci-hero-media img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.dci-btn,.dci-add{display:inline-flex;align-items:center;justify-content:center;background:var(--dci-accent);color:#fff!important;padding:11px 18px;border-radius:4px;font-weight:700}
.dci-section,.dci-products,.dci-how,.dci-blog{padding:12px max(18px,2vw)}
.dci-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 10px}
.dci-section-head h2{font-size:23px;line-height:1.1;margin:0;color:var(--dci-accent)}
.dci-section-head h2 span{color:var(--dci-gold);font-size:17px;margin-right:6px}
.dci-section-head a{font-size:12px;color:var(--dci-accent);border:1px solid var(--dci-gold);padding:7px 11px;border-radius:20px;white-space:nowrap}
.dci-cat-row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.dci-cat{text-align:center;color:#111;font-size:11px;font-weight:600}
.dci-cat img,.dci-cat-placeholder{display:block;width:74px;height:74px;border-radius:50%;object-fit:cover;margin:0 auto 6px;background:#eee}
.dci-cat-placeholder{display:grid;place-items:center;font-weight:800;color:var(--dci-accent)}
.dci-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 10px 12px}
.dci-promo-card{position:relative;overflow:hidden;border-radius:5px;min-height:140px;background:#eadbc8;color:#fff}
.dci-promo-card img{display:block;width:100%;height:100%;min-height:140px;object-fit:cover}
.dci-promo-copy{position:absolute;inset:0;padding:13px 14px;background:linear-gradient(90deg,rgba(0,0,0,.35),transparent 72%)}
.dci-promo-copy h3{margin:0 0 4px;font-size:20px;color:#fff}
.dci-promo-copy p{margin:0 0 10px;font-size:12px}
.dci-promo-copy span{background:#fff;color:var(--dci-accent);padding:7px 11px;border-radius:3px;font-size:11px;font-weight:700}
.dci-product-sections{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dci-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dci-product-card{background:#fff;border-radius:5px;padding:7px;overflow:hidden}
.dci-product-image{display:block;background:#eee;border-radius:4px;aspect-ratio:1/1;overflow:hidden}
.dci-product-image img{width:100%;height:100%;object-fit:cover}
.dci-product-card h3{font-size:11px;margin:7px 0 3px;line-height:1.25}
.dci-product-card h3 a{color:#222}
.dci-price{color:var(--dci-accent);font-weight:800;font-size:12px;min-height:17px}
.dci-add{width:100%;padding:6px 5px;margin-top:5px;font-size:10px;border-radius:3px}
.dci-how{background:#f2dfad;margin-top:4px}
.dci-how-inner{display:grid;grid-template-columns:1fr 2fr;gap:30px;align-items:center}
.dci-how-copy h2{font-size:26px;line-height:1.05;margin:0 0 8px}
.dci-how-copy p{font-size:13px;max-width:420px}
.dci-btn-gold{background:var(--dci-gold)}
.dci-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.dci-step{text-align:center;position:relative}
.dci-step-img{width:110px;height:110px;border-radius:50%;overflow:hidden;background:#fff;margin:auto}
.dci-step-img img{width:100%;height:100%;object-fit:cover}
.dci-step b{display:inline-grid;place-items:center;width:20px;height:20px;background:var(--dci-gold);border-radius:50%;font-size:11px;margin-top:-5px;position:relative}
.dci-step span{display:block;font-size:10px;margin-top:4px}
.dci-blog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.dci-blog article{background:#fff;border-radius:5px;overflow:hidden}
.dci-blog article img{width:100%;height:105px;object-fit:cover;display:block}
.dci-blog article h3{font-size:12px;margin:7px 9px 4px;line-height:1.25}
.dci-blog article h3 a{color:#222}
.dci-blog time{display:block;font-size:9px;color:#777;margin:0 9px 8px}
.dci-blog .dci-section-head p{margin:2px 0 0;font-size:11px;color:#555}
@media(max-width:900px){
 .dci-hero{min-height:0}
 .dci-hero-media img{max-height:none;object-fit:cover}
   .dci-product-sections{grid-template-columns:1fr}
 .dci-cat-row{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:767px){
    .dci-btn{padding:8px 11px;font-size:11px}
 .dci-section-head h2{font-size:19px}
 .dci-cat-row{display:flex;overflow:auto;gap:14px;padding-bottom:5px}
 .dci-cat{min-width:72px}
 .dci-cat img,.dci-cat-placeholder{width:58px;height:58px}
 .dci-promos{grid-template-columns:1fr}
 .dci-promo-card{min-height:150px}
 .dci-product-grid{grid-template-columns:repeat(2,1fr)}
 .dci-how-inner{grid-template-columns:1fr}
 .dci-steps{grid-template-columns:repeat(4,1fr);gap:6px}
 .dci-step-img{width:66px;height:66px}
 .dci-step span{font-size:8px}
 .dci-blog-grid{grid-template-columns:repeat(2,1fr)}
 .dci-blog article img{height:90px}
}

/* v2.0.3: Structural content container. Hero stays full-width; all sections below it are constrained and centered. */
.dci-home-content{
  width:100%;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.dci-home-content > .dci-section,
.dci-home-content > .dci-promos,
.dci-home-content > .dci-product-sections,
.dci-home-content > .dci-how,
.dci-home-content > .dci-blog{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.dci-home-content > .dci-promos{padding-left:0;padding-right:0;}
@media(max-width:1279px){
  .dci-home-content{max-width:calc(100% - 40px) !important;}
}
@media(max-width:767px){
  .dci-home-content{max-width:calc(100% - 24px) !important;}
}
/* v2.2.1 homepage visual system — matched to DIY product-page Related Products */
.dci-home{background:#f7f1e7;color:#241a16;font-family:inherit;overflow:hidden}
.dci-home-content{max-width:1240px;margin:0 auto;padding:0 24px 56px}
@media (max-width:767px){.dci-home{overflow:hidden}}
.dci-hero-slider{position:relative;max-width:1240px;margin:0 auto;background:#f7f1e7;overflow:hidden}
/* v2.3.2: Put the desktop full-viewport rule AFTER base slider rules so max-width/margins cannot override it. */
@media (min-width:768px){
  .dci-home{overflow:visible}
  .dci-home > .dci-hero-slider{width:100vw !important;max-width:none !important;margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important}
  /* v2.3.3: Full-width desktop hero with controlled height. Mobile rules stay untouched. */
  .dci-home > .dci-hero-slider .dci-hero-slide img{display:block;width:100%;height:clamp(420px, 32vw, 520px);max-height:none;object-fit:cover;object-position:center center}
}
.dci-hero-track{display:flex;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.dci-hero-slide{flex:0 0 100%;min-width:100%;display:none}.dci-hero-slide.is-active{display:block}
.dci-hero-slide a,.dci-hero-slide picture,.dci-hero-slide img{display:block;width:100%}.dci-hero-slide img{height:auto;max-height:560px;object-fit:cover}
.dci-hero-arrow,.dci-slider-arrow{border:1px solid #e2d5c7;background:#fff;color:#a9233b;border-radius:50%;width:38px;height:38px;font-size:24px;line-height:34px;cursor:pointer;box-shadow:0 2px 8px rgba(73,47,34,.08);transition:.25s ease}.dci-hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3}.dci-hero-arrow:hover,.dci-slider-arrow:hover{background:#a9233b;color:#fff;border-color:#a9233b}.dci-hero-arrow.prev{left:18px}.dci-hero-arrow.next{right:18px}
.dci-hero-dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:7px}.dci-hero-dots button{border:0;background:rgba(255,255,255,.7);color:#a9233b;width:9px;height:9px;padding:0;border-radius:50%;font-size:0;cursor:pointer}.dci-hero-dots button.is-active{background:#a9233b;transform:scale(1.25)}
.dci-section{margin:36px 0 0}.dci-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding-bottom:0;border-bottom:1px solid #d8cbbb}.dci-section-head h2{margin:0;font-size:22px;line-height:1.25;font-weight:700;color:#241a16}.dci-section-head h2 span{display:inline-block;padding:10px 16px 9px;border-radius:8px 8px 0 0;background:#a9233b;color:#fff;font-size:16px;line-height:1.2}.dci-section-head a{color:#a9233b;text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap}.dci-slider-head-actions{display:flex;align-items:center;gap:8px}.dci-slider-head-actions .dci-slider-arrow{width:30px;height:30px;font-size:19px;line-height:26px}
.dci-category-slider,.dci-related-slider{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 12px}.dci-category-slider::-webkit-scrollbar,.dci-related-slider::-webkit-scrollbar{display:none}
.dci-cat{flex:0 0 116px;scroll-snap-align:start;text-decoration:none;text-align:center;color:#241a16}.dci-cat img,.dci-cat-placeholder{display:flex;width:96px;height:96px;margin:0 auto 8px;border-radius:50%;align-items:center;justify-content:center;object-fit:cover;background:#f7f1e7;border:1px solid #e2d5c7;box-shadow:0 2px 8px rgba(73,47,34,.06);transition:.28s ease}.dci-cat:hover img{transform:scale(1.05);border-color:#d9b58a}.dci-cat span{display:block;font-size:13px;font-weight:600;line-height:1.3}
.dci-promo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}.dci-promo-card{position:relative;display:flex;min-height:205px;overflow:hidden;border:1px solid #e2d5c7;border-radius:10px;background:#fff;text-decoration:none;color:#241a16;box-shadow:0 2px 8px rgba(73,47,34,.06);transition:.28s ease}.dci-promo-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(73,47,34,.12);border-color:#d9b58a}.dci-promo-card img{width:48%;height:100%;min-height:205px;object-fit:cover;order:2}.dci-promo-copy{flex:1;padding:24px 18px;display:flex;flex-direction:column;justify-content:center}.dci-promo-copy h3{margin:0 0 7px;font-size:21px;line-height:1.2;color:#a9233b}.dci-promo-copy p{margin:0 0 16px;font-size:14px;line-height:1.5}.dci-promo-copy span{align-self:flex-start;background:#a9233b;color:#fff;border-radius:22px;padding:9px 15px;font-size:12px;font-weight:700}
.dci-product-slider-section .dci-related-slider{gap:16px}.dci-related-card{position:relative;flex:0 0 calc(25% - 12px);scroll-snap-align:start;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e2d5c7;border-radius:10px;background:#fff;color:#241a16;text-decoration:none;box-shadow:0 2px 8px rgba(73,47,34,.06);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.dci-related-card:hover{transform:translateY(-4px);border-color:#d9b58a;box-shadow:0 10px 24px rgba(73,47,34,.13)}.dci-related-image-wrap{position:relative;display:block;width:100%;aspect-ratio:5/4;overflow:hidden;background:#f7f1e7}.dci-related-image-wrap img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:cover;object-position:center;transition:transform .45s cubic-bezier(.2,.7,.2,1)}.dci-related-card:hover .dci-related-image-wrap img{transform:scale(1.06)}.dci-related-sale{position:absolute;top:10px;left:10px;z-index:3;padding:4px 9px;border-radius:4px;background:#3f5540;color:#fff;font-size:11px;font-weight:700;line-height:1;text-transform:uppercase}.dci-related-name{display:block;padding:11px 12px 4px;margin:0;color:#2a211d;font-size:14px;font-weight:600;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}.dci-related-price{display:block;padding:0 12px 12px;color:#a9233b;font-size:15px;font-weight:700;line-height:1.35}.dci-related-price del{color:#8d8179;font-size:12px;font-weight:500;margin-right:5px;opacity:.8}.dci-related-price ins{color:#a9233b;text-decoration:none}
.dci-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dci-why-card{display:flex;gap:12px;align-items:center;border:1px solid #e2d5c7;background:#fff;border-radius:10px;padding:18px;box-shadow:0 2px 8px rgba(73,47,34,.05)}.dci-why-icon{width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:#f7f1e7;border:1px solid #e0a326;display:flex;align-items:center;justify-content:center}.dci-why-icon img{width:27px;height:27px;object-fit:contain}.dci-why-card h3{margin:0 0 3px;font-size:14px;line-height:1.25}.dci-why-card p{margin:0;font-size:12px;line-height:1.4;color:#6f625b}
@media(max-width:900px){.dci-home-content{padding:0 16px 44px}.dci-related-card{flex:0 0 calc(33.333% - 11px)}.dci-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dci-cat{flex-basis:105px}.dci-cat img,.dci-cat-placeholder{width:82px;height:82px}}
@media(max-width:767px){.dci-hero-arrow{width:32px;height:32px;font-size:20px;line-height:28px}.dci-hero-arrow.prev{left:8px}.dci-hero-arrow.next{right:8px}.dci-section{margin-top:28px}.dci-section-head h2 span{font-size:15px;padding:9px 13px 8px}.dci-slider-head-actions .dci-slider-arrow{display:none}.dci-section-head a{font-size:12px}.dci-category-slider,.dci-related-slider{gap:10px}.dci-cat{flex:0 0 88px}.dci-cat img,.dci-cat-placeholder{width:76px;height:76px}.dci-cat span{font-size:11px}.dci-promo-pair{grid-template-columns:1fr;gap:12px}.dci-promo-card{min-height:165px}.dci-promo-card img{min-height:165px}.dci-promo-copy{padding:16px 13px}.dci-promo-copy h3{font-size:17px}.dci-promo-copy p{font-size:12px;margin-bottom:11px}.dci-promo-copy span{font-size:11px;padding:8px 12px}.dci-related-card{flex:0 0 calc(50% - 5px)}.dci-related-image-wrap{aspect-ratio:1/1}.dci-related-name{padding:9px 9px 3px;font-size:12px}.dci-related-price{padding:0 9px 9px;font-size:13px}.dci-related-sale{top:7px;left:7px;padding:4px 7px;font-size:10px}.dci-why-grid{grid-template-columns:1fr 1fr;gap:10px}.dci-why-card{padding:13px;gap:8px}.dci-why-icon{width:38px;height:38px;flex-basis:38px}.dci-why-icon img{width:22px;height:22px}.dci-why-card h3{font-size:12px}.dci-why-card p{font-size:10px}}

/* v2.3.4: Promo-card image fills the full card; readable copy overlays the left side. */
.dci-home .dci-promo-pair .dci-promo-card{position:relative;display:block;isolation:isolate;min-height:205px;background:#f7f1e7}
.dci-home .dci-promo-pair .dci-promo-card>img{position:absolute!important;inset:0!important;display:block;width:100%!important;height:100%!important;min-height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;order:0!important;z-index:0;margin:0!important}
.dci-home .dci-promo-pair .dci-promo-card>.dci-promo-copy{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:24px 18px;background:linear-gradient(90deg,rgba(247,241,231,.78) 0%,rgba(247,241,231,.52) 28%,rgba(247,241,231,.18) 48%,rgba(247,241,231,0) 66%);color:#241a16}
.dci-home .dci-promo-pair .dci-promo-copy h3{color:#241a16;max-width:62%}
.dci-home .dci-promo-pair .dci-promo-copy p{color:#51463e;max-width:60%}
.dci-home .dci-promo-pair .dci-promo-copy span{background:var(--dci-accent,#a9233b);color:#fff}
@media(max-width:767px){.dci-home .dci-promo-pair .dci-promo-card{min-height:165px}.dci-home .dci-promo-pair .dci-promo-copy{padding:16px 13px;background:linear-gradient(90deg,rgba(247,241,231,.86) 0%,rgba(247,241,231,.62) 42%,rgba(247,241,231,.20) 72%,rgba(247,241,231,.04) 100%)}.dci-home .dci-promo-pair .dci-promo-copy h3{max-width:72%;font-size:17px}.dci-home .dci-promo-pair .dci-promo-copy p{max-width:72%;font-size:12px;margin-bottom:11px}.dci-home .dci-promo-pair .dci-promo-copy span{font-size:11px;padding:8px 12px}}

/* v2.3.13: Align the requested homepage sections to the promotional-card pair width. */
.dci-home-content > .dci-categories,
.dci-home-content > .dci-product-slider-section,
.dci-home-content > .dci-why{
  padding-left:0 !important;
  padding-right:0 !important;
}

/* v2.3.13: Set only the promotional-card CTA background; preserve existing typography and hover settings. */
.dci-home .dci-promo-pair .dci-promo-copy span{
  background:#730F05 !important;
}


/* v2.3.58: Match Shop By Price outer edges to the Best Selling Products section. */
.dci-home .dci-home-price-section{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;}

/* Homepage Shop By Price tiles controlled by DIY Product Manager. */
.dci-home .dci-home-price-section .dci-home-price-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.dci-home .dci-home-price-tile{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;overflow:hidden;box-sizing:border-box;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;text-decoration:none;box-shadow:0 2px 8px rgba(73,47,34,0);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;}
.dci-home .dci-home-price-tile img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:3px;transform:scale(1);transition:transform .45s cubic-bezier(.2,.7,.2,1);}
.dci-home .dci-home-price-tile span{font-size:16px;line-height:1.35;transition:color .25s ease;}
.dci-home .dci-home-price-tile:hover,.dci-home .dci-home-price-tile:focus-visible{transform:translateY(-4px);border-color:#d9b58a;box-shadow:0 10px 24px rgba(73,47,34,.13);outline:none;}
.dci-home .dci-home-price-tile:hover img,.dci-home .dci-home-price-tile:focus-visible img{transform:scale(1.06);}
.dci-home .dci-home-price-tile:hover span,.dci-home .dci-home-price-tile:focus-visible span{color:var(--dci-accent);}
@media(max-width:767px){.dci-home .dci-home-price-section .dci-home-price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.dci-home .dci-home-price-tile span{font-size:14px;}}
