/* Fonts load via <link> in store_header.php so layout CSS is not blocked by @import. */

/* Matches src/index.css + Cheryfashion Lovable UI */
:root {
  --cf-bg: 0 0% 100%;
  --cf-fg: 340 15% 12%;
  --cf-card: 0 0% 100%;
  --cf-primary: 130 45% 45%;
  --cf-primary-fg: 0 0% 100%;
  --cf-secondary: 350 80% 96%;
  --cf-secondary-fg: 340 30% 18%;
  --cf-muted: 350 40% 97%;
  --cf-muted-fg: 340 8% 45%;
  --cf-border: 350 25% 92%;
  --cf-destructive: 0 84% 60%;
  --cf-destructive-fg: 0 0% 100%;
  --cf-footer-bg: 340 20% 14%;
  --cf-footer-fg: 350 15% 78%;
  --cf-footer-heading: 0 0% 100%;
  --cf-section-alt: 350 60% 97%;
  --cf-buy-blue: #1d4ed8;
  --cf-buy-blue-hover: #1e40af;
  --cf-radius: 0.5rem;
  --cf-radius-lg: 1rem;
  --cf-radius-xl: 1.5rem;
  --cf-container: 1400px;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: hsl(var(--cf-bg));
  color: hsl(var(--cf-fg));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  top: 0 !important;
}

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

/* Only raster media — applying this to all `svg` breaks inline icons & layout */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Full-bleed / grid images must not be clamped by the global img rule */
img.cf-hero-bg {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-container {
  width: 100%;
  max-width: var(--cf-container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .cf-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cf-container {
    padding: 0 2rem;
  }
}

/* Google Translate (hidden chrome) */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#google_translate_element {
  display: none !important;
}

html.pp-lang-pending .cf-main,
html.pp-lang-pending .cf-footer,
html.pp-lang-pending .cf-header,
html.pp-lang-pending .cf-topbar,
html.pp-lang-pending .cf-announcement {
  visibility: hidden;
}

#pp-lang-splash {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 50% 42%, #dbeafe 0%, #bfdbfe 48%, #eff6ff 100%);
  align-items: center;
  justify-content: center;
}

html.pp-lang-pending #pp-lang-splash {
  display: flex !important;
}

.pp-logo-loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.pp-logo-loader::before,
.pp-logo-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.pp-logo-loader::before {
  border: 3px solid rgba(29, 78, 216, 0.25);
}

.pp-logo-loader::after {
  border: 3px solid transparent;
  border-top-color: hsl(var(--cf-primary));
  border-right-color: hsl(var(--cf-primary));
  animation: cf-spin 1.05s linear infinite;
}

@keyframes cf-spin {
  to {
    transform: rotate(360deg);
  }
}

.pp-logo-core {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(29, 78, 216, 0.2);
  display: grid;
  place-items: center;
}

.pp-logo-core img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* Announcement marquee */
.cf-announcement {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 100vw;
  background: hsl(var(--cf-secondary));
  color: hsl(var(--cf-secondary-fg));
  border-bottom: 1px solid hsl(var(--cf-border) / 0.6);
  padding: 0.5rem 0;
  overflow: hidden;
}

.cf-marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: cf-marquee 30s linear infinite;
}

.cf-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cf-marquee-item {
    font-size: 0.875rem;
  }
}

.cf-marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: hsl(var(--cf-primary));
  flex-shrink: 0;
}

@keyframes cf-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Top bar (slate) */
.cf-topbar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.75rem;
  border-bottom: 1px solid #1e293b;
}

.cf-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 0.75rem;
}

.cf-topbar a:hover {
  color: #fbbf24;
}

.cf-topbar-mail {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cf-topbar-mail {
    display: flex;
  }
}

.cf-topbar-mobile-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cf-topbar-mobile-hint {
    display: none;
  }
}

.cf-topbar-trust {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cf-topbar-trust {
    display: flex;
  }
}

.cf-topbar-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cf-topbar-sep {
  color: #334155;
}

.cf-icon-amber {
  color: #fbbf24;
  flex-shrink: 0;
}

.cf-lang-select {
  border: 1px solid #334155;
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 999px;
  font-size: 11px;
  padding: 0.2rem 0.5rem;
  max-width: 140px;
}

/* Header */
.cf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--cf-bg) / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--cf-border));
}

.cf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cf-header-inner {
    min-height: 6rem;
  }
}

.cf-brand {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  max-width: min(300px, 78vw);
}

