/**
 * RESPIRO Design System - Page-Specific Styles
 */

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    border-bottom: 1px solid var(--color-border-subtle);
}

.page-header-sm {
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--color-border-subtle);
}

.page-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--stone-100);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .page-title {
        font-size: var(--text-5xl);
    }
}

.page-subtitle {
    color: var(--stone-500);
    font-size: var(--text-lg);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--stone-500);
    margin-bottom: var(--space-6);
}

.breadcrumb a {
    color: var(--stone-500);
    transition: color var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--color-primary-light);
}

.breadcrumb .separator {
    color: var(--stone-700);
}

.breadcrumb .current {
    color: var(--stone-300);
}

/* ========================================
   PRODUCTS LAYOUT (with filters)
   ======================================== */

.products-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .products-layout {
        grid-template-columns: 280px 1fr;
        gap: var(--space-12);
    }
}

/* Filters Sidebar */
.filters-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: var(--color-bg);
    padding: var(--space-6);
    overflow-y: auto;
}

.filters-sidebar.is-open {
    display: block;
}

@media (min-width: 1024px) {
    .filters-sidebar {
        display: block;
        position: sticky;
        top: calc(var(--navbar-height) + var(--space-6));
        height: fit-content;
        max-height: calc(100vh - var(--navbar-height) - var(--space-12));
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-3xl);
        padding: var(--space-8);
    }
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
    .filters-header {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.filters-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
}

.filters-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--stone-500);
    background: var(--stone-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.filters-close:hover {
    color: white;
    background: var(--stone-700);
}

@media (min-width: 1024px) {
    .filters-close {
        display: none;
    }
}

/* Filter Groups */
.filter-group {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border-subtle);
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-6);
    padding-bottom: 0;
}

.filter-title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--stone-500);
    margin-bottom: var(--space-4);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    border: 2px solid var(--stone-600);
    background: transparent;
    appearance: none;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.filter-option input[type="checkbox"] {
    border-radius: var(--radius-md);
}

.filter-option input[type="radio"]:checked,
.filter-option input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.filter-option input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.filter-label {
    font-size: var(--text-sm);
    color: var(--stone-300);
    transition: color var(--transition-base);
}

.filter-option:hover .filter-label {
    color: var(--stone-100);
}

/* Price Range */
.price-range {
    margin-top: var(--space-4);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.price-input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--stone-200);
    text-align: center;
}

.price-input:focus {
    border-color: var(--color-primary);
    outline: none;
}

.price-input::placeholder {
    color: var(--stone-600);
}

.price-separator {
    color: var(--stone-600);
    font-weight: 600;
}

/* Filter Actions */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.filters-toggle {
    display: flex;
}

@media (min-width: 1024px) {
    .filters-toggle {
        display: none;
    }
}

/* Products Main Area */
.products-main {
    min-width: 0;
}

.products-toolbar {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border-subtle);
}

@media (min-width: 768px) {
    .products-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Categories Navigation */
.toolbar-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-2);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
}

@media (min-width: 768px) {
    .toolbar-categories {
        gap: var(--space-1);
    }
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-400);
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.category-pill:hover {
    color: var(--stone-200);
    background: var(--stone-800);
}

.category-pill.active {
    color: var(--stone-900);
    background: var(--color-primary);
    font-weight: 600;
}

.toolbar-sort {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-left: auto;
}

.sort-label {
    font-size: var(--text-sm);
    color: var(--stone-500);
    display: none;
}

@media (min-width: 640px) {
    .sort-label {
        display: block;
    }
}

.sort-select {
    padding: var(--space-3) var(--space-10) var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--stone-200);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    cursor: pointer;
}

.sort-select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-16) var(--space-8);
}

.empty-state svg {
    color: var(--stone-700);
    margin-bottom: var(--space-6);
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-3);
}

.empty-state p {
    color: var(--stone-500);
    margin-bottom: var(--space-8);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-12);
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-400);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.pagination-btn:hover {
    color: var(--stone-100);
    border-color: var(--stone-600);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-400);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.pagination-page:hover {
    color: var(--stone-100);
    border-color: var(--stone-600);
}

.pagination-page.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.pagination-ellipsis {
    color: var(--stone-600);
    padding: 0 var(--space-2);
}

/* ========================================
   PRODUCTS GRID
   ======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .products-grid {
        gap: var(--space-6);
    }
}

@media (min-width: 768px) {
    .products-grid {
        gap: var(--space-8);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-10);
    }
}

/* New Arrivals: 4 on mobile (2x2), 3 on desktop */
.products-grid-arrivals .hide-desktop {
    display: block;
}

@media (min-width: 1024px) {
    .products-grid-arrivals .hide-desktop {
        display: none;
    }
}

/* ========================================
   PRODUCTS CAROUSEL
   ======================================== */

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Carousel arrows - positioned on sides */
.carousel-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stone-900);
    border: 1px solid var(--stone-700);
    border-radius: 50%;
    color: var(--stone-400);
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}

.carousel-arrow:hover:not(:disabled) {
    background: var(--stone-800);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    transform: scale(1.05);
}

.carousel-arrow:active:not(:disabled) {
    transform: scale(0.95);
}

.carousel-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Mobile: show smaller arrows */
.carousel-arrow {
    width: 36px;
    height: 36px;
}

.carousel-arrow svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .carousel-arrow {
        width: 48px;
        height: 48px;
    }
    .carousel-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--stone-700);
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dot:hover {
    background: var(--stone-500);
}

.carousel-dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-primary);
}

/* Hide dots on tablet and up */
@media (min-width: 768px) {
    .carousel-dots {
        display: none;
    }
}

/* Products carousel container */
.products-carousel {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-x;
}

/* Enable smooth touch scrolling on mobile */
.products-carousel.is-dragging .products-carousel-track {
    transition: none;
}

.products-carousel-track {
    display: flex;
    gap: var(--space-4);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    user-select: none;
}

.products-carousel-item {
    flex: 0 0 calc(85% - var(--space-2));
    min-width: 0;
}

@media (min-width: 640px) {
    .products-carousel-track {
        gap: var(--space-6);
    }
    .products-carousel-item {
        flex: 0 0 calc(50% - var(--space-3));
    }
}

@media (min-width: 1024px) {
    .products-carousel-track {
        gap: var(--space-8);
    }
    .products-carousel-item {
        flex: 0 0 calc(33.333% - calc(var(--space-8) * 2 / 3));
    }
}

/* Product Card */
.product-card {
    position: relative;
    text-decoration: none;
    display: block;
    transition: transform var(--transition-slow);
}

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

@media (min-width: 768px) {
    .product-card:hover {
        transform: translateY(-8px);
    }
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--stone-900);
    margin-bottom: var(--space-3);
}

