
/* ========================================
   1. CSS Variables and Global Styles
======================================== */

:root {
  --bg: #f6f3ee;
  --ink: #0f0f0f;
  --sand: #e8d9c4;
  --red: #e04a3f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

h1,
h2,
h3 {
  font-family: Montserrat, sans-serif;
}

/* ========================================
   2. Navigation Bar
======================================== */

/* ========================================
   Header / Navigation
======================================== */

.nav {
  background: #0b0b0b;
  color: #f5f1e9;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8.5%;
  height: 60px;
  box-sizing: border-box;
}

/* Brand and logo mark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  color: #f5f1e9;
  text-decoration: none;
  margin-right: 64px;
}

.brand-mark {
  width: 37px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -5px;
  color: #f5f1e9;
}

img.brand-mark {
  object-fit: contain;
}

/* FEELTXT wordmark */
.nav .logo {
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

/* Navigation links */
.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  flex: 1;
}

.nav .nav-links a {
  color: #c9c2b8;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.nav .nav-links a:hover,
.nav .nav-links a.on {
  color: #fff;
}

.nav .nav-links a.on {
  border-bottom-color: #f5f1e9;
}

/* Search, account and cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search button,
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5f1e9;
  cursor: pointer;
}

.header-search button svg,
.header-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-search input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.header-search:focus-within input {
  width: 140px;
  opacity: 1;
  margin-left: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #8c857b;
}

.header-search input::placeholder {
  color: #aaa39a;
}

.header-icon {
  position: relative;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -11px;
  min-width: 19px;
  height: 19px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5e6cb;
  color: #171512;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

/* Responsive header */
@media (max-width: 900px) {
  .nav {
    padding: 0 4%;
  }

  .brand {
    margin-right: 30px;
  }

  .nav .nav-links {
    gap: 20px;
  }

  .header-actions {
    gap: 18px;
  }
}

@media (max-width: 650px) {
  .nav {
    height: 68px;
    flex-wrap: wrap;
    padding: 0 18px;
  }

  .brand {
    gap: 8px;
    margin-right: 16px;
  }

  .brand-mark {
    width: 27px;
    height: 30px;
    font-size: 29px;
  }

  .nav .logo {
    font-size: 16px;
    letter-spacing: 0.16em;
  }

  .nav .nav-links {
    display: none;
  }

  .header-actions {
    gap: 17px;
  }

  .header-search:focus-within input {
    width: 95px;
  }
}

/* ========================================
   3. Hero Section
======================================== */

/* ========================================
   3. Hero Image Slider
======================================== */

.hero-slider {
  position: relative;
  min-height: 550px;
  height: 550px;
  padding: 40px 8.5%;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  color: #f6f3ee;
  
}

/* Horizontal hero slide animation */
/* Hero slider images */
/* Horizontal hero slide animation */
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: translateX(100%);
  transition: transform 0.8s ease-out;
  will-change: transform;
}

.hero-slide.active {
  transform: translateX(0);
}

/* Previous slide moves out to the left */
.hero-slide.exit-left {
  transform: translateX(-100%);
}


/* Dark gradient for readable text */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.98) 0%,
      rgba(8, 8, 8, 0.86) 24%,
      rgba(8, 8, 8, 0.42) 48%,
      rgba(8, 8, 8, 0.08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.22),
      transparent 35%
    );
  pointer-events: none;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 1;
  width: min(610px, 52%);
}

.hero-content small {
  display: block;
  color: #e8d9c4;
  font-size: 14px;
  letter-spacing: 0.13em;
  font-weight: 700;
}

.hero-content h1 {
  font-size: clamp(54px, 5vw, 90px);
  line-height: 1.04;
  letter-spacing: 0.015em;
  margin: 25px 0 32px;
  font-weight: 800;
}

.hero-content p {
  max-width: 380px;
  font-size: 20px;
  line-height: 1.55;
  color: #d0cbc5;
  margin: 0;
}

/* Shop button */
.hero-content .btn {
  margin-top: 40px;
  padding: 22px 36px;
  background: #e8d9c4;
  color: #111;
  border-radius: 4px;
}

/* Dots and next arrow */
.hero-controls {
  position: absolute;
  z-index: 2;
  left: 2%;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 85px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #858585;
  cursor: pointer;
}

