/* PAGES — Product, Cart, Checkout, Search, Auth, Account, Wishlist, Blog, Static Pages */


/* ============================================================
   CATEGORY HEADER (category page)
   ============================================================ */

.category-header { margin-bottom: var(--space-xl); }
.category-header-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  max-height: 300px;
}
.category-header-image img {
  width: 100%;
  object-fit: cover;
}
.category-description {
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
  font-size: 15px;
}


/* ============================================================
   SEO BLOCK (category page bottom)
   ============================================================ */

.seo-block {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.seo-block h2, .seo-block h3 {
  color: var(--color-text-dark);
  margin: var(--space-md) 0 var(--space-sm);
}


/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}
@media (min-width: 768px) {
  .product-layout { grid-template-columns: 55% 1fr; gap: var(--space-2xl); }
}

/* Gallery */
.product-gallery {}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-bg-light);
  margin-bottom: var(--space-md);
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}
.gallery-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-muted);
  font-size: 14px;
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  scrollbar-width: thin;
}
.gallery-thumb-btn {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--color-border);
  background: var(--color-bg-light);
  transition: border-color var(--transition);
  padding: 0;
}
.gallery-thumb-btn:hover,
.gallery-thumb-btn.active {
  border-color: var(--color-primary);
}
.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-title {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}
.product-short-desc {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* Stock Badge */
.product-stock-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  font-size: 14px;
}
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 13px;
}
.stock-badge--in { color: #16a34a; }
.stock-badge--in svg { color: #16a34a; }
.product-collection-link { color: var(--color-text-muted); font-size: 13px; }
.product-collection-link a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.product-collection-link a:hover { color: var(--color-accent-dark); }

/* Price */
.product-price-block { margin-bottom: var(--space-lg); }
.product-price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-dark);
}
.product-price-amount.product-price--request {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
  font-style: italic;
}
.product-price-amount.price-loading { opacity: 0.5; }

/* Options */
.product-options { margin-bottom: var(--space-lg); }
.option-group { margin-bottom: var(--space-md); }
.option-group-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* TYPE cards */
.type-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 600px) {
  .type-cards { grid-template-columns: repeat(2, 1fr); }
}
.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  font-family: var(--font-base);
  min-height: 100px;
}
.type-card:hover { border-color: var(--color-primary); }
.type-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.type-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.type-card-icon svg { width: 100%; height: 100%; }
.type-card.selected .type-card-icon svg rect,
.type-card.selected .type-card-icon svg line,
.type-card.selected .type-card-icon svg polygon { stroke: rgba(255,255,255,0.5); fill: rgba(255,255,255,0.15); }
.type-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
}

/* SIZE grid */
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 600px) {
  .size-grid { grid-template-columns: repeat(3, 1fr); }
}
.size-btn {
  padding: 10px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  text-align: center;
  font-family: var(--font-base);
  white-space: nowrap;
}
.size-btn:hover { border-color: var(--color-primary); }
.size-btn.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.size-btn.size-unavailable {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Add to Cart */
.add-to-cart-section {
  margin-bottom: var(--space-md);
}
.atc-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.qty-selector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.qty-btn {
  width: 40px;
  height: 48px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  user-select: none;
}
.qty-btn:first-child { border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.qty-btn:last-child  { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
.qty-btn:hover { background: var(--color-border); }
.qty-input {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  -moz-appearance: textfield;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}
input.qty-input { padding: 0; }
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.btn-add-to-cart {
  flex: 1;
  padding: 14px var(--space-lg);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-slow), transform 0.1s;
  letter-spacing: 0.03em;
  min-height: 48px;
}
.btn-add-to-cart:hover  { background: #333333; }
.btn-add-to-cart:active { transform: scale(0.98); }
.btn-wishlist {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.btn-wishlist:hover { border-color: var(--color-accent-red); color: var(--color-accent-red); }

/* Terms checkbox */
.terms-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  cursor: pointer;
}
.terms-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.terms-check a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }

.options-required-hint  { font-size: 13px; color: var(--color-text-muted); margin-top: var(--space-sm); }
.option-group--error    { outline: 2px solid var(--color-accent-red); border-radius: var(--radius-sm); padding: var(--space-sm); }

/* Action Links */
.product-action-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}
.product-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-base);
  padding: 0;
  transition: color var(--transition);
}
.product-action-link:hover { color: var(--color-accent); }
.product-action-link svg { flex-shrink: 0; }

