:root {
  --pink-bg: #fff5f8;
  --pink-soft: #fbe4ec;
  --pink-accent: #f4a6c6;
  --pink-strong: #d6538c;
  --pink-strong-hover: #c13d78;
  --text-main: #3d2b30;
  --text-muted: #7a5c68;
  --white: #ffffff;
  --border: #f1cddd;
  --radius: 14px;
  --max-width: 1100px;
  --shadow: 0 4px 16px rgba(214, 83, 140, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--pink-bg);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--pink-strong);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo:hover {
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 600;
}

.main-nav a.active {
  color: var(--pink-strong);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-count {
  background: var(--pink-strong);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--pink-soft), var(--pink-bg));
  padding: 64px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  color: var(--text-main);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  background: var(--pink-strong);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--pink-strong-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--pink-strong);
  border: 2px solid var(--pink-strong);
  padding: 10px 26px;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--pink-soft);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Sections */

section {
  padding: 56px 0;
}

h2.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 36px;
}

/* Featured carousel */

.featured {
  padding-top: 8px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 16px;
  flex: 1;
  scrollbar-width: thin;
}

.carousel-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.carousel-card:hover,
.carousel-card:focus-visible {
  transform: translateY(-3px);
  text-decoration: none;
}

.carousel-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--pink-soft);
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--pink-strong);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: var(--pink-soft);
}

@media (max-width: 640px) {
  .carousel-arrow {
    display: none;
  }
}

/* Product grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--pink-soft);
}

.product-card-image {
  position: relative;
}

.ribbon {
  position: absolute;
  top: 12px;
  left: -6px;
  background: var(--pink-strong);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(214, 83, 140, 0.35);
  z-index: 1;
}

.ribbon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  border-width: 6px 6px 0 0;
  border-style: solid;
  border-color: var(--pink-strong-hover) transparent transparent transparent;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.product-card-link:hover {
  text-decoration: none;
}

.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card-actions-wrap {
  padding-top: 0;
  flex: 0;
}

.product-card-body h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-weight: 700;
  color: var(--pink-strong);
  font-size: 1.05rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

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

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* Customizable product form */

.customize-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.option-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}

.customize-form input[type="text"],
.customize-form select {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-main);
}

.customize-form input[type="text"]:focus,
.customize-form select:focus {
  outline: 2px solid var(--pink-accent);
  outline-offset: 1px;
}

.color-select-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-select-row select {
  flex: 1;
}

.swatch-preview {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
}

.cart-item-options {
  color: var(--text-muted);
  font-weight: 400;
}

/* Product detail page */

.breadcrumb {
  margin: 24px 0 0;
}

.breadcrumb a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding: 32px 0 64px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 90px;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pink-soft);
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--pink-soft);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--pink-soft);
}

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

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--pink-strong);
}

.product-info h1 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.product-price-lg {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.product-info .product-actions {
  margin-top: 4px;
}

.product-desc-full {
  white-space: pre-line;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}

.char-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}

.sold-by {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }
}

/* Cart page */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cart-table th {
  background: var(--pink-soft);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.cart-item-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.cart-item-name:hover {
  text-decoration: underline;
}

.cart-item-name img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-input {
  width: 48px;
  padding: 6px 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--pink-soft);
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover,
.qty-btn:focus-visible {
  background: var(--pink-accent);
  color: var(--white);
}

.cart-cell-label {
  display: none;
}

.remove-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.cart-summary {
  margin-top: 24px;
  text-align: right;
}

.cart-summary .subtotal {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-error {
  color: #b3273e;
  margin-top: 12px;
  text-align: right;
}

/* Checkout options (card vs local pickup) */

.checkout-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  text-align: left;
}

.checkout-option {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.checkout-option h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.checkout-option-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 14px;
}

.pickup-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.pickup-form input,
.pickup-form textarea {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-main);
  resize: vertical;
}

.pickup-form input:focus,
.pickup-form textarea:focus {
  outline: 2px solid var(--pink-accent);
  outline-offset: 1px;
}

.pickup-form .btn {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .checkout-options {
    grid-template-columns: 1fr;
  }
}

/* Order confirmation (Zelle pickup) */

.order-confirmation {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.order-confirmation h1 {
  text-align: center;
  margin-bottom: 4px;
}

.order-number {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-strong);
  margin-bottom: 24px;
}

.order-summary-table {
  width: 100%;
}

.order-summary-table td {
  padding: 10px 4px;
  border-bottom: 1px solid var(--border);
}

.order-summary-table td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.order-confirmation .subtotal {
  text-align: right;
  font-weight: 700;
  margin: 12px 0 28px;
}

.zelle-instructions {
  background: var(--pink-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}

.zelle-instructions h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.zelle-recipient {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink-strong);
}

.order-confirmation .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--text-muted);
}

/* About page */

.about-banner {
  padding-bottom: 0;
}

.about-illustration {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content {
  padding-top: 28px;
}

.about-content h2.section-title {
  margin-top: 0;
}

/* About / static content */

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 32px;
}

/* Status pages */

.status-page {
  text-align: center;
  padding: 90px 0;
}

.status-page h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.status-page p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-main);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 16px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card-body {
    padding: 12px;
    gap: 6px;
  }

  .product-card-body h3 {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 0.95rem;
  }

  .product-actions .btn {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }

  .cart-table td {
    border-bottom: none;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cart-cell-label {
    display: inline-block;
    min-width: 62px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}