.hero-dot.active {
  width: 18px;
  height: 18px;
  background: transparent;
  border: 3px solid #fff;
}

.hero-next {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 29px;
  cursor: pointer;
}

/* Mobile layout */
@media (max-width: 700px) {
  .hero-slider {
    height: 680px;
    min-height: 600px;
    padding: 40px 7%;
  }

  .hero-slide {
    background-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.94),
      rgba(8, 8, 8, 0.65)
    );
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(45px, 11vw, 68px);
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-controls {
    left: 7%;
    bottom: 28px;
  }
}

/* ========================================
   4. Buttons
======================================== */

.btn {
  display: inline-block;
  background: var(--sand);
  color: #111;
  padding: 20px 36px;
  border: 0;
  border-radius: 4px;
  font: 700 14px 'DM Sans';
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 20px;
  text-align: center;
}

.btn.dark {
  background: #0f0f0f;
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #bbb;
  color: #111;
}

.full {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 10px;
}

/* ========================================
   5. Perks and General Layout
======================================== */

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 5%;
}

.perks span {
  display: block;
  font-size: 13px;
  opacity: 0.6;
}

.wrap {
  padding: 50px 5%;
}

.sh {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sh h2,
.wrap h2 {
  letter-spacing: 0.15em;
  font-size: 24px;
}

/* ========================================
   6. Product Grid and Cards
======================================== */

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card .im {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #222, #0f0f0f);
  overflow: hidden;
  border-radius: 4px;
}

.im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.off {
  background: var(--red);
  color: #fff;
  font: 700 12px 'DM Sans';
  padding: 6px 10px;
  border-radius: 3px;
}

.im .off {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.vp {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: #0f0f0f;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 13px;
  opacity: 0;
  transition: 0.2s;
}

.card:hover .vp {
  opacity: 1;
}

.card h3 {
  font: 500 17px 'DM Sans';
  margin: 14px 0 6px;
}

.card p {
  margin: 0;
  font-weight: 700;
}

s {
  color: #999;
  font-weight: 400;
  font-size: 0.85em;
}

/* ========================================
   7. Color Dots and Filter Pills
======================================== */

.dots {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pills a {
  border: 1px solid #888;
  border-radius: 30px;
  padding: 12px 26px;
}

.pills a.on {
  background: #0f0f0f;
  color: #fff;
}

/* ========================================
   8. Banner and Call to Action
======================================== */

.banner {
  background: #0b0b0b;
  color: #fff;
  padding: 50px 5%;
}

.banner h1 {
  margin: 0;
  letter-spacing: 0.1em;
}

.banner p {
  color: #d8a35a;
  margin: 6px 0 0;
}

.cta {
  background: #0f0f0f;
  color: #fff;
  text-align: center;
  padding: 90px 5%;
}

.cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 14px 0;
}

/* ========================================
   9. Footer
======================================== */


/* =========================================
   FEELTXT FOOTER — MATCH REFERENCE IMAGE
========================================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #101010;
    color: #f7f5f1;
}

.footer-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding: 64px 5% 76px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 0.8fr)
        minmax(0, 0.9fr)
        minmax(0, 1.15fr);

    column-gap: 52px;
    align-items: start;
}

/* Brand logo and text */
.footer-brand {
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;

    color: #f7f5f1;
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 5px;
    text-decoration: none;
}

.footer-logo-image {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
}

.footer-brand .footer-tagline {
    margin: 20px 0 20px;
    color: #ead9c0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.6;
}

.footer-brand p,
.footer-newsletter p {
    margin: 0;
    color: #bdb8b0;
    font-size: 14px;
    line-height: 1.8;
}

/* Shop and company columns */
.footer-column,
.footer-newsletter {
    min-width: 0;
}

.footer-column h4,
.footer-newsletter h4 {
    margin: 5px 0 26px;
    color: #c7b69e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

.footer-column a {
    display: block;
    width: fit-content;
    margin: 0 0 17px;

    color: #f7f5f1;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ead9c0;
}

/* Newsletter */
.footer-newsletter p {
    margin-bottom: 18px;
}

.footer-newsletter-form {
    display: flex;
    width: 100%;
    max-width: 420px;
    margin: 0;
}

.footer-newsletter-form input {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    height: 49px;
    padding: 0 16px;

    border: 1px solid #393939;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: #101010;
    color: #fff;
    font: inherit;
    font-size: 14px;
}

.footer-newsletter-form input::placeholder {
    color: #aaa49b;
    opacity: 1;
}

.footer-newsletter-form button {
    box-sizing: border-box;
    flex: 0 0 60px;
    height: 49px;
    padding: 0;

    border: 1px solid #ead9c0;
    border-radius: 0 5px 5px 0;
    background: #ead9c0;
    color: #101010;
    font-size: 20px;
    cursor: pointer;
}

.footer-newsletter-form button:hover {
    background: #f5e8d5;
}

/* Copyright and payment details */
.footer-bottom {
    box-sizing: border-box;
    width: 90%;
    max-width: 1476px;
    margin: 0 auto;
    padding: 24px 0 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    border-top: 1px solid #292929;
}

.footer-bottom .copy,
.footer-payment-info {
    margin: 0;
    color: #bdb8b0;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.footer-payment-info {
    text-align: right;
}

/* Tablet */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 36px;
        padding: 48px 6%;
    }

    .footer-bottom {
        width: 88%;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 40px 24px;
    }

    .footer-logo {
        font-size: 21px;
    }

    .footer-bottom {
        width: auto;
        margin: 0 24px;
        padding: 20px 0;

        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .footer-payment-info {
        text-align: left;
    }
}


/* ========================================
   10. Product Detail Page
======================================== */

.pd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}


/* Product image gallery */
.pimg {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  background: #111;
  border-radius: 4px;
  overflow: visible;
}

/* Large selected product image */
#mainProductImage {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Small front/back thumbnails below the main image */
#productThumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  width: 100%;
}