@media (min-width: 640px) {
    .product-image-wrapper {
        aspect-ratio: 1 / 1.15;
        border-radius: var(--radius-3xl);
        margin-bottom: var(--space-4);
    }
}

@media (min-width: 768px) {
    .product-image-wrapper {
        aspect-ratio: 1 / 1.2;
        border-radius: var(--radius-4xl);
        margin-bottom: var(--space-6);
    }
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slowest), opacity var(--transition-base);
}

.product-image-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card:hover .product-image:not(.product-image-hover) {
    transform: scale(1.08);
}

.product-card:hover .product-image-hover {
    opacity: 1;
    transform: scale(1.08);
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--stone-900);
    color: var(--stone-700);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    z-index: 10;
}

@media (min-width: 640px) {
    .product-badges {
        top: var(--space-3);
        left: var(--space-3);
        gap: var(--space-2);
    }
}

@media (min-width: 768px) {
    .product-badges {
        top: var(--space-4);
        left: var(--space-4);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-2);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius-full);
}

@media (min-width: 640px) {
    .badge {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
        letter-spacing: var(--tracking-wider);
    }
}

.badge-sale {
    background: var(--color-primary);
    color: white;
}

.badge-new {
    background: var(--color-success);
    color: var(--stone-950);
}

.badge-soldout {
    background: var(--stone-800);
    color: var(--stone-400);
}

/* Product Actions (hover overlay) */
.product-actions {
    position: absolute;
    bottom: var(--space-2);
    right: var(--space-2);
    display: flex;
    gap: var(--space-1);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 10;
}

@media (min-width: 640px) {
    .product-actions {
        bottom: var(--space-3);
        right: var(--space-3);
        gap: var(--space-2);
    }
}

@media (min-width: 768px) {
    .product-actions {
        bottom: var(--space-4);
        right: var(--space-4);
    }
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    color: var(--stone-800);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.product-action svg {
    width: 14px;
    height: 14px;
}

@media (min-width: 640px) {
    .product-action {
        width: 36px;
        height: 36px;
        box-shadow: var(--shadow-lg);
    }
    .product-action svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 768px) {
    .product-action {
        width: 42px;
        height: 42px;
    }
    .product-action svg {
        width: 18px;
        height: 18px;
    }
}

.product-action:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.product-action.is-active {
    background: var(--color-primary);
    color: white;
}

.product-action.is-active svg {
    fill: currentColor;
}

/* Product Info */
.product-info {
    text-align: center;
    padding: 0 var(--space-1);
}

@media (min-width: 640px) {
    .product-info {
        padding: 0 var(--space-2);
    }
}

@media (min-width: 768px) {
    .product-info {
        padding: 0 var(--space-4);
    }
}

.product-category {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

@media (min-width: 640px) {
    .product-category {
        font-size: var(--text-xs);
        letter-spacing: var(--tracking-widest);
        margin-bottom: var(--space-2);
    }
}

.product-name {
    font-family: var(--font-serif);
    font-size: var(--text-sm);
    color: var(--stone-100);
    margin-bottom: var(--space-1);
    line-height: var(--leading-tight);
}

@media (min-width: 640px) {
    .product-name {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2);
    }
}

@media (min-width: 768px) {
    .product-name {
        font-size: var(--text-xl);
    }
}

.product-scent {
    font-size: var(--text-xs);
    color: var(--stone-500);
    font-style: italic;
    margin-bottom: var(--space-2);
    display: none;
}

@media (min-width: 640px) {
    .product-scent {
        display: block;
        font-size: var(--text-sm);
        margin-bottom: var(--space-3);
    }
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

@media (min-width: 640px) {
    .product-price {
        gap: var(--space-3);
        margin-bottom: var(--space-2);
    }
}

@media (min-width: 768px) {
    .product-price {
        gap: var(--space-4);
    }
}

.price-old {
    font-size: var(--text-xs);
    color: var(--stone-600);
    text-decoration: line-through;
}

@media (min-width: 640px) {
    .price-old {
        font-size: var(--text-sm);
    }
}

.price-current {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
}

@media (min-width: 640px) {
    .price-current {
        font-size: var(--text-md);
    }
}

@media (min-width: 768px) {
    .price-current {
        font-size: var(--text-lg);
    }
}

/* Burn Time Meta on Product Cards */
.product-meta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--stone-400);
    background: var(--stone-900);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-3);
    margin-top: -12px;
    transition: all var(--transition-base);
}

@media (min-width: 640px) {
    .product-meta {
        display: inline-flex;
    }
}

.product-card:hover .product-meta {
    background: var(--stone-800);
    border-color: var(--color-border);
}

.product-meta svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ========================================
   PRODUCT DETAIL
   ======================================== */

.product-detail {
    padding: var(--space-12) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-24);
        align-items: flex-start;
    }
}

.product-gallery {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-6));
}

.product-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-5xl);
    overflow: hidden;
    background: var(--stone-900);
    box-shadow: var(--shadow-2xl);
    margin-bottom: var(--space-6);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-base);
}

.product-thumb:hover {
    opacity: 1;
}

.product-thumb.is-active {
    border-color: var(--color-primary);
    opacity: 1;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    text-align: center;
}

@media (min-width: 1024px) {
    .product-info {
        text-align: left;
    }
}

.product-category {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-ultra);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.product-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-none);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .product-title {
        font-size: var(--text-6xl);
    }
}


@media (min-width: 1024px) {
    .product-price {
        justify-content: flex-start;
    }
}

.product-price-current {
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--stone-100);
}

.product-price-old {
    font-size: var(--text-2xl);
    color: var(--stone-600);
    text-decoration: line-through;
}

.product-desc {
    font-size: var(--text-lg);
    color: var(--stone-400);
    font-style: italic;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
    max-width: 500px;
}

@media (min-width: 1024px) {
    .product-desc {
        margin-left: 0;
        margin-right: auto;
    }
}

.product-options {
    margin-bottom: var(--space-12);
}

.product-option-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-ultra);
    color: var(--stone-500);
    margin-bottom: var(--space-6);
}

.scent-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

@media (min-width: 1024px) {
    .scent-options {
        justify-content: flex-start;
    }
}

.scent-btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-xs);
    color: var(--stone-500);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.scent-btn:hover {
    color: var(--stone-200);
    border-color: var(--stone-700);
}

.scent-btn.is-active {
    color: var(--stone-950);
    background: var(--stone-100);
    border-color: var(--stone-100);
}

.product-add-form {
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .product-add-form {
        margin: 0;
    }
}

.product-qty {
    display: flex;
    align-items: center;
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.product-qty button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-500);
    transition: all var(--transition-base);
}

.product-qty button:hover {
    color: white;
    background: var(--stone-800);
}

.product-qty input {
    flex: 1;
    text-align: center;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--stone-200);
    background: transparent;
    border: none;
}

