@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --night: #101211;
  --cream: #f4f4ec;
  --lime: #d9ff43;
  --muted: #bdbfb5;
  --text: #222522;
  --line: #d2d4c9;
  --nav-height: 80px;
  --display: 'Barlow Condensed', Impact, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 22px); }
body { margin: 0; padding-top: var(--nav-height); background: var(--cream); color: var(--text); font: 400 16px/1.55 var(--body); }
body, main, header, footer { min-width: 0; }
h1, h2, h3 { font-family: var(--display); }
a { color: inherit; }
section[id] { scroll-margin-top: calc(var(--nav-height) + 18px); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a8d100; outline-offset: 4px; }

/* The same mark accompanies the exact fridaycodes wordmark on every page. */
.navbar.site-nav {
  min-height: var(--nav-height);
  padding: 0;
  background: var(--night);
  border-bottom: 1px solid #363a35;
}
.navbar.site-nav .navbar-brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font: 800 1.45rem/1 var(--body);
  letter-spacing: -.055em;
}
.navbar.site-nav .navbar-brand::before, .footer-brand::before {
  content: '';
  width: 37px;
  height: 37px;
  flex: none;
  background: url('../images/fridaycodes-mark.svg') center / contain no-repeat;
}
.navbar.site-nav .nav-link {
  color: var(--cream);
  padding: .55rem .9rem;
  font-size: .88rem;
  font-weight: 700;
}
.navbar.site-nav .nav-link:hover, .navbar.site-nav .nav-link.active { color: var(--lime); }
.navbar.site-nav .nav-cta {
  display: inline-flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-left: .8rem;
  padding: .65rem 1rem;
  background: var(--lime);
  color: var(--night);
  border-radius: 4px;
}
.navbar.site-nav .nav-cta:hover { background: #efff95; color: var(--night); }
.navbar-toggler { border-color: var(--lime); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d9ff43' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Main cover: a bold editorial heading paired with a receipt illustration. */
.hero { background: var(--night); color: var(--cream); overflow: hidden; }
.hero-grid { min-height: 710px; display: grid; grid-template-columns: 52% 48%; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 5rem 3.4rem 5rem 0; }
.overline, .section-index { margin: 0; font: 800 .72rem/1.3 var(--body); letter-spacing: .17em; }
.overline { display: flex; align-items: center; gap: .75rem; color: var(--lime); }
.overline-mark { width: 22px; height: 3px; background: var(--lime); }
.hero h1 { max-width: 690px; margin: 1.4rem 0 1.35rem; font: 800 clamp(5rem, 8vw, 8.25rem)/.82 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 430px; margin: 0; color: #d1d5c9; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.2rem; }
.action-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 54px; padding: .9rem 1.2rem; background: var(--lime); color: var(--night); border-radius: 4px; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s; }
.action-button:hover { transform: translateY(-3px); background: #efff95; color: var(--night); }
.hero-secondary { color: var(--cream); text-decoration: underline; text-underline-offset: 5px; font-size: .9rem; font-weight: 700; }
.hero-secondary:hover { color: var(--lime); }
.hero-note { margin: 2.4rem 0 0; color: #858b81; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }
.hero-art { position: relative; min-height: 710px; overflow: hidden; background: var(--lime); isolation: isolate; }
.hero-art::before { content: ''; position: absolute; width: 580px; height: 580px; left: -220px; bottom: -360px; border: 2px solid var(--night); border-radius: 50%; opacity: .45; }
.hero-orbit { position: absolute; border: 2px solid var(--night); border-radius: 50%; opacity: .23; }
.orbit-one { width: 630px; height: 630px; right: -330px; top: -360px; }
.orbit-two { width: 280px; height: 280px; right: -90px; top: -185px; }
.art-receipt { position: absolute; z-index: 2; width: min(70%, 390px); min-height: 480px; top: 49%; left: 48%; padding: 1.4rem; background: var(--cream); color: var(--night); border: 2px solid var(--night); box-shadow: 16px 17px 0 var(--night); transform: translate(-50%, -50%) rotate(8deg); }
.art-receipt::before, .art-receipt::after { content: ''; position: absolute; bottom: 22%; width: 26px; height: 26px; border: 2px solid var(--night); border-radius: 50%; background: var(--lime); }
.art-receipt::before { left: -15px; }.art-receipt::after { right: -15px; }
.receipt-top { display: flex; justify-content: space-between; padding-bottom: .85rem; border-bottom: 2px solid var(--night); font-size: .72rem; font-weight: 800; }
.receipt-main { display: flex; flex-direction: column; align-items: flex-start; min-height: 350px; position: relative; padding-top: 2.5rem; }
.receipt-label { font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.receipt-main strong { font: 800 5.6rem/.76 var(--display); letter-spacing: -.02em; margin-top: 1.1rem; }
.receipt-arrow { position: absolute; right: 0; bottom: 1rem; font: 800 5rem/.7 var(--display); }
.receipt-bottom { display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 2px dashed var(--night); font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.receipt-bottom span:last-child { font-size: 1.4rem; line-height: 1; letter-spacing: .23em; }
.hero-sticker { position: absolute; z-index: 3; top: 10%; right: 5%; display: grid; place-items: center; width: 124px; height: 124px; border-radius: 50%; background: #f26867; color: var(--night); font: 800 1.5rem/.85 var(--display); text-align: center; transform: rotate(15deg); }
.art-cross { position: absolute; color: var(--night); font: 700 6rem/1 var(--display); }
.cross-one { left: 2%; bottom: 1%; transform: rotate(17deg); }.cross-two { right: 2%; bottom: 1%; font-size: 3.5rem; }
.ticker { overflow: hidden; background: var(--lime); color: var(--night); border-top: 2px solid var(--night); border-bottom: 2px solid var(--night); }
.ticker-inner { display: flex; align-items: center; gap: 1.7rem; min-height: 59px; white-space: nowrap; font: 800 .76rem/1 var(--body); letter-spacing: .1em; }
.ticker-inner span:first-child { margin-right: .45rem; opacity: .6; }
.ticker-inner span[aria-hidden] { font-size: 1.15rem; line-height: 1; }

/* Store directory uses oversized horizontal rows, not the previous card grid. */
.stores-section { padding: 6rem 0 7rem; background: var(--cream); }
.stores-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.section-index { color: #6f7569; }
.stores-heading h2 { margin: .85rem 0 0; font: 800 clamp(4rem, 6.3vw, 6.4rem)/.84 var(--display); text-transform: uppercase; }
.stores-heading h2 span { color: #899b26; }
.stores-tools { width: min(100%, 340px); }
.stores-tools p { margin: 0 0 1rem; color: #646b61; font-size: .9rem; }
.store-search { display: flex; align-items: center; gap: .6rem; padding: .45rem .7rem; border: 2px solid var(--night); border-radius: 4px; background: #fff; box-shadow: 4px 4px 0 var(--lime); }
.store-search > span { font-size: 1.5rem; line-height: 1; }
.store-search input { flex: 1; width: 100%; min-width: 0; padding: .4rem 0; background: transparent; border: 0; outline: 0; color: var(--night); font-size: .86rem; }
.store-search:focus-within { outline: 3px solid #a8d100; outline-offset: 3px; }
.store-search button { border: 0; background: transparent; color: #50564c; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.store-list { border-top: 2px solid var(--night); }
.store-card { display: grid; grid-template-columns: 60px minmax(0, 1fr) 280px 56px; align-items: center; gap: 1.4rem; min-height: 154px; padding: 1.2rem 1.5rem; border-bottom: 2px solid var(--night); color: var(--night); text-decoration: none; transition: background .2s, padding-left .2s; }
.store-card:hover { padding-left: 2rem; background: var(--lime); color: var(--night); }
.store-number { align-self: start; margin-top: .6rem; font: 800 .82rem/1 var(--body); }
.store-info { display: flex; flex-direction: column; gap: .1rem; }
.store-info small { color: #5d6558; font-size: .65rem; font-weight: 800; letter-spacing: .15em; }
.store-info strong { font: 800 clamp(2.8rem, 4vw, 4.2rem)/.9 var(--display); text-transform: uppercase; }
.store-logo { display: flex; align-items: center; justify-content: center; width: 280px; height: 100px; padding: 1rem 1.2rem; border: 1px solid #c4c7bd; border-radius: 4px; background: #fff; box-shadow: 5px 5px 0 rgba(16,18,17,.13); }
.store-logo.logo-dark { border-color: #272c3d; background: #272c3d; }
.store-logo img { display: block; width: 240px; max-width: 100%; height: 74px; object-fit: contain; }
.store-arrow { justify-self: end; font: 700 2rem/1 var(--display); }
.no-results { margin: 1.5rem 0 0; font-weight: 700; }

/* Checkout guide */
.how-section { padding: 6.4rem 0; background: var(--lime); color: var(--night); }
.how-layout { display: grid; grid-template-columns: 46% 54%; gap: 3rem; align-items: start; }
.how-section .section-index { color: #52601c; }
.how-title-block h2 { max-width: 540px; margin: .8rem 0 2.4rem; font: 800 clamp(4rem, 6vw, 6.2rem)/.85 var(--display); text-transform: uppercase; }
.how-title-block h2 em { font-style: normal; text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 8px; }
.how-link { padding-bottom: .35rem; border-bottom: 2px solid var(--night); text-decoration: none; font-size: .9rem; font-weight: 800; }
.how-link:hover { color: #52601c; border-color: #52601c; }
.steps-list { padding: 0; margin: 0; list-style: none; border-top: 2px solid var(--night); }
.steps-list li { display: grid; grid-template-columns: 75px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 2px solid var(--night); }
.steps-list li > span { font: 800 .85rem/1.3 var(--body); }
.steps-list h3 { margin: 0 0 .25rem; font: 800 2.3rem/.9 var(--display); text-transform: uppercase; }
.steps-list p { margin: 0; color: #454b32; font-size: .9rem; }
.site-footer { padding: 3.2rem 0 1.3rem; background: var(--night); color: var(--cream); }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-brand { font-size: 1.65rem; }
.footer-main p { margin: .75rem 0 0; color: var(--muted); font-size: .87rem; }
.footer-main > a { color: var(--lime); text-decoration: none; font-size: .88rem; font-weight: 800; }
.footer-main > a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 3rem; padding-top: 1.1rem; border-top: 1px solid #454a43; color: var(--muted); font-size: .8rem; }

/* Six store detail pages share the same identity and readable coupon layout. */
body:not(.home-page) { --store-accent: var(--lime); background: var(--cream); }
.breadcrumb-nav { padding: 1.2rem 0; background: var(--cream); }
.breadcrumb { margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: #656c61; font-size: .83rem; text-decoration: none; }
.breadcrumb-item a:hover { color: #435700; }
.breadcrumb-item.active { color: var(--night); }
body:not(.home-page) .hero { position: relative; padding: 4.2rem 0 4.7rem; border-bottom: 10px solid var(--lime); }
body:not(.home-page) .hero::before { content: ''; position: absolute; width: 450px; height: 450px; right: -120px; top: -270px; border: 2px solid var(--lime); border-radius: 50%; opacity: .45; }
body:not(.home-page) .hero h1 { max-width: 900px; margin: 0 auto .6rem; color: var(--cream); font: 800 clamp(3.8rem, 6.2vw, 6.3rem)/.87 var(--display); letter-spacing: 0; text-transform: uppercase; }
body:not(.home-page) .hero .lead { max-width: 620px; margin: 0 auto; color: #c6cac0; font-size: 1rem; }
.brand-logo { display: block; width: 270px; height: 116px; max-width: calc(100% - 2rem); max-height: none; margin: 0 auto 1.6rem; padding: 18px 22px; border: 2px solid #fff; border-radius: 5px; background: #fff; object-fit: contain; box-shadow: 9px 9px 0 var(--lime); }
.brand-amazon .brand-logo, .brand-shein .brand-logo { background: #272c3d; border-color: #272c3d; }
.coupons-section { padding: 4rem 0 6rem; }
.coupon-card { height: 100%; padding: 1.6rem; border: 2px solid var(--night); border-radius: 5px; background: #fff; box-shadow: 6px 6px 0 var(--lime); transition: transform .2s; }
.coupon-card:hover { transform: translateY(-3px); }
.coupon-title { min-height: 52px; font: 800 1.75rem/1 var(--display); text-transform: uppercase; }
.coupon-code { display: inline-block; margin: 1.15rem 0; padding: .65rem .8rem; border: 1px dashed var(--night); background: var(--cream); font: 700 .95rem/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.btn-copy { display: block; width: 100%; padding: .8rem 1rem; border: 0; border-radius: 3px; background: var(--night); color: var(--lime); font-size: .87rem; font-weight: 800; cursor: pointer; transition: background .2s, color .2s; }
.btn-copy:hover { background: var(--lime); color: var(--night); }
.copied-msg { display: none; margin-top: .65rem; color: #276623; font-size: .82rem; font-weight: 800; }
body:not(.home-page) .site-footer { padding: 2.3rem 1rem; text-align: center; }
body:not(.home-page) .site-footer .footer-brand { margin-bottom: .8rem; }
body:not(.home-page) .site-footer p { margin: 0; color: var(--muted); font-size: .82rem; }

@media (max-width: 991px) {
  .navbar.site-nav { height: auto; }
  .navbar-collapse { padding: .8rem 0 1rem; }
  .navbar.site-nav .nav-cta { margin: .3rem 0 0; }
  .hero-grid { grid-template-columns: 53% 47%; }
  .hero-copy { padding-right: 1.5rem; }
  .hero h1 { font-size: clamp(4.4rem, 8vw, 6rem); }
  .art-receipt { width: 75%; min-height: 425px; }
  .receipt-main { min-height: 300px; }
  .receipt-main strong { font-size: 4.7rem; }
  .store-card { grid-template-columns: 42px minmax(0, 1fr) 230px 32px; gap: .75rem; }
  .store-logo { width: 230px; }
  .store-logo img { width: 210px; }
}
@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 4.6rem 0 4rem; }
  .hero h1 { max-width: 620px; font-size: clamp(4.6rem, 12vw, 6.7rem); }
  .hero-art { min-height: 510px; margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5); }
  .art-receipt { width: min(67%, 360px); min-height: 375px; }
  .receipt-main { min-height: 255px; padding-top: 1.8rem; }
  .receipt-main strong { font-size: 4.7rem; }
  .hero-sticker { width: 90px; height: 90px; font-size: 1.1rem; }
  .stores-section, .how-section { padding: 4.5rem 0; }
  .stores-heading { display: block; }
  .stores-tools { width: 100%; margin-top: 1.7rem; }
  .store-card { grid-template-columns: 32px minmax(0, 1fr) 38px; min-height: 170px; padding: 1rem .5rem; }
  .store-card:hover { padding-left: 1rem; }
  .store-info strong { font-size: 3.2rem; }
  .store-logo { grid-column: 2; grid-row: 2; width: 240px; height: 77px; padding: .6rem 1rem; }
  .store-logo img { width: 210px; height: 53px; }
  .store-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .how-layout { grid-template-columns: 1fr; gap: 3rem; }
  .how-title-block h2 { max-width: 600px; }
  .footer-main { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(4.15rem, 15vw, 5.4rem); }
  .hero-art { min-height: 435px; }
  .art-receipt { width: min(70%, 315px); min-height: 330px; padding: 1rem; }
  .receipt-main { min-height: 215px; }
  .receipt-main strong { font-size: 3.8rem; }
  .receipt-arrow { font-size: 3.4rem; }
  .hero-sticker { right: 2%; top: 5%; width: 75px; height: 75px; font-size: .95rem; }
  .ticker-inner { gap: 1.15rem; }
  .stores-heading h2 { font-size: 4.2rem; }
  .store-info strong { font-size: 2.7rem; }
  .store-logo { width: min(100%, 215px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