#productThumbnails .product-thumbnail {
  display: flex;
  flex-direction: column;
  flex: 0 0 76px;
  width: 76px;
  padding: 4px;
  border: 2px solid #777;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

#productThumbnails .product-thumbnail img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: contain;
}

#productThumbnails .product-thumbnail.active {
  border-color: #fff;
}


.crumb {
  opacity: 0.6;
}

.stars {
  color: #e0a800;
  font-size: 14px;
}

.price {
  font: 700 28px 'DM Sans';
}

.price .off {
  font-size: 12px;
  vertical-align: middle;
}

/* ========================================
   11. Product Options and Quantity
======================================== */

label {
  display: block;
  margin: 18px 0 8px;
  font-size: 14px;
}

.sw,
.sizes {
  display: flex;
  gap: 10px;
}

.sw button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
}

.sw .on {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.sizes button {
  width: 48px;
  height: 44px;
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
}

.sizes .on {
  background: #111;
  color: #fff;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  background: #fff;
}

.qty button {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
}

.qty span {
  width: 40px;
  text-align: center;
}

.qty.sm button {
  width: 28px;
  height: 28px;
}

/* ========================================
   12. Notes and General Utility Classes
======================================== */

.note {
  font-size: 13px;
  opacity: 0.7;
}

.c {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.err {
  color: var(--red);
}

.center {
  text-align: center;
}

/* ========================================
   13. Cart and Checkout Layouts
======================================== */

.two {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.box {
  background: #fff;
  padding: 26px;
  border: 1px solid #eee;
}

.box.grey {
  background: #ece8e1;
}

.line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.line img,
.sum img {
  width: 70px;
  height: 94px;
  object-fit: cover;
  background: #111;
}

.line .r {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.x {
  background: none;
  border: 0;
  cursor: pointer;
}

/* ========================================
   14. Cart Totals and Order Summary
======================================== */

.row {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
}

.tot {
  font-weight: 700;
  font-size: 20px;
  border-top: 1px solid #ccc;
  padding-top: 14px;
}

.sum {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
}

.sum img {
  width: 50px;
  height: 60px;
}

/* ========================================
   15. Forms and Input Fields
======================================== */

.form input:not([type=radio]):not([type=checkbox]) {
  width: 100%;
  padding: 18px;
  border: 1px solid #ddd;
  background: #fff;
  margin: 6px 0;
  font: inherit;
}

.r2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.r3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.chk {
  display: flex;
  gap: 8px;
}

/* ========================================
   16. Payment Methods
======================================== */

.pm {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  padding: 18px;
  margin: 10px 0;
  cursor: pointer;
}

.pm span {
  flex: 1;
}

.pm small {
  display: block;
  opacity: 0.6;
}

.pm em {
  background: #ece8e1;
  font: 700 10px 'DM Sans';
  padding: 5px 10px;
  font-style: normal;
}

.pm:has(:checked) {
  border: 2px solid #111;
}

/* ========================================
   17. Tables
======================================== */

.tb {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

.tb td,
.tb th {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}

/* ========================================
   18. Responsive Design
======================================== */

@media (max-width: 800px) {
  .nav nav,
  .search {
    display: none;
  }

  .pd,
  .two,
  footer,
  .perks {
    grid-template-columns: 1fr;
  }

  .r3 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FEELTXT Brand Benefits Strip
======================================== */

.benefits-strip {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 24px;

    padding: 30px 6%;
    background: #f5f2ed;
    color: #171717;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #171717;
    transition: transform 0.25s ease;
}

.benefit-item:hover .benefit-icon {
    transform: translateY(-2px);
}

.benefit-copy {
    min-width: 0;
}

.benefit-copy h3 {
    margin: 0 0 3px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #171717;
}

.benefit-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #77716a;
}

/* Tablet */
@media (max-width: 900px) {
    .benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 28px 5%;
        row-gap: 28px;
    }

    .benefit-item {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .benefits-strip {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 24px;
    }

    .benefit-item {
        width: 100%;
        max-width: 260px;
        justify-content: flex-start;
        gap: 16px;
    }

    .benefit-icon {
        width: 32px;
        height: 32px;
    }

    .benefit-copy h3 {
    margin: 0 0 3px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #171717;
}

.benefit-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #77716a;
}
}

/* ========================================
   FEELTXT Featured Collection
   Editorial Streetwear Styling
======================================== */

/* Section heading */

.featured-heading h2 {
    margin: 12px 0 0 16px;
    color: #171715;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.045em;
}

.featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.featured-eyebrow {
    margin: 0 0 10px;
    color: #877b69;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.featured-heading h2 {
    margin: 0;
    color: #171715;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.045em;
}

.featured-heading h2 span {
    color: #a89578;
}

.featured-subtitle {
    margin: 10px 0 0;
    color: #77716a;
    font-size: 14px;
    line-height: 1.6;
}

.featured-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    color: #242320;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid #b9ad9a;
    transition: color 0.2s ease, gap 0.2s ease;
}

.featured-view-all:hover {
    color: #8c7658;
    gap: 15px;
}

/* Product card */
.editorial-card {
    display: block;
    min-width: 0;
    color: #191918;
    text-decoration: none;
}

/* Product image */
.editorial-card .im {
    position: relative;
    overflow: hidden;
    background: #e5e0d7;
    border-radius: 3px;
    aspect-ratio: 3 / 4;
}

.editorial-card .im img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.editorial-card:hover .im img {
    transform: scale(1.035);
}

/* Discount badge */
.editorial-card .off {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 10px;
    background: #292824;
    color: #f4eee4;
    border: 1px solid rgba(244, 238, 228, 0.15);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* View Product overlay */
.editorial-card .vp {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    padding: 14px 10px;
    background: rgba(16, 16, 15, 0.94);
    color: #f4eee4;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.editorial-card:hover .vp,
.editorial-card:focus-visible .vp {
    opacity: 1;
    transform: translateY(0);
}

/* Product name */
.editorial-card h3 {
    margin: 12px 0 5px;
    color: #191918;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Current price and original price */
.editorial-card p {
    margin: 0;
    color: #171715;
    font-size: 14px;
    font-weight: 600;
}

.editorial-card p s {
    margin-left: 7px;
    color: #938b80;
    font-size: 12px;
    font-weight: 400;
}

/* Color swatches */
.editorial-card .dots {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.editorial-card .dots i {
    display: block;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(25, 25, 24, 0.16);
    border-radius: 50%;
    box-sizing: border-box;
}

/* Keyboard accessibility */
.editorial-card:focus-visible {
    outline: 2px solid #8c7658;
    outline-offset: 4px;
}

/* Responsive heading */
@media (max-width: 600px) {
    .featured-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .featured-heading h2 {
        font-size: 23px;
    }

    .featured-subtitle {
        font-size: 13px;
    }

    .featured-view-all {
        font-size: 12px;
    }
}

/* Keep View Product visible on touchscreens */
@media (hover: none) {
    .editorial-card .vp {
        opacity: 1;
        transform: none;
        padding: 10px;
        font-size: 11px;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .editorial-card .im img,
    .editorial-card .vp,
    .featured-view-all {
        transition: none;
    }
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}




/* =========================================
   FEELTXT — Modern Product Page
   Frontend styling only
========================================= */

.pd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: start;
  gap: 38px;
  padding-top: 30px;
  padding-bottom: 50px;
}

/* Soft, premium product image frame */
.pimg {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 12px;
  background: #f4f2ee;
  border: 1px solid #eeece7;
  border-radius: 16px;
  overflow: visible;
}

/* Main image: slightly smaller with breathing room */
#mainProductImage {
  display: block;
  width: 100%;
  max-height: 650px;
  aspect-ratio: 4 / 4.6;
  object-fit: contain;
  background: transparent;
  border-radius: 10px;
}

/* Front/back image thumbnails */
#productThumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

#productThumbnails .product-thumbnail {
  display: flex;
  flex-direction: column;
  flex: 0 0 88px;
  width: 88px;
  padding: 5px;
  gap: 5px;
  background: #fff;
  border: 1px solid #e0ded8;
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

#productThumbnails .product-thumbnail:hover {
  border-color: #888;
  transform: translateY(-2px);
}

#productThumbnails .product-thumbnail.active {
  border: 2px solid #171717;
  padding: 4px;
}

#productThumbnails .product-thumbnail img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #f8f7f4;
  border-radius: 5px;
}

#productThumbnails .thumbnail-label {
  display: block;
  color: #555;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-align: center;
}

/* Product information */
.pd > div:last-child {
  min-width: 0;
}

.pd h1 {
  margin: 12px 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.pd .crumb {
  color: #777;
  font-size: 13px;
}

.pd .stars {
  margin: 12px 0 20px;
}

.pd .price {
  margin: 18px 0 24px;
  font-size: 30px;
}

.pd label {
  display: block;
  margin-top: 18px;
  margin-bottom: 9px;
  font-size: 14px;
}

/* Color and size options */
.pd .sw,
.pd .sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pd .sw button {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  cursor: pointer;
}

.pd .sw button.on {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

.pd .sizes button {
  min-width: 52px;
  min-height: 42px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.pd .sizes button.on {
  border: 2px solid #171717;
  background: #f4f2ee;
  font-weight: 700;
}

/* Quantity selector */
.pd .qty {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 20px;
}

.pd .qty button {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

/* Consistent premium purchase buttons */
.pd .btn.full {
  display: block;
  width: 100%;
  min-height: 49px;
  margin-top: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.pd #addcart {
  background: #171717;
  color: #fff;
  border: 1px solid #171717;
}

.pd #addcart:hover {
  background: #333;
}

.pd #buycod,
.pd #buyon {
  background: #fff;
  color: #171717;
  border: 1px solid #d5d3ce;
}

.pd #buycod:hover,
.pd #buyon:hover {
  background: #f4f2ee;
  border-color: #171717;
}

.pd .note {
  margin: 16px 0;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}

/* Mobile layout */
@media (max-width: 760px) {
  .pd {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 18px;
  }

  #mainProductImage {
    max-height: 520px;
  }

  .pd h1 {
    font-size: 29px;
  }

  .pd .price {
    font-size: 26px;
  }
}

/* Clear, high-contrast selected size */
.pd .sizes button.on {
    background: #171717 !important;
    color: #fff !important;
    border: 2px solid #171717 !important;
    font-weight: 700;
}

/* Keep unselected sizes clean and white */
.pd .sizes button:not(.on) {
    background: #fff;
    color: #171717;
    border: 1px solid #d5d5d5;
}


/* Compact quantity selector */
.pd .qty {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: fit-content !important;
    max-width: 100%;
    margin: 10px 0 18px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.pd .qty button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #171717;
    cursor: pointer;
}

.pd .qty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 38px;
    margin: 0;
    padding: 0;
    color: #171717;
    font-size: 14px;
    font-weight: 600;
}


/* Recommendations heading and View All link */
.recommendations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.recommendations-header h2 {
    margin: 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #171717;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.view-all-link:hover {
    opacity: 0.65;
}

.view-all-link span {
    font-size: 18px;
}

/* Stack neatly on small screens */
@media (max-width: 480px) {
    .recommendations-header h2 {
        font-size: 18px;
    }

    .view-all-link {
        font-size: 13px;
    }
}



/* ========================================
   FEELTXT — Refined Checkout UI
   Visual changes only
======================================== */

/* Consistent, premium form controls */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid #dedbd5;
    border-radius: 8px;
    background: #fff;
    color: #171717;
    padding: 13px 15px;
    font: inherit;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #171717;
    box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.08);
}

