/* ========================================
   PLP – extends styles.css, no duplication
   ======================================== */

/* Nav active state */
.header-nav .nav-active {
  color: var(--color-maroon);
}
.header-nav .nav-active::after {
  width: 100%;
}

/* Extra header icon buttons */
.btn-wishlist-header,
.btn-account-header {
  display: none;
}
@media (min-width: 768px) {
  .btn-wishlist-header,
  .btn-account-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color var(--duration-fast) var(--ease-out-quart);
  }
  .btn-wishlist-header:hover,
  .btn-account-header:hover {
    background-color: var(--color-clay);
  }
  .btn-wishlist-header svg,
  .btn-account-header svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-dark);
    stroke-width: 1.5;
    fill: none;
  }
}

/* ========================================
   1. PLP Hero Banner
   ======================================== */

.plp-hero {
  position: relative;
  height: clamp(260px, 38vw, 480px);
  overflow: hidden;
}

.plp-hero-image {
  position: absolute;
  inset: 0;
}

.plp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.plp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(22% 0.015 25 / 0.55) 0%,
    oklch(22% 0.015 25 / 0.2) 55%,
    oklch(22% 0.015 25 / 0.05) 100%
  );
}

.plp-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) var(--container-padding) var(--space-xl);
  max-width: var(--container-max);
  margin-inline: auto;
  left: 0;
  right: 0;
}

@media (min-width: 768px) {
  .plp-hero-content {
    justify-content: center;
    padding-bottom: var(--space-xl);
  }
}

.plp-hero-eyebrow {
  color: oklch(88% 0.015 80);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.14em;
}

.plp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-cream);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.plp-hero-desc {
  font-size: var(--text-body-lg);
  color: oklch(88% 0.01 80);
  max-width: 44ch;
  line-height: 1.65;
}

/* ========================================
   2. Breadcrumb
   ======================================== */

.plp-breadcrumb {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-grey-border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: var(--text-small);
  color: var(--color-grey);
}

.breadcrumb-list a {
  color: var(--color-grey);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.breadcrumb-list a:hover {
  color: var(--color-maroon);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--color-dark-soft);
}

.breadcrumb-sep {
  color: var(--color-grey-light);
  padding-inline: 0.25rem;
}

/* ========================================
   3. PLP Layout: sidebar + main
   ======================================== */

.plp-layout {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.plp-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 960px) {
  .plp-container {
    grid-template-columns: 240px 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

@media (min-width: 1100px) {
  .plp-container {
    grid-template-columns: 260px 1fr;
  }
}

/* ========================================
   Mobile bar (Filter toggle + Sort)
   ======================================== */

.plp-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-grey-border);
  grid-column: 1 / -1;
}

@media (min-width: 960px) {
  .plp-mobile-bar {
    display: none;
  }
}

.plp-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-grey-border);
  background: transparent;
  transition: border-color var(--duration-fast) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart);
}

.plp-filter-toggle:hover {
  border-color: var(--color-dark-soft);
  background-color: var(--color-clay);
}

.plp-mobile-sort-wrap {
  position: relative;
}

/* ========================================
   Filter Overlay (mobile drawer backdrop)
   ======================================== */

.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: oklch(22% 0.015 25 / 0);
  pointer-events: none;
  transition: background-color var(--duration-slow) var(--ease-out-expo);
}

.filter-overlay.active {
  display: block;
  pointer-events: auto;
  background-color: oklch(22% 0.015 25 / 0.4);
}

/* ========================================
   Filter Sidebar
   ======================================== */

.plp-sidebar {
  background-color: var(--color-cream);
  position: sticky;
  top: calc(var(--header-height) + var(--announcement-height) + 1rem);
  max-height: calc(100vh - var(--header-height) - var(--announcement-height) - 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-grey-border) transparent;
}

/* Mobile: off-canvas drawer */
@media (max-width: 959px) {
  .plp-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw, 320px);
    z-index: 160;
    max-height: 100%;
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-out-expo);
    padding-bottom: 6rem;
    box-shadow: 4px 0 24px oklch(22% 0.015 25 / 0.08);
  }

  .plp-sidebar.open {
    transform: translateX(0);
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-grey-border);
  position: sticky;
  top: 0;
  background-color: var(--color-cream);
  z-index: 1;
}

.sidebar-title {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.sidebar-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-dark);
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.sidebar-close-btn:hover {
  background-color: var(--color-clay);
}

.sidebar-close-btn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 960px) {
  .sidebar-close-btn {
    display: none;
  }
}

.sidebar-clear-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
}

.btn-clear-all {
  font-size: var(--text-small);
  color: var(--color-maroon);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  background: none;
  border: none;
}

.btn-clear-all:hover {
  color: var(--color-maroon-light);
}

