/* =========================================================
   JEKYLL COMMERCE STARTER
   Global Design System
   ========================================================= */


/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* ---------------------------------------------------------
   Global Layout
   --------------------------------------------------------- */

.page-width {
  width: min(100% - 40px, 1400px);
  margin-inline: auto;
  margin-left: max(48px, calc((100vw - 1400px) / 2));
}

main {
  min-height: 60vh;
}


/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-top: 0;
}


/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0 28px;

  background: #111111;
  color: #ffffff;

  border: 1px solid #111111;
  border-radius: 0;

  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  background: #ffffff;
  color: #111111;
}


/* ---------------------------------------------------------
   Announcement Bar
   --------------------------------------------------------- */

.announcement-bar {
  background: #111111;
  color: #ffffff;

  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.announcement-bar p {
  margin: 0;
  padding: 9px 0;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 100;

  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
}

.site-header__inner {
  min-height: 78px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  gap: 30px;
}

.site-header__brand {
  justify-self: start;

  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header__brand-name {
  display: inline-block;
}

.site-header__logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 280px;
  object-fit: contain;
}

.main-navigation {
  justify-self: center;
}

.main-navigation ul {
  display: flex;
  align-items: center;

  gap: 32px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.main-navigation a {
  position: relative;

  font-size: 0.88rem;
  font-weight: 500;
}

.main-navigation a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -5px;

  width: 100%;
  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.2s ease;
}

.main-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  justify-self: end;

  display: flex;
  align-items: center;

  gap: 10px;
}

.header-icon-button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  min-height: 42px;

  padding: 0 10px;

  background: transparent;
  border: 0;

  color: #111111;

  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: 0;

  min-width: 18px;
  height: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 4px;

  background: #111111;
  color: #ffffff;

  border-radius: 999px;

  font-size: 0.67rem;
  font-weight: 700;
}


/* ---------------------------------------------------------
   Mobile Navigation
   --------------------------------------------------------- */

.mobile-nav-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 9px;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;

  width: 100%;
  height: 1px;

  margin: 6px 0;

  background: #111111;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  min-height: 70vh;

  display: flex;
  align-items: center;

  padding: 100px 0;

  background: #f3f3f1;
}

.hero .page-width {
  max-width: 900px;
}