input::placeholder,
textarea::placeholder {
    color: #85817a;
    opacity: 1;
}

/* Checkout form spacing */
input:not([type="checkbox"]):not([type="radio"]),
select {
    min-height: 48px;
}

/* Refined payment choice cards */
input[type="radio"] {
    accent-color: #171717;
}

/* Make payment sections and their labels easier to scan */
label {
    line-height: 1.5;
}

/* Compact, premium Place Order button.
   Supports common existing checkout button selectors. */
button[type="submit"],
input[type="submit"],
.place-order-btn,
#placeOrder {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 14px 22px;
    border: 1px solid #171717;
    border-radius: 8px;
    background: #171717;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.place-order-btn:hover,
#placeOrder:hover {
    background: #333;
}

/* Prevent oversized checkout controls on mobile */
@media (max-width: 640px) {
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        max-width: 100%;
    }

    button[type="submit"],
    input[type="submit"],
    .place-order-btn,
    #placeOrder {
        min-height: 48px;
    }
}



/* Add a small gap between the CTA and footer */
.cta {
    margin-bottom: 24px;
}

.site-footer {
    margin-top: 0;
}




/* FEELTXT product quality strip */
.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  margin: 28px 0;
  padding: 20px 4px;
  background: #f6f3ef;
  border-radius: 4px;
  box-sizing: border-box;
}

