/* Packaged via lnkz/ci-templates .package-docker (improvement I). */
:root {
  --sand: #f9efe2;
  --peach: #f4bba8;
  --rose: #e89b8a;
  --brown: #8f4e2b;
  --cream: #fff7f0;
  --ink: #3c2a1d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, #fef3e8 0, transparent 24%),
    radial-gradient(circle at 80% 10%, #fde6d9 0, transparent 22%),
    radial-gradient(circle at 50% 80%, #f8e5d6 0, transparent 25%), var(--cream);
  min-height: 100vh;
}

.content-shell {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 20px clamp(18px, 4vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pill-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.pill-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.hero {
  padding: 10px clamp(18px, 4vw, 40px) 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: center;
}

.hero-text h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--brown);
}

.hero-text p {
  margin: 0 0 16px;
  max-width: 640px;
  line-height: 1.6;
}

.feature-card {
  max-width: 420px;
  margin: auto;
}

.hero-preview {
  background: radial-gradient(
      circle at 20% 30%,
      #fde2d4 0,
      #fde2d4 28%,
      transparent 35%
    ),
    radial-gradient(circle at 70% 40%, #f9d4b7 0, #f9d4b7 30%, transparent 40%),
    linear-gradient(135deg, #fbdccf, #f4bba8);
}

.feature-note {
  margin: 10px 0 0;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 14px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(120deg, var(--peach), var(--rose));
  color: #3b2415;
  box-shadow: 0 12px 30px rgba(232, 155, 138, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--brown);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.catalog {
  padding: 10px clamp(18px, 4vw, 40px) 60px;
}

.catalog h2 {
  margin: 0 0 14px;
  font-size: 26px;
  color: var(--brown);
}

.catalog p.note {
  margin: 0 0 20px;
  color: #5a4332;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.art-preview {
  position: relative;
  padding-top: 75%;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #fbdccf, #f4bba8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.art-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-preview span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #3b2415;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card h3 {
  margin: 0;
  color: var(--brown);
  font-size: 18px;
}

.card p {
  margin: 0;
  color: #5a4332;
  line-height: 1.5;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: #fff7f0;
  border: 1px solid #f4bba8;
  color: #7a4426;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

.format-toggle {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fdf4eb;
  border-radius: 12px;
}

.format-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  color: #5a4332;
  cursor: pointer;
  transition: background 120ms ease, box-shadow 120ms ease;
}

.format-toggle button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
  color: var(--brown);
}

.format-toggle button.sold-out {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.price {
  font-weight: 800;
  color: var(--brown);
  font-size: 18px;
}

.summary {
  margin-top: 26px;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.summary h3 {
  margin: 0 0 10px;
  color: var(--brown);
}

.summary ul {
  padding-left: 16px;
  margin: 0 0 12px;
  color: #5a4332;
}

.summary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0e8e0;
}

.summary li:last-child {
  border-bottom: none;
}

.item-info {
  flex: 1;
}

.remove-btn {
  background: none;
  border: none;
  color: #e89b8a;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
}

.remove-btn:hover {
  background: #fef3e8;
  color: #d84a3a;
}

.remove-btn:active {
  transform: scale(0.95);
}

.summary .empty {
  color: #7a6b5f;
}

.sold-out-tag {
  background: #f9d4b7;
  color: #6a2f1b;
  border-color: #e89b8a;
}

.original-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
}

.original-label {
  font-weight: 700;
  color: var(--brown);
}

.original-btn {
  font-weight: 700;
}

.detail {
  padding: 20px clamp(18px, 4vw, 40px) 60px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-gallery img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.detail-info h1 {
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 8px;
  font-weight: 700;
}

.detail-info p {
  line-height: 1.7;
}

.detail-block {
  margin-top: 14px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.detail-block h3 {
  margin: 0 0 8px;
  color: var(--brown);
}

.format-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}

.format-row span {
  font-weight: 600;
  color: #5a4332;
}

/* Product Links */
.product-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0e8e0;
}

.product-link {
  display: inline-block;
  padding: 8px 12px;
  background: #fef7f2;
  color: var(--brown);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid #f4bba8;
}

.product-link:hover {
  background: var(--peach);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 187, 168, 0.3);
}

.product-link.sold-out {
  opacity: 0.6;
  pointer-events: none;
  background: #f5f5f5;
  border-color: #ddd;
  color: #999;
}

.product-link.view-artwork {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}

.product-link.view-artwork:hover {
  background: #6a3518;
  border-color: #6a3518;
  box-shadow: 0 4px 12px rgba(143, 78, 43, 0.3);
}

/* Product Page Styling within Detail Layout */
.detail-info h2 {
  font-size: 1.5rem;
  color: var(--peach);
  margin-bottom: 16px;
  font-weight: 600;
}

.detail-info .description {
  color: #6d5443;
  line-height: 1.6;
  margin-bottom: 16px;
}

.long-description {
  margin-bottom: 24px;
  color: #5a4332;
  line-height: 1.7;
}

.long-description h3,
.long-description h4 {
  color: var(--brown);
  margin-top: 20px;
  margin-bottom: 8px;
}

.long-description p {
  margin-bottom: 12px;
}

.product-details {
  margin-top: 24px;
  padding: 20px;
  background: #fef7f2;
  border-radius: 12px;
  border: 1px solid #f4bba8;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}

.price .amount {
  font-size: 1.8rem;
}

.availability {
  margin-bottom: 12px;
  font-weight: 600;
}

.in-stock {
  color: #2d5a2d;
}

.out-of-stock {
  color: #a94442;
}

.sku {
  color: #6d5443;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.add-to-basket-btn {
  width: 100%;
  padding: 12px;
  background: var(--peach);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 16px;
}

.add-to-basket-btn:hover:not(:disabled) {
  background: #d48a6b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 138, 107, 0.3);
}

.add-to-basket-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.other-products {
  margin-top: 40px;
  padding: 24px;
  background: #fef7f2;
  border-radius: 12px;
  border: 1px solid #f4bba8;
}

.other-products h3 {
  color: var(--brown);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.product-card {
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #f0e8e0;
  text-align: center;
  transition: all 0.2s ease;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s ease;
}

.product-card-link:hover .product-card {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--peach);
}

.product-name {
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.product-price {
  color: var(--peach);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-availability {
  font-size: 0.9rem;
  font-weight: 600;
}

.faqs {
  margin-top: 40px;
  padding: 24px;
  background: #fef7f2;
  border-radius: 12px;
  border: 1px solid #f4bba8;
}

.faqs h3 {
  color: var(--brown);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid #f0e8e0;
  padding-bottom: 16px;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h4 {
  color: var(--brown);
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item div {
  color: #5a4332;
  line-height: 1.6;
}

.faq-item div p {
  margin-bottom: 8px;
}

.faq-item div p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .detail-info h1 {
    font-size: 1.5rem;
  }

  .detail-info h2 {
    font-size: 1.25rem;
  }

  .price .amount {
    font-size: 1.5rem;
  }

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

footer {
  padding: 20px;
  text-align: center;
  color: #6d5443;
}

.error-wrap {
  padding: 40px clamp(18px, 5vw, 54px) 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 160px);
  justify-items: center;
  text-align: center;
}

.error-text h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--brown);
}

.error-text p {
  margin: 0 0 14px;
  line-height: 1.6;
  color: #5a4332;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff7f0;
  color: #7a4426;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
}

.error-visual {
  max-width: 460px;
  margin: auto;
}

.error-wrap .cta-row {
  justify-content: center;
}

.error-illustration {
  background: radial-gradient(
      circle at 25% 30%,
      #fde2d4 0,
      #fde2d4 28%,
      transparent 36%
    ),
    radial-gradient(circle at 70% 25%, #f9d4b7 0, #f9d4b7 32%, transparent 42%),
    radial-gradient(circle at 50% 75%, #f8e0c9 0, #f8e0c9 30%, transparent 40%),
    linear-gradient(135deg, #fbdccf, #f4bba8);
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Newsletter Popup */
.newsletter-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.newsletter-popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-popup-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

.newsletter-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.newsletter-popup-close:hover {
  background-color: #f5f5f5;
}

.newsletter-popup h3 {
  margin: 0 0 16px 0;
  color: var(--brown);
  font-size: 24px;
  font-weight: 600;
}

.newsletter-popup p {
  margin: 0 0 24px 0;
  color: #666;
  line-height: 1.5;
}

.newsletter-popup .form-group {
  margin-bottom: 16px;
}

.newsletter-popup input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.newsletter-popup input:focus {
  outline: none;
  border-color: var(--peach);
  box-shadow: 0 0 0 2px rgba(244, 187, 168, 0.2);
}

.newsletter-popup .btn {
  width: 100%;
  padding: 12px;
  background: var(--peach);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter-popup .btn:hover {
  background: var(--rose);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contact page styles */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}
.contact-hero {
  text-align: center;
  margin-bottom: 48px;
}
.lily-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  border: 4px solid var(--cream);
}
.about-lily {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--ink);
}
.contact-form-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 48px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--peach);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.submit-btn {
  background: linear-gradient(120deg, var(--peach), var(--rose));
  color: var(--ink);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.submit-btn:hover {
  background: linear-gradient(120deg, var(--rose), var(--peach));
}
.submit-btn:disabled {
  background: var(--cream);
  cursor: not-allowed;
}
.success-message {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 6px;
  margin-top: 16px;
  border: 1px solid #c3e6cb;
}
.error-message {
  display: none;
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 6px;
  margin-top: 16px;
  border: 1px solid #f5c6cb;
}

/* FAQ Section Styles */
.faq-section {
  margin: 60px 0;
  padding: 0 clamp(18px, 4vw, 40px);
}

.faq-section h2 {
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 30px;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--sand);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(143, 78, 43, 0.1);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.faq-answer {
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

.faq-answer p {
  margin: 8px 0;
}

.faq-answer p:first-child {
  margin-top: 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 12px 0;
  padding-left: 24px;
}

.faq-answer li {
  margin: 6px 0;
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.7);
  margin: 40px 0;
}

.faq-section .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--rose);
  margin: 15px auto 0;
  border-radius: 2px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(143, 78, 43, 0.08);
  border: 1px solid rgba(143, 78, 43, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(143, 78, 43, 0.12);
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brown);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.faq-answer {
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

.faq-answer p {
  margin: 0 0 12px 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-question {
    font-size: 1.1rem;
  }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  margin-top: 10px;
  margin-bottom: 10px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--brown);
  opacity: 0.7;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  color: var(--brown);
  opacity: 0.5;
}

.breadcrumb-list a {
  color: var(--brown);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.breadcrumb-list a:hover {
  opacity: 1;
}

.breadcrumb-list [aria-current="page"] {
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================ */
/* Page-Specific Styles Consolidated */
/* ============================================ */

/* Checkout Success & Cancel Pages */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.muted {
  color: #666;
}

.checkout-success-card,
.checkout-cancel-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.shipping-details {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.shipping-details h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.shipping-details p {
  margin: 4px 0;
  font-size: 14px;
}

/* Newsletter Page */
.newsletter-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

.newsletter-hero {
  text-align: center;
  margin-bottom: 48px;
}

.newsletter-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 48px;
}

.newsletter-preview {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  background: #fafafa;
}

.newsletter-header {
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.newsletter-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.newsletter-date {
  color: #666;
  font-size: 14px;
}

.newsletter-body {
  line-height: 1.6;
  color: #444;
}

.newsletter-body h3 {
  color: #333;
  margin: 24px 0 16px 0;
}

.newsletter-body p {
  margin-bottom: 16px;
}

.past-newsletters {
  margin-bottom: 48px;
}

.newsletter-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  background: #fff;
  transition: box-shadow 0.2s;
}

.newsletter-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-item-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.newsletter-item-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.newsletter-item-excerpt {
  color: #555;
  line-height: 1.5;
}

.subscription-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subscription-form h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #333;
}

/* Newsletter Verification Page */
.verify-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 24px;
  text-align: center;
}

.verify-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.verify-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(120deg, #f4bba8, #e89b8a);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(120deg, #f4bba8, #e89b8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #3b2415;
  font-size: 36px;
  font-weight: bold;
}

.verify-title {
  font-size: 28px;
  font-weight: 700;
  color: #8f4e2b;
  margin-bottom: 16px;
}

.verify-message {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 32px;
}

.verify-button {
  display: inline-block;
  background: linear-gradient(120deg, #f4bba8, #e89b8a);
  color: #3b2415;
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(232, 155, 138, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verify-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(232, 155, 138, 0.4);
}

.verify-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  color: #718096;
}

/* Checkout Page */
.checkout-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
}

.shipping-form {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.cart {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.row {
  display: grid;
  grid-template-columns: 32px 1fr 120px 90px 40px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.row:last-child {
  border-bottom: 0;
}

.row.total-row {
  font-weight: 700;
}

.name {
  font-weight: 600;
}

.qty {
  width: 64px;
}

.total {
  text-align: right;
  font-weight: 700;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.checkout-summary {
  font-size: 0.95rem;
  line-height: 1.4;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.summary-label {
  color: #666;
}

.summary-value {
  font-weight: 500;
}

.total-line {
  border-top: 1px solid #ddd;
  padding-top: 8px;
  margin-top: 8px;
}

.total-line .summary-label,
.total-line .summary-value {
  font-weight: 700;
  color: #111;
}

/* Product Cards Section (Item Page) */
.product-cards-section {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  margin-bottom: 4rem;
}

.product-cards-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink, #3c2a1d);
  margin-bottom: 2rem;
  text-align: center;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card.sold-out {
  opacity: 0.7;
  pointer-events: none;
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-info {
  padding: 1.5rem;
}

.product-card-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink, #3c2a1d);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown, #8f4e2b);
  margin-bottom: 0.75rem;
}

.product-card-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sold-out-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--error, #ef4444);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

@media (max-width: 768px) {
  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-cards-section {
    margin-bottom: 3rem;
  }
}

/* Utility Classes for Inline Styles */
.cursor-pointer {
  cursor: pointer;
}

.display-inline {
  display: inline;
}

/* Additional checkout page specific styles */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.right {
  text-align: right;
}