.product-stock {
    font-size: var(--text-sm);
    color: var(--stone-500);
    margin-bottom: var(--space-6);
    text-align: center;
}

@media (min-width: 1024px) {
    .product-stock {
        text-align: left;
    }
}

.product-stock.is-low {
    color: var(--color-warning);
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-16);
    padding-top: var(--space-12);
    border-top: 1px solid var(--stone-900);
    text-align: center;
}

.product-feature h4 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--stone-100);
    margin-bottom: var(--space-3);
}

.product-feature p {
    font-size: var(--text-sm);
    color: var(--stone-500);
    line-height: var(--leading-relaxed);
}

/* ========================================
   PRODUCT DETAIL PAGE (show.php styles)
   ======================================== */

.product-detail-section {
    padding: var(--space-8) 0 var(--space-16);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: flex-start;
    }
}

/* Gallery */
.product-gallery {
    position: relative;
}

@media (min-width: 1024px) {
    .product-gallery {
        position: sticky;
        top: calc(var(--navbar-height) + var(--space-6));
    }
}

.gallery-main {
    position: relative;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-4xl);
    overflow: hidden;
    background: var(--stone-900);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-2xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-main:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--stone-700);
}

.gallery-zoom {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--stone-800);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all var(--transition-base);
}

.gallery-main:hover .gallery-zoom {
    opacity: 1;
}

.gallery-zoom:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all var(--transition-base);
    cursor: pointer;
}

@media (min-width: 640px) {
    .gallery-thumb {
        width: 80px;
        height: 80px;
    }
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    border-color: var(--color-primary);
    opacity: 1;
}

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

/* Product Info Detail */
.product-info-detail {
    text-align: center;
}

@media (min-width: 1024px) {
    .product-info-detail {
        text-align: left;
    }
}

.product-category-link {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    transition: color var(--transition-base);
}

.product-category-link:hover {
    color: var(--color-primary-light);
}

.product-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--stone-100);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .product-title {
        font-size: var(--text-5xl);
    }
}

.product-scent-detail {
    font-size: var(--text-lg);
    color: var(--stone-500);
    font-style: italic;
    margin-bottom: var(--space-6);
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
    .product-rating {
        justify-content: flex-start;
    }
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    color: var(--stone-600);
}

.rating-stars .star.filled {
    color: var(--color-primary);
    fill: var(--color-primary);
}

.rating-text {
    font-size: var(--text-sm);
    color: var(--stone-500);
}

/* Product Price Detail */
.product-price-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
    .product-price-detail {
        justify-content: flex-start;
    }
}

.product-price-detail .price-old {
    font-size: var(--text-xl);
    color: var(--stone-600);
    text-decoration: line-through;
}

.product-price-detail .price-current {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--stone-100);
}

.price-save {
    font-size: var(--text-sm);
    color: var(--color-success);
    background: var(--color-success-bg);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
}

@media (min-width: 1024px) {
    .stock-status {
        justify-content: flex-start;
    }
}

.stock-status.in-stock {
    color: var(--color-success);
}

.stock-status.out-of-stock {
    color: var(--color-error);
}

/* Add to Cart Form */
.add-to-cart-form {
    margin-bottom: var(--space-8);
}

.quantity-selector {
    margin-bottom: var(--space-4);
}

.quantity-selector label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--stone-500);
    margin-bottom: var(--space-3);
    text-align: center;
}

@media (min-width: 1024px) {
    .quantity-selector label {
        text-align: left;
    }
}

.quantity-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    width: fit-content;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .quantity-input-group {
        margin: 0;
    }
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--stone-500);
    transition: all var(--transition-base);
}

.quantity-btn:hover {
    color: white;
    background: var(--stone-800);
}

.quantity-input {
    width: 60px;
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--stone-200);
    background: transparent;
    border: none;
}

.quantity-input:focus {
    outline: none;
}

/* Product Actions Detail */
.product-actions-detail {
    display: flex;
    gap: var(--space-3);
}

.add-to-cart-btn {
    flex: 1;
}

.wishlist-toggle-detail {
    flex-shrink: 0;
    width: 56px;
    padding: 0;
}

.wishlist-toggle-detail.is-active svg {
    fill: currentColor;
    color: var(--color-primary);
}

/* Out of Stock Notice */
.out-of-stock-notice {
    text-align: center;
    padding: var(--space-8);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
}

@media (min-width: 1024px) {
    .out-of-stock-notice {
        text-align: left;
    }
}

.out-of-stock-notice p {
    color: var(--stone-500);
    margin-bottom: var(--space-4);
}

.notify-btn {
    width: 100%;
}

@media (min-width: 1024px) {
    .notify-btn {
        width: auto;
    }
}

/* Product Meta Detail - 2x2 Grid */
.product-meta-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    padding: var(--space-5);
    background: var(--stone-900);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-3xl);
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: 48px;
    font-size: var(--text-sm);
    color: var(--stone-400);
    padding: 0 var(--space-4);
    background: var(--stone-800);
    border-radius: var(--radius-xl);
    transition: background var(--transition-base);
}

.meta-item:hover {
    background: var(--stone-700);
}

/* Icon container for perfect centering */
.meta-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.meta-item span {
    line-height: 1.3;
}

.meta-item strong {
    color: var(--stone-300);
    font-weight: 600;
}

/* Shipping Info Box */
.shipping-info-box {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--stone-900), var(--stone-800));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.shipping-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.shipping-item strong {
    display: block;
    color: var(--stone-200);
    font-size: var(--text-sm);
}

.shipping-item span {
    display: block;
    color: var(--stone-500);
    font-size: var(--text-xs);
}

/* ========================================
   PRODUCT TABS
   ======================================== */

.section-light {
    background: var(--stone-900);
}

.product-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    gap: var(--space-2);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-8);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    flex-shrink: 0;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-500);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--stone-300);
}

.tab-btn.active {
    color: var(--color-primary-light);
    border-bottom-color: var(--color-primary);
}

.tabs-content {
    min-height: 200px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-content {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
}

.tab-content.prose {
    font-size: var(--text-base);
}

.tab-content.prose p {
    margin-bottom: var(--space-4);
}

/* Ingredients List */
.ingredients-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.ingredients-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--stone-800);
    border-radius: var(--radius-xl);
    color: var(--stone-300);
}

.ingredients-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

/* Care Instructions */
.care-instructions {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .care-instructions {
        grid-template-columns: repeat(3, 1fr);
    }
}

.care-item {
    padding: var(--space-6);
    background: var(--stone-800);
    border-radius: var(--radius-2xl);
}

.care-item h4 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--stone-100);
    margin-bottom: var(--space-3);
}

.care-item p {
    font-size: var(--text-sm);
    color: var(--stone-500);
    line-height: var(--leading-relaxed);
}

