
.naked-roast-flavours {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.naked-roast-flavours span {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #d8c7ad;
    border-radius: 30px;
    color: var(--coffee);
    font-size: 0.78rem;
}

}
/* Product highlights */
.naked-roast-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 25px;
  margin: 32px 0 25px;
}

.roast-highlight {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  border: 1px solid #c6a46a;
  border-radius: 50%;
  color: #9b7439;
  font-size: 18px;
}

.roast-highlight h4 {
  margin: 2px 0 6px;
  color: #40291d;
  font-size: 0.94rem;
  font-weight: 600;
}

.roast-highlight p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
}

/* ============ Certifications Marquee ============ */
.certs {
    background: var(--beige);
    padding: 70px 0;
}

.certs-head {
    text-align: center;
    margin-bottom: 40px;
}

.certs-head h3 {
    font-family: var(--sans);
    font-size: 0.84rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;

    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );

    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 35px;
    width: max-content;
    animation: scroll-marquee 32s linear infinite;
}

/* Certification and partner logos */
.marquee-track img {
    display: block;
    flex: 0 0 auto;

    width: 320px;
    max-width: 320px;
    height: 180px;
    max-height: 180px;

    object-fit: contain;
    object-position: center;

    padding: 8px;
    box-sizing: border-box;

    background: #fff;
    border-radius: 6px;
}

/* Text-based partner names, if used */
.marquee-item {
    display: flex;
    align-items: center;
    gap: 14px;

    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--coffee);
    white-space: nowrap;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.marquee-item::before {
    content: "✦";
    color: var(--gold);
    font-size: 1rem;
}

/* Pause scrolling when hovering */
.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Continuous horizontal animation */
@keyframes scroll-marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Certifications CTA */
.certs-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============ Tablet ============ */
@media (max-width: 992px) {
    .marquee-track {
        gap: 25px;
    }

    .marquee-track img {
        width: 220px;
        max-width: 220px;
        height: 130px;
        max-height: 130px;
    }
}

/* ============ Mobile ============ */
@media (max-width: 768px) {
    .certs {
        padding: 45px 0;
    }

    .certs-head {
        margin-bottom: 25px;
    }

    .marquee {
        padding: 15px 0;
    }

    .marquee-track {
        gap: 20px;
        animation-duration: 24s;
    }

    .marquee-track img {
        width: 125px;
        max-width: 125px;
        height: 70px;
        max-height: 70px;
        padding: 5px;
    }

    .marquee-item {
        font-size: 1.1rem;
        gap: 8px;
    }

    .certs-cta {
        margin-top: 25px;
    }
}

/* ============ Small Mobile ============ */
@media (max-width: 420px) {
    .marquee-track img {
        width: 110px;
        max-width: 110px;
        height: 65px;
        max-height: 65px;
    }

    .marquee-track {
        gap: 15px;
    }
}

/* =====================================
   NAKED ROAST — STORY CAROUSEL
===================================== */

.naked-roast-story {
  padding: 90px 0;
  overflow: hidden;
}

.naked-roast-story .carousel {
  position: relative;
  padding-bottom: 35px;
}

.naked-roast-story .carousel-item {
  transition: transform 0.8s ease-in-out;
}

.naked-roast-story .story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  min-height: 440px;
  padding: 20px 35px;
}

.naked-roast-story .story-content {
  max-width: 560px;
}

.naked-roast-story .story-content h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.15;
  margin: 18px 0;
}

.naked-roast-story .story-content h2 em {
  color: var(--gold-dark);
  font-style: italic;
}

