/* Store homepage: campaign color above, readable white offer shelves below.
   This file is loaded only by index.html; the portfolio keeps its own system. */
body.storefront-home {
  --store-field: #f5f3ef;
  --store-border: #dfe1de;
  --store-radius: 16px;
  background: var(--store-field);
}
.storefront-home .container.retail-home {
  max-width: 1500px;
  padding: 24px 24px 48px;
  background: var(--store-field);
}
.retail-home .shop-banner {
  border: 1px solid #d6c7e7;
  border-radius: var(--store-radius);
  background: #e7d9f5;
}
.retail-home .banner-slide {
  grid-template-columns: 53% 47%;
  min-height: 350px;
  background: #e7d9f5;
}
.retail-home .banner-week { background: #ffe7a3; }
.retail-home .banner-team { background: #d5eadc; }
.retail-home .banner-copy,
.retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 32px 76px 80px;
}
.retail-home .banner-copy h1 {
  max-width: 620px;
  color: #15191d;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 750;
}
.retail-home .banner-copy .eyebrow {
  margin-bottom: 12px;
  color: #34323d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.retail-home .banner-copy > p:not(.eyebrow) {
  max-width: 44ch;
  margin-top: 16px;
  color: #34323d;
  font-size: 17px;
  line-height: 1.5;
}
.retail-home .banner-copy > strong {
  color: #15191d;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 16px;
}
.retail-home .banner-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 22px;
  border: 1px solid #e9ae11;
  border-radius: 999px;
  background: #ffd814;
  color: #15191d;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.retail-home .banner-link:hover { background: #f7ca00; text-decoration: underline; }
.retail-home .banner-art,
.retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-art {
  display: flex;
  align-items: center;
  padding: 28px 76px 76px 16px;
  background: transparent;
}
.retail-home .banner-art img {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 22px #26232c12;
}
.retail-home .shop-banner .banner-progress { bottom: 12px; box-shadow: none; }
.retail-home .shop-banner #banner-prev,
.retail-home .shop-banner #banner-next { box-shadow: 0 2px 6px #15191d12; }

/* Four obvious starting points; each colored region belongs to one department. */
.storefront-departments {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}
.department-card {
  --department-surface: #e7d9f5;
  --department-ink: #242030;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  background: white;
  color: var(--department-ink);
  text-decoration: none;
}
.department-card-business { --department-surface: #315b45; --department-ink: #fff; }
.department-card-tools { --department-surface: #ffdd8d; --department-ink: #282217; }
.department-card-copy {
  flex: 1;
  padding: 22px 22px 12px;
  background: var(--department-surface);
}
.department-card h2 {
  color: var(--department-ink);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 750;
}
.department-card p {
  margin: 10px 0 0;
  color: var(--department-ink);
  font-size: 14px;
  line-height: 1.45;
}
.department-card-art {
  display: block;
  padding: 6px 18px 18px;
  background: var(--department-surface);
}
.department-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
}
.department-card-link {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 22px;
  color: #2162a1;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.department-card:hover { color: var(--department-ink); text-decoration: none; border-color: #8696a1; }
.department-card:hover .department-card-link { color: #0c3353; text-decoration: underline; }
.department-card:focus-visible { outline: 3px solid #2162a1; outline-offset: 3px; }
.retail-home .storefront-departments .home-discovery {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px;
  border: 1px solid #9bc0da;
  border-top: 6px solid #1676ad;
  border-radius: var(--store-radius);
  background: white;
}
.retail-home .storefront-departments .home-discovery .shelf-heading { margin-bottom: 0; }
.retail-home .storefront-departments .home-discovery .shelf-heading h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.retail-home .storefront-departments .home-discovery .eyebrow { color: #315b70; font-size: 11px; line-height: 1.5; letter-spacing: .03em; }
.retail-home .storefront-departments .home-discovery > p { margin-top: 16px; font-size: 14px; line-height: 1.5; }
.retail-home .storefront-departments .home-discovery > p:has(>.btn) { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: auto; padding-top: 18px; margin-bottom: 0; }
.retail-home .storefront-departments .home-discovery > p > .btn { width: 100%; padding: 10px 12px; font-size: 14px; }
.retail-home .storefront-departments .home-discovery > p > a:not(.btn) { justify-content: center; font-size: 14px; }
.retail-home .storefront-departments .home-discovery > .fine { margin-top: 6px; font-size: 12px; line-height: 1.5; }

/* A quiet, consistent offer grid makes imagery, titles and prices easy to scan. */
.retail-home > .product-shelf,
.retail-home .recent-wrap > .product-shelf {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  background: #fff;
}
.retail-home .shelf-heading { margin-bottom: 22px; }
.retail-home .shelf-heading h2,
.retail-home .shop-needs > h2 { color: #15191d; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; font-weight: 750; }
.retail-home .shelf-heading a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.retail-home .shelf-controls button { min-height: 44px; min-width: 58px; padding: 8px 14px; border-radius: 10px; box-shadow: none; }
.retail-home .shelf-track { gap: 20px; padding: 3px 3px 16px; scroll-padding-inline: 3px; }
.retail-home .shelf-track > .retail-card { flex-basis: 264px; }
.retail-home .retail-card { border: 1px solid #dfe1de; border-radius: 12px; }
.retail-home .retail-card:hover { border-color: #96a3ad; }
.retail-home .retail-card:focus-within { border-color: #2162a1; }
.retail-home .retail-art { background: #f6f5f2; border-bottom: 1px solid #ecebe7; }
.retail-home .retail-art img { height: 196px; }
.retail-home .retail-card .retail-content { padding: 18px; }
.retail-home .retail-content h3 { font-size: 19px; line-height: 1.28; font-weight: 700; }
.retail-home .retail-content h3 a { color: #2162a1; }
.retail-home .retail-content h3 a:hover { color: #0c3353; }
.retail-home .retail-category { font-size: 12px; margin-bottom: 6px; }
.retail-home .retail-description { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.retail-home .retail-format { color: #565959; font-size: 13px; line-height: 1.45; }
.retail-home .retail-price { padding-top: 20px; }
.retail-home .retail-price .price { color: #15191d; font-size: 30px; line-height: 1.15; font-weight: 500; }
.retail-home .retail-price .price-label { display: block; font-size: 12px; margin-bottom: 4px; }
.retail-home .retail-actions { margin-top: 18px; }
.retail-home .retail-actions .btn,
.retail-home .retail-actions .preview-link { min-height: 44px; }
.retail-home .save-offer { min-height: 44px; padding: 10px 12px; background: #fff; }
.retail-home .save-offer[aria-pressed=true] { background: #fff0b1; border-color: #b58a13; }
.retail-home .format-badge { padding: 5px 8px; background: #fff; color: #424849; border: 1px solid #c5ccce; border-radius: 5px; font-size: 11px; }
.retail-home .shop-needs { margin-top: 28px; }
.retail-home .shop-needs > h2 { margin-bottom: 18px; }
.retail-home .need-grid { gap: 20px; }
.retail-home .need-grid > a { border: 1px solid var(--store-border); border-radius: var(--store-radius); padding: 24px; }
.retail-home .need-grid > a:hover { outline: none; border-color: #96a3ad; }
.retail-home .need-grid > a > span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 9px; background: #e7d9f5; color: #242030; font-weight: 700; }
.retail-home .need-grid > a:nth-child(2) > span { background: #d5eadc; color: #244430; }
.retail-home .need-grid > a:nth-child(3) > span { background: #ffdd8d; color: #282217; }
.retail-home .need-grid > a:nth-child(4) > span { background: #d9ebf6; color: #24495f; }
.retail-home .need-grid h3 { font-size: 20px; line-height: 1.25; }
.retail-home .need-grid b { min-height: 24px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.retail-home .resources-home-section .resource-grid { gap: 20px; }
.retail-home .resources-home-section .resource-card { border-radius: 12px; border-color: var(--store-border); padding: 24px; }
.retail-home .resources-home-section .resource-card:first-child { background: #f1eafa; }
.retail-home .resources-home-section .resource-card:last-child { background: #edf5f9; }
.retail-home a:focus-visible,
.retail-home button:focus-visible { outline: 3px solid #2162a1; outline-offset: 3px; }
.retail-home .btn:focus-visible,
.retail-home .banner-link:focus-visible { outline-color: #15191d; }

@media(max-width:1100px) {
  .storefront-departments { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .department-card-art img { height: 180px; }
  .retail-home .banner-copy h1 { font-size: 35px; }
  .retail-home .banner-copy,
  .retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-copy { padding-left: 72px; padding-right: 12px; }
  .retail-home .banner-art,
  .retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-art { padding-right: 66px; }
}
@media(max-width:700px) {
  .storefront-home .container.retail-home { padding: 16px 16px 32px; }
  .retail-home .banner-slide { grid-template-columns: 58% 42%; }
  .retail-home .banner-copy h1 { font-size: 30px; }
  .retail-home .banner-copy > p:not(.eyebrow) { font-size: 15px; }
  .retail-home .banner-copy,
  .retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-copy { padding: 28px 10px 80px 62px; }
  .retail-home .banner-art,
  .retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-art { padding: 20px 58px 76px 8px; }
  .storefront-departments { gap: 16px; margin-top: 16px; }
  .department-card h2 { font-size: 23px; }
  .department-card-copy { padding: 20px 20px 12px; }
  .department-card-art { padding-inline: 16px; }
  .department-card img { height: 150px; }
  .department-card-link { padding-inline: 20px; }
  .retail-home > .product-shelf,
  .retail-home .recent-wrap > .product-shelf { margin-top: 20px; padding: 22px 18px; }
  .retail-home .shelf-heading { gap: 12px; }
  .retail-home .shelf-heading h2,
  .retail-home .shop-needs > h2 { font-size: 23px; }
  .retail-home .shelf-controls button { min-width: 44px; padding: 8px 10px; font-size: 12px; }
  .retail-home .shelf-track > .retail-card { flex-basis: 250px; }
  .retail-home .need-grid { gap: 16px; }
  .retail-home .need-grid > a { padding: 20px; }
}
@media(max-width:480px) {
  .storefront-home .container.retail-home { padding: 12px 12px 28px; }
  .retail-home .banner-slide,
  .retail-home .gsap-carousel .banner-slide[hidden] { display: flex; flex-direction: column; min-height: 0; }
  .retail-home .banner-slide[hidden] { display: none; }
  .retail-home .banner-copy,
  .retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-copy { padding: 26px 24px 18px; }
  .retail-home .banner-copy h1 { font-size: 32px; max-width: 340px; }
  .retail-home .banner-copy > p:not(.eyebrow) { font-size: 15px; max-width: none; }
  .retail-home .banner-copy > strong { font-size: 14px; }
  .retail-home .banner-copy .eyebrow { font-size: 11px; }
  .retail-home .banner-art,
  .retail-home .shop-banner:is(.gsap-carousel,.fallback-carousel) .banner-art { position: static; width: 100%; height: 244px; padding: 0 54px 72px; opacity: 1; }
  .retail-home .banner-art img { height: 172px; max-height: 172px; width: 100%; box-shadow: none; }
  .retail-home .shop-banner #banner-prev,
  .retail-home .shop-banner #banner-next { top: auto; bottom: 128px; transform: none; }
  .storefront-departments { grid-template-columns: 1fr; }
  .department-card { display: grid; grid-template-columns: 56% 44%; }
  .department-card-copy { padding: 22px 8px 22px 20px; }
  .department-card h2 { font-size: 23px; }
  .department-card p { font-size: 14px; }
  .department-card-art { display: flex; align-items: center; padding: 16px 16px 16px 4px; }
  .department-card img { height: 112px; }
  .department-card-link { grid-column: 1/-1; min-height: 52px; }
  .retail-home .storefront-departments .home-discovery { padding: 22px; }
  .retail-home .storefront-departments .home-discovery > p:has(>.btn) { padding-top: 0; margin-top: 16px; }
  .retail-home .storefront-departments .home-discovery > p > .btn { align-self: flex-start; width: auto; padding-inline: 20px; }
  .retail-home .storefront-departments .home-discovery > p > a:not(.btn) { justify-content: flex-start; }
  .retail-home .shelf-heading { align-items: flex-start; flex-wrap: wrap; }
  .retail-home .shelf-heading > div:first-child { flex: 1 0 160px; }
  .retail-home .shelf-controls { margin-left: auto; }
  .retail-home .shelf-track > .retail-card { flex-basis: min(264px, calc(100vw - 78px)); }
  .retail-home .need-grid { grid-template-columns: 1fr; }
  .retail-home .need-grid > a { padding: 22px; }
  .retail-home .need-grid > a > span { float: left; margin: 0 14px 50px 0; }
  .retail-home .need-grid b { margin-top: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .retail-home .department-card,
  .retail-home .need-grid > a { transition: none; }
}