/* Reviews */
.reviews-summary {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.rating-average {
    text-align: center;
}

.rating-number {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--stone-100);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.rating-average .rating-stars {
    justify-content: center;
    margin-bottom: var(--space-2);
}

.reviews-count {
    font-size: var(--text-sm);
    color: var(--stone-500);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.review-item {
    padding: var(--space-6);
    background: var(--stone-800);
    border-radius: var(--radius-2xl);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author {
    font-weight: 600;
    color: var(--stone-200);
}

.review-date {
    font-size: var(--text-xs);
    color: var(--stone-600);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    width: 14px;
    height: 14px;
    color: var(--stone-600);
}

.review-rating .star.filled {
    color: var(--color-primary);
    fill: var(--color-primary);
}

.review-text {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
}

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

/* Cart Layout - Main Grid */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr 380px;
        gap: var(--space-10);
    }
}

/* Cart Items Section */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Cart Header - Desktop Table Header */
.cart-header {
    display: none;
    padding: var(--space-3) var(--space-4);
    background: var(--stone-900);
    border-radius: var(--radius-2xl);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
}

@media (min-width: 768px) {
    .cart-header {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr 40px;
        gap: var(--space-4);
        align-items: center;
    }
}

.cart-header-price,
.cart-header-quantity,
.cart-header-subtotal {
    text-align: center;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--stone-900);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-3xl);
    transition: border-color var(--transition-base);
}

.cart-item:hover {
    border-color: var(--color-border);
}

@media (min-width: 768px) {
    .cart-item {
        grid-template-columns: 2fr 1fr 1fr 1fr 40px;
        gap: var(--space-4);
        align-items: center;
        padding: var(--space-4);
    }
}

/* Cart Item - Product Info */
.cart-item-product {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.cart-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--stone-800);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-600);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-serif);
    font-size: var(--text-base);
    color: var(--stone-100);
    text-decoration: none;
    line-height: var(--leading-snug);
    transition: color var(--transition-base);
}

.cart-item-name:hover {
    color: var(--color-primary-light);
}

.cart-item-scent,
.cart-item-options {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* Cart Item - Price */
.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
}

@media (min-width: 768px) {
    .cart-item-price {
        align-items: center;
    }
}

.cart-item-price .price-old {
    font-size: var(--text-xs);
    color: var(--stone-600);
    text-decoration: line-through;
}

.cart-item-price .price-current {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
}

/* Cart Item - Quantity */
.cart-item-quantity {
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .cart-item-quantity {
        justify-content: center;
    }
}

.quantity-input-group-sm {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--stone-800);
    border-radius: var(--radius-full);
    padding: var(--space-1);
}

.quantity-input-group-sm .quantity-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-400);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.quantity-input-group-sm .quantity-btn:hover {
    color: var(--stone-100);
    background: var(--stone-700);
}

.quantity-input-group-sm .quantity-input {
    width: 36px;
    height: 28px;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-100);
    background: transparent;
    border: none;
    -moz-appearance: textfield;
}

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

/* Cart Item - Subtotal */
.cart-item-subtotal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .cart-item-subtotal {
        justify-content: center;
    }
}

.cart-item-subtotal .item-subtotal {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-100);
}

/* Cart Item - Actions */
.cart-item-actions {
    display: flex;
    justify-content: flex-end;
}

.cart-remove-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-500);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.cart-remove-btn:hover {
    color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: var(--space-4);
}

/* Mobile Layout Adjustments */
@media (max-width: 767px) {
    .cart-item {
        position: relative;
    }

    .cart-item-product {
        padding-right: var(--space-10);
    }

    .cart-item-actions {
        position: absolute;
        top: var(--space-4);
        right: var(--space-4);
    }

    .cart-item-price,
    .cart-item-quantity,
    .cart-item-subtotal {
        padding-left: calc(80px + var(--space-4));
    }

    .cart-item-price::before,
    .cart-item-subtotal::before {
        font-size: var(--text-xs);
        color: var(--stone-500);
        text-transform: uppercase;
        letter-spacing: var(--tracking-wider);
        margin-right: var(--space-2);
    }

    .cart-item-price::before {
        content: "Preț: ";
    }

    .cart-item-subtotal::before {
        content: "Total: ";
    }
}

/* ========================================
   CART SUMMARY
   ======================================== */

.cart-summary {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-6));
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

@media (min-width: 1024px) {
    .cart-summary {
        padding: var(--space-8);
    }
}

.summary-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    text-align: center;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-subtle);
    margin: 0;
}

/* Coupon Section */
.coupon-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.coupon-form {
    display: flex;
    gap: var(--space-2);
}

.coupon-input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--stone-100);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-base);
}

.coupon-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.coupon-input::placeholder {
    color: var(--stone-500);
}

.coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-xl);
}

.coupon-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: #22c55e;
}

.coupon-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-400);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.coupon-remove:hover {
    color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
}

/* Shipping Section */
.shipping-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.shipping-title {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-300);
    margin: 0;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.shipping-option:hover {
    border-color: var(--color-border);
}

.shipping-option:has(.shipping-radio:checked) {
    border-color: var(--color-primary);
    background: rgba(232, 189, 139, 0.05);
}

.shipping-radio {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.shipping-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-0);
}

.shipping-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
}

.shipping-time {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.shipping-cost {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
}

.shipping-free {
    color: #22c55e;
}

.shipping-note {
    font-size: var(--text-xs);
    color: var(--color-primary-light);
    margin: 0;
    padding: var(--space-2) var(--space-3);
    background: rgba(232, 189, 139, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
}

/* Summary Totals */
.summary-totals {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-subtle);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: var(--stone-400);
}

.summary-discount {
    color: #22c55e;
}

.summary-total {
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--stone-100);
}

.summary-total span:last-child {
    font-size: var(--text-2xl);
    color: var(--color-primary-light);
}

.summary-tax-note {
    font-size: var(--text-xs);
    color: var(--stone-500);
    text-align: right;
    margin: 0;
}

/* Checkout CTA */
.cart-summary > .btn-primary {
    margin-top: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    justify-content: center;
    gap: var(--space-2);
}

.cart-summary > .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 189, 139, 0.25);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.trust-item svg {
    flex-shrink: 0;
    color: var(--stone-600);
}

/* ========================================
   CHECKOUT PAGE - Compact Modern Design
   ======================================== */

.checkout-page {
    padding: var(--space-6) 0 var(--space-16);
    padding-bottom: 100px; /* Space for mobile CTA */
}

@media (min-width: 1024px) {
    .checkout-page {
        padding: var(--space-8) 0 var(--space-12);
        padding-bottom: var(--space-12);
    }
}

/* Checkout Header */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border-subtle);
}

.checkout-back {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--stone-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

.checkout-back:hover {
    color: var(--stone-100);
}

.checkout-title {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--stone-100);
    margin: 0;
}