.naked-roast-story .story-content p {
  font-size: 1.03rem;
  line-height: 1.9;
  color: var(--text-muted, #ffffff);
}

.naked-roast-story .story-media {
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 3px;
}

.naked-roast-story .story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.naked-roast-story .carousel-item.active .story-media img {
  animation: roastImageReveal 1s ease both;
}

@keyframes roastImageReveal {
  from {
    opacity: 0.7;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Statistics */
.naked-roast-story .story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.naked-roast-story .stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.naked-roast-story .stat .n {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.naked-roast-story .stat .l {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted, rgba(250,247,242,.7));
}

/* Navigation arrows */
.naked-roast-story .carousel-control-prev,
.naked-roast-story .carousel-control-next {
  top: auto;
  bottom: -12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  opacity: 1;
  background: var(--gold-dark);
}

.naked-roast-story .carousel-control-prev {
  left: 35px;
}

.naked-roast-story .carousel-control-next {
  right: 35px;
}

.naked-roast-story .carousel-control-prev-icon,
.naked-roast-story .carousel-control-next-icon {
  width: 16px;
  height: 16px;
}

/* Indicator dots */
.naked-roast-story .carousel-indicators {
  bottom: -20px;
  margin-bottom: 0;
  gap: 7px;
}

.naked-roast-story .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--gold-dark);
  opacity: 0.35;
}

.naked-roast-story .carousel-indicators .active {
  opacity: 1;
}

/* Tablet and mobile */
@media (max-width: 768px) {
  .naked-roast-story {
    padding: 55px 0;
  }

  .naked-roast-story .story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 10px 12px 25px;
  }

  .naked-roast-story .story-content {
    max-width: 100%;
  }

  .naked-roast-story .story-content h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .naked-roast-story .story-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .naked-roast-story .story-media {
    height: 280px;
  }

  .naked-roast-story .story-stats {
    gap: 12px;
    margin-top: 22px;
  }

  .naked-roast-story .stat .n {
    font-size: 0.88rem;
  }

  .naked-roast-story .stat .l {
    font-size: 0.7rem;
  }

  .naked-roast-story .carousel-control-prev {
    left: 12px;
  }

  .naked-roast-story .carousel-control-next {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .naked-roast-story .carousel-item {
    transition: none;
  }

  .naked-roast-story .carousel-item.active .story-media img {
    animation: none;
  }
}
/* =========================================
   NAKED ROAST PRODUCT STORY
========================================= */

.naked-roast-product {
  padding: 100px 0;
  background: #f8f5ef;
  overflow: hidden;
}

.naked-roast-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 75px;
}

.naked-roast-content {
  max-width: 650px;
}

.naked-roast-content h2 {
  margin: 18px 0 22px;
  color: #40291d;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.12;
}

.naked-roast-content h2 em {
  color: var(--gold-dark, #a98549);
  font-weight: 400;
}

.naked-roast-content p {
  color: #75675d;
  font-size: 0.96rem;
  line-height: 1.9;
}

.naked-roast-content .lead {
  font-size: 1.08rem;
  color: #55463b;
}

/* Product highlights */
.naked-roast-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 25px;
  margin: 32px 0 25px;
}

.roast-highlight {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  border: 1px solid #c6a46a;
  border-radius: 50%;
  color: #9b7439;
  font-size: 18px;
}

.roast-highlight h4 {
  margin: 2px 0 6px;
  color: #40291d;
  font-size: 0.94rem;
  font-weight: 600;
}

.roast-highlight p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
}

/* Flavour labels */
.naked-roast-flavours {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0;
}

.naked-roast-flavours span {
  padding: 8px 13px;
  border: 1px solid #d8c7ad;
  border-radius: 30px;
  color: #61442c;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

/* Buttons */
.naked-roast-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.naked-roast-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}

.naked-roast-tagline {
  display: block;
  margin-top: 27px;
  color: #8d765b;
  font-size: 0.68rem;
  letter-spacing: 2px;
  line-height: 1.8;
}

/* Product image */
.naked-roast-visual {
  min-width: 0;
}

.naked-roast-image-wrap {
  position: relative;
  max-width: 510px;
  margin: 0 auto;
  padding: 15px;
  background: #eee4d6;
  border: 1px solid #e4d5c0;
}

.naked-roast-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
}

.naked-roast-badge {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 30px;
  padding: 10px 15px;
  background: #40291d;
  color: #fff7e9;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.naked-roast-image-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px 5px 3px;
  color: #65472f;
  font-size: 0.68rem;
  letter-spacing: 1px;
}