.product-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-width: 0;
}

.product-trust-item svg {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-trust-item h3 {
  margin: 0 0 4px;
  color: #191919;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.product-trust-item p {
  margin: 0;
  color: #77716b;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .product-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 8px;
    padding: 22px 8px;
  }

  .product-trust-item h3 {
    font-size: 14px;
  }

  .product-trust-item p {
    font-size: 12px;
  }
}



/* FEELTXT product information tabs */
.product-info-tabs {
  margin: 24px 0 40px;
  border-top: 1px solid #dedad4;
  color: #252525;
}

.product-info-tab-list {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-left: 24px;
  border-bottom: 1px solid #dedad4;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-info-tab {
  flex: 0 0 auto;
  padding: 18px 0 16px;
  margin: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #77716b;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.product-info-tab:hover,
.product-info-tab.is-active {
  color: #191919;
}

.product-info-tab.is-active {
  border-bottom-color: #191919;
  font-weight: 600;
}

.product-info-panel {
  padding: 22px 0;
  font-size: 15px;
  line-height: 1.9;
  color: #45413d;
}

.product-info-panel[hidden] {
  display: none !important;
}

.product-info-panel p {
  margin: 0 0 12px;
}

.product-info-panel ul {
  padding-left: 20px;
}

.product-info-note {
  color: #817b74;
  font-size: 12px;
}

.product-size-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.product-size-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.product-size-table th,
.product-size-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #dedad4;
  white-space: nowrap;
}