@media (min-width: 640px) {
    .checkout-title {
        font-size: var(--text-xl);
    }
}

.checkout-secure {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* Checkout Grid Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr 360px;
        gap: var(--space-8);
        align-items: flex-start;
    }
}

/* Checkout Main */
.checkout-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Checkout Card */
.checkout-card {
    background: var(--stone-900);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.checkout-card-simple {
    padding: var(--space-4);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--stone-800);
    border-bottom: 1px solid var(--color-border-subtle);
}

.card-step {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--stone-900);
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.card-title {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-100);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.card-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Form Rows */
.form-row {
    display: grid;
    gap: var(--space-3);
}

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

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

@media (min-width: 480px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
    .form-row-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Compact Form Elements */
.checkout-card .form-group {
    margin-bottom: 0;
}

.checkout-card .form-label {
    font-size: var(--text-xs);
    margin-bottom: var(--space-1);
}

.checkout-card .form-input,
.checkout-card .form-select,
.checkout-card .form-textarea {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    border-radius: var(--radius-lg);
}

.checkout-card .form-textarea {
    resize: none;
}

.login-hint {
    font-size: var(--text-xs);
    color: var(--stone-500);
    margin: 0;
}

.login-hint a {
    color: var(--color-primary-light);
}

/* Inline Checkbox */
.inline-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--stone-400);
    cursor: pointer;
}

.inline-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.inline-checkbox a {
    color: var(--color-primary-light);
}

.inline-checkbox.error {
    color: var(--color-error);
}

/* Saved Addresses */
.saved-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.address-card {
    flex: 1;
    min-width: 140px;
    padding: var(--space-3);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.address-card:hover {
    border-color: var(--color-border);
}

.address-card.selected {
    border-color: var(--color-primary);
    background: rgba(232, 189, 139, 0.05);
}

.address-card input {
    display: none;
}

.address-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.address-content strong {
    font-size: var(--text-sm);
    color: var(--stone-100);
}

.address-content span {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.address-card-new {
    background: transparent;
    border-style: dashed;
}

/* Shipping Fields */
.shipping-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
    font-size: var(--text-xs);
    color: var(--stone-400);
    cursor: pointer;
}

.billing-toggle input {
    width: 14px;
    height: 14px;
    accent-color: var(--color-primary);
}

/* Shipping Methods Compact */
.shipping-methods-compact {
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-subtle);
}

.method-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.method-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.method-option:hover {
    border-color: var(--color-border);
}

.method-option.selected {
    border-color: var(--color-primary);
    background: rgba(232, 189, 139, 0.05);
}

.method-option input {
    display: none;
}

.method-label {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.method-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-100);
}

.method-time {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.method-price {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-200);
}

.method-price .free {
    color: #22c55e;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.payment-option:hover {
    border-color: var(--color-border);
}

.payment-option.selected {
    border-color: var(--color-primary);
    background: rgba(232, 189, 139, 0.05);
}

.payment-option input {
    display: none;
}

.payment-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stone-700);
    border-radius: var(--radius-lg);
    color: var(--stone-300);
}

.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-100);
}

.payment-desc {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* ========================================
   ORDER SUMMARY SIDEBAR
   ======================================== */

.checkout-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-4));
}

.order-summary-card {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
}

@media (min-width: 1024px) {
    .order-summary-card {
        padding: var(--space-5);
    }
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-100);
    margin: 0 0 var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border-subtle);
}

.item-count {
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--stone-500);
}

/* Summary Products */
.summary-products {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    max-height: 200px;
    overflow-y: auto;
}

.summary-product {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.product-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--stone-800);
    flex-shrink: 0;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-qty {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--stone-900);
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.product-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: var(--text-sm);
    color: var(--stone-200);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.product-total {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
}

/* Summary Lines */
.summary-lines {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    border-top: 1px solid var(--color-border-subtle);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--stone-400);
}

.summary-line.discount {
    color: #22c55e;
}

/* Summary Total */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--stone-100);
}

.total-price {
    font-size: var(--text-xl);
    color: var(--color-primary-light);
}

.tax-note {
    font-size: var(--text-xs);
    color: var(--stone-500);
    text-align: right;
    margin: 0 0 var(--space-4);
}

/* Terms Check */
.terms-check {
    margin-bottom: var(--space-4);
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-900);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-checkout:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 189, 139, 0.3);
}

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

/* Trust Row */
.trust-row {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border-subtle);
}

.trust-row span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* ========================================
   MOBILE CHECKOUT CTA
   ======================================== */

.mobile-checkout-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3) var(--space-4);
    background: var(--stone-900);
    border-top: 1px solid var(--color-border);
    z-index: 100;
}

@media (min-width: 1024px) {
    .mobile-checkout-cta {
        display: none;
    }
}

.mobile-cta-info {
    display: flex;
    flex-direction: column;
}

.mobile-cta-label {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.mobile-cta-price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary-light);
}

.mobile-cta-btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-900);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
}

/* Hide desktop CTA on mobile (already visible in sticky bar) */
@media (max-width: 1023px) {
    .checkout-sidebar {
        display: none;
    }
}

/* Order Success */
.order-success {
    text-align: center;
    padding: var(--space-24) 0;
}

.order-success-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-8);
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-full);
}

.order-success-icon svg {
    width: 50px;
    height: 50px;
}

.order-success h1 {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-4);
}

.order-success p {
    font-size: var(--text-lg);
    color: var(--stone-400);
    font-style: italic;
    margin-bottom: var(--space-12);
}

/* ========================================
   ACCOUNT PAGES
   ======================================== */

/* Account Layout (used on dashboard) */
.account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .account-layout {
        grid-template-columns: 220px 1fr;
        gap: var(--space-8);
    }
}

/* Account Grid (alternate layout) */
.account-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .account-grid {
        grid-template-columns: 220px 1fr;
        gap: var(--space-8);
    }
}

/* Account Sidebar */
.account-sidebar {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    height: fit-content;
}

@media (min-width: 768px) {
    .account-sidebar {
        position: sticky;
        top: calc(var(--navbar-height) + var(--space-4));
    }
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-400);
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.account-nav-link:hover {
    color: var(--stone-100);
    background: var(--stone-800);
}

.account-nav-link.is-active,
.account-nav-link.active {
    color: var(--color-primary-light);
    background: rgba(232, 189, 139, 0.1);
}

.account-nav-link.text-error {
    color: var(--color-error);
}

.account-nav-link.text-error:hover {
    background: rgba(239, 68, 68, 0.1);
}

.account-nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.account-nav-divider {
    height: 1px;
    background: var(--color-border-subtle);
    margin: var(--space-2) 0;
}

/* Account User */
.account-user {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border-subtle);
}