/* Tablet */
@media (max-width: 992px) {
  .naked-roast-product {
    padding: 75px 0;
  }

  .naked-roast-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 35px;
  }

  .naked-roast-highlights {
    gap: 20px 14px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .naked-roast-product {
    padding: 55px 0;
  }

  .naked-roast-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .naked-roast-content {
    max-width: 100%;
  }

  .naked-roast-content h2 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .naked-roast-highlights {
    gap: 22px 15px;
  }

  .naked-roast-image-wrap {
    max-width: 440px;
    padding: 10px;
  }

  .naked-roast-image-wrap img {
    max-height: 560px;
  }

  .naked-roast-badge {
    top: 22px;
    left: 22px;
    font-size: 0.63rem;
  }

  .naked-roast-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .naked-roast-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .naked-roast-highlights {
    grid-template-columns: 1fr;
  }

  .naked-roast-image-caption {
    font-size: 0.6rem;
  }
}

.founder-img {
  overflow: hidden;
}

.founder-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.7s ease-in-out;
}

.founder-img img.fade-out {
  opacity: 0;
}


/* Footer brand logo sizing */
.footer-brand .brand img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Align logo and text */
.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .footer-brand .brand img {
    width: 70px;
    height: 70px;
  }
}

/* ==================================
   AUTHENTICATION PAGE
================================== */

.auth-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 150px 0 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.auth-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.auth-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.auth-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.auth-intro {
  color: #fff;
  max-width: 600px;
}

.auth-intro .eyebrow {
  color: #d8bc86;
}

.auth-intro h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.12;
  margin: 18px 0;
}

.auth-intro h1 em {
  color: #d8bc86;
  font-style: italic;
}

.auth-intro p {
  max-width: 480px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.auth-card {
  background: #fff;
  color: var(--coffee);
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
  width: 100%;
  min-width: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  background: #f4f0e9;
  border-radius: 8px;
  margin-bottom: 28px;
}

.auth-tab {
  border: 0;
  border-radius: 6px;
  padding: 12px 8px;
  background: transparent;
  color: var(--coffee);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-tab.active {
  background: var(--coffee);
  color: #fff;
}

.auth-heading {
  margin-bottom: 24px;
}

.auth-heading h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.auth-heading p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.94rem;
}

.auth-card .field {
  margin-bottom: 18px;
  min-width: 0;
}

.auth-card .field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-card .field input,
.auth-card .field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #dedbd4;
  border-radius: 7px;
  background: #fff;
  color: var(--coffee);
  font: inherit;
  box-sizing: border-box;
}

.auth-card .field input:focus,
.auth-card .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 145, 85, 0.14);
}

.auth-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.password-field {
  position: relative;
}

.auth-card .password-field input {
  padding-right: 65px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--coffee);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 22px;
  font-size: 0.85rem;
}

.remember-option,
.terms-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.remember-option input,
.terms-option input {
  margin-top: 4px;
  accent-color: var(--coffee);
}

.auth-link {
  color: var(--coffee);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  cursor: pointer;
}

.auth-switch {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--coffee);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-footer {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.password-error {
  display: block;
  color: #b42318;
  font-size: 0.82rem;
  margin-top: 6px;
}

.auth-message {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  background: #f9e7e5;
  color: #8d2118;
}

.auth-message[hidden],
#loginForm[hidden],
#registerForm[hidden] {
  display: none !important;
}

/* Responsive layout */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 30px;
  }

  .auth-intro {
    text-align: center;
    margin: 0 auto;
  }

  .auth-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .auth-footer {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .auth-page {
    padding: 115px 0 35px;
  }

  .auth-container {
    gap: 24px;
  }

  .auth-card {
    padding: 22px 18px;
    border-radius: 10px;
  }

  .auth-card .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-intro h1 {
    font-size: 2.3rem;
  }

  .auth-options {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}


/* Cart overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1998;
  background: rgba(24, 16, 11, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Slide-in cart */
.cart-modal {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1999;
  width: min(460px, 100%);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  color: #3f291e;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.16);
  transform: translateX(105%);
  transition: transform 0.35s ease;
  visibility: hidden;
}

.cart-modal.active {
  transform: translateX(0);
  visibility: visible;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 24px;
  border-bottom: 1px solid #e9e0d6;
}

.cart-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #a47a43;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.cart-header h2 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: 28px;
  color: var(--coffee, #5b3928);
}

#modalCartCount {
  font-family: var(--sans, Arial, sans-serif);
  font-size: 15px;
  color: #8c7869;
}