.hero__eyebrow {
  margin-bottom: 20px;

  font-size: 0.78rem;
  font-weight: 600;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p:not(.hero__eyebrow) {
  max-width: 600px;

  margin-bottom: 34px;

  font-size: 1.15rem;
  color: #555555;
}
@media (max-width: 768px) {
  .page-width {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ---------------------------------------------------------
   Generic Page Content
   --------------------------------------------------------- */

.page-content {
  padding: 90px 0;
}

.page-content__narrow {
  max-width: 800px;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  margin-top: 100px;

  padding: 80px 0 30px;

  background: #111111;
  color: #ffffff;
}

.site-footer__grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 60px;

  padding-bottom: 60px;
}

.site-footer__brand {
  max-width: 400px;
}

.site-footer__brand h2 {
  margin-bottom: 16px;

  font-size: 1.6rem;
}

.site-footer__brand p {
  color: #bcbcbc;
}

.site-footer__column h3 {
  margin-bottom: 18px;

  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__column ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.site-footer__column li + li {
  margin-top: 10px;
}

.site-footer__column a {
  color: #bcbcbc;

  transition: color 0.2s ease;
}

.site-footer__column a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 30px;

  padding-top: 30px;

  border-top: 1px solid #303030;

  color: #8b8b8b;

  font-size: 0.8rem;
}

.site-footer__bottom p {
  margin: 0;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .mobile-nav-toggle {
    display: block;
    justify-self: start;
  }

  .site-header__brand {
    justify-self: center;
  }

  .main-navigation {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    padding: 30px 20px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: stretch;

    gap: 0;
  }

  .main-navigation a {
    display: block;

    padding: 14px 0;

    font-size: 1rem;
  }

  .site-header__actions .header-icon-button:first-child {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px;
  }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .page-width {
    width: min(100% - 28px, 1400px);
  }

  .announcement-bar {
    font-size: 0.68rem;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .site-header__brand {
    font-size: 1rem;
  }

  .hero {
    min-height: 65vh;

    padding: 70px 0;
  }

  .hero .page-width {
    margin-inline: auto;
  }

  .hero p:not(.hero__eyebrow) {
    font-size: 1rem;
  }

  .site-footer {
    padding-top: 60px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;
  }

}

/* ---------------------------------------------------------
   Shop
   --------------------------------------------------------- */

.shop-page {
  padding: 90px 0;
}

.shop-page__header {
  margin-bottom: 50px;
}

.shop-page__eyebrow {
  margin-bottom: 12px;

  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-page__header h1 {
  margin-bottom: 15px;
}

.shop-page__header p {
  color: #666666;
}


/* ---------------------------------------------------------
   Product Grid
   --------------------------------------------------------- */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 45px 24px;
}


/* ---------------------------------------------------------
   Product Card
   --------------------------------------------------------- */

.product-card {
  min-width: 0;
}

.product-card__image-wrap {
  position: relative;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  background: #f4f4f4;
}

.product-card__image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.025);
}

.product-card__badge {
  position: absolute;

  top: 14px;
  left: 14px;

  z-index: 2;

  padding: 6px 10px;

  background: #111111;
  color: #ffffff;

  font-size: 0.68rem;
  font-weight: 600;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__info {
  padding-top: 16px;
}

.product-card__title {
  margin-bottom: 7px;

  font-size: 1rem;
  font-weight: 500;
}

.product-card__price {
  display: flex;
  align-items: center;

  gap: 10px;

  font-size: 0.92rem;
}

.product-card__price-current {
  font-weight: 600;
}

.product-card__price-compare {
  color: #8b8b8b;

  text-decoration: line-through;
}

/* ---------------------------------------------------------
   Cart Drawer
   --------------------------------------------------------- */

.cart-overlay {
  position: fixed;

  inset: 0;

  z-index: 998;

  background: rgba(0, 0, 0, 0.35);

  opacity: 0;

  transition: opacity 0.25s ease;
}

.cart-overlay.is-visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;

  top: 0;
  right: 0;

  z-index: 999;

  width: min(440px, 100%);
  height: 100vh;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);

  transform: translateX(100%);

  transition: transform 0.3s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 22px 24px;

  border-bottom: 1px solid #e8e8e8;
}

.cart-drawer__header h2 {
  margin: 0;

  font-size: 1.25rem;
}

.cart-drawer__close {
  width: 42px;
  height: 42px;

  padding: 0;

  background: transparent;
  border: 0;

  font-size: 2rem;
  line-height: 1;

  cursor: pointer;
}

.cart-drawer__items {
  flex: 1;

  overflow-y: auto;

  padding: 12px 24px;
}

.cart-drawer__empty {
  flex: 1;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 40px 24px;

  color: #777777;
}

.cart-drawer__footer {
  padding: 22px 24px 26px;

  border-top: 1px solid #e8e8e8;
}

.cart-drawer__subtotal {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-bottom: 18px;

  font-size: 1rem;
}

.cart-drawer__checkout {
  width: 100%;
}

.cart-drawer__note {
  margin: 12px 0 0;

  color: #777777;

  font-size: 0.76rem;
  text-align: center;
}

.cart-drawer__panel {
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.cart-drawer__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
}
/* ---------------------------------------------------------
   Cart Items
   --------------------------------------------------------- */

.cart-item {
  display: grid;

   grid-template-columns: 90px 1fr;

  gap: 14px;

  padding: 18px 0;

  border-bottom: 1px solid #eeeeee;
}

.cart-item__title {
  margin-bottom: 6px;

  font-size: 0.95rem;
  font-weight: 600;
}

.cart-item__meta {
  margin-bottom: 10px;

  color: #777777;

  font-size: 0.8rem;
}