.active-count {
  font-size: var(--text-small);
  color: var(--color-grey);
  background-color: var(--color-clay);
  padding: 2px 8px;
  border-radius: 2px;
}

/* Filter Groups */

.filter-group {
  border-top: 1px solid var(--color-grey-border);
}

.filter-group--last {
  border-bottom: 1px solid var(--color-grey-border);
}

.filter-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-soft);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.filter-group-btn:hover {
  color: var(--color-maroon);
}

.fg-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.filter-group-btn[aria-expanded="true"] .fg-chevron {
  transform: rotate(180deg);
}

.filter-group-body {
  padding: 0 var(--space-md) var(--space-md);
}

.filter-group-body[hidden] {
  display: none;
}

/* Checkbox options */

.filter-opts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-small);
  color: var(--color-dark-soft);
  cursor: pointer;
  line-height: 1.4;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.filter-check:hover {
  color: var(--color-dark);
}

.filter-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-grey-light);
  background-color: transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart);
  position: relative;
}

.filter-check input[type="checkbox"]:hover {
  border-color: var(--color-maroon);
}

.filter-check input[type="checkbox"]:checked {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
}

.filter-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 8px;
  border: 1.5px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.filter-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

/* Colour Swatches */

.filter-swatches {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.swatch-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-small);
  color: var(--color-dark-soft);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.swatch-label:hover {
  color: var(--color-dark);
}

.swatch-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.swatch {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px oklch(22% 0.015 25 / 0.1);
  transition: box-shadow var(--duration-fast) var(--ease-out-quart);
}

.swatch--multi {
  background: conic-gradient(
    #e2d5bf 0deg 60deg,
    #6b6b3a 60deg 120deg,
    #b5451b 120deg 180deg,
    #d6b8c0 180deg 240deg,
    #a8c4b0 240deg 300deg,
    #c4a882 300deg 360deg
  );
}

.swatch-label input[type="checkbox"]:checked ~ .swatch {
  box-shadow: inset 0 0 0 1.5px oklch(22% 0.015 25 / 0.3),
              0 0 0 2px var(--color-maroon);
}

.swatch-label input[type="checkbox"]:focus-visible ~ .swatch {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

/* Price Range Slider */

.price-range-wrap {
  padding-top: var(--space-xs);
}

.price-range-display {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-small);
  color: var(--color-dark-soft);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.price-slider-track {
  position: relative;
  height: 4px;
  background-color: var(--color-clay-deep);
  border-radius: 2px;
  margin: 12px 0 4px;
}

.price-slider-fill {
  position: absolute;
  height: 100%;
  background-color: var(--color-maroon);
  border-radius: 2px;
  pointer-events: none;
}

.price-range-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}

.price-range-thumb::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-cream);
  border: 2px solid var(--color-maroon);
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--duration-fast) var(--ease-out-quart),
              box-shadow var(--duration-fast) var(--ease-out-quart);
}

.price-range-thumb::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px oklch(35% 0.15 22 / 0.12);
}

.price-range-thumb::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-cream);
  border: 2px solid var(--color-maroon);
  cursor: pointer;
  pointer-events: auto;
}

.price-range-thumb:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

/* Sidebar apply button */

.sidebar-footer {
  display: none;
  padding: var(--space-md);
  border-top: 1px solid var(--color-grey-border);
  background-color: var(--color-cream);
  position: sticky;
  bottom: 0;
}

@media (max-width: 959px) {
  .sidebar-footer {
    display: block;
  }
}

.btn-apply {
  width: 100%;
  justify-content: center;
}

/* ========================================
   4. Sort Bar
   ======================================== */

.plp-sort-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-grey-border);
  margin-bottom: var(--space-md);
  gap: var(--space-md);
}

@media (min-width: 960px) {
  .plp-sort-bar {
    display: flex;
  }
}

.plp-count {
  font-size: var(--text-small);
  color: var(--color-grey);
}

.plp-sort-right {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sort-label {
  font-size: var(--text-small);
  color: var(--color-grey);
  white-space: nowrap;
}

.plp-sort-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-dark);
  background-color: transparent;
  border: 1px solid var(--color-grey-border);
  padding: 0.5rem 2rem 0.5rem 0.875rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px;
  transition: border-color var(--duration-fast) var(--ease-out-quart);
}

.plp-sort-select:hover,
.plp-sort-select:focus {
  border-color: var(--color-dark-soft);
  outline: none;
}

/* ========================================
   5. Active Filter Chips
   ======================================== */

.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: var(--space-md);
}

.active-chips[hidden] {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-dark-soft);
  background-color: var(--color-clay);
  padding: 0.3rem 0.625rem;
  border: 1px solid var(--color-clay-deep);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.filter-chip:hover {
  background-color: var(--color-clay-deep);
}