/* Product Badges */
.product-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}
.product-badge {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.product-badge svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-text-muted);
}
.product-badge strong { color: var(--color-text-dark); }

/* Safe Checkout */
.safe-checkout {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.safe-checkout-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}
.safe-checkout-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  min-width: 48px;
  height: 28px;
}
.pay-icon--visa { color: #1a1f71; }
.pay-icon--mc { color: #eb001b; }
.pay-icon--amex { color: #006fcf; }
.pay-icon--paypal { color: #003087; }
.pay-icon--gpay { color: #4285f4; }
.pay-icon--apple { color: #333; }
.pay-icon--discover { color: #ff6000; }

/* Product Accordion */
.product-accordion {
  margin-top: 0;
}
.accordion-item {
  border-top: 1px solid var(--color-border);
}
.accordion-item:last-child {
  border-bottom: 1px solid var(--color-border);
}
.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.accordion-toggle:hover { color: var(--color-accent); }
.accordion-icon {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--transition);
  color: var(--color-text-muted);
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body { max-height: 600px; }
.accordion-content {
  padding-bottom: var(--space-lg);
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
}
.accordion-content p { margin-bottom: var(--space-sm); }
.accordion-content p:last-child { margin-bottom: 0; }
.specs-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.specs-list li { list-style: none; }
.specs-list strong { color: var(--color-text-dark); }


/* ============================================================
   SAME DESIGN TYPES
   ============================================================ */

.same-design-types {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.design-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.design-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition), color var(--transition);
}
.design-type-card:hover {
  transform: translateY(-3px);
  color: var(--color-accent);
}
.design-type-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  transition: border-color var(--transition);
}
.design-type-card:hover .design-type-image { border-color: var(--color-accent); }
.design-type-image img { width: 100%; height: 100%; object-fit: cover; }
.design-type-label { font-size: 13px; font-weight: 600; }


/* ============================================================
   RELATED PRODUCTS & RECENTLY VIEWED
   ============================================================ */

.related-products { margin-bottom: var(--space-3xl); }
.recently-viewed { margin-bottom: var(--space-3xl); }


/* ============================================================
   SEARCH PAGE
   ============================================================ */

.search-page-header { margin-bottom: var(--space-xl); }
.search-page-form { margin-bottom: var(--space-xl); }
.search-form-inner {
  display: flex;
  gap: var(--space-md);
  max-width: 640px;
}
.search-input--large {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--color-text);
  background: var(--color-surface);
}
.search-input--large:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(62,169,208,0.12);
}
.search-count {
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 14px;
}


/* ============================================================
   EMPTY STATE & ERROR PAGE
   ============================================================ */

.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}
.empty-state h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}
.empty-state p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}
.empty-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.error-page {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}
.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-md);
}
.error-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}
.error-message {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}
.error-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   CART PAGE
   ============================================================ */

