/* ----------------------------------------------------------
   Global theme
---------------------------------------------------------- */

:root {
  --color-bg: #f7f7f4;
  --color-surface: #ffffff;
  --color-surface-muted: #f0f0ea;
  --color-text: #171717;
  --color-text-muted: #6b6b6b;
  --color-accent: #9f8a5a;
  --color-accent-soft: #c9b994;
  --color-border-subtle: #e3e3dd;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-light: 0 8px 20px rgba(15, 23, 42, 0.04);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;
}

/* ----------------------------------------------------------
   Base layout
---------------------------------------------------------- */

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.page-content {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* ----------------------------------------------------------
   Header / nav (base.html)
---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 247, 244, 0.94);
  border-bottom: 1px solid rgba(227, 227, 221, 0.6);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ----------------------------------------------------------
   Shared utilities
---------------------------------------------------------- */

.home {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.section {
  margin-top: 1.5rem;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  font-size: 1.6rem;
  margin: 0 0 0.35rem;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 460px;
  font-size: 0.95rem;
}

.section-heading-center {
  text-align: center;
}

.section-heading-center p {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease,
    transform 0.08s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #8a7649;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(151, 151, 139, 0.4);
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost:hover {
  background: #ffffff;
}

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* Links */

.link-underline {
  position: relative;
  font-size: 0.85rem;
  color: var(--color-text);
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05rem;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.link-underline:hover::after {
  transform: scaleX(1);
}

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */

.hero {
  margin-top: 0.75rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0.35rem 0 0.8rem;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--color-text-muted);
  max-width: 470px;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual */

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: linear-gradient(135deg, #dde2d7, #f7f7f4);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-soft);
}

.hero-card-image {
  height: 190px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 30% 20%, #fafafa, #c6d2c0);
}

.hero-card-body {
  margin-top: 1rem;
}

.hero-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.hero-card-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.hero-card-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   PRODUCTS GRID
---------------------------------------------------------- */

.section-products {
  margin-top: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-image-link {
  display: block;
}

.product-card-image {
  position: relative;
  padding-top: 62%;
  background-color: var(--color-surface-muted);
  background-size: cover;
  background-position: center;
}

.product-card-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.product-card-body {
  padding: 1.1rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-card-title {
  margin: 0;
  font-size: 1.02rem;
}

.product-card-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.product-card-description {
  margin: 0.1rem 0 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.product-card-footer {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card-price {
  font-weight: 600;
  font-size: 0.98rem;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.empty-state {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ----------------------------------------------------------
   STORY SECTION
---------------------------------------------------------- */

.section-story {
  margin-top: 3rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.story-copy h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.8rem;
}

.story-copy p {
  margin: 0 0 0.7rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 520px;
}

.story-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-card {
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
}

.story-card-large {
  height: 210px;
  background: linear-gradient(135deg, #d7ddd0, #f7f7f4);
}

.story-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.story-card-small {
  height: 120px;
}

.story-card-muted {
  background: #e5e2d6;
}

/* ----------------------------------------------------------
   WHY SECTION
---------------------------------------------------------- */

.section-why {
  margin-top: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: transparent;
  padding: 1.2rem 1.1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(227, 227, 221, 0.8);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0efe5;
  margin-bottom: 0.7rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   HIGHLIGHT SECTION
---------------------------------------------------------- */

.section-highlight {
  margin-top: 2.5rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.highlight-image {
  height: 240px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 10%, #ffffff, #d6dbcf);
  box-shadow: var(--shadow-soft);
}

.highlight-copy h2 {
  margin: 0.4rem 0 0.7rem;
}

.highlight-copy p {
  margin: 0 0 0.7rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

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

.site-footer {
  border-top: 1px solid rgba(227, 227, 221, 0.7);
  padding: 1.3rem 1.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

@media (max-width: 1024px) {
  .hero-inner,
  .story-grid,
  .highlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero-inner {
    gap: 2.2rem;
  }

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

  .story-card-large {
    height: 180px;
  }

  .highlight-image {
    height: 200px;
  }
}

/* =========================
   Cart page – card-style items
   ========================= */

/* Layout container is already defined as .cart-layout */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

/* Page heading + subtitle */
.cart-items {
  max-width: 520px;
}

.page-title {
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

.cart-subtitle {
  margin: 0 0 1.8rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Item list */
.cart-item-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-item-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Left side of each line item */
.cart-item-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cart-item-image-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, #fdfcf9, #e4e0d2);
  flex-shrink: 0;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-item-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.cart-item-subtitle {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: #777;
  margin: 0.25rem 0 0;
}

.cart-item-price {
  font-weight: 600;
  margin-left: 0.35rem;
}

/* Right side – qty + line total + remove */
.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

/* Quantity pill (reusing your existing qty styles) */
.cart-item-qty-control {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.cart-item-qty-label {
  font-size: 0.75rem;
  color: #777;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: #f5f5f7;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.qty-button {
  border: none;
  background: #ffffff;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease, transform 0.08s ease;
}

.qty-button:hover {
  background: #f0f0f2;
}

.qty-button:active {
  transform: scale(0.96);
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 500;
}

/* Line total + remove */
.cart-item-line-total {
  text-align: right;
}

.cart-item-line-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.cart-item-line-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-remove {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
}

.cart-item-remove:hover {
  color: #6b7280;
}

/* Keep your existing summary card styles; just make buttons full-width */
.cart-summary-button {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  margin-top: 0.8rem;
}

.cart-summary-secondary {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  margin-top: 0.5rem;
  color: #e5e7eb;
  text-decoration: none;
}

.cart-summary-secondary:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-summary-card {
    order: -1;
  }

  .cart-item-card {
    align-items: flex-start;
  }

  .cart-item-side {
    align-items: flex-start;
  }
}


/* PANEL CONTAINER */
.payment-panel {
  background: #ffffff;
  padding: 2rem 2.25rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  max-width: 480px;
}

.payment-panel__title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.payment-panel__subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* FORM LAYOUT */
.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

/* INPUTS */
.field__input,
.field__card-grid input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  color: #111827;
  outline: none;
  background-color: #f9fafb;
}

.field__input::placeholder {
  color: #9ca3af;
}

.field__input:focus {
  border-color: #4f46e5;
  background-color: #ffffff;
}

/* EMAIL WITH STATUS DOT */
.field__input-wrapper {
  position: relative;
}

.field__status-dot {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

/* CARD GRID */
.field__card-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
}

/* ADDRESS GRID */
.field__stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field__address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
}

/* TOTALS */
.order-totals {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #374151;
}

.order-totals__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.order-totals__row--total {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* BUTTON */
.pay-button {
  margin-top: 1.25rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.pay-button:hover {
  background: #020617;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.pay-button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* MOBILE TWEAKS */
@media (max-width: 768px) {
  .payment-panel {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem 1.25rem;
  }

  .field__card-grid,
  .field__address-grid {
    grid-template-columns: 1fr;
  }
}



.cart-empty {
  width: 100%;
  min-height: 60vh;
  padding-top: 4rem;
  padding-bottom: 6rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: #222;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.75;
}

.cart-empty-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cart-empty-text {
  font-size: 1.1rem;
  opacity: 0.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.btn-empty-cart {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.btn-empty-cart:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.btn-empty-cart:active {
  transform: translateY(0);
  box-shadow: none;
}


.orders-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.orders-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.no-orders {
  font-size: 1.1rem;
  opacity: 0.7;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ORDER CARD */
.order-card {
  background: #fff;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.order-id {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.order-date {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 0.25rem;
}

/* STATUS BADGE */
.order-status {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.order-status.paid {
  background: #ecfdf5;
  color: #059669;
}

.order-status.pending {
  background: #fef3c7;
  color: #d97706;
}

.order-status.cancelled {
  background: #fee2e2;
  color: #dc2626;
}

/* ORDER BODY */
.order-card-body {
  margin-top: 1.25rem;
}

.order-total {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.order-items {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.order-item-name {
  flex: 1;
}

.order-item-qty {
  width: 40px;
  text-align: right;
  opacity: 0.7;
}

.order-item-price {
  width: 80px;
  text-align: right;
}

.account-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.account-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 2rem 2.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Header */
.account-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  background: radial-gradient(circle at 20% 0, #e5e7eb, #111827);
  color: #f9fafb;
}

.account-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.account-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.account-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
}

/* Details */
.account-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.detail-label {
  font-weight: 600;
  color: #4b5563;
}

.detail-value {
  color: #111827;
}

/* Actions */
.account-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-account-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75re
}


/* PRODUCT PAGE */
.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #4b5563;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.product-back-link:hover {
  color: #111827;
  text-decoration: underline;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

/* MEDIA */
.product-media {
  background: #f3f4f6;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.product-image-placeholder {
  width: 100%;
  padding-top: 75%; /* 4:3 ratio */
  border-radius: 12px;
  background: repeating-linear-gradient(
    45deg,
    #e5e7eb,
    #e5e7eb 10px,
    #f3f4f6 10px,
    #f3f4f6 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #6b7280;
}

/* INFO */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.product-tagline {
  font-size: 1rem;
  color: #4b5563;
}

/* ADD TO CART */
.product-add-form {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-qty-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  display: block;
  margin-bottom: 0.35rem;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-qty-input {
  width: 72px;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.9rem;
}

.product-add-btn {
  padding-inline: 1.4rem;
  padding-block: 0.65rem;
  font-size: 0.95rem;
}

/* SHIPPING / SECTION */
.product-shipping-note {
  font-size: 0.95rem;
  color: #4b5563;
}

.product-section {
  margin-top: 1rem;
}

.product-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-page {
    padding-inline: 1.25rem;
  }
}


/* STORY VISUAL LAYOUT */
.story-visual{
  display: grid;
  gap: 18px; /* spacing between big card and row */
}

.story-card-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Base card behavior */
.story-card{
  width: 100%;
  border-radius: 18px;               /* match your rounded style */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;       /* change per-image if needed */
  overflow: hidden;
}

/* ✅ Match your actual screenshot proportions */
.story-card-large{
  aspect-ratio: 24 / 10;             /* ~2.4:1 (wide banner-like) */
}

.story-card-small{
  aspect-ratio: 16 / 9;              /* wide small cards */
}

.story-card-muted{
  opacity: 0.98;                      /* keep if you like the “muted” feel */
}

.btn-primary {
  background-color: #b59a5b; /* warm brass / oak tone */
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary:hover {
  background-color: #a88d52;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}


.btn-secondary {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.btn-secondary:hover {
  border-color: #bbb;
  background-color: #f6f6f4;
}

.product-qty-row {
  display: flex;
  gap: 14px;
  align-items: center;
}


.product-qty-input {
  width: 70px;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid #ddd;
}