.product-size-table th {
  color: #191919;
  font-weight: 600;
}

@media (max-width: 600px) {
  .product-info-tab-list {
    gap: 24px;
  }

  .product-info-tab {
    padding: 15px 0 13px;
    font-size: 14px;
  }

  .product-info-panel {
    padding: 18px 0;
    font-size: 14px;
  }

  .product-size-table th,
  .product-size-table td {
    padding: 10px 12px;
  }
}


/* =========================================================
   FEELTXT — targeted mobile product-card layout only
   Desktop rules intentionally remain unchanged.
========================================================= */
@media screen and (max-width: 650px) {
  /* Shared grid used by New Arrivals, Shop by Mood,
     Featured Collection, and All Collections. */
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    margin-top: 20px;
  }

  .grid > * {
    min-width: 0;
  }

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

  .editorial-card .im,
  .card .im {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }

  .editorial-card .im img,
  .card .im img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Keep discount badges readable without taking over the photo. */
  .editorial-card .off,
  .im .off {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 7px;
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  /* On touchscreens the existing overlay was always visible,
     obscuring the garment. Keep the card clickable instead. */
  .editorial-card .vp,
  .card .vp {
    display: none !important;
  }

  .editorial-card h3,
  .card h3 {
    margin: 9px 0 4px;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .editorial-card p,
  .card p {
    font-size: 14px;
    line-height: 1.4;
  }

  .editorial-card p s,
  .card p s {
    margin-left: 4px;
    font-size: 11px;
  }

  .editorial-card .dots,
  .card .dots {
    gap: 6px;
    margin-top: 8px;
  }

  .editorial-card .dots i,
  .card .dots i {
    width: 12px;
    height: 12px;
  }
}

/* Very narrow phones: preserve two columns with slightly tighter spacing. */
@media screen and (max-width: 360px) {
  .grid {
    gap: 16px 9px;
  }

  .editorial-card h3,
  .card h3 {
    font-size: 13px;
  }
}


/* FEELTXT: mobile product layout only */
@media screen and (max-width: 650px) {

  /* Product grids: two equal columns */
  .grid,
  .product-grid,
  .products-grid,
  .product-list,
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 20px !important;
  }

  /* Keep each product card inside its column */
  .grid > *,
  .product-grid > *,
  .products-grid > *,
  .product-list > *,
  .editorial-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  /* Product image area */
  .card .im,
  .editorial-card .im,
  .product-card .im {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
  }

  .card .im img,
  .editorial-card .im img,
  .product-card .im img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Remove the oversized View Product graphic */
  .card .vp,
  .editorial-card .vp,
  .product-card .vp {
    display: none !important;
  }

  /* Compact discount badge */
  .card .off,
  .editorial-card .off,
  .product-card .off {
    font-size: 10px;
    padding: 6px 7px;
    top: 8px;
    left: 8px;
  }
}