.cart-page { padding: var(--space-xl) 0; }
.cart-page-title { font-size: 2rem; font-weight: 800; margin-bottom: var(--space-xl); color: var(--color-text-dark); }
.cart-empty { text-align: center; padding: var(--space-3xl) 0; }
.cart-empty p { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-xl); align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items { display: flex; flex-direction: column; gap: var(--space-md); }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  align-items: center;
}
@media (max-width: 600px) { .cart-item { grid-template-columns: 80px 1fr; } }
.cart-item-thumb { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-no-img { width: 100px; height: 100px; background: var(--color-bg-light); border-radius: var(--radius-sm); }
.cart-item-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--color-text-dark); }
.cart-item-title a { color: var(--color-text-dark); }
.cart-item-title a:hover { color: var(--color-accent); }
.cart-item-options { font-size: 13px; color: var(--color-text-muted); margin-bottom: 6px; }
.cart-item-price { font-size: 14px; color: var(--color-accent); font-weight: 600; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-sm); }
.cart-item-qty-form { display: flex; align-items: center; }
.cart-item-total { font-size: 16px; font-weight: 800; color: var(--color-text-dark); }
.btn-remove { background: none; border: none; color: var(--color-text-muted); font-size: 12px; cursor: pointer; padding: 4px 0; transition: color var(--transition); }
.btn-remove:hover { color: var(--color-accent-red); }
.cart-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}
.cart-summary-title { font-size: 1.1rem; font-weight: 800; margin-bottom: var(--space-lg); color: var(--color-text-dark); }
.cart-summary-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.cart-summary-total { display: flex; justify-content: space-between; padding-top: var(--space-md); font-size: 1.1rem; font-weight: 800; color: var(--color-text-dark); }
.btn-checkout {
  display: block; width: 100%;
  padding: 14px; margin-top: var(--space-lg);
  background: var(--color-primary); color: #fff;
  border: none; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700;
  text-align: center; text-decoration: none;
  cursor: pointer; transition: background var(--transition-slow);
}
.btn-checkout:hover { background: #333333; color: #fff; }
.btn-continue { display: block; margin-top: var(--space-md); font-size: 14px; color: var(--color-text-muted); text-align: center; }


/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.checkout-page { padding: var(--space-xl) 0; }
.checkout-title { font-size: 2rem; font-weight: 800; margin-bottom: var(--space-xl); color: var(--color-text-dark); }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-xl); align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-text-dark);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
}
.form-group { margin-bottom: var(--space-md); }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--color-text-dark); }
.form-label .req { color: var(--color-accent-red); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(62,169,208,0.12);
  background: var(--color-surface);
}
.form-textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }
.btn-place-order {
  width: 100%; padding: 16px;
  background: var(--color-primary); color: #fff;
  border: none; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 700;
  cursor: pointer; margin-top: var(--space-lg);
  transition: background var(--transition-slow), transform 0.1s;
  letter-spacing: 0.03em;
}
.btn-place-order:hover  { background: #333333; }
.btn-place-order:active { transform: scale(0.99); }
.order-review {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}
.order-review-title { font-size: 1.05rem; font-weight: 800; margin-bottom: var(--space-lg); color: var(--color-text-dark); }
.order-review-item { display: flex; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.order-review-item:last-of-type { border-bottom: none; }
.order-review-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.order-review-no-img { width: 56px; height: 56px; background: var(--color-bg-light); border-radius: var(--radius-sm); flex-shrink: 0; }
.order-review-info { flex: 1; min-width: 0; }
.order-review-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.order-review-opts { font-size: 12px; color: var(--color-text-muted); }
.order-review-price { font-size: 13px; font-weight: 700; color: var(--color-accent); white-space: nowrap; }
.order-review-total { display: flex; justify-content: space-between; padding-top: var(--space-md); font-size: 1.1rem; font-weight: 800; color: var(--color-text-dark); }


/* ============================================================
   ORDER SUCCESS
   ============================================================ */

.order-success-page { padding: var(--space-3xl) 0; text-align: center; }
.order-success-icon { font-size: 64px; line-height: 1; margin-bottom: var(--space-lg); color: #10b981; }
.order-success-title { font-size: 2.2rem; font-weight: 800; color: var(--color-text-dark); margin-bottom: var(--space-md); }
.order-success-subtitle { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: var(--space-xl); }
.order-success-box {
  display: inline-block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  min-width: 320px; max-width: 480px;
  text-align: left;
  margin-bottom: var(--space-xl);
}
.order-success-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.order-success-row:last-child { border-bottom: none; }
.order-success-row strong { color: var(--color-text-dark); }
.order-success-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }


/* ============================================================
   CLASS ALIASES — map HTML template names to CSS definitions
   ============================================================ */

/* Announcement bar: HTML uses .announcement-slide, CSS uses .announcement-bar__text */
.announcement-slider { position: relative; height: 20px; overflow: hidden; }
.announcement-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: #f3fc81; opacity: 0; transition: opacity 0.5s ease; white-space: nowrap; }
.announcement-slide.active { opacity: 1; }

/* Why Choose Us: styles in sections.css */

/* Collections: HTML uses .collections-section/.collections-more, CSS uses .car-collections/.collections-see-all */
.collections-section { padding: var(--space-section) 0; }
.collections-more { text-align: center; margin-top: 30px; }

/* Brand Story: HTML uses .brand-story-section/.brand-story-content */
.brand-story-section { padding: var(--space-section) 0; background: var(--color-bg-light); }
.brand-story-content { max-width: 800px; margin: 0 auto; text-align: center; }
.brand-story-content p { font-size: 15px; color: var(--color-text); line-height: 1.8; margin-top: 20px; }

/* Canvas vs Poster: HTML uses .canvas-poster-* */
.canvas-poster-section { padding: var(--space-section) 0; }
.canvas-poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 30px; }
.canvas-poster-card { padding: 30px; background: var(--color-white); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.canvas-poster-title { font-size: 20px; font-weight: 600; color: var(--color-heading); margin-bottom: 12px; }
.canvas-poster-card p { font-size: 14px; color: var(--color-text); line-height: 1.7; margin-top: 10px; }

/* Testimonials: HTML uses .testimonial-photo/.testimonial-name */
.testimonial-photo { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px; background: var(--color-bg-light); }
.testimonial-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e8e8e8, #f5f5f5); }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--color-heading); font-style: normal; display: block; margin-top: 12px; }

/* Collection/Category page: HTML uses .collection-header/.collection-title/.collection-count */
.collection-header { padding: 30px 0 20px; }
.collection-title { font-size: 28px; font-weight: 700; color: var(--color-heading); margin: 0; }
.collection-count { font-size: 14px; color: var(--color-text-muted); display: inline-block; margin-top: 4px; }

/* Header: search overlay, actions, logo image */
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-action-btn { background: none; border: none; cursor: pointer; padding: 8px; color: var(--color-heading); display: flex; align-items: center; justify-content: center; transition: color 0.3s; }
.header-action-btn:hover { color: var(--color-accent); }
.cart-btn { position: relative; }
.logo-image { height: 40px; width: auto; display: block; }
.nav-list { display: flex; list-style: none; gap: 28px; margin: 0; padding: 0; }
.search-overlay { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); padding: 16px 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.search-overlay.open { display: block; }
.search-overlay .search-form { display: flex; gap: 8px; align-items: center; }
.search-overlay .search-input { flex: 1; padding: 10px 16px; border: 1px solid var(--color-border); border-radius: 30px; font-size: 15px; outline: none; font-family: inherit; }
.search-overlay .search-input:focus { border-color: var(--color-accent); }
.search-submit { background: none; border: none; cursor: pointer; padding: 8px; color: var(--color-heading); }
.search-close { background: none; border: none; cursor: pointer; padding: 8px; color: var(--color-text-muted); }
.search-toggle { position: relative; }

/* Collection card placeholder in home */
.collection-card-placeholder { width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, #e0e0e0, #f0f0f0); }

/* Footer newsletter */
.footer-newsletter { padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.newsletter-form { display: flex; gap: 10px; max-width: 400px; }
.newsletter-input { flex: 1; padding: 10px 16px; border: 1px solid rgba(255,255,255,0.3); border-radius: 30px; font-size: 14px; background: transparent; color: #fff; font-family: inherit; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-btn { padding: 10px 24px; background: var(--color-accent); color: #fff; border: none; border-radius: 30px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.3s; }
.newsletter-btn:hover { background: var(--color-accent-hover); }

/* Footer social */
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; transition: background 0.3s; }
.footer-social a:hover { background: var(--color-accent); }

/* Footer contact */
.footer-contact .contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-contact .contact-item svg { flex-shrink: 0; margin-top: 2px; }

/* Payment icons in footer */
.footer-payments { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 20px 0; }

/* Responsive: Canvas-Poster, Collections */
@media (max-width: 768px) {
  .canvas-poster-grid { grid-template-columns: 1fr; }
  .collection-title { font-size: 22px; }
  .nav-list { flex-direction: column; gap: 0; }
  .header-actions { gap: 4px; }
  .logo-image { height: 32px; }
}
@media (max-width: 480px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   AUTH PAGES: Login / Register
   ============================================================ */
.auth-page {
  display: flex;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  min-height: 60vh;
}
.auth-box {
  width: 100%;
  max-width: 440px;
}
.auth-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}
.auth-subtitle {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: var(--space-xl);
}
.auth-form { display: flex; flex-direction: column; gap: var(--space-md); }
.btn-auth {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition);
  margin-top: var(--space-sm);
}
.btn-auth:hover { opacity: 0.85; }
.auth-switch {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 14px;
  color: var(--color-text-muted);
}
.auth-switch a { color: var(--color-accent); font-weight: 600; }


/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-page {
  padding: var(--space-xl) var(--space-md);
  max-width: 780px;
  margin: 0 auto;
}
.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}
.account-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.account-email {
  color: var(--color-text-muted);
  font-size: 14px;
}
.btn-logout {
  padding: 8px 20px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: border-color var(--transition), background var(--transition);
}
.btn-logout:hover { border-color: var(--color-accent-red); color: var(--color-accent-red); }
.account-section { background: var(--color-bg-light); border-radius: var(--radius-lg); padding: var(--space-lg); }
.account-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
}
.account-empty { text-align: center; padding: var(--space-xl) 0; color: var(--color-text-muted); }
.account-empty p { margin-bottom: var(--space-md); }
.btn-shop-now {
  display: inline-block;
  padding: 10px 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: opacity var(--transition);
}
.btn-shop-now:hover { opacity: 0.85; color: #fff; }
.orders-table-wrap { overflow-x: auto; }
.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.orders-table th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
}
.orders-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}
.orders-table tbody tr:last-child td { border-bottom: none; }
.order-num { font-weight: 600; color: var(--color-text-dark); font-size: 13px; }
.order-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.order-status--pending    { background: #fff8e1; color: #b07800; }
.order-status--processing { background: #e3f2fd; color: #1565c0; }
.order-status--shipped    { background: #e8f5e9; color: #2e7d32; }
.order-status--completed  { background: #e8f5e9; color: #2e7d32; }
.order-status--cancelled  { background: #ffebee; color: #c62828; }


/* ============================================================
   WISHLIST
   ============================================================ */

/* Header badge */
.wishlist-btn { position: relative; }
.wishlist-badge {
  position: absolute;
  top: -4px; right: -6px;
  min-width: 16px; height: 16px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  padding: 0 3px;
  pointer-events: none;
}

/* Product card heart button */
.product-card { position: relative; }
.wishlist-toggle {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  color: var(--color-text-muted);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.product-card:hover .wishlist-toggle,
.wishlist-toggle.is-wishlisted { opacity: 1; }
.wishlist-toggle.is-wishlisted { color: var(--color-accent-red); background: #fff; }
.wishlist-toggle:hover { background: #fff; color: var(--color-accent-red); }
.wishlist-toggle:disabled { cursor: default; opacity: .5; }

/* Wishlist page */
.wishlist-page { padding: var(--space-xl) var(--space-md); max-width: 1100px; margin: 0 auto; }
.wishlist-title { font-size: 28px; font-weight: 700; color: var(--color-text-dark); margin-bottom: var(--space-sm); }
.wishlist-count { color: var(--color-text-muted); font-size: 14px; margin-bottom: var(--space-lg); }
.wishlist-empty {
  text-align: center;
  padding: var(--space-3xl) 0;
  color: var(--color-text-muted);
}
.wishlist-empty-icon { opacity: .25; display: block; margin: 0 auto var(--space-lg); }
.wishlist-empty p { font-size: 16px; margin-bottom: var(--space-lg); }
.btn-wishlist-shop {
  display: inline-block;
  padding: 11px 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: opacity var(--transition);
}
.btn-wishlist-shop:hover { opacity: .85; color: #fff; }
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}
.wishlist-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow var(--transition);
}
.wishlist-card:hover { box-shadow: 0 4px 16px var(--color-shadow-md); }
.wishlist-card-link { display: block; color: inherit; text-decoration: none; }
.wishlist-card-img { aspect-ratio: 1; overflow: hidden; background: var(--color-bg-light); }
.wishlist-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wishlist-card:hover .wishlist-card-img img { transform: scale(1.04); }
.wishlist-no-img { display: flex; align-items: center; justify-content: center; color: var(--color-border-dark); }
.wishlist-card-info { padding: var(--space-md); }
.wishlist-card-title { font-size: 13px; font-weight: 500; color: var(--color-text-dark); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wishlist-card-price { font-size: 13px; color: var(--color-accent); font-weight: 600; }
.wishlist-card-remove {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity var(--transition), color var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.wishlist-card:hover .wishlist-card-remove { opacity: 1; }
.wishlist-card-remove:hover { color: var(--color-accent-red); }


/* ============================================================
   STATIC PAGES
   ============================================================ */
.static-page { padding: var(--space-xl) var(--space-md); max-width: 820px; margin: 0 auto; }
.static-page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: var(--space-lg) 0 var(--space-xl);
}
.static-page-content.prose { font-size: 15px; line-height: 1.8; color: var(--color-text); }
.static-page-content.prose h2 { font-size: 1.5em; font-weight: 700; margin: 1.6em 0 .6em; color: var(--color-text-dark); }
.static-page-content.prose h3 { font-size: 1.25em; font-weight: 600; margin: 1.4em 0 .5em; color: var(--color-text-dark); }
.static-page-content.prose h4 { font-size: 1.1em; font-weight: 600; margin: 1.2em 0 .4em; }
.static-page-content.prose p  { margin-bottom: .9em; }
.static-page-content.prose ul,
.static-page-content.prose ol { padding-left: 1.5em; margin-bottom: .9em; }
.static-page-content.prose li { margin-bottom: .3em; }
.static-page-content.prose a  { color: var(--color-accent); }
.static-page-content.prose a:hover { color: var(--color-accent-dark); }
.static-page-content.prose strong { font-weight: 700; color: var(--color-text-dark); }


/* ============================================================
   BLOG — LIST PAGE
   ============================================================ */

.blog-page-header {
  margin: var(--space-xl) 0 var(--space-lg);
}
.blog-page-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}
.blog-page-subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
}

.blog-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: 0 6px 24px var(--color-shadow-md);
  transform: translateY(-2px);
}

.blog-card-image-link { display: block; }
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-light);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border-dark);
}

.blog-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  text-decoration: none;
}
.blog-card-category:hover { color: var(--color-accent-dark); }
.blog-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--color-accent); }
.blog-card-excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
}
.blog-card-date {
  font-size: 12px;
  color: var(--color-text-muted);
}
.blog-card-read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}
.blog-card-read-more:hover { color: var(--color-accent-dark); }