.user-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--stone-900);
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-100);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: var(--text-xs);
    color: var(--stone-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Account Main Content Area */
.account-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.account-content {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .account-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 189, 139, 0.1);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--stone-100);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-top: var(--space-1);
}

/* Account Section */
.account-section {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
}

.account-section-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    margin: 0 0 var(--space-4);
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.section-title-sm {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--stone-100);
    margin: 0;
}

.link-view-all {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-base);
}

.link-view-all:hover {
    color: var(--color-primary);
}

/* Empty State Small */
.empty-state-sm {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--stone-500);
}

.empty-state-sm p {
    margin-bottom: var(--space-4);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-base);
}

.quick-action:hover {
    border-color: var(--color-primary);
    background: rgba(232, 189, 139, 0.05);
}

.quick-action svg {
    color: var(--color-primary);
}

.quick-action span {
    font-size: var(--text-xs);
    color: var(--stone-300);
}

/* Auth Forms */
.auth-page {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-6);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-5xl);
    padding: var(--space-12);
}

.auth-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-8) 0;
    color: var(--stone-600);
    font-size: var(--text-sm);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-8);
    font-size: var(--text-sm);
    color: var(--stone-500);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* Order Card as Link (Dashboard) */
a.order-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

@media (min-width: 640px) {
    a.order-card {
        grid-template-columns: 1fr auto auto auto;
        align-items: center;
    }
}

a.order-card:hover {
    border-color: var(--color-border);
    background: var(--stone-700);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.order-number {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-100);
}

.order-date {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.order-status {
    display: flex;
    align-items: center;
}

.order-total {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
}

.order-arrow {
    display: none;
    color: var(--stone-500);
}

@media (min-width: 640px) {
    .order-arrow {
        display: flex;
    }
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.status-badge.status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.status-badge.status-confirmed,
.status-badge.status-processing {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-badge.status-shipped {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.status-badge.status-delivered,
.status-badge.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-badge.status-cancelled,
.status-badge.status-refunded {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Order Card Block (Full view) */
.order-card {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.order-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--stone-800);
}

.order-card-body {
    padding: var(--space-6);
}

.order-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--stone-400);
}

/* Order Detail Page */
.order-status-header {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
}

.order-status-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
}

.status-badge-lg {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.order-status-info .order-date {
    font-size: var(--text-sm);
    color: var(--stone-500);
}

/* Order Progress Tracker */
.order-progress {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    overflow-x: auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-width: 500px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--stone-700);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--stone-800);
    border: 2px solid var(--stone-600);
    transition: all var(--transition-base);
}

.progress-step.completed .step-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.progress-step.current .step-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(232, 189, 139, 0.2);
}

.step-label {
    font-size: var(--text-xs);
    color: var(--stone-500);
    text-align: center;
    white-space: nowrap;
}

.progress-step.completed .step-label,
.progress-step.current .step-label {
    color: var(--stone-300);
}

/* Order Detail Grid */
.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .order-detail-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.order-detail-section {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
}

.order-detail-section h3 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--stone-100);
    margin: 0 0 var(--space-4);
}

.order-detail-section h3:not(:first-child) {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-subtle);
}

/* Order Items List */
.order-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.order-item-detail {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-3);
    background: var(--stone-800);
    border-radius: var(--radius-xl);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.item-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-sku {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

.item-qty {
    font-size: var(--text-sm);
    color: var(--stone-400);
}

.item-price {
    font-size: var(--text-sm);
    color: var(--stone-400);
    text-align: right;
}

.item-subtotal {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
    text-align: right;
}

/* Order Totals Detail */
.order-totals-detail {
    border-top: 1px solid var(--color-border-subtle);
    padding-top: var(--space-4);
}

.order-totals-detail .total-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--stone-400);
}

.order-totals-detail .total-row.discount span:last-child {
    color: var(--color-success);
}

.order-totals-detail .total-row.total {
    border-top: 1px solid var(--color-border-subtle);
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-100);
}

.order-totals-detail .total-row.total span:last-child {
    color: var(--color-primary-light);
}

/* Address Box & Info Box */
.address-box,
.info-box {
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
}

.address-box p,
.info-box p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
}

.address-box strong {
    color: var(--stone-200);
}

/* Order Actions */
.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.order-actions .btn svg {
    margin-right: var(--space-2);
}

/* Orders Table (Desktop) */
.orders-table-wrapper {
    display: none;
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

@media (min-width: 768px) {
    .orders-table-wrapper {
        display: block;
    }
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    background: var(--stone-800);
    border-bottom: 1px solid var(--color-border);
}

.orders-table td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border-subtle);
    vertical-align: middle;
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.orders-table tbody tr:hover {
    background: var(--stone-800);
}

.orders-table .order-number {
    font-weight: 600;
    color: var(--stone-100);
}

.orders-table .order-date {
    color: var(--stone-400);
    font-size: var(--text-sm);
}

.orders-table .order-total {
    font-weight: 600;
    color: var(--color-primary-light);
}

/* Orders List Mobile */
.orders-list-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 768px) {
    .orders-list-mobile {
        display: none;
    }
}

.orders-list-mobile .order-card {
    display: block;
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    text-decoration: none;
    transition: all var(--transition-base);
}

.orders-list-mobile .order-card:hover {
    border-color: var(--color-border);
    background: var(--stone-800);
}

.orders-list-mobile .order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    padding: 0;
    background: transparent;
}

.orders-list-mobile .order-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
    padding: 0;
}

.orders-list-mobile .order-date {
    font-size: var(--text-sm);
    color: var(--stone-500);
}

.orders-list-mobile .order-total {
    font-weight: 600;
    color: var(--color-primary-light);
}

.order-card-items {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* Account Card (Profile, etc.) */
.account-card {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
}

.account-card + .account-card {
    margin-top: var(--space-6);
}

.account-card .card-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    margin: 0 0 var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-subtle);
}

.account-card .card-text {
    font-size: var(--text-sm);
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.account-card-danger {
    border-color: rgba(239, 68, 68, 0.3);
}

.account-card-danger .card-title {
    color: var(--color-error);
}

/* Account Form */
.account-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-subtle);
}

/* Preferences List */
.preferences-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--stone-800);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.preference-item:hover {
    border-color: var(--color-border);
}

.preference-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.preference-info strong {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-200);
}