.cart-item__price {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item__controls {
  display: flex;

  align-items: center;

  gap: 8px;

  margin-top: 12px;
}

.cart-item__quantity {
  display: inline-grid;

  grid-template-columns: 34px 34px 34px;

  border: 1px solid #d5d5d5;
}

.cart-item__quantity button {
  border: 0;

  background: transparent;

  cursor: pointer;
}

.cart-item__quantity span {
  display: flex;

  align-items: center;
  justify-content: center;

  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;

  font-size: 0.82rem;
}

.cart-item__remove {
  padding: 0;

  background: transparent;
  border: 0;

  color: #777777;

  font-size: 0.75rem;
  text-decoration: underline;

  cursor: pointer;
}

body.cart-open {
  overflow: hidden;
}

.cart-item__image {
  display: block;

  width: 90px;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  background: #f4f4f4;
}

.cart-item__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.cart-drawer__customer {
  margin-bottom: 16px;
}

.cart-drawer__customer label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-drawer__email {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font: inherit;
}

/* ---------------------------------------------------------
   Product Grid Responsive
   --------------------------------------------------------- */

@media (max-width: 1100px) {

  .product-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 800px) {

  .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 35px 16px;
  }

}

@media (max-width: 480px) {

  .shop-page {
    padding: 60px 0;
  }

  .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 28px 12px;
  }

  .product-card__title {
    font-size: 0.92rem;
  }

  .product-card__price {
    font-size: 0.84rem;
  }

}

/* ---------------------------------------------------------
   Product Page
   --------------------------------------------------------- */

.product-page {
  padding: 70px 0 110px;
}

.product-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 70px;
  align-items: start;
}


/* ---------------------------------------------------------
   Product Gallery
   --------------------------------------------------------- */