/* FEELTXT benefits strip — mobile only */
@media screen and (max-width: 650px) {

  .benefits-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 22px !important;
    align-items: center !important;
    padding: 24px 20px !important;
  }

  .benefits-strip .benefit-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .benefits-strip .benefit-icon {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .benefits-strip .benefit-copy {
    min-width: 0 !important;
  }

  .benefits-strip .benefit-copy h3 {
    margin: 0 0 4px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .benefits-strip .benefit-copy p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* FEELTXT About page */
.about-page {
  background: #f5f2ed;
  color: #111;
}

.about-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f8f6f2;

  /* Replace with your own fashion hero image path */
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.78),
      rgba(0, 0, 0, 0.22)
    ),
    url("/static/img/about-hero.png") center 45% / cover no-repeat;
}

.about-hero-inner {
  width: min(100% - 64px, 1580px);
  margin: 0 auto;
  padding: 60px 0 54px;
}

.about-eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.about-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 1px;
}

.about-story {
  padding: 76px 24px 82px;
  background: #f5f2ed;
}

.about-story-inner {
  max-width: 980px;
  margin: 0 auto;
}

.about-story p {
  margin: 0;
  font-size: 25px;
  line-height: 1.72;
  font-weight: 400;
}

@media (max-width: 650px) {
  .about-hero {
    min-height: 380px;
    background-position: center;
  }

  .about-hero-inner {
    width: calc(100% - 36px);
    padding: 42px 0 36px;
  }

  .about-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }

  .about-hero h1 {
    font-size: clamp(32px, 8vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .about-story {
    padding: 36px 24px 48px;
  }

  .about-story p {
    font-size: 17px;
    line-height: 1.7;
  }
}