.preference-info span {
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* Toggle Switch */
.toggle {
    appearance: none;
    width: 44px;
    height: 24px;
    background: var(--stone-700);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--stone-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.toggle:checked {
    background: var(--color-primary);
}

.toggle:checked::before {
    transform: translateX(20px);
    background: var(--stone-900);
}

.toggle:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Danger Outline Button */
.btn-outline-danger {
    background: transparent;
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.btn-outline-danger:hover:not(:disabled) {
    background: var(--color-error);
    color: var(--stone-100);
}

.btn-outline-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Addresses Grid */
.addresses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
    .addresses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Address Card (Account page style) */
.account-main .address-card {
    position: relative;
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.account-main .address-card.default {
    border-color: var(--color-primary);
}

.address-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-primary-light);
    background: rgba(232, 189, 139, 0.15);
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.address-content {
    flex: 1;
}

.address-content strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--stone-100);
    margin-bottom: var(--space-2);
}

.address-content p {
    font-size: var(--text-sm);
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin: 0;
}

.address-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-input {
    padding-right: var(--space-12);
}

.password-toggle {
    position: absolute;
    right: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    background: none;
    border: none;
    color: var(--stone-500);
    cursor: pointer;
    transition: color var(--transition-base);
}

.password-toggle:hover {
    color: var(--stone-300);
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: var(--space-1);
    font-size: var(--text-xs);
    color: var(--stone-500);
}

/* ========================================
   ADMIN STYLES
   ======================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--stone-900);
    border-right: 1px solid var(--color-border);
    padding: var(--space-6);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: var(--space-8);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.admin-title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--stone-400);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.admin-nav-link:hover {
    color: var(--stone-100);
    background: var(--stone-800);
}

.admin-nav-link.is-active {
    color: var(--color-primary-light);
    background: var(--color-primary-muted);
}

.admin-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-6);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.admin-stat {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    text-align: center;
}

.admin-stat-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    margin-bottom: var(--space-3);
}

.admin-stat-value {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--stone-100);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    border-bottom: 1px solid var(--color-border);
}

.admin-table td {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--stone-300);
}

.admin-table tr:hover td {
    background: var(--stone-800);
}

/* Admin Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

/* ========================================
   LEGAL PAGES (Terms, Privacy, Cookies)
   ======================================== */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    font-size: var(--text-lg);
    color: var(--stone-300);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.legal-toc {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
}

.legal-toc h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}

.legal-toc ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
    list-style: none;
    counter-reset: toc;
}

.legal-toc li {
    counter-increment: toc;
}

.legal-toc li a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--stone-400);
    font-size: var(--text-sm);
    padding: var(--space-2) 0;
    transition: color var(--transition-base);
}

.legal-toc li a::before {
    content: counter(toc) ".";
    color: var(--color-primary);
    font-weight: 600;
}

.legal-toc li a:hover {
    color: var(--stone-100);
}

.legal-sections {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.legal-section {
    scroll-margin-top: calc(var(--navbar-height) + var(--space-8));
}

.legal-section h2 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-subtle);
}

.legal-section h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--stone-200);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
}

.legal-section p {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.legal-section ul,
.legal-section ol {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.legal-section li {
    margin-bottom: var(--space-2);
}

.legal-section a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: var(--color-primary);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

.legal-table th,
.legal-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border-subtle);
}

.legal-table th {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    background: var(--stone-900);
}

.legal-table td {
    color: var(--stone-400);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.right-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
}

.right-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-100);
    margin-bottom: var(--space-2);
}

.right-item p {
    font-size: var(--text-sm);
    color: var(--stone-500);
    margin-bottom: 0;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    font-size: var(--text-sm);
}

.cookie-table th,
.cookie-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border-subtle);
}

.cookie-table th {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    background: var(--stone-900);
}

.cookie-table td {
    color: var(--stone-400);
}

.cookie-table td:first-child {
    font-family: var(--font-mono);
    color: var(--color-primary-light);
}

.cookie-notice-box {
    background: var(--color-warning-bg);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.cookie-notice-box h4 {
    color: var(--color-warning);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-2);
}

.cookie-notice-box p {
    color: var(--stone-300);
    margin-bottom: 0;
}

/* ========================================
   SHIPPING & RETURNS PAGES
   ======================================== */

.shipping-content,
.returns-content {
    max-width: 900px;
    margin: 0 auto;
}

.shipping-highlights,
.returns-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.highlight-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    text-align: center;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    background: var(--color-primary-muted);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
}

.highlight-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-2);
}

.highlight-card p {
    color: var(--stone-500);
    font-size: var(--text-sm);
}

.shipping-details,
.returns-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.detail-section h2 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
}

.detail-section p {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.shipping-table,
.returns-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

.shipping-table th,
.shipping-table td,
.returns-table th,
.returns-table td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--color-border-subtle);
}

.shipping-table th,
.returns-table th {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    background: var(--stone-900);
}

.shipping-table td,
.returns-table td {
    color: var(--stone-300);
}

.shipping-table .highlight-row td {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.note {
    font-size: var(--text-sm);
    color: var(--stone-500);
    font-style: italic;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.timeline-item {
    display: flex;
    gap: var(--space-6);
}

.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-muted);
    color: var(--color-primary-light);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.timeline-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-100);
    margin-bottom: var(--space-2);
}

.timeline-content p {
    color: var(--stone-500);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--stone-400);
}

.feature-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-success);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: var(--space-6) 0;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-5) var(--space-6);
    font-weight: 600;
    color: var(--stone-200);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: var(--text-xl);
    color: var(--stone-500);
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--stone-400);
    margin-bottom: 0;
}

/* Shipping CTA */
.shipping-cta,
.returns-cta {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-4xl);
    padding: var(--space-12);
    text-align: center;
    margin-top: var(--space-16);
}

.shipping-cta h3,
.returns-cta h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-4);
}

.shipping-cta p,
.returns-cta p {
    color: var(--stone-500);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Returns Specific */
.conditions-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
}

.condition-ok {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--color-success-bg);
    border-radius: var(--radius-xl);
    color: var(--stone-300);
    margin-bottom: var(--space-2);
}

.condition-ok svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.exceptions-list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
}

.exceptions-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--stone-400);
}

.exceptions-list li svg {
    color: var(--color-error);
    flex-shrink: 0;
}

/* Steps Guide */
.steps-guide {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin: var(--space-8) 0;
}

.steps-guide .step {
    display: flex;
    gap: var(--space-6);
}

.steps-guide .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stone-800);
    color: var(--color-primary-light);
    font-size: var(--text-xl);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.steps-guide .step-content {
    flex: 1;
}

.steps-guide .step-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--stone-100);
    margin-bottom: var(--space-2);
}

.steps-guide .step-content p {
    color: var(--stone-400);
    margin-bottom: var(--space-2);
}

.steps-guide .step-content ul {
    padding-left: var(--space-6);
    margin-top: var(--space-2);
}

.steps-guide .step-content li {
    color: var(--stone-500);
    font-size: var(--text-sm);
}

/* ========================================
   ANPC PAGE
   ======================================== */

.anpc-content {
    max-width: 900px;
    margin: 0 auto;
}

.anpc-intro {
    font-size: var(--text-lg);
    color: var(--stone-300);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
}

.anpc-sections {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.anpc-section h2 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
}

.anpc-section h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--stone-200);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
}

