/*
Theme Name: RetroManiacs
Theme URI: https://retromaniacsusa.com/
Author: RetroManiacsUSA
Author URI: https://retromaniacsusa.com/
Description: Custom storefront theme for RetroManiacsUSA — rare, retired and hard-to-find collectible pens. The home page is fully dynamic: every heading, image and link is editable from Appearance → Customize, and pens, collection cards and archive entries are managed as custom post types.
Version: 1.0.1
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: retromaniacs
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

:root {
  --coral: #f04b42;
  --coral2: #ff675e;
  --teal: #079aad;
  --pale: #dff7f8;
  --cream: #fbf7ef;
  --ink: #13233b;
  --blue: #063f8d;
  --line: #dce7e8;
  --gold: #dfa329;
  --shadow: 0 18px 50px rgba(24, 42, 53, .12)
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", sans-serif
}
.wrap {
  width: min(1360px, calc(100% - 64px));
  margin: auto
}
a {
  text-decoration: none;
  color: inherit
}
button, input {
  font: inherit
}
.announcement {
  height: 32px;
  background: linear-gradient(90deg, var(--coral), #ff6b62, var(--coral));
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: "Bebas Neue";
  letter-spacing: 1.5px
}
.ticker {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
  margin: auto;
  animation: tickerGlow 2.6s ease-in-out infinite
}
.ticker i {
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  transform: rotate(45deg)
}
@keyframes tickerGlow {
  50% {
    opacity: .7
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  transition: .3s box-shadow
}
.site-header.scrolled {
  box-shadow: 0 8px 26px rgba(15, 36, 48, .12)
}
.header-main {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: .3s
}
.scrolled .header-main {
  height: 64px
}
.brand img {
  width: 260px;
  height: 67px;
  object-fit: contain;
  display: block;
  transition: .3s
}
.scrolled .brand img {
  width: 220px
}
.icon-text, .menu-toggle {
  background: none;
  border: 0;
  cursor: pointer
}
.icon-text {
  justify-self: start;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: "Bebas Neue";
  font-size: 17px
}
.search-icon {
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  right: -6px;
  bottom: -3px;
  transform: rotate(45deg)
}
.header-actions {
  justify-self: end;
  display: flex;
  gap: 24px;
  align-items: center
}
.user-icon {
  width: 20px;
  height: 21px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 45% 45%;
  clip-path: polygon(20% 0, 80% 0, 80% 45%, 100% 100%, 0 100%, 20% 45%)
}
.heart-icon {
  font-size: 36px;
  line-height: 1;
  font-weight: 300
}
.bag-icon {
  width: 20px;
  height: 23px;
  border: 2px solid var(--ink);
  position: relative
}
.bag-icon:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 6px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  left: 4px;
  top: -8px
}
.bag-icon span {
  position: absolute;
  right: -12px;
  top: -14px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%
}
.main-nav {
  border-top: 1px solid #edf0f1;
  border-bottom: 1px solid #e4e8e9;
  position: relative
}
.nav-inner {
  height: 49px;
  display: flex;
  align-items: stretch;
  justify-content: space-between
}
.nav-inner > a, .nav-drop {
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  color: #253853;
  text-transform: uppercase;
  font-family: "Bebas Neue";
  letter-spacing: 1px;
  font-size: 16px;
  padding: 0 12px;
  position: relative;
  cursor: pointer
}
.nav-inner > a:after, .nav-drop:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transition: .25s
}
.nav-inner > a:hover:after, .nav-drop:hover:after, .nav-drop.active:after {
  transform: scaleX(1)
}
.nav-drop.active {
  color: var(--coral)
}
.nav-drop small {
  margin-left: 7px
}
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 49px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: .28s ease;
  border-top: 1px solid #edf0f1
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.65fr;
  gap: 0;
  padding: 26px 0 22px
}
.mega-grid > div {
  padding: 0 26px;
  border-right: 1px solid var(--line)
}
.mega-grid > div:first-child {
  padding-left: 20px
}
.mega-grid h3, footer h3 {
  font-family: "Bebas Neue";
  color: var(--blue);
  letter-spacing: 1.2px;
  margin: 0 0 11px;
  font-size: 17px
}
.mega-grid a:not(.vault-card) {
  display: block;
  padding: 7px 10px;
  color: #17427d;
  border-radius: 3px;
  transition: .2s
}
.mega-grid a:hover, .mega-grid .hovered {
  color: var(--coral);
  background: #fde8e6;
  transform: translateX(3px)
}
.mega-grid .all-link {
  color: var(--coral) !important;
  background: none !important;
  margin-top: 8px;
  text-transform: uppercase;
  font-family: "Bebas Neue";
  letter-spacing: 1px
}
.vault-card {
  margin-left: 24px;
  min-height: 190px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(251, 247, 239, .98), rgba(251, 247, 239, .7)), url("assets/hero-pen.jpg") center/cover;
  display: flex;
  align-items: center;
  padding: 22px;
  overflow: hidden
}
.vault-card small {
  font-family: "Bebas Neue";
  letter-spacing: 2px
}
.vault-card strong {
  font: 700 52px/1 "Playfair Display";
  display: block
}
.vault-card p {
  font-family: serif
}
.vault-card span {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 11px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  font: 16px "Bebas Neue";
  letter-spacing: 1px
}
.category-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px
}
.search-panel {
  position: fixed;
  inset: 32px 0 auto;
  background: #fff;
  z-index: 100;
  padding: 42px 5vw;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  transform: translateY(-130%);
  transition: .35s
}
.search-panel.open {
  transform: none
}
.search-panel form {
  width: min(800px, 90%)
}
.search-panel label {
  font: 42px "Playfair Display";
  display: block;
  margin-bottom: 18px
}
.search-panel form div {
  display: flex
}
.search-panel input {
  flex: 1;
  padding: 17px;
  border: 1px solid var(--line);
  outline-color: var(--teal)
}
.search-panel form button {
  border: 0;
  background: var(--coral);
  color: #fff;
  padding: 0 30px
}
.search-close {
  position: absolute;
  right: 32px;
  top: 20px;
  border: 0;
  background: none;
  font-size: 38px;
  cursor: pointer
}
.hero {
  background: linear-gradient(90deg, #fff 0 43%, #f6f7f0 43%);
  overflow: hidden
}
.hero-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center
}
.hero-copy {
  padding: 60px 30px 60px 0;
  position: relative;
  z-index: 2
}
.eyebrow {
  text-transform: uppercase;
  color: var(--blue);
  font: 16px "Bebas Neue";
  letter-spacing: 2px
}
.hero h1, .section h2, .story h2, .newsletter h2 {
  font-family: "Playfair Display";
  color: #111;
  font-weight: 700
}
.hero h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.03;
  margin: 10px 0 18px
}
.hero-copy > p:not(.eyebrow) {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  color: #304564
}
.button-row {
  display: flex;
  gap: 14px;
  margin-top: 26px
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border-radius: 6px;
  text-transform: uppercase;
  font: 18px "Bebas Neue";
  letter-spacing: 1px;
  transition: .25s
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(240, 75, 66, .25)
}
.primary {
  color: #fff;
  background: linear-gradient(90deg, var(--coral), var(--coral2))
}
.secondary {
  color: #076b91;
  border: 2px solid #17a5bd;
  background: #fff
}
.hero-photo {
  height: 430px;
  position: relative
}
.hero-photo:before {
  content: "";
  position: absolute;
  left: -120px;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(90deg, #fff, transparent);
  z-index: 1
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.edition {
  position: absolute;
  left: 8%;
  top: 45%;
  background: #f6ead7;
  padding: 12px 25px;
  text-align: center;
  font-family: Georgia;
  transform: rotate(-3deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08)
}
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 0
}
.trust-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid #8ed7df
}
.trust-grid > div:last-child {
  border: 0
}
.trust b {
  font-size: 31px;
  color: var(--teal)
}
.trust p {
  margin: 0
}
.trust strong {
  display: block;
  text-transform: uppercase;
  color: #07558d;
  font: 16px "Bebas Neue";
  letter-spacing: .7px
}
.trust span {
  font-size: 12px;
  color: #67819d
}
.section {
  padding: 62px 0
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px
}
.section h2, .story h2 {
  font-size: 38px;
  margin: 0;
  text-transform: none
}
.section-head > a {
  text-transform: uppercase;
  color: var(--coral);
  font: 16px "Bebas Neue";
  letter-spacing: 1px;
  border-bottom: 1px solid
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}
.category-card {
  height: 175px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(30, 56, 65, .08);
  transition: .3s
}
.category-card:hover, .category-card.featured {
  transform: translateY(-8px);
  box-shadow: 0 18px 28px rgba(240, 75, 66, .18)
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}
.category-card:hover img {
  transform: scale(1.06)
}
.category-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(8, 23, 35, .85));
  color: #fff;
  padding: 35px 16px 13px;
  font: 23px "Playfair Display"
}
.category-card.featured span {
  background: linear-gradient(transparent, var(--coral))
}
.category-card i {
  float: right;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  font-style: normal
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px
}
.product-card {
  position: relative;
  border: 1px solid #e4e9eb;
  border-radius: 7px;
  padding: 18px 18px 16px;
  transition: .3s;
  background: #fff
}
.product-card:hover, .product-card.active {
  border-color: var(--coral);
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(27, 58, 76, .11)
}
.product-card img {
  width: 100%;
  height: 130px;
  object-fit: contain
}
.product-card small {
  display: inline-block;
  background: #fde2a8;
  border-radius: 15px;
  padding: 5px 11px;
  text-transform: uppercase;
  font: 13px "Bebas Neue";
  letter-spacing: .8px
}
.product-card h3 {
  font: 16px/1.3 Georgia;
  color: #17427d;
  min-height: 44px
}
.wish {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: 0;
  color: #064c99;
  font-size: 29px;
  cursor: pointer
}
.wish.liked {
  color: var(--coral)
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between
}
.product-bottom strong {
  font-size: 23px;
  color: #111
}
.product-bottom a {
  opacity: 0;
  transform: translateY(8px);
  background: var(--coral);
  color: #fff;
  padding: 10px 17px;
  border-radius: 4px;
  text-transform: uppercase;
  font: 16px "Bebas Neue";
  transition: .25s
}
.product-card:hover .product-bottom a, .product-card.active .product-bottom a {
  opacity: 1;
  transform: none
}
.story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: linear-gradient(90deg, #fff 42%, var(--pale) 42%);
  border-radius: 8px;
  overflow: hidden
}
.story img {
  width: 100%;
  height: 310px;
  object-fit: cover
}
.story > div {
  padding: 35px 64px
}
.story h2 {
  font-size: 43px
}
.story p:not(.eyebrow) {
  font-family: Georgia;
  line-height: 1.5
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px
}
.archive-grid a {
  position: relative;
  background: #f4f2ee;
  border-radius: 6px;
  overflow: hidden;
  transition: .25s
}
.archive-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(22, 48, 62, .1)
}
.archive-grid img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  filter: saturate(.45)
}
.archive-grid span {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  background: #bbb;
  color: #333;
  padding: 3px 9px;
  text-transform: uppercase;
  font: 12px "Bebas Neue"
}
.archive-grid p {
  font-family: Georgia;
  padding: 0 14px
}
.newsletter {
  margin-top: 25px;
  margin-bottom: 45px;
  background: var(--cream);
  padding: 25px 55px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between
}
.newsletter > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center
}
.newsletter i {
  grid-row: 1/3;
  font-size: 40px;
  color: var(--gold)
}
.newsletter h2 {
  margin: 0;
  font-size: 31px
}
.newsletter p {
  margin: 3px 0
}
.newsletter form {
  display: flex;
  width: 42%
}
.newsletter input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 5px 0 0 5px
}
.newsletter .btn {
  border: 0;
  border-radius: 0 5px 5px 0;
  cursor: pointer
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 34px
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px
}
.footer-grid > div:first-child img {
  width: 220px
}
.footer-grid > div:first-child p {
  text-transform: uppercase;
  font: 12px "Bebas Neue";
  letter-spacing: 1px
}
.footer-grid a {
  display: block;
  font-size: 13px;
  color: #527193;
  margin: 5px 0
}
.footer-grid a:hover {
  color: var(--coral)
}
.copyright {
  border-top: 1px solid #efcf8c;
  margin-top: 30px;
  padding: 18px 0 30px;
  font-size: 12px;
  color: #6c87a0;
  display: flex;
  justify-content: space-between
}
.copyright span {
  text-transform: uppercase;
  letter-spacing: 2px
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .7s ease
}
.reveal.visible {
  opacity: 1;
  transform: none
}
.menu-toggle {
  display: none
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0)
}
@media(max-width:900px) {
  .wrap {
    width: min(100% - 28px, 720px)
  }
  .header-main {
    height: 66px;
    grid-template-columns: 1fr auto
  }
  .brand {
    justify-self: start
  }
  .brand img {
    width: 205px
  }
  .search-trigger {
    display: none
  }
  .header-actions {
    gap: 18px
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px
  }
  .menu-toggle b {
    width: 24px;
    height: 2px;
    background: var(--ink)
  }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    transform: translateY(-140%);
    opacity: 0;
    transition: .3s;
    box-shadow: var(--shadow)
  }
  .main-nav.mobile-open {
    transform: none;
    opacity: 1
  }
  .nav-inner {
    height: auto;
    display: block;
    padding: 16px
  }
  .nav-inner > a, .nav-drop {
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #eee
  }
  .mega-menu {
    position: static;
    display: none;
    box-shadow: none;
    transform: none
  }
  .mega-menu.open {
    display: block
  }
  .mega-grid {
    grid-template-columns: 1fr 1fr;
    padding: 15px
  }
  .mega-grid > div {
    border: 0;
    padding: 12px !important
  }
  .vault-card {
    grid-column: 1/-1;
    margin: 12px 0
  }
  .hero {
    background: #fff
  }
  .hero-grid {
    grid-template-columns: 1fr
  }
  .hero-copy {
    padding: 50px 0 25px
  }
  .hero-photo {
    height: 300px
  }
  .hero-photo:before {
    display: none
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px
  }
  .trust-grid > div:nth-child(2) {
    border: 0
  }
  .category-cards {
    grid-template-columns: 1fr 1fr
  }
  .products {
    grid-template-columns: 1fr
  }
  .story {
    grid-template-columns: 1fr;
    background: var(--pale)
  }
  .story img {
    height: 260px
  }
  .story > div {
    padding: 30px
  }
  .archive-grid {
    grid-template-columns: 1fr
  }
  .newsletter {
    align-items: stretch;
    gap: 20px;
    flex-direction: column
  }
  .newsletter form {
    width: 100%
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1
  }
}
@media(max-width:560px) {
  .announcement {
    font-size: 14px
  }
  .brand img {
    width: 170px
  }
  .header-actions {
    gap: 14px
  }
  .heart-icon {
    font-size: 29px
  }
  .user-icon, .bag-icon {
    display: none
  }
  .hero h1 {
    font-size: 39px
  }
  .hero-photo {
    height: 240px
  }
  .button-row {
    flex-direction: column
  }
  .btn {
    width: 100%
  }
  .trust-grid {
    grid-template-columns: 1fr
  }
  .trust-grid > div {
    border: 0;
    justify-content: flex-start;
    padding-left: 20%
  }
  .category-cards {
    grid-template-columns: 1fr
  }
  .section {
    padding: 44px 0
  }
  .section-head {
    align-items: flex-start;
    gap: 12px
  }
  .section h2 {
    font-size: 32px
  }
  .section-head > a {
    font-size: 13px
  }
  .story h2 {
    font-size: 36px
  }
  .newsletter {
    padding: 25px 20px
  }
  .newsletter form {
    flex-direction: column;
    gap: 8px
  }
  .newsletter input, .newsletter .btn {
    border-radius: 5px
  }
  .footer-grid {
    grid-template-columns: 1fr
  }
  .copyright {
    display: block
  }
  .copyright span {
    display: block;
    margin-top: 12px
  }
  .mega-grid {
    grid-template-columns: 1fr
  }
  .mega-grid > div:nth-child(n+3) {
    display: none
  }
}
/* Exact mockup section imagery and alignment */
.brand img {
  width: 245px;
  height: 64px;
  object-fit: contain
}
.scrolled .brand img {
  width: 220px
}
.hero-banner {
  width: 100%;
  background: #f7f7f2;
  overflow: hidden
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024/230;
  object-fit: cover
}
.category-card {
  height: auto;
  aspect-ratio: 224/126;
  background: #fff
}
.category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.category-card span {
  display: none
}
.product-card.image-card {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  background: #fff
}
.product-card.image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 306/168;
  object-fit: cover
}
.story {
  align-items: stretch
}
.story > img {
  height: 100%;
  min-height: 310px;
  object-fit: cover
}
.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 58px
}
.story-title {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 8px
}
.story-title h2 {
  margin: 0
}
.atomic-icon {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
  width: 48px;
  height: 48px;
  flex: 0 0 48px
}
.archive-grid a {
  background: #f4f2ee;
  line-height: 0
}
.archive-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 300/77;
  object-fit: cover;
  filter: none
}
.archive-grid span, .archive-grid p {
  display: none
}
.footer-grid > div:first-child img {
  width: 245px;
  height: auto
}
@media(max-width:900px) {
  .brand img {
    width: 205px;
    height: auto
  }
  .hero-banner img {
    aspect-ratio: 1024/230
  }
  .story > img {
    min-height: 260px
  }
  .story-copy {
    padding: 30px
  }
  .story-title {
    align-items: flex-start
  }
  .atomic-icon {
    font-size: 34px;
    width: 40px;
    height: 40px;
    flex-basis: 40px
  }
}
@media(max-width:560px) {
  .brand img {
    width: 170px
  }
  .hero-banner img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1024/230
  }
  .story-title {
    gap: 10px
  }
  .atomic-icon {
    font-size: 30px;
    width: 34px;
    height: 34px;
    flex-basis: 34px
  }
  .footer-grid > div:first-child img {
    width: 220px
  }
}
/* Editable, high-resolution storefront sections */
.brand img {
  width: 258px;
  height: auto
}
.footer-grid > div:first-child img {
  width: 250px;
  height: auto
}
.hero {
  position: relative;
  min-height: 560px;
  background: #f8f8f3;
  isolation: isolate;
  overflow: hidden
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 22%;
  height: auto;
  background: url("assets/hero.jpg") center/cover no-repeat;
  z-index: -2
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 35%, rgba(255, 255, 255, .6) 49%, rgba(255, 255, 255, 0) 68%);
  z-index: -1
}
.hero-grid {
  min-height: 560px;
  display: flex;
  align-items: center
}
.hero-copy {
  width: min(620px, 52%);
  padding: 64px 0
}
.hero h1 {
  font-size: clamp(46px, 4.4vw, 70px);
  letter-spacing: -2px
}
.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  font-size: 19px
}
.animated-btn {
  position: relative;
  gap: 16px;
  overflow: hidden
}
.animated-btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #d9342d;
  transform: translateX(-102%);
  transition: transform .32s ease
}
.animated-btn span, .animated-btn b {
  position: relative;
  z-index: 1
}
.animated-btn b {
  font-size: 25px;
  transition: transform .32s ease
}
.animated-btn:hover:before {
  transform: none
}
.animated-btn:hover b {
  transform: translateX(7px)
}
.auth-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #07558d;
  text-transform: uppercase;
  font: 15px "Bebas Neue";
  letter-spacing: 1px
}
.auth-note span {
  width: 30px;
  height: 30px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold)
}
.category-card {
  aspect-ratio: auto;
  height: 220px
}
.category-card img {
  height: 100%;
  object-fit: cover
}
.category-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 16px 14px;
  background: linear-gradient(transparent, rgba(8, 23, 35, .88));
  font: 700 22px "Playfair Display";
  color: #fff
}
.category-card.featured span {
  background: linear-gradient(transparent, rgba(240, 75, 66, .96))
}
.category-card span i {
  float: none;
  flex: 0 0 31px
}
.product-card {
  min-height: 390px;
  padding: 22px
}
.product-card img {
  height: 175px;
  object-fit: contain;
  margin-bottom: 10px
}
.product-card h3 {
  font-size: 18px;
  min-height: 52px;
  margin: 12px 0
}
.product-card small {
  font-size: 14px
}
.product-bottom strong {
  font-size: 25px
}
.archive-grid a {
  line-height: normal;
  padding-bottom: 12px
}
.archive-grid img {
  aspect-ratio: auto;
  height: 145px;
  object-fit: contain;
  padding: 18px 20px 0;
  filter: saturate(.58)
}
.archive-grid span {
  display: block
}
.archive-grid p {
  display: block;
  margin: 6px 0 0;
  font-size: 15px;
  color: #34445b
}
@media(max-width:900px) {
  .brand img {
    width: 210px
  }
  .hero {
    min-height: 620px
  }
  .hero-photo {
    inset: 280px 0 0 0
  }
  .hero:after {
    background: linear-gradient(180deg, #fff 0 44%, rgba(255, 255, 255, .85) 58%, rgba(255, 255, 255, 0) 78%)
  }
  .hero-grid {
    min-height: 620px;
    align-items: flex-start
  }
  .hero-copy {
    width: 100%;
    padding: 42px 0
  }
  .hero h1 {
    font-size: 48px
  }
  .category-card {
    height: 220px
  }
  .product-card {
    min-height: 370px
  }
  .footer-grid > div:first-child img {
    width: 225px
  }
}
@media(max-width:560px) {
  .brand img {
    width: 172px
  }
  .hero {
    min-height: 650px
  }
  .hero-photo {
    inset: 390px 0 0
  }
  .hero-grid {
    min-height: 650px
  }
  .hero-copy {
    padding: 32px 0
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 17px
  }
  .button-row {
    flex-direction: row;
    flex-wrap: wrap
  }
  .btn {
    width: auto
  }
  .category-card {
    height: 240px
  }
  .product-card {
    min-height: 390px
  }
  .archive-grid img {
    height: 135px
  }
}