.cf-brand-logo {
  height: 3.5rem;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  .cf-brand-logo {
    height: 4rem;
  }
}

.cf-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cf-nav-desktop {
    display: flex;
  }
}

.cf-nav-desktop a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: hsl(var(--cf-fg) / 0.8);
  text-transform: uppercase;
  transition: color 0.15s;
}

.cf-nav-desktop a:hover {
  color: hsl(var(--cf-primary));
}

.cf-nav-desktop a.active {
  color: hsl(var(--cf-primary));
}

.cf-nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 2px;
  border-radius: 999px;
  background: hsl(var(--cf-primary));
}

.cf-burger {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: 0;
  color: hsl(var(--cf-fg));
  cursor: pointer;
}

@media (min-width: 768px) {
  .cf-burger {
    display: none;
  }
}

.cf-nav-mobile {
  display: none;
  border-top: 1px solid hsl(var(--cf-border));
  background: hsl(var(--cf-bg));
  padding: 0 1rem 1rem;
}

.cf-nav-mobile.is-open {
  display: block;
}

@media (min-width: 768px) {
  .cf-nav-mobile {
    display: none !important;
  }
}

.cf-nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid hsl(var(--cf-border));
  color: hsl(var(--cf-muted-fg));
}

.cf-nav-mobile a:last-child {
  border-bottom: 0;
}

.cf-nav-mobile a.active {
  color: hsl(var(--cf-primary));
}

/* Main */
.cf-main {
  flex: 1;
}

/* Hero (home) */
.cf-hero {
  position: relative;
  overflow: hidden;
  background: hsl(var(--cf-secondary));
  min-height: 22rem;
}

@media (min-width: 768px) {
  .cf-hero {
    min-height: 28rem;
  }
}

.cf-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.cf-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    hsl(var(--cf-bg) / 0.8) 0%,
    hsl(var(--cf-bg) / 0.4) 45%,
    transparent 100%
  );
}

.cf-hero-inner {
  position: relative;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .cf-hero-inner {
    padding: 6rem 0 10rem;
  }
}

.cf-hero-content {
  max-width: 36rem;
}

.cf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: hsl(var(--cf-bg) / 0.8);
  backdrop-filter: blur(8px);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid hsl(var(--cf-border));
  color: hsl(var(--cf-fg) / 0.8);
}

.cf-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: hsl(var(--cf-primary));
  animation: cf-pulse 2s ease-in-out infinite;
}

@keyframes cf-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.cf-hero h1 {
  margin: 1.5rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: hsl(var(--cf-fg));
}

.cf-hero p {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--cf-fg) / 0.7);
}

@media (min-width: 768px) {
  .cf-hero p {
    font-size: 1.125rem;
  }
}

.cf-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  padding: 0 2rem;
  min-height: 3rem;
  border: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cf-btn-primary {
  background: hsl(var(--cf-primary));
  color: hsl(var(--cf-primary-fg));
}

.cf-btn-primary:hover {
  filter: brightness(0.92);
}

.cf-btn-outline {
  background: hsl(var(--cf-bg) / 0.7);
  backdrop-filter: blur(8px);
  color: hsl(var(--cf-fg));
  border: 1px solid hsl(var(--cf-border));
}

.cf-btn-outline:hover {
  background: hsl(var(--cf-bg));
}

.cf-btn-buy {
  background: var(--cf-buy-blue);
  color: #fff;
  width: 100%;
  min-height: 2.25rem;
  font-size: 0.75rem;
  padding: 0 0.75rem;
  border-radius: 999px;
}

.cf-btn-buy:hover {
  background: var(--cf-buy-blue-hover);
}

.cf-btn-buy-lg {
  min-height: 2.75rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .cf-btn-buy-lg {
    min-height: 3rem;
    font-size: 1rem;
  }
}

/* Stats strip */
.cf-stats {
  border-bottom: 1px solid hsl(var(--cf-border));
  background: hsl(var(--cf-bg));
}

.cf-stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cf-stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cf-stat-val {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--cf-fg));
}

@media (min-width: 768px) {
  .cf-stat-val {
    font-size: 1.875rem;
  }
}

.cf-stat-label {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--cf-muted-fg));
}

@media (min-width: 768px) {
  .cf-stat-label {
    font-size: 0.75rem;
  }
}

/* Section titles */
.cf-kicker {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: hsl(var(--cf-primary));
  margin: 0;
}

.cf-kicker--left {
  text-align: left;
}

.cf-heading-center {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0.75rem 0 0;
  color: hsl(var(--cf-fg));
}