.filter-chip svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-grey);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* ========================================
   6. Product Grid (PLP)
   ======================================== */

.plp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .plp-grid {
    gap: var(--space-md);
  }
}

@media (min-width: 960px) {
  .plp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .plp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Wishlist button on card */

.btn-wish-card {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 34px;
  height: 34px;
  background-color: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart);
  z-index: 2;
}

.btn-wish-card svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-dark);
  stroke-width: 1.5;
  fill: none;
  transition: fill var(--duration-fast) var(--ease-out-quart),
              stroke var(--duration-fast) var(--ease-out-quart);
}

.product-card:hover .btn-wish-card {
  opacity: 1;
  transform: translateY(0);
}

.btn-wish-card:hover {
  background-color: var(--color-clay);
}

.btn-wish-card.wished {
  opacity: 1;
}

.btn-wish-card.wished svg {
  fill: var(--color-maroon);
  stroke: var(--color-maroon);
}

/* Fabric tag */

.product-card-fabric {
  font-size: 11px;
  color: var(--color-grey-light);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}

/* Collection label */

.product-card-collection {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-maroon);
  margin-bottom: 3px;
}

/* Bestseller badge variant */

.product-badge--seller {
  background-color: oklch(54% 0.06 55);
}

/* Product card link wrapping whole card */

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Empty state */

.plp-empty {
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
  color: var(--color-grey);
  grid-column: 1 / -1;
}

.plp-empty p {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

/* ========================================
   7. Pagination
   ======================================== */

.plp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark-soft);
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-grey-border);
  background: transparent;
  transition: border-color var(--duration-fast) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart),
              color var(--duration-fast) var(--ease-out-quart);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--color-dark-soft);
  color: var(--color-dark);
  background-color: var(--color-clay);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-btn svg {
  width: 16px;
  height: 16px;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-body);
  color: var(--color-grey);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.page-num:hover {
  color: var(--color-dark);
  border-color: var(--color-grey-border);
  background-color: var(--color-clay);
}

.page-num--active {
  color: var(--color-maroon);
  border-color: var(--color-maroon);
  background-color: transparent;
  font-weight: 600;
}

.page-ellipsis {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-light);
  font-size: var(--text-body);
}

/* ========================================
   8. Textile Story
   ======================================== */

.plp-story {
  background-color: var(--color-clay);
  padding: var(--space-3xl) 0;
}

.plp-story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .plp-story-inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

.plp-story-text .label-text {
  color: var(--color-maroon);
  margin-bottom: var(--space-md);
}

.plp-story-text h2 {
  margin-bottom: var(--space-md);
}

.plp-story-text p {
  color: var(--color-grey);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.plp-story-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-height: 520px;
}

.plp-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.plp-story-image:hover img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .plp-story-inner {
    direction: rtl;
  }
  .plp-story-text,
  .plp-story-image {
    direction: ltr;
  }
}

/* ========================================
   9. You May Also Like Carousel
   ======================================== */

.plp-also-like {
  padding: var(--space-3xl) 0;
}

.also-like-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.also-like-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.also-like-track {
  display: flex;
  gap: var(--space-md);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  will-change: transform;
}

.also-like-card {
  flex: 0 0 calc(50% - var(--space-md) / 2);
  min-width: 0;
}

@media (min-width: 640px) {
  .also-like-card {
    flex: 0 0 calc(33.333% - var(--space-md) * 2 / 3);
  }
}

@media (min-width: 1024px) {
  .also-like-card {
    flex: 0 0 calc(25% - var(--space-md) * 3 / 4);
  }
}

.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
  border: 1px solid var(--color-grey-border);
  color: var(--color-dark);
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart);
  z-index: 1;
}

.carousel-btn:hover:not(:disabled) {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: var(--color-cream);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ========================================
   10. PLP Newsletter
   ======================================== */

.plp-newsletter {
  background-color: var(--color-maroon-deep);
  padding: var(--space-2xl) 0;
}

.plp-newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .plp-newsletter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }
}

.plp-newsletter-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.plp-newsletter-text p {
  font-size: var(--text-small);
  color: oklch(80% 0.01 80);
  max-width: 48ch;
  line-height: 1.65;
}

.plp-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  width: 100%;
  flex-shrink: 0;
}

.plp-newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.125rem;
  border: 1px solid oklch(50% 0.005 30);
  border-right: none;
  background-color: transparent;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.plp-newsletter-form input::placeholder {
  color: oklch(55% 0.005 30);
}

.plp-newsletter-form input:focus {
  outline: none;
  border-color: oklch(65% 0.08 22);
}

.plp-newsletter-form .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

.plp-newsletter-form .btn-primary svg {
  width: 14px;
  height: 14px;
}