/* ============================================================
   BLOG — SINGLE POST
   ============================================================ */

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}
@media (max-width: 900px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
}

.blog-post-header {
  margin-bottom: var(--space-xl);
}
.blog-post-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  text-decoration: none;
}
.blog-post-category:hover { color: var(--color-accent-dark); }
.blog-post-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}
.blog-post-meta {
  font-size: 13px;
  color: var(--color-text-muted);
}

.blog-post-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}
.blog-post-hero img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.blog-post-content.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
}
.blog-post-content.prose h2 { font-size: 1.45em; font-weight: 700; margin: 1.6em 0 .6em; color: var(--color-text-dark); }
.blog-post-content.prose h3 { font-size: 1.2em;  font-weight: 600; margin: 1.4em 0 .5em; color: var(--color-text-dark); }
.blog-post-content.prose p  { margin-bottom: 1em; }
.blog-post-content.prose ul,
.blog-post-content.prose ol { padding-left: 1.6em; margin-bottom: 1em; }
.blog-post-content.prose li { margin-bottom: .35em; }
.blog-post-content.prose a  { color: var(--color-accent); }
.blog-post-content.prose a:hover { color: var(--color-accent-dark); }
.blog-post-content.prose strong { font-weight: 700; color: var(--color-text-dark); }
.blog-post-content.prose img { border-radius: var(--radius-md); margin: var(--space-lg) 0; }
.blog-post-content.prose blockquote {
  border-left: 3px solid var(--color-accent);
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.blog-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--color-text);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--announce-h) + var(--space-lg));
}
.blog-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
}
.blog-recent-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.blog-recent-item {
  display: flex;
  gap: var(--space-md);
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.blog-recent-item:hover .blog-recent-title { color: var(--color-accent); }
.blog-recent-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-light);
}
.blog-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-recent-info { display: flex; flex-direction: column; gap: 4px; }
.blog-recent-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.4;
  transition: color var(--transition);
}
.blog-recent-date { font-size: 11px; color: var(--color-text-muted); }


