/* Salloq Dawn Theme v1.0.0 */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size-base, 16px); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-background); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Utilities */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--color-primary); color: #fff; padding: 10px 20px; z-index: 9999; }
.skip-link:focus { top: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-weight: 500; border-radius: var(--border-radius); transition: all 0.2s ease; text-align: center; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { opacity: 0.9; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-block { display: flex; width: 100%; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--border-radius); background: var(--color-background); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Overlay */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 998; }
.overlay.active { opacity: 1; visibility: visible; }

/* Announcement Bar */
.announcement-bar { padding: 10px 0; font-size: 0.875rem; text-align: center; }
.announcement-bar a { text-decoration: underline; }

/* Header */
.site-header { position: relative; background: var(--color-background); border-bottom: 1px solid var(--color-border); z-index: 100; }
.site-header.header-sticky { position: sticky; top: 0; }
.site-header.header-transparent { position: absolute; width: 100%; background: transparent; border: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 20px; }
.header-logo img { max-height: 50px; width: auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.header-nav { display: none; gap: 32px; }
.header-nav-link { font-weight: 500; position: relative; }
.header-nav-link:hover, .header-nav-link.active { color: var(--color-secondary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-icon { position: relative; padding: 4px; }
.header-menu-toggle { display: flex; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--color-secondary); color: #fff; font-size: 10px; font-weight: 600; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-menu-toggle { display: none; }
}

/* Section Styles */
.section { padding: var(--section-spacing) 0; }
.section-header { margin-bottom: 40px; }
.section-title { margin-bottom: 8px; }
.section-subtitle { color: var(--color-text-muted); }
.section-footer { margin-top: 40px; text-align: center; }
.eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-secondary); margin-bottom: 8px; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 500px; background-size: cover; background-position: center; color: #fff; }
.hero-small { min-height: 400px; }
.hero-medium { min-height: 500px; }
.hero-large { min-height: 600px; }
.hero-xlarge { min-height: 700px; }
.hero-fullscreen { min-height: 100vh; }
.hero-overlay { position: absolute; inset: 0; background: #000; }
.hero-mobile-bg { display: none; position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 40px 20px; }
.hero-content-left { text-align: left; }
.hero-content-center { text-align: center; }
.hero-content-right { text-align: right; }
.hero-heading { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.hero-subheading { font-size: 1.25rem; margin-bottom: 24px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-content-center .hero-buttons { justify-content: center; }
.hero-content-right .hero-buttons { justify-content: flex-end; }
@media (max-width: 768px) {
  .hero-mobile-bg { display: block; }
  .hero { background-image: none !important; }
}

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-grid-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid-3 { grid-template-columns: repeat(2, 1fr); }
.product-grid-4 { grid-template-columns: repeat(2, 1fr); }
.product-grid-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .product-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .product-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Product Card */
.product-card { position: relative; }
.product-card-media { position: relative; display: block; overflow: hidden; border-radius: var(--border-radius); background: var(--color-background-secondary); }
.product-card-image { position: relative; aspect-ratio: 1; }
.product-card-img-primary { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.product-card-img-hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
.product-card:hover .product-card-img-hover { opacity: 1; }
.product-card-quick-add { position: absolute; bottom: 10px; left: 10px; right: 10px; padding: 10px; background: var(--color-background); color: var(--color-text); font-weight: 500; border-radius: var(--border-radius); opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.product-card:hover .product-card-quick-add { opacity: 1; transform: translateY(0); }
.product-card-info { padding: 12px 0; }
.product-card-vendor { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 4px; }
.product-card-title { font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.product-card-title a:hover { color: var(--color-secondary); }
.product-card-price { font-size: 0.9375rem; }

/* Product Badges */
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.badge { display: inline-block; padding: 4px 10px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; border-radius: var(--border-radius); }
.badge-sale { background: #ef4444; color: #fff; }
.badge-new { background: #4169e1; color: #fff; }
.badge-sold-out { background: #6b7280; color: #fff; }

/* Price */
.price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-regular { font-weight: 500; }
.price-sale { color: var(--color-sale); font-weight: 600; }
.price-compare { color: var(--color-text-muted); text-decoration: line-through; }

/* Collection Grid */
.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.collection-grid-3 { grid-template-columns: repeat(2, 1fr); }
.collection-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .collection-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.collection-card { display: block; position: relative; border-radius: var(--border-radius); overflow: hidden; }
.collection-card-media { aspect-ratio: 1; overflow: hidden; }
.collection-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.collection-card:hover .collection-card-media img { transform: scale(1.05); }
.collection-card-info { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); color: #fff; text-align: center; padding: 20px; }
.collection-card-title { font-size: 1.25rem; font-weight: 600; }
.collection-card-count { font-size: 0.875rem; opacity: 0.9; margin-top: 4px; }

/* Image with Text */
.image-with-text-grid { display: grid; gap: 40px; align-items: center; }
.image-with-text-image { border-radius: var(--border-radius); overflow: hidden; }
.image-with-text-image img { width: 100%; }
.image-with-text-content { padding: 20px 0; }
.image-with-text-text { margin-bottom: 24px; color: var(--color-text-muted); }
@media (min-width: 768px) {
  .image-with-text-grid { grid-template-columns: 1fr 1fr; }
  .image-with-text-reversed .image-with-text-image { order: 2; }
}

/* Testimonials */
.testimonials-grid { display: grid; gap: 30px; }
.testimonials-grid-2 { grid-template-columns: repeat(1, 1fr); }
.testimonials-grid-3 { grid-template-columns: repeat(1, 1fr); }
.testimonials-grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) {
  .testimonials-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.testimonial-card { padding: 30px; background: var(--color-background-secondary); border-radius: var(--border-radius); }
.testimonial-rating { color: #fbbf24; margin-bottom: 16px; display: flex; gap: 4px; }
.testimonial-card blockquote { font-size: 1.1rem; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author-image { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author-name { font-weight: 600; display: block; }
.testimonial-author-location { font-size: 0.875rem; color: var(--color-text-muted); }

/* Newsletter */
.newsletter { padding: 60px 0; }
.newsletter-form-inline { display: flex; gap: 10px; max-width: 500px; margin: 24px auto 0; }
.newsletter-form-inline input { flex: 1; padding: 14px 20px; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.newsletter-disclaimer { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 12px; }

/* Logo List */
.logo-list-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.logo-list-item img { max-height: 50px; opacity: 0.6; transition: opacity 0.3s ease; }
.logo-list-item:hover img { opacity: 1; }

/* Gallery */
.gallery-grid { display: grid; gap: 10px; }
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid-4 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-5 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) {
  .gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .gallery-grid-6 { grid-template-columns: repeat(6, 1fr); }
}
.gallery-item { border-radius: var(--border-radius); overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Video */
.video-wrapper { width: 100%; border-radius: var(--border-radius); overflow: hidden; }
.video-wrapper iframe { width: 100%; height: 100%; }

/* Slideshow */
.slideshow { position: relative; }
.slideshow-container { position: relative; overflow: hidden; }
.slideshow-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; min-height: 500px; background-size: cover; background-position: center; display: flex; align-items: center; }
.slideshow-slide.active { position: relative; opacity: 1; }
.slideshow-overlay { position: absolute; inset: 0; background: #000; }
.slideshow-content { position: relative; z-index: 2; max-width: 800px; padding: 40px; }
.slideshow-prev, .slideshow-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); color: var(--color-text); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.2s ease; }
.slideshow-prev:hover, .slideshow-next:hover { background: #fff; }
.slideshow-prev { left: 20px; }
.slideshow-next { right: 20px; }
.slideshow-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.slideshow-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.2s ease; }
.slideshow-dot.active { background: #fff; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; text-align: left; font-weight: 500; font-size: 1.1rem; }
.faq-question svg { flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 20px; color: var(--color-text-muted); }
.faq-item.active .faq-answer { display: block; }

/* Countdown */
.countdown-section { padding: 60px 0; }
.countdown-timer { display: flex; justify-content: center; gap: 20px; margin: 30px 0; }
.countdown-item { text-align: center; }
.countdown-value { display: block; font-size: 3rem; font-weight: 700; line-height: 1; }
.countdown-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }

/* Before/After */
.before-after-slider { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; border-radius: var(--border-radius); }
.before-after-image { position: relative; }
.before-after-image img { width: 100%; display: block; }
.after-image { position: absolute; inset: 0; }
.before-after-label { position: absolute; bottom: 20px; padding: 8px 16px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.875rem; border-radius: var(--border-radius); }
.before-image .before-after-label { left: 20px; }
.after-image .before-after-label { right: 20px; }
.before-after-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; }
.before-after-handle { position: absolute; top: 0; bottom: 0; width: 4px; background: #fff; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; justify-content: center; }
.before-after-handle svg { background: #fff; border-radius: 50%; padding: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }

/* Product Page */
.product-page { padding: 40px 0; }
.product-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-gallery-main { border-radius: var(--border-radius); overflow: hidden; background: var(--color-background-secondary); margin-bottom: 16px; max-width: 75%; margin-left: auto; margin-right: auto; }
.product-main-image { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; }
.product-gallery-thumb { width: 80px; height: 80px; border-radius: var(--border-radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.product-gallery-thumb.active { border-color: var(--color-primary); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-vendor { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 8px; }
.product-title { margin-bottom: 16px; }
.product-price { font-size: 1.5rem; margin-bottom: 24px; }
.product-variants { margin-bottom: 20px; }
.product-option { margin-bottom: 16px; }
.product-option-label { display: block; font-weight: 500; margin-bottom: 8px; }
.product-option-select { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.product-quantity { margin-bottom: 20px; }
.product-add-btn { width: 100%; margin-bottom: 16px; }
.product-description { padding-top: 24px; border-top: 1px solid var(--color-border); margin-top: 24px; color: var(--color-text-muted); }

/* Quantity Selector */
.quantity-selector { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.quantity-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.quantity-btn:hover { background: var(--color-background-secondary); }
.quantity-input { width: 50px; height: 40px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); -moz-appearance: textfield; }
.quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Collection Page */
.collection-page { padding-bottom: 60px; }
.collection-hero { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; margin-bottom: 40px; }
.collection-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.collection-hero-placeholder { background: var(--color-background-secondary); }
.collection-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.collection-hero .container { position: relative; z-index: 1; text-align: center; color: #fff; }
.collection-title { font-size: 2.5rem; margin-bottom: 8px; }
.collection-description { max-width: 600px; margin: 0 auto; opacity: 0.9; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.collection-toolbar-left { display: flex; align-items: center; gap: 16px; }
.collection-count { color: var(--color-text-muted); }
.filter-toggle { display: flex; align-items: center; gap: 8px; }
.sort-select { padding: 10px 16px; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.collection-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .collection-layout { grid-template-columns: 250px 1fr; } }
.collection-filters { display: none; position: fixed; inset: 0; background: var(--color-background); z-index: 1000; padding: 20px; overflow-y: auto; }
.collection-filters.active { display: block; }
@media (min-width: 1024px) {
  .collection-filters { display: block; position: static; padding: 0; }
  .filters-header { display: none; }
}
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 1rem; margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; cursor: pointer; }
.filter-price-range { display: flex; gap: 10px; align-items: center; }
.filter-price-range input { width: 80px; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.collection-empty { text-align: center; padding: 60px 20px; }

/* Cart Page */
.cart-page { padding: 40px 0 80px; }
.cart-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 380px; } }
.cart-items { display: flex; flex-direction: column; gap: 20px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--color-border); align-items: start; }
.cart-item-image { border-radius: var(--border-radius); overflow: hidden; }
.cart-item-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cart-item-title { font-weight: 500; margin-bottom: 4px; }
.cart-item-title a:hover { color: var(--color-secondary); }
.cart-item-variant { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 4px; }
.cart-item-price { font-size: 0.9375rem; margin-bottom: 12px; }
.cart-item-quantity { display: flex; align-items: center; gap: 16px; }
.cart-item-total { font-weight: 600; }
.cart-item-remove { color: var(--color-text-muted); }
.cart-item-remove:hover { color: var(--color-error); }
.cart-summary { background: var(--color-background-secondary); padding: 30px; border-radius: var(--border-radius); height: fit-content; position: sticky; top: calc(var(--header-height) + 20px); }
.cart-notes { margin-bottom: 20px; }
.cart-notes label { display: block; font-weight: 500; margin-bottom: 8px; }
.cart-notes textarea { width: 100%; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--border-radius); resize: vertical; }
.cart-totals { margin-bottom: 20px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.cart-shipping-note { font-size: 0.875rem; color: var(--color-text-muted); }
.cart-continue { display: block; text-align: center; margin-top: 16px; color: var(--color-text-muted); }
.cart-continue:hover { color: var(--color-text); }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty svg { color: var(--color-text-muted); margin-bottom: 20px; }
.cart-empty h2 { margin-bottom: 8px; }
.cart-empty p { color: var(--color-text-muted); margin-bottom: 24px; }

/* Cart Drawer */
.cart-drawer { position: fixed; top: 0; right: 0; width: 100%; max-width: 420px; height: 100%; background: var(--color-background); z-index: 1001; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.cart-drawer.active { transform: translateX(0) !important; background: #fff !important; box-shadow: -5px 0 20px rgba(0,0,0,0.2) !important; }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--color-border); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-drawer-empty { text-align: center; padding: 40px 20px; }
.cart-drawer-footer { padding: 20px; border-top: 1px solid var(--color-border); }
.cart-drawer-subtotal { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.cart-drawer-note { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 16px; }
.cart-drawer-view-cart { display: block; text-align: center; margin-top: 12px; color: var(--color-text-muted); font-size: 0.875rem; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; max-width: 320px; height: 100%; background: var(--color-background); z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--color-border); }
.mobile-menu-nav { flex: 1; padding: 20px; }
.mobile-menu-link { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--color-border); }
.mobile-menu-footer { padding: 20px; }

/* Search Drawer */
.search-drawer { position: fixed; top: 0; left: 0; right: 0; background: var(--color-background); z-index: 1001; padding: 20px; transform: translateY(-100%); transition: transform 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.search-drawer.active { transform: translateY(0); }
.search-drawer-form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.search-drawer-input { flex: 1; padding: 14px 20px; border: 1px solid var(--color-border); border-radius: var(--border-radius); font-size: 1rem; }
.search-drawer-submit, .search-drawer-close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--border-radius); }
.search-drawer-submit { background: var(--color-primary); color: #fff; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 20px; }
.breadcrumbs-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.875rem; color: var(--color-text-muted); }
.breadcrumbs-item:not(:last-child)::after { content: '/'; margin-left: 8px; }
.breadcrumbs-item a:hover { color: var(--color-text); }
.breadcrumbs-item.current { color: var(--color-text); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination-page, .pagination-prev, .pagination-next { padding: 10px 16px; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.pagination-page:hover, .pagination-prev:hover, .pagination-next:hover { background: var(--color-background-secondary); }
.pagination-current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination-ellipsis { padding: 10px 8px; }

/* Footer */
.site-footer { background: var(--color-background-secondary); padding: 60px 0 30px; margin-top: var(--section-spacing); }
.footer-grid { display: grid; gap: 40px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand { max-width: 300px; }
.footer-logo { max-height: 40px; margin-bottom: 16px; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; display: block; margin-bottom: 16px; }
.footer-description { color: var(--color-text-muted); margin-bottom: 20px; }
.footer-menu h4, .footer-heading { font-size: 1rem; margin-bottom: 16px; }
.footer-menu nav { display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: var(--color-text-muted); }
.footer-menu a:hover { color: var(--color-text); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--border-radius); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 30px; border-top: 1px solid var(--color-border); }
.footer-copyright { color: var(--color-text-muted); font-size: 0.875rem; }
.payment-icons { display: flex; gap: 8px; }
.payment-icon { height: 24px; }

/* Social Icons */
.social-icons { display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-background); color: var(--color-text); transition: all 0.2s ease; }
.social-icon:hover { background: var(--color-primary); color: #fff; }

/* Customer Pages */
.customer-page { padding: 60px 0; }
.customer-form { max-width: 400px; margin: 0 auto; }
.customer-form-link { text-align: center; margin-top: 16px; }
.customer-form-link a { color: var(--color-secondary); }
.customer-alt-action { text-align: center; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--color-border); }

/* Account */
.account-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.account-layout { display: grid; gap: 40px; }
@media (min-width: 768px) { .account-layout { grid-template-columns: 200px 1fr; } }
.account-nav { display: flex; flex-direction: column; gap: 8px; }
.account-nav-link { padding: 10px 16px; border-radius: var(--border-radius); }
.account-nav-link:hover { background: var(--color-background-secondary); }
.account-nav-link.active { background: var(--color-primary); color: #fff; }
.account-section { margin-bottom: 30px; }
.account-section h2 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); }

/* Orders */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.orders-table th { font-weight: 600; }
.order-status { display: inline-block; padding: 4px 12px; font-size: 0.75rem; font-weight: 500; background: var(--color-background-secondary); border-radius: 999px; }
.orders-empty { text-align: center; padding: 60px 20px; }

/* Addresses */
.addresses-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .addresses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .addresses-grid { grid-template-columns: repeat(3, 1fr); } }
.address-card { padding: 24px; border: 1px solid var(--color-border); border-radius: var(--border-radius); position: relative; }
.address-card-default { border-color: var(--color-primary); }
.address-default-badge { position: absolute; top: -10px; left: 16px; padding: 4px 12px; font-size: 0.75rem; font-weight: 500; background: var(--color-primary); color: #fff; border-radius: var(--border-radius); }
.address-card address { font-style: normal; margin-bottom: 16px; line-height: 1.6; }
.address-card-new { display: flex; align-items: center; justify-content: center; min-height: 150px; border-style: dashed; color: var(--color-text-muted); }
.address-card-new:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Page Templates */
.page-template { padding: 60px 0; }
.page-header { margin-bottom: 40px; }
.page-body { line-height: 1.8; }
.page-body h2, .page-body h3 { margin: 32px 0 16px; }
.page-body p { margin-bottom: 16px; }
.page-body ul, .page-body ol { margin-bottom: 16px; padding-left: 24px; }
.page-404 { padding: 100px 0; text-align: center; }
.page-404 h1 { font-size: 6rem; color: var(--color-text-muted); }
.page-404 h2 { margin: 16px 0 8px; }
.page-404 p { color: var(--color-text-muted); margin-bottom: 24px; }

/* Blog & Article */
.blog-page { padding: 60px 0; }
.blog-grid { display: grid; gap: 30px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { border-radius: var(--border-radius); overflow: hidden; background: var(--color-background-secondary); }
.article-card-image { aspect-ratio: 16/10; overflow: hidden; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-content { padding: 24px; }
.article-card-date { font-size: 0.75rem; color: var(--color-text-muted); }
.article-card-title { margin: 8px 0; }
.article-card-excerpt { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 16px; }
.article-card-read-more { font-weight: 500; color: var(--color-secondary); }
.article-page { padding: 60px 0; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-meta { color: var(--color-text-muted); margin-top: 16px; }
.article-image { margin-bottom: 40px; border-radius: var(--border-radius); overflow: hidden; }
.article-content { line-height: 1.8; }

/* Search Page */
.search-form-large { display: flex; gap: 12px; max-width: 600px; margin: 30px auto; }
.search-form-large input { flex: 1; padding: 14px 20px; border: 1px solid var(--color-border); border-radius: var(--border-radius); font-size: 1rem; }
.search-results-count { text-align: center; color: var(--color-text-muted); margin-bottom: 30px; }
.search-no-results { text-align: center; padding: 60px 20px; }

/* Order Detail */
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text-muted); margin-bottom: 20px; }
.back-link:hover { color: var(--color-text); }
.order-date { color: var(--color-text-muted); margin-bottom: 30px; }
.order-layout { display: grid; gap: 40px; }
@media (min-width: 768px) { .order-layout { grid-template-columns: 2fr 1fr; } }
.order-items h2, .order-summary h2 { font-size: 1.25rem; margin-bottom: 20px; }
.order-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.order-item-image { width: 80px; border-radius: var(--border-radius); overflow: hidden; }
.order-item-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.order-item-details { flex: 1; }
.order-item-details h3 { font-size: 1rem; margin-bottom: 4px; }
.order-item-details p { font-size: 0.875rem; color: var(--color-text-muted); }
.order-item-price { font-weight: 600; }
.order-summary { background: var(--color-background-secondary); padding: 24px; border-radius: var(--border-radius); height: fit-content; }
.order-summary-line { display: flex; justify-content: space-between; padding: 8px 0; }
.order-summary-total { font-weight: 600; font-size: 1.1rem; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--color-border); }

/* Notification */
.notification { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.notification-content { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--color-primary); color: #fff; border-radius: var(--border-radius); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.notification-close { color: rgba(255,255,255,0.7); }
.notification-close:hover { color: #fff; }

/* Loading Spinner */
.loading-spinner { display: flex; align-items: center; justify-content: center; padding: 40px; }
.loading-spinner svg { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Animations */
.animations-enabled .section { animation: fadeInUp 0.6s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