.cf-subsection-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0.5rem 0 0;
  color: hsl(var(--cf-fg));
  text-align: left;
}

.cf-section {
  padding: 4rem 0;
}

.cf-section-alt {
  background: hsl(var(--cf-secondary) / 0.4);
}

/* Feature cards */
.cf-features-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

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

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

.cf-feature-card {
  border-radius: var(--cf-radius-xl);
  border: 1px solid hsl(var(--cf-border));
  background: hsl(var(--cf-card));
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cf-feature-card:hover {
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.08);
  transform: translateY(-2px);
}

.cf-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: hsl(var(--cf-secondary));
  color: hsl(var(--cf-primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-feature-card h3 {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.cf-feature-card p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: hsl(var(--cf-muted-fg));
  line-height: 1.5;
}

/* Product grid (home + products + collection) */
.cf-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.cf-link-all {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--cf-primary));
}

.cf-link-all:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .cf-link-all {
    display: inline-flex;
  }
}

.cf-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .cf-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

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

.cf-products-grid.cf-products-page .cf-product-card {
  border-radius: var(--cf-radius-lg);
}

.cf-product-card {
  border: 1px solid hsl(var(--cf-border));
  border-radius: var(--cf-radius-xl);
  overflow: hidden;
  background: hsl(var(--cf-card));
  transition: box-shadow 0.2s;
}

.cf-product-card:hover {
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
}

.cf-product-card a.cf-product-link {
  display: block;
  color: inherit;
}

.cf-product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: hsl(var(--cf-secondary));
  overflow: hidden;
}

.cf-product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transition: opacity 0.5s, transform 0.5s;
}

.cf-product-card:hover .cf-img-primary {
  opacity: 0;
  transform: scale(1.05);
}

.cf-product-card:hover .cf-img-hover {
  opacity: 1;
  transform: scale(1.05);
}

.cf-img-hover {
  opacity: 0;
}

.cf-badge-sale {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: hsl(var(--cf-destructive));
  color: hsl(var(--cf-destructive-fg));
  font-size: 10px;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.cf-product-body {
  padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
  .cf-product-body {
    padding: 1rem 1.25rem;
  }
}

.cf-product-body h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--cf-fg));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cf-product-body h3 {
    font-size: 1rem;
  }
}

.cf-price-row {
  margin-top: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.cf-price {
  font-weight: 700;
  color: hsl(var(--cf-fg));
}

.cf-price-old {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: hsl(var(--cf-muted-fg));
}

.cf-product-actions {
  padding: 0 0.75rem 0.75rem;
}

@media (min-width: 768px) {
  .cf-product-actions {
    padding: 0 1rem 1rem;
  }
}

.cf-center-btn {
  margin-top: 2.5rem;
  text-align: center;
}

/* CTA dark block */
.cf-cta-dark {
  border-radius: var(--cf-radius-xl);
  background: hsl(var(--cf-fg));
  color: hsl(var(--cf-bg));
  padding: 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cf-cta-dark {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    border-radius: 1.5rem;
  }
}

.cf-cta-dark h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.cf-cta-dark > div > p {
  margin: 0.75rem 0 0;
  color: hsl(var(--cf-bg) / 0.7);
  line-height: 1.6;
}

.cf-cta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cf-cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsl(var(--cf-bg) / 0.85);
  font-size: 0.9375rem;
}

.cf-cta-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: hsl(var(--cf-primary));
}

/* Product detail */
.cf-pd {
  padding: 1.5rem 0 5rem;
}

@media (min-width: 768px) {
  .cf-pd {
    padding: 2rem 0 6rem;
  }
}

.cf-pd-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .cf-pd-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.cf-pd-main-img {
  aspect-ratio: 1;
  background: hsl(var(--cf-secondary));
  border-radius: var(--cf-radius-lg);
  overflow: hidden;
}

.cf-pd-main-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
}

.cf-pd-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.cf-pd-thumb {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid hsl(var(--cf-border));
  padding: 0;
  background: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .cf-pd-thumb {
    width: 5rem;
    height: 5rem;
  }
}

.cf-pd-thumb.is-selected {
  border-color: hsl(var(--cf-primary));
}

.cf-pd-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
}

.cf-pd-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

.cf-pd-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cf-pd-prices .cf-price-lg {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .cf-pd-prices .cf-price-lg {
    font-size: 1.875rem;
  }
}