/* ============================================================
   CART BADGE — always show count (even 0)
   ============================================================ */

.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  padding: 0 3px;
  pointer-events: none;
}


/* ============================================================
   HEADER ACTION BUTTON
   ============================================================ */

.header-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}
.header-action-btn:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* Search overlay */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.search-overlay.open { display: block; }
.search-form {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.search-input {
  flex: 1;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--color-accent); }
.search-input::placeholder { color: var(--color-text-muted); }
.search-submit,
.search-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.search-submit:hover,
.search-close:hover {
  color: var(--color-primary);
  background: var(--color-bg-light);
}

/* nav-list adjustments */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 6px 14px;
  transition: color var(--transition);
}
.nav-link:hover {
  color: var(--color-accent);
}
.nav-link.active {
  color: var(--color-accent);
  font-weight: 700;
}

/* Header actions group */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Testimonial inner padding (when no .testimonial-card-body wrapper) */
.testimonial-card .testimonial-stars,
.testimonial-card .testimonial-quote,
.testimonial-card .testimonial-author {
  padding: 0 var(--space-lg);
}
.testimonial-card .testimonial-stars { padding-top: var(--space-md); }
.testimonial-card .testimonial-author { padding-bottom: var(--space-lg); }

/* Collections section spacing */
.collections-section {
  margin-bottom: var(--space-3xl);
}