.cart-close {
  width: 40px;
  height: 40px;
  border: 1px solid #e6ddd2;
  border-radius: 50%;
  background: transparent;
  color: #503527;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cart-close:hover {
  background: #f2e9df;
}

.cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #eee6dd;
}

.cart-item img {
  width: 86px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0e9e0;
}

.cart-item-details {
  min-width: 0;
}

.cart-item-details h3 {
  margin: 0 0 6px;
  color: #4b3022;
  font-size: 16px;
  font-weight: 700;
}

.cart-item-price {
  margin-bottom: 12px;
  color: #8b6747;
  font-size: 14px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfd3c6;
  border-radius: 6px;
  overflow: hidden;
}

.quantity-control button {
  width: 30px;
  height: 30px;
  border: 0;
  background: #f7f0e8;
  color: #4b3022;
  cursor: pointer;
}

.quantity-control button:hover {
  background: #ead9c6;
}

.quantity-control span {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
}

.cart-remove {
  padding: 5px 0;
  border: 0;
  background: none;
  color: #98654f;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-empty {
  display: none;
  flex: 1;
  padding: 35px 24px;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cart-empty.visible {
  display: flex;
}

.cart-empty > i {
  margin-bottom: 15px;
  color: #b68b58;
  font-size: 48px;
}

.cart-empty h3 {
  margin-bottom: 8px;
  font-family: var(--serif, Georgia, serif);
  font-size: 24px;
}

.cart-empty p {
  margin-bottom: 20px;
  color: #827267;
  font-size: 14px;
}

.cart-footer {
  padding: 22px 24px;
  background: #fffdf9;
  border-top: 1px solid #e9e0d6;
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.cart-subtotal strong {
  color: #4b3022;
  font-size: 20px;
}

.cart-shipping-note {
  margin: 10px 0 18px;
  color: #827267;
  font-size: 12px;
  line-height: 1.5;
}

.cart-checkout {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: var(--coffee, #5b3928);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-checkout:hover {
  background: #3f281c;
}

.cart-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-continue {
  width: 100%;
  margin-top: 13px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #654632;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

body.cart-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .cart-header {
    padding: 20px;
  }

  .cart-items {
    padding: 8px 20px;
  }

  .cart-footer {
    padding: 18px 20px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}


/* Shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}

.shop-sidebar {
  padding: 22px 18px;
  background: #fffdf9;
  border: 1px solid #e9e0d6;
  border-radius: 12px;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e9e0d6;
}

.filter-heading h3 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: 23px;
  color: var(--coffee, #5b3928);
}

.clear-filters {
  padding: 0;
  border: 0;
  background: none;
  color: #967044;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.filter-group {
  padding: 20px 0;
  border-bottom: 1px solid #e9e0d6;
}

.filter-group h4 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #493123;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #74665c;
  font-size: 13px;
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--coffee, #5b3928);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.apply-filters {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: var(--coffee, #5b3928);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.apply-filters:hover {
  background: #3f281c;
}

.shop-products {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.shop-toolbar h2 {
  margin: 5px 0;
  font-family: var(--serif, Georgia, serif);
  color: var(--coffee, #5b3928);
  font-size: clamp(24px, 3vw, 34px);
}

#productCount {
  margin: 5px 0 0;
  color: var(--muted, #827267);
  font-size: 13px;
}

.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #74665c;
  font-size: 12px;
}

.sort-control select {
  max-width: 190px;
  padding: 10px;
  border: 1px solid #dfd3c6;
  border-radius: 6px;
  background: #fffdf9;
  color: #493123;
}

.product-price {
  margin: 15px 0;
  color: var(--coffee, #5b3928);
  font-weight: 700;
  font-size: 18px;
}

.add-to-cart {
  cursor: pointer;
}

.mobile-filter-btn {
  display: none;
  padding: 10px 12px;
  border: 1px solid #dfd3c6;
  border-radius: 6px;
  background: #fffdf9;
  color: var(--coffee, #5b3928);
  cursor: pointer;
}

.no-products {
  padding: 35px 15px;
  color: #827267;
  text-align: center;
}

/* Responsive shop */
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 650px) {
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .shop-sidebar {
    display: none;
    order: 0;
  }

  .shop-sidebar.mobile-open {
    display: block;
  }

  .shop-toolbar {
    margin-bottom: 20px;
    gap: 15px;
  }

  .shop-toolbar-actions {
    flex-wrap: wrap;
  }

  .sort-control {
    flex: 1;
    justify-content: flex-end;
  }

  .sort-control select {
    max-width: 175px;
    min-width: 0;
  }

  .shop-products .varieties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .shop-products .varieties-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =========================
   NAKED ROAST ORDER TRACKING
========================= */

.order-tracking-section {
  padding: 160px 0 90px;
  background: #faf7f2;
}

.order-tracking-heading {
  max-width: 780px;
  margin: 0 0 45px;
}

.order-tracking-heading h1 {
  margin: 12px 0;
  color: var(--coffee, #503020);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
}

.order-tracking-heading h1 em,
.order-status-card h2 em {
  color: var(--gold, #b38b51);
}

.order-tracking-heading .lead {
  margin-top: 16px;
  color: var(--muted, #827267);
  line-height: 1.8;
}

.order-tracking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.order-track-card,
.order-status-card,
.order-result-card {
  min-width: 0;
  padding: 32px;
  background: #fffdf9;
  border: 1px solid #e8ded2;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(65, 42, 27, .06);
}

.order-track-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: #fffaf2;
  background: var(--coffee, #503020);
  border-radius: 12px;
  font-size: 25px;
}

.order-track-card h2,
.order-status-card h2 {
  margin: 0 0 12px;
  color: var(--coffee, #503020);
  font-family: var(--serif, Georgia, serif);
  font-size: 28px;
}

.order-track-description,
.order-status-card > p {
  color: var(--muted, #827267);
  font-size: 14px;
  line-height: 1.8;
}

.order-track-card .field {
  margin: 22px 0;
}

.order-track-card .field label {
  display: block;
  margin-bottom: 8px;
  color: #503020;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.order-track-card .field input {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfd4c8;
  border-radius: 7px;
  background: #fff;
  color: #503020;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.order-track-card .field input:focus {
  outline: none;
  border-color: #94704d;
  box-shadow: 0 0 0 3px rgba(148, 112, 77, .12);
}

.track-order-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
}

.tracking-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  color: #827267;
  font-size: 11px;
  line-height: 1.7;
}

.tracking-privacy i {
  color: #56704c;
  font-size: 16px;
  flex-shrink: 0;
}

.order-journey {
  margin: 28px 0;
}

.journey-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 24px;
}

.journey-step:not(:last-child)::after {
  position: absolute;
  top: 43px;
  bottom: 4px;
  left: 21px;
  width: 1px;
  background: #e5d8c8;
  content: "";
}

.journey-icon {
  display: flex;
  position: relative;
  z-index: 1;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #795034;
  background: #f2e8da;
  border-radius: 50%;
  font-size: 19px;
}

.journey-step h3 {
  margin: 2px 0 5px;
  color: #503020;
  font-size: 14px;
}

.journey-step p {
  margin: 0;
  color: #827267;
  font-size: 12px;
  line-height: 1.6;
}

.tracking-message {
  padding: 12px 14px;
  margin: 18px 0;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.6;
}

.tracking-success {
  color: #245b37;
  background: #eaf6ed;
  border: 1px solid #c9e7d0;
}

.tracking-error {
  color: #8a3028;
  background: #fff0ee;
  border: 1px solid #f0d0cc;
}

.order-result-card {
  margin-top: 28px;
  overflow-wrap: anywhere;
}

.order-result-card[hidden],
.tracking-message[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .order-tracking-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .order-tracking-section {
    padding: 125px 0 55px;
  }

  .order-track-card,
  .order-status-card,
  .order-result-card {
    padding: 22px;
  }

  .order-track-card h2,
  .order-status-card h2 {
    font-size: 25px;
  }
}