.anpc-section p {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.anpc-contact-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    margin: var(--space-6) 0;
}

.anpc-contact-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    margin-top: 0;
    margin-bottom: var(--space-6);
}

.anpc-contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.anpc-contact-card li {
    padding: var(--space-2) 0;
    color: var(--stone-400);
}

.anpc-contact-card a {
    color: var(--color-primary-light);
}

.sol-card {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    background: linear-gradient(135deg, var(--stone-900), var(--stone-800));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-4xl);
    padding: var(--space-8);
    margin: var(--space-8) 0;
}

.sol-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-muted);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
}

.sol-info h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    margin-top: 0;
    margin-bottom: var(--space-3);
}

.sol-info p {
    color: var(--stone-400);
    margin-bottom: var(--space-6);
}

.sol-info .btn svg {
    margin-left: var(--space-2);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.right-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
}

.right-card h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--stone-100);
    margin-bottom: var(--space-2);
}

.right-card p {
    font-size: var(--text-sm);
    color: var(--stone-500);
    margin-bottom: 0;
}

.legislation-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
}

.legislation-list li {
    padding: var(--space-3) var(--space-4);
    background: var(--stone-900);
    border-radius: var(--radius-xl);
    color: var(--stone-400);
    margin-bottom: var(--space-2);
}

.legislation-list li strong {
    color: var(--stone-200);
}

.anpc-cta {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-4xl);
    padding: var(--space-12);
    text-align: center;
    margin-top: var(--space-16);
}

.anpc-cta h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-4);
}

.anpc-cta p {
    color: var(--stone-500);
    margin-bottom: var(--space-8);
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: var(--space-16);
    }
}

.contact-form-wrapper {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-4xl);
    padding: var(--space-8);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: var(--space-12);
    }
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .contact-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
}

.info-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border-subtle);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.info-item strong {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--stone-500);
    margin-bottom: var(--space-1);
}

.info-item a,
.info-item span {
    color: var(--stone-300);
    font-size: var(--text-sm);
}

.info-item a:hover {
    color: var(--color-primary-light);
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.social-links-contact .social-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--stone-900);
    border-radius: var(--radius-xl);
    color: var(--stone-400);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.social-links-contact .social-link:hover {
    background: var(--stone-800);
    color: var(--stone-100);
}

.faq-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-links li {
    padding: var(--space-2) 0;
}

.faq-links a {
    color: var(--stone-400);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition-base);
}

.faq-links a::before {
    content: '→';
    color: var(--color-primary);
}

.faq-links a:hover {
    color: var(--color-primary-light);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: var(--space-16);
}

.about-intro .lead {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-300);
    line-height: var(--leading-relaxed);
    font-style: italic;
}

@media (min-width: 768px) {
    .about-intro .lead {
        font-size: var(--text-3xl);
    }
}

.about-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-20);
    align-items: center;
}

@media (min-width: 768px) {
    .about-story {
        grid-template-columns: 1fr 1fr;
    }
}

.story-image {
    aspect-ratio: 4/5;
    border-radius: var(--radius-5xl);
    overflow: hidden;
    background: var(--stone-900);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
}

.story-text p {
    color: var(--stone-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.about-values {
    margin-bottom: var(--space-20);
}

.about-values h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: var(--space-12);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-8);
}

.value-item {
    text-align: center;
    padding: var(--space-8);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-4xl);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    background: var(--color-primary-muted);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
}

.value-item h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    margin-bottom: var(--space-3);
}

.value-item p {
    color: var(--stone-500);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.about-process {
    margin-bottom: var(--space-20);
}

.about-process h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: var(--space-12);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.process-step {
    position: relative;
    padding: var(--space-8);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
}

.step-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-primary-muted);
    margin-bottom: var(--space-4);
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--stone-100);
    margin-bottom: var(--space-3);
}

.process-step p {
    color: var(--stone-500);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.about-cta {
    text-align: center;
    padding: var(--space-16);
    background: linear-gradient(135deg, var(--stone-900), var(--stone-800));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-5xl);
}

.about-cta h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.about-cta p {
    color: var(--stone-400);
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

/* ========================================
   ORDER CONFIRMATION
   ======================================== */

.confirmation-section {
    padding: var(--space-10) 0 var(--space-16);
}

.confirmation-box {
    max-width: 760px;
    margin: 0 auto;
}

.confirmation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-success-bg);
    color: var(--color-success);
    margin: 0 auto var(--space-6);
}

.confirmation-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--stone-100);
    text-align: center;
    margin-bottom: var(--space-3);
}

.confirmation-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--stone-300);
    margin-bottom: var(--space-2);
}

.confirmation-email {
    text-align: center;
    font-size: var(--text-base);
    color: var(--stone-400);
    margin-bottom: var(--space-10);
}

/* Order details box */
.order-details-box {
    background: var(--stone-900);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl, 1rem);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.order-details-title {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
}

.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border-subtle);
}

@media (max-width: 600px) {
    .order-details-grid {
        grid-template-columns: 1fr;
    }
}

.order-detail-section h3 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light, var(--stone-400));
    margin-bottom: var(--space-2);
}

.order-detail-section p {
    font-size: var(--text-base);
    color: var(--stone-300);
    line-height: 1.7;
}

.bank-details {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--stone-800);
    border-radius: 0.5rem;
    font-size: var(--text-sm);
    color: var(--stone-400);
}

/* Order items */
.order-items-section h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--stone-100);
    margin-bottom: var(--space-4);
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border-subtle);
    font-size: var(--text-base);
    color: var(--stone-300);
}

.item-name {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.item-qty {
    font-size: var(--text-sm);
    color: var(--stone-500);
}

.item-price {
    font-weight: 500;
    color: var(--stone-200);
    white-space: nowrap;
}

/* Order totals */
.order-totals {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-base);
    color: var(--stone-400);
    padding: var(--space-1) 0;
}

.order-total-row.discount {
    color: var(--color-success);
}

.order-total-row.total {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--stone-100);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-3);
    margin-top: var(--space-2);
}

/* Steps timeline */
.confirmation-next-steps {
    margin-bottom: var(--space-8);
}

.confirmation-next-steps h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--stone-100);
    margin-bottom: var(--space-6);
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 52px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--color-border);
}

.step.completed .step-icon {
    background: var(--color-success-bg);
    color: var(--color-success);
    border-color: var(--color-success);
}

.step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--stone-900);
    color: var(--stone-500);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding-top: var(--space-2);
}

.step-content strong {
    font-size: var(--text-base);
    color: var(--stone-200);
}

.step-content span {
    font-size: var(--text-sm);
    color: var(--stone-500);
}

/* Actions */
.confirmation-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

/* Support */
.confirmation-support {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--stone-500);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border-subtle);
}

.confirmation-support a {
    color: var(--stone-300);
    text-decoration: underline;
}