.product-gallery__main {
  aspect-ratio: 4 / 5;

  background: #f4f4f4;

  overflow: hidden;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.product-gallery__thumbs {
  display: flex;

  gap: 12px;

  margin-top: 14px;
}

.product-gallery__thumb {
  width: 90px;

  aspect-ratio: 1 / 1;

  padding: 0;

  background: #f4f4f4;

  border: 1px solid transparent;

  cursor: pointer;

  overflow: hidden;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.product-gallery__thumb.is-active {
  border-color: #111111;
}


/* ---------------------------------------------------------
   Product Information
   --------------------------------------------------------- */

.product-info {
  position: sticky;

  top: 30px;
}

.product-info__badge {
  display: inline-block;

  margin-bottom: 16px;

  padding: 6px 10px;

  background: #111111;
  color: #ffffff;

  font-size: 0.7rem;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info h1 {
  margin-bottom: 18px;

  font-size: clamp(2rem, 4vw, 3.6rem);
}

.product-info__price {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 24px;
}

.product-info__price-current {
  font-size: 1.25rem;
  font-weight: 600;
}

.product-info__price-compare {
  color: #888888;

  text-decoration: line-through;
}

.product-info__short-description {
  margin-bottom: 32px;

  color: #555555;
}


/* ---------------------------------------------------------
   Product Options
   --------------------------------------------------------- */

.product-option {
  margin-bottom: 28px;
}

.product-option__header {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 12px;

  font-size: 0.9rem;
  font-weight: 600;
}

.product-option__selected {
  color: #777777;

  font-weight: 400;
}

.product-option__values {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.variant-button {
  min-width: 52px;
  min-height: 44px;

  padding: 0 15px;

  background: #ffffff;

  border: 1px solid #cccccc;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.variant-button:hover {
  border-color: #111111;
}

.variant-button.is-selected {
  background: #111111;
  color: #ffffff;

  border-color: #111111;
}

.product-option-value.is-unavailable,
.product-option-value:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-option-value.is-unavailable:hover,
.product-option-value:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ---------------------------------------------------------
   Quantity
   --------------------------------------------------------- */

.quantity-selector {
  margin-bottom: 28px;
}

.quantity-selector label {
  display: block;

  margin-bottom: 10px;

  font-size: 0.9rem;
  font-weight: 600;
}

.quantity-selector__controls {
  display: inline-grid;

  grid-template-columns: 44px 60px 44px;

  border: 1px solid #cccccc;
}

.quantity-selector__controls button {
  background: transparent;

  border: 0;

  cursor: pointer;

  font-size: 1.2rem;
}

.quantity-selector__controls input {
  width: 100%;

  text-align: center;

  border: 0;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;

  outline: none;

  appearance: textfield;
}

.quantity-selector__controls input::-webkit-inner-spin-button,
.quantity-selector__controls input::-webkit-outer-spin-button {
  appearance: none;
}


/* ---------------------------------------------------------
   Add To Cart
   --------------------------------------------------------- */

.product-info__add {
  width: 100%;

  min-height: 58px;

  margin-top: 8px;

  cursor: pointer;
}

.product-message {
  min-height: 24px;

  margin-top: 12px;

  font-size: 0.86rem;
}

.product-message.is-error {
  color: #9a1b1b;
}

.product-message.is-success {
  color: #24752a;
}


/* ---------------------------------------------------------
   Description
   --------------------------------------------------------- */

.product-info__description {
  margin-top: 40px;

  padding-top: 30px;

  border-top: 1px solid #e3e3e3;
}

.product-info__description h2 {
  margin-bottom: 12px;

  font-size: 1rem;
  text-transform: uppercase;

  letter-spacing: 0.07em;
}


/* ---------------------------------------------------------
   Product Responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .product-page__grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .product-info {
    position: static;
  }

}

@media (max-width: 600px) {

  .product-page {
    padding: 30px 0 70px;
  }

  .product-gallery__thumb {
    width: 70px;
  }

}

/* =========================================================
   Checkout / Shipping Form
   ========================================================= */

.checkout-customer {
  margin-top: 28px;
}

.checkout-customer h3 {
  margin: 0 0 22px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.checkout-field label {
  font-size: 0.95rem;
  font-weight: 600;
}

.checkout-field label span {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.65;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;

  border: 1px solid #cfcfcf;
  border-radius: 4px;

  background: #fff;
  color: #111;

  font: inherit;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;

  border-color: #111;

  box-shadow:
    0 0 0 2px
    rgba(0, 0, 0, 0.08);
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cart-drawer__checkout-button {
  width: 100%;
  margin-top: 8px;
  min-height: 50px;

  font-size: 1rem;
  font-weight: 700;
}

.cart-drawer__checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.checkout-error {
  margin: 12px 0 0;

  font-size: 0.9rem;
  line-height: 1.4;

  color: #b42318;
}


/* =========================================================
   Mobile Checkout
   ========================================================= */

@media (max-width: 520px) {

  .checkout-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

}

/* =========================================================
   Phase 13 — Homepage
   ========================================================= */

.home-hero {
  position: relative;

  min-height: min(780px, 82vh);

  display: flex;
  align-items: flex-end;

  padding: 90px 0;

  background:
    #dededb
    var(--hero-image)
    center / cover
    no-repeat;

  color: #ffffff;

  overflow: hidden;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.28) 48%,
      rgba(0, 0, 0, 0.06) 75%
    );
}

.home-hero__content {
  position: relative;
  z-index: 1;

  width: 100%;
}

.home-eyebrow {
  margin-bottom: 16px;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 800px;

  margin-bottom: 22px;

  font-size:
    clamp(3.4rem, 7vw, 7.5rem);

  line-height: 0.94;
}

.home-hero__text {
  max-width: 560px;

  margin-bottom: 32px;

  font-size: 1.15rem;

  color: rgba(255, 255, 255, 0.88);
}

.home-hero__button {
  background: #ffffff;
  color: #111111;

  border-color: #ffffff;
}

.home-hero__button:hover {
  background: #111111;
  color: #ffffff;

  border-color: #111111;
}


/* Sections */

.home-section {
  padding: 110px 0;
}

.home-section__header {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 40px;

  margin-bottom: 48px;
}

.home-section__header h2 {
  margin-bottom: 12px;
}

.home-section__header p:last-child {
  margin-bottom: 0;

  color: #666666;
}

.home-text-link {
  flex-shrink: 0;

  padding-bottom: 3px;

  border-bottom: 1px solid currentColor;

  font-size: 0.86rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* Editorial Promo */

.home-promo {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.85fr);

  min-height: 650px;

  background: #f3f3f1;
}

.home-promo__media {
  min-height: 650px;

  background: #e6e6e3;
}

.home-promo__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.home-promo__content {
  display: flex;

  align-items: center;

  padding: 80px;
}

.home-promo__inner {
  max-width: 520px;
}

.home-promo h2 {
  margin-bottom: 24px;
}

.home-promo__inner > p:not(.home-eyebrow) {
  margin-bottom: 32px;

  color: #555555;

  font-size: 1.05rem;
}


/* Benefits */

.home-benefits {
  padding: 70px 0;

  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.home-benefits__grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 40px;
}

.home-benefit {
  text-align: center;
}

.home-benefit h3 {
  margin-bottom: 8px;

  font-size: 0.86rem;
  font-weight: 700;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-benefit p {
  margin: 0;

  color: #777777;

  font-size: 0.88rem;
}


/* Homepage responsive */

@media (max-width: 900px) {

  .home-hero {
    min-height: 680px;
  }

  .home-promo {
    grid-template-columns: 1fr;
  }

  .home-promo__media {
    min-height: 520px;
  }

  .home-promo__content {
    padding: 70px 40px;
  }

  .home-benefits__grid {
    grid-template-columns: 1fr 1fr;
  }

}


@media (max-width: 600px) {

  .home-hero {
    min-height: 620px;

    padding: 60px 0;
  }

  .home-hero h1 {
    font-size:
      clamp(3rem, 15vw, 4.8rem);
  }

  .home-section {
    padding: 75px 0;
  }

  .home-section__header {
    display: block;

    margin-bottom: 35px;
  }

  .home-text-link {
    display: inline-block;

    margin-top: 18px;
  }

  .home-promo__media {
    min-height: 420px;
  }

  .home-promo__content {
    padding: 55px 20px;
  }

  .home-benefits__grid {
    grid-template-columns: 1fr;

    gap: 32px;
  }

}

/* =========================================================
   Phase 13 — Checkout
   ========================================================= */

.checkout-page {
  padding: 90px 0 120px;

  background: #fafafa;
}

.checkout-page__heading {
  margin-bottom: 55px;
}

.checkout-page__heading h1 {
  margin: 0;

  font-size: clamp(2.8rem, 5vw, 5rem);
}

.checkout-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(360px, 0.72fr);

  gap: 80px;

  align-items: start;
}

.checkout-main {
  max-width: 720px;
}

.checkout-section {
  margin-bottom: 45px;
}

.checkout-section h2,
.checkout-summary h2 {
  margin-bottom: 25px;

  font-size: 1.35rem;
}

.checkout-page__submit {
  width: 100%;

  min-height: 58px;

  margin-top: 12px;

  font-size: 0.9rem;
}

.checkout-page__secure {
  margin-top: 14px;

  color: #777777;

  font-size: 0.8rem;
  text-align: center;
}


/* Order summary */

.checkout-summary {
  position: sticky;
  top: 40px;

  padding: 38px;

  background: #ffffff;

  border: 1px solid #e4e4e4;
}

.checkout-summary-item {
  display: grid;

  grid-template-columns:
    82px minmax(0, 1fr) auto;

  align-items: center;

  gap: 18px;

  padding: 22px 0;

  border-bottom: 1px solid #eeeeee;
}

.checkout-summary-item__image {
  display: block;

  width: 82px;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #f4f4f4;
}

.checkout-summary-item__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.checkout-summary-item__details {
  display: grid;

  gap: 5px;

  min-width: 0;
}

.checkout-summary-item__title {
  color: #111111;

  font-size: 0.95rem;
  font-weight: 700;

  text-decoration: none;
}

.checkout-summary-item__title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-summary-item__details span {
  color: #777777;

  font-size: 0.82rem;
}

.checkout-summary-item__price {
  align-self: start;

  white-space: nowrap;

  font-size: 0.95rem;
}

.checkout-summary-item > div {
  display: grid;

  gap: 5px;
}

.checkout-summary-item span {
  color: #777777;

  font-size: 0.82rem;
}

.checkout-summary__totals {
  padding-top: 25px;
}

.checkout-summary__totals > div {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  font-size: 1.05rem;
}

.checkout-summary__totals p {
  margin-top: 18px;

  color: #777777;

  font-size: 0.8rem;
}


/* Cart drawer */

.cart-drawer__continue {
  display: block;

  margin-top: 16px;

  text-align: center;

  font-size: 0.82rem;
  font-weight: 600;

  text-decoration: underline;
  text-underline-offset: 4px;
}


@media (max-width: 900px) {

  .checkout-layout {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .checkout-main {
    max-width: none;
  }

  .checkout-summary {
    position: static;

    order: -1;
  }

}


@media (max-width: 600px) {

  .checkout-page {
    padding: 60px 0 80px;
  }

  .checkout-page__heading {
    margin-bottom: 40px;
  }

  .checkout-summary {
    padding: 25px 20px;
  }
	.checkout-summary-item {
	  grid-template-columns:
		68px minmax(0, 1fr) auto;

	  gap: 14px;
	}

	.checkout-summary-item__image {
	  width: 68px;
	}
}

/* =========================================================
   PHASE 13 — SHOP & PRODUCT POLISH
   ========================================================= */


/* ---------------------------------------------------------
   Shop
   --------------------------------------------------------- */

.shop-page {
  padding: 84px 0 110px;
}

.shop-page__header {
  max-width: 680px;
  margin-bottom: 48px;
}

.shop-page__header h1 {
  margin: 0 0 18px;

  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.shop-page__header > p:last-child {
  margin: 0;

  color: #666666;

  font-size: 1rem;
  line-height: 1.6;
}


/* Keep collection cards from becoming excessively
   wide when a store has only a few products. */

.product-grid {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}

.product-card__info {
  padding-top: 14px;
}

.product-card__title {
  margin-bottom: 6px;

  font-weight: 600;
  line-height: 1.35;
}

.product-card__price {
  gap: 8px;
}


/* ---------------------------------------------------------
   Product Page
   --------------------------------------------------------- */

.product-info h1 {
  margin: 0 0 18px;

  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.product-info__short-description {
  max-width: 560px;

  line-height: 1.7;
}

.product-option__header {
  font-size: 0.85rem;
}

.product-option__selected {
  color: #777777;

  font-size: 0.8rem;
}

.variant-button {
  font-weight: 500;
}

.product-info__add {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-info__description {
  line-height: 1.7;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 800px) {

  .shop-page {
    padding: 64px 0 80px;
  }

  .shop-page__header h1 {
    font-size: clamp(2.75rem, 10vw, 4rem);
  }

}


@media (max-width: 480px) {

  .shop-page {
    padding: 48px 0 70px;
  }

  .shop-page__header {
    margin-bottom: 36px;
  }

  .shop-page__header h1 {
    font-size: 2.75rem;
  }

}

/* =========================================================
   PHASE 13 — COLLECTIONS
   ========================================================= */


/* ---------------------------------------------------------
   Shop Collection Navigation
   --------------------------------------------------------- */

.shop-collections {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 10px 28px;

  margin: -10px 0 48px;

  padding-bottom: 18px;

  border-bottom: 1px solid #dddddd;
}

.shop-collections__link {
  position: relative;

  padding: 6px 0;

  color: #666666;

  font-size: 0.82rem;
  font-weight: 600;

  letter-spacing: 0.08em;

  text-decoration: none;
  text-transform: uppercase;
}

.shop-collections__link:hover {
  color: #111111;

  text-decoration: none;
}

.shop-collections__link.is-active {
  color: #111111;
}

.shop-collections__link.is-active::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -19px;
  left: 0;

  height: 1px;

  background: #111111;
}


/* ---------------------------------------------------------
   Collection Page
   --------------------------------------------------------- */

.collection-page {
  padding: 84px 0 110px;
}

.collection-page__header {
  max-width: 680px;

  margin-bottom: 50px;
}

.collection-page__eyebrow {
  margin: 0 0 14px;

  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.collection-page__header h1 {
  margin: 0 0 18px;

  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 500;

  line-height: 1;

  letter-spacing: -0.045em;
}

.collection-page__description {
  max-width: 560px;

  margin: 0;

  color: #666666;

  font-size: 1rem;
  line-height: 1.7;
}


/* Collection product wrapper must not alter
   the existing product-card layout. */

.collection-product {
  min-width: 0;
}


/* ---------------------------------------------------------
   Empty / Unknown Collection
   --------------------------------------------------------- */

.collection-page__empty {
  max-width: 620px;

  padding: 60px 0;
}

.collection-page__empty h1 {
  margin: 0 0 16px;

  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;

  letter-spacing: -0.04em;
}

.collection-page__empty p {
  margin: 0 0 30px;

  color: #666666;

  line-height: 1.7;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 800px) {

  .collection-page {
    padding: 64px 0 80px;
  }

  .shop-collections {
    gap: 8px 22px;

    overflow-x: auto;

    flex-wrap: nowrap;

    padding-bottom: 16px;

    scrollbar-width: none;
  }

  .shop-collections::-webkit-scrollbar {
    display: none;
  }

  .shop-collections__link {
    flex: 0 0 auto;
  }

  .shop-collections__link.is-active::after {
    bottom: -17px;
  }

}


@media (max-width: 480px) {

  .collection-page {
    padding: 48px 0 70px;
  }

  .collection-page__header {
    margin-bottom: 36px;
  }

  .collection-page__header h1 {
    font-size: 2.75rem;
  }

}
/* =========================================================
   PHASE 13.6 — MOBILE STOREFRONT POLISH
   ========================================================= */

@media (max-width: 600px) {

  /* Give products proper visual weight on phones. */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-card__image-wrap {
    aspect-ratio: 4 / 5;
  }

  .product-card__info {
    padding-top: 14px;
  }

  .product-card__title {
    font-size: 1rem;
  }

  .product-card__price {
    font-size: 0.9rem;
  }


  /* Homepage featured collection */
  .home-section .product-grid {
    grid-template-columns: 1fr;
  }


  /* Collection pages use the same product presentation. */
  .collection-page .product-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   PHASE 13.8 — POLICY / SOCIAL FOOTER
   ========================================================= */

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;

  padding: 24px 0;

  border-top: 1px solid #303030;
}

.site-footer__social a {
  color: #bcbcbc;

  font-size: 0.8rem;
}

.site-footer__social a:hover {
  color: #ffffff;
}

/* =========================================================
   PHASE 13.8 — POLICY PAGES
   ========================================================= */

.policy-page {
  padding: 84px 0 110px;
}

.policy-page__content {
  max-width: 780px;
}

.policy-page__header {
  margin-bottom: 48px;
}

.policy-page__eyebrow {
  margin: 0 0 14px;

  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-page__header h1 {
  margin: 0 0 18px;

  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 500;

  line-height: 1;
  letter-spacing: -0.045em;
}

.policy-page__updated {
  margin: 0;

  color: #777777;

  font-size: 0.85rem;
}

.policy-page__body {
  color: #333333;

  font-size: 1rem;
  line-height: 1.8;
}

.policy-page__body h2 {
  margin: 46px 0 14px;

  color: #111111;

  font-size: 1.4rem;
  font-weight: 600;
}

.policy-page__body h3 {
  margin: 32px 0 10px;

  color: #111111;

  font-size: 1.05rem;
}

.policy-page__body p,
.policy-page__body ul,
.policy-page__body ol {
  margin: 0 0 20px;
}

.policy-page__body a {
  text-decoration: underline;
}

@media (max-width: 600px) {

  .policy-page {
    padding: 48px 0 70px;
  }

  .policy-page__header {
    margin-bottom: 36px;
  }

  .policy-page__header h1 {
    font-size: 2.75rem;
  }

}