.cf-pd-prices .cf-price-strike {
  font-size: 1.125rem;
  text-decoration: line-through;
  color: hsl(var(--cf-muted-fg));
}

.cf-pct-badge {
  background: hsl(var(--cf-destructive));
  color: hsl(var(--cf-destructive-fg));
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.cf-pd-ready {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: var(--cf-radius-lg);
  border: 1px solid hsl(var(--cf-primary) / 0.2);
  background: hsl(var(--cf-primary) / 0.05);
  padding: 1rem;
  margin-top: 1rem;
}

.cf-pd-ready h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.cf-pd-ready p {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--cf-muted-fg));
}

.cf-pay-box {
  margin-top: 1rem;
  border-radius: var(--cf-radius-lg);
  border: 1px solid hsl(var(--cf-border));
  background: hsl(var(--cf-card));
  padding: 1rem;
}

.cf-pay-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--cf-muted-fg));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cf-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.cf-pay-pill {
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid hsl(var(--cf-border));
  background: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.cf-pay-secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--cf-border));
  font-size: 0.75rem;
  font-weight: 600;
}

.cf-pd-ship {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--cf-muted-fg));
}

.cf-pd-desc {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--cf-border));
}

.cf-desc-section {
  background: hsl(var(--cf-section-alt));
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .cf-desc-section {
    padding: 3rem 0;
  }
}

.cf-desc-inner {
  max-width: 48rem;
  margin: 0 auto;
  color: hsl(var(--cf-muted-fg));
  font-size: 0.875rem;
  line-height: 1.65;
  white-space: pre-line;
}

.cf-pd-info > * + * {
  margin-top: 1.5rem;
}

/* Fixed mobile buy bar */
.cf-buy-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: 1px solid hsl(var(--cf-border));
  background: hsl(var(--cf-bg) / 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 12px -4px rgb(0 0 0 / 0.15);
  padding: 0.75rem 0;
}

.cf-buy-sticky-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-buy-sticky img {
  width: 3rem;
  height: 3rem;
  max-width: none;
  max-height: none;
  border-radius: 0.375rem;
  object-fit: cover;
  border: 1px solid hsl(var(--cf-border));
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cf-buy-sticky img {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.cf-buy-sticky-info {
  flex: 1;
  min-width: 0;
}

.cf-buy-sticky-info strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .cf-buy-sticky-info strong {
    font-size: 0.875rem;
  }
}

.cf-buy-sticky-price {
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .cf-buy-sticky-price {
    font-size: 1rem;
  }
}

.cf-buy-sticky .cf-btn-buy {
  width: auto;
  flex-shrink: 0;
  padding: 0 1rem;
  min-height: 2.75rem;
}

.cf-pd-wrap {
  padding-bottom: 5.5rem;
}

.cf-shrink {
  flex-shrink: 0;
}

.cf-form button[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  background: hsl(var(--cf-primary));
  color: hsl(var(--cf-primary-fg));
}

.cf-form button[type="submit"]:hover {
  filter: brightness(0.92);
}

/* Footer */
.cf-footer {
  background: hsl(var(--cf-footer-bg));
  color: hsl(var(--cf-footer-fg));
  margin-top: 0;
}

.cf-footer-inner {
  padding: 3rem 0;
}

.cf-footer-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .cf-footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.cf-footer-logo {
  height: 3.5rem;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
}

.cf-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--cf-footer-heading));
}

.cf-footer a {
  display: block;
  margin: 0.35rem 0;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.cf-footer a:hover {
  color: hsl(var(--cf-footer-heading));
}

.cf-footer p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.cf-footer-copy {
  border-top: 1px solid hsl(var(--cf-footer-fg) / 0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
}

/* Narrow pages */
.cf-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.cf-panel {
  background: hsl(var(--cf-card));
  border: 1px solid hsl(var(--cf-border));
  border-radius: var(--cf-radius-xl);
  padding: 1.25rem;
}

.cf-form {
  display: grid;
  gap: 0.65rem;
}

.cf-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--cf-fg));
}

.cf-form input {
  border: 1px solid hsl(var(--cf-border));
  border-radius: var(--cf-radius-lg);
  padding: 0.65rem 0.75rem;
  font-size: 0.9375rem;
}

.cf-page-title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.cf-muted {
  color: hsl(var(--cf-muted-fg));
}

.cf-text-sm {
  font-size: 0.875rem;
}

.cf-mt-8 {
  margin-top: 2rem;
}

.policy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
}

.policy p {
  line-height: 1.65;
  color: hsl(var(--cf-muted-fg));
}
