/* ==============================================
   VALIKOVSKAYAHOME — MODERN DESIGN SYSTEM
   ============================================== */

:root {
    --color-primary: #2D2D2D;
    --color-primary-hover: #1A1A1A;
    --color-secondary: #6B6B6B;
    --color-accent: #B87333;
    --color-accent-hover: #9A5E28;
    --color-accent-light: rgba(184, 115, 51, 0.1);
    --color-accent-lighter: rgba(184, 115, 51, 0.06);
    --color-surface: #FFFFFF;
    --color-surface-alt: #F7F6F4;
    --color-surface-warm: #FAF9F7;
    --color-on-surface: #1A1A1A;
    --color-on-surface-muted: #6B6B6B;
    --color-on-surface-light: #999999;
    --color-border: #E8E6E3;
    --color-border-light: #F0EEEB;
    --color-danger: #DC3545;
    --color-success: #28A745;
    --color-warning: #FFC107;
    --color-info: #0dcaf0;

    --color-white-overlay-10: rgba(255, 255, 255, 0.1);
    --color-white-overlay-60: rgba(255, 255, 255, 0.6);
    --color-white-overlay-75: rgba(255, 255, 255, 0.75);
    --color-black-overlay-20: rgba(0, 0, 0, 0.2);
    --color-black-overlay-85: rgba(0, 0, 0, 0.85);
    --color-white-overlay-90: rgba(255, 255, 255, 0.9);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    --navbar-height: 72px;
    --container-max: 1280px;
}

/* ==============================================
   BASE & RESET
   ============================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-on-surface);
    background-color: var(--color-surface-alt);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media (max-width: 767.98px) {
    body { background-attachment: scroll; }
}

body, p, div, li, td, th {
    color: var(--color-on-surface);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-on-surface);
    font-weight: 700;
    line-height: 1.2;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

a {
    color: var(--color-accent);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

/* ==============================================
   SKIP LINK (accessibility)
   ============================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ==============================================
   LAYOUT — NAVBAR
   ============================================== */

.navbar {
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    z-index: 1030;
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    text-decoration: none;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.logo-icon i {
    font-size: 18px;
    color: var(--color-surface);
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text-main {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.brand-text-sub {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 500;
    margin-top: -2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.navbar-brand:hover .logo-icon {
    background: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.navbar-brand:hover .logo-icon i {
    color: var(--color-surface);
}

.navbar-brand:hover .brand-text-main {
    color: var(--color-accent);
}

.navbar-brand:hover .brand-text-sub {
    color: var(--color-accent-hover);
}

.navbar-toggler {
    border: 1px solid var(--color-border);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232D2D2D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    transition: color var(--transition-fast);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-accent);
    background: var(--color-accent-lighter);
}

.navbar-nav .nav-link i {
    margin-right: 0.375rem;
}

.navbar-search .input-group {
    width: 220px;
}

.navbar-search-input {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-on-surface);
    font-size: var(--font-size-sm);
    padding-left: 1rem;
}

.navbar-search-input::placeholder {
    color: var(--color-on-surface-light);
}

.navbar-search-input:focus {
    background: var(--color-surface);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
    color: var(--color-on-surface);
}

.navbar-search-btn {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: var(--color-surface);
    transition: background var(--transition-fast);
}

.navbar-search-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.navbar-search-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.1rem;
    padding: 0.5rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.navbar-search-toggle:hover {
    color: var(--color-accent);
    background: var(--color-accent-lighter);
}

.navbar-mobile-search {
    background: var(--color-surface);
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-border);
}

.navbar-mobile-search .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.navbar-mobile-search .navbar-search-btn {
    border-radius: 0;
}

.navbar-search-close {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-left: none;
    color: var(--color-on-surface);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.navbar-search-close:hover {
    background: var(--color-border-light);
}

/* ==============================================
   LAYOUT — MAIN CONTENT
   ============================================== */

.main-content {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
    padding-top: 1rem;
}

.admin-unauthorized-card {
    border-radius: var(--radius-lg);
}

.admin-unauthorized-icon {
    color: var(--color-accent);
}

.admin-modal-backdrop {
    overflow-y: auto;
}

/* ==============================================
   LAYOUT — FOOTER
   ============================================== */

.footer {
    background: var(--color-primary);
    color: var(--color-surface);
    padding: 3rem 0 1rem 0;
    margin-top: 0;
    flex-shrink: 0;
    min-height: 200px;
}

.footer h5, .footer h6 {
    color: var(--color-surface);
    font-weight: 600;
    font-size: var(--font-size-base);
    letter-spacing: -0.01em;
}

.footer .text-light-50 {
    color: var(--color-white-overlay-60);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--font-size-sm);
}

.footer .text-light-50:hover {
    color: var(--color-accent);
}

.social-links a {
    color: var(--color-surface);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-white-overlay-10);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-links a:hover {
    transform: translateY(-2px);
    background-color: var(--color-accent);
    color: var(--color-surface);
}

.footer .mb-1 i, .footer p i {
    color: var(--color-accent);
}

/* ==============================================
   LAYOUT — CONTAINER
   ============================================== */

.container,
.container-lg,
.container-md,
.container-sm {
    max-width: var(--container-max);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.container-fluid {
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:disabled,
.btn-accent:disabled {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-surface-light);
    opacity: 0.5;
    transform: none;
    box-shadow: none;
}

.btn-outline-primary:disabled,
.btn-outline-accent:disabled {
    border-color: var(--color-border);
    color: var(--color-on-surface-light);
    opacity: 0.5;
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-surface);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-surface);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-accent {
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-outline-accent:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-surface);
}

/* ==============================================
   CARDS
   ============================================== */

.product-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    background: var(--color-surface);
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

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

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

.product-body {
    padding: 1rem;
}

.product-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.product-availability {
    font-size: var(--font-size-sm);
    margin-bottom: 1rem;
}

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

.product-availability.out-of-stock {
    color: var(--color-danger);
}

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

.product-actions .btn {
    flex: 1;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-accent);
    color: var(--color-surface);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge-top-left {
    top: 10px;
    left: 10px;
    z-index: 10;
}

.product-badge-top-right {
    top: 10px;
    right: 10px;
    z-index: 10;
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-badge-stock {
    font-size: var(--font-size-xs);
    white-space: nowrap;
}

.product-favorite-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.product-type {
    background: var(--color-primary);
    color: var(--color-surface);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.out-of-stock {
    background: var(--color-danger);
    color: var(--color-surface);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 0.5rem;
}

.product-footer .price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
}

.card-title a {
    color: var(--color-on-surface);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.card-title a:hover {
    color: var(--color-accent);
}

.card-text {
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* ==============================================
   FAVORITE BUTTON
   ============================================== */

.btn-favorite {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    color: var(--color-danger);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.btn-favorite:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-md);
}

.btn-favorite.active {
    color: var(--color-danger);
    background: rgba(255, 255, 255, 0.95);
}

/* ==============================================
   CART — COUNTER (NAVBAR)
   ============================================== */

.cart-counter {
    height: 100%;
}

.cart-counter a {
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.cart-counter a:hover {
    background: var(--color-accent-lighter);
    color: var(--color-accent);
}

.cart-icon {
    width: 22px;
    height: 22px;
    transition: all var(--transition-fast);
    color: var(--color-primary);
}

.cart-counter a:hover .cart-icon {
    color: var(--color-accent);
}

.cart-badge {
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    padding: 2px 4px;
    top: -2px;
    right: -8px;
    font-weight: 700;
    background: var(--color-accent);
    color: var(--color-surface);
    border: 2px solid var(--color-surface);
}

.cart-counter a:hover .cart-badge {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

/* ==============================================
   CART — ADD TO CART BUTTON
   ============================================== */

.quantity-controls {
    gap: 0.5rem;
}

.quantity-display {
    min-width: 36px;
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.quantity-controls .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.quantity-controls .btn:hover {
    transform: scale(1.05);
}

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

.cart-item-image {
    max-height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item {
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.order-summary {
    position: sticky;
    top: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.summary-row {
    font-size: var(--font-size-sm);
}

.summary-total {
    font-size: var(--font-size-lg);
}

.cart-item-total {
    color: var(--color-accent);
}

.empty-cart-icon {
    opacity: 0.4;
}

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

.order-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.order-item-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.3;
}

.extra-small {
    font-size: var(--font-size-xs);
}

/* ==============================================
   ORDER CONFIRMATION
   ============================================== */

.next-steps {
    font-size: var(--font-size-sm);
}

.success-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==============================================
   BREADCRUMB
   ============================================== */

.breadcrumb {
    border-radius: var(--radius-sm);
    padding: 0.625rem 1rem;
    margin-bottom: 1rem;
    box-shadow: none;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    font-size: var(--font-size-sm);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--color-on-surface-light);
    font-weight: 600;
}

.breadcrumb-item.active {
    color: var(--color-on-surface-muted);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--color-accent-hover);
}

/* ==============================================
   PRODUCT CATALOG — PAGE
   ============================================== */

.page-title {
    color: var(--color-on-surface);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
}

.filters-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.filters-panel.show {
    display: block;
}

.filters-toggle button {
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.filters-panel label {
    color: var(--color-on-surface);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.filter-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-on-surface);
    font-size: var(--font-size-base);
}

.cursor-pointer {
    cursor: pointer;
}

.category-breadcrumb {
    font-size: var(--font-size-xs);
    line-height: 1.3;
}

.category-breadcrumb .cursor-pointer:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group:last-child {
    margin-bottom: 1.5rem;
}

.results-info {
    font-weight: 500;
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-sm);
}

.no-products {
    color: var(--color-on-surface-muted);
    text-align: center;
    padding: 3rem;
    font-size: var(--font-size-lg);
}

/* ==============================================
   PRODUCT LIST VIEW
   ============================================== */

.product-list-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.product-list-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.product-list-item .product-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.product-placeholder {
    opacity: 0.6;
    background-color: var(--color-surface-alt);
    border: 1px solid var(--color-border);
}

.dropdown-menu {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

/* ==============================================
   PAGINATION
   ============================================== */

.active > .page-link, .page-link.active {
    z-index: 3;
    color: var(--color-surface);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.page-link {
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ==============================================
   HOME PAGE
   ============================================== */

.home-hero {
    background: var(--color-surface);
    padding: 4rem 0 3rem;
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.home-hero-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.home-hero-profile {
    flex-shrink: 0;
}

.home-hero-profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent-light);
    box-shadow: var(--shadow-lg);
}

.home-hero-gallery {
    position: relative;
}

.home-hero-gallery .carousel-inner {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.home-hero-gallery .carousel-item {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.home-carousel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(14px);
    transform: scale(1.06);
    z-index: 0;
}

.home-carousel-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--color-black-overlay-20), rgba(0, 0, 0, 0.12));
    z-index: 1;
}

.home-carousel-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    z-index: 2;
}

.home-carousel-main-img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
}

.home-hero-content {
    padding: 1rem 0;
}

.home-hero-badge {
    display: inline-block;
    background: var(--color-accent-light);
    color: var(--color-accent);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.home-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--color-on-surface);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.home-hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-on-surface-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

.home-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-hero-btn {
    min-height: 52px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
}

.home-section {
    padding: 4rem 0;
}

.home-section-alt {
    background: var(--color-surface);
}

.home-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.home-section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-on-surface);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.home-section-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-on-surface-muted);
}

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

.home-collection-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 64px;
    text-align: left;
    font-family: var(--font-family);
}

.home-collection-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.home-collection-icon {
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.home-collection-name {
    font-weight: 600;
    color: var(--color-on-surface);
    font-size: var(--font-size-base);
    flex: 1;
}

.home-collection-arrow {
    color: var(--color-on-surface-light);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.home-collection-card:hover .home-collection-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

.home-social-section {
    padding: 4rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
}

.home-social-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.home-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--color-on-surface);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    min-height: 48px;
}

.home-social-link i {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.home-social-link:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 2.5rem 0 2rem;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-hero-left {
        flex-direction: column;
        text-align: center;
    }

    .home-hero-profile-img {
        width: 150px;
        height: 150px;
    }

    .home-hero-gallery .carousel-inner {
        height: 360px;
    }

    .home-hero-title {
        font-size: var(--font-size-4xl);
    }

    .home-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-actions {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .home-hero-profile-img {
        width: 120px;
        height: 120px;
    }

    .home-hero-title {
        font-size: var(--font-size-3xl);
    }

    .home-hero-description {
        font-size: var(--font-size-base);
    }

    .home-hero-gallery .carousel-inner {
        height: 300px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-btn {
        justify-content: center;
    }

    .home-collections-grid {
        grid-template-columns: 1fr;
    }

    .home-social-links {
        flex-direction: column;
        align-items: center;
    }
}

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

.product-info {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.price-color {
    color: var(--color-primary);
}

.product-carousel .carousel-inner {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
}

.product-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--color-surface-alt);
}

.glightbox-wrapper {
    cursor: pointer;
    display: block;
}

.clickable-image {
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.clickable-image:hover {
    opacity: 0.92;
}

.product-detail .product-title {
    font-weight: 800;
    color: var(--color-on-surface);
    font-size: var(--font-size-2xl);
    letter-spacing: -0.02em;
}

.product-meta .badge {
    font-size: var(--font-size-sm);
}

.product-description-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    color: var(--color-on-surface-muted);
}

.product-details .row {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.product-details .row:last-child {
    border-bottom: none;
}

.related-products .card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.related-products .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-products .product-image img {
    height: 200px;
    object-fit: cover;
}

.carousel .carousel-item img {
    height: 480px;
}

@media (max-width: 767.98px) {
    .carousel .carousel-item img {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-item img {
        height: 280px;
    }
}

.glightbox {
    display: block;
}

/* ==============================================
   ABOUT & CONTACTS PAGES
   ============================================== */

.hero-section {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
    color: var(--color-on-surface);
    padding: 4rem 0;
}

.hero-title {
    color: var(--color-on-surface);
    font-weight: 800;
    font-size: var(--font-size-5xl);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-xl);
    line-height: 1.5;
}

.section-title {
    color: var(--color-on-surface);
    font-weight: 800;
    font-size: var(--font-size-3xl);
    letter-spacing: -0.02em;
}

.content-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.content-card h4 {
    color: var(--color-on-surface);
    font-weight: 700;
}

.content-card p, .content-card li {
    color: var(--color-on-surface-muted);
}

.features-section {
    background: var(--color-surface-alt);
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.gold-icon {
    color: var(--color-accent);
}

.feature-card h4, .step-card h4 {
    color: var(--color-on-surface);
    font-weight: 700;
    margin-top: 1rem;
}

.feature-card p, .step-card p {
    color: var(--color-on-surface-muted);
}

.cta-section {
    background: var(--color-primary);
    color: var(--color-surface);
}

.cta-section h3 {
    color: var(--color-surface);
    font-weight: 800;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-radius: var(--radius-md);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.social-section {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-warm) 100%);
}

.section-title, .social-section p, .section-time p, .contact-card p {
    font-weight: 500;
}

.working-hours {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.working-hours h5 {
    color: var(--color-on-surface);
    font-weight: 700;
}

.order-section {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-warm) 100%);
}

.step-card {
    padding: 2rem 1rem;
}

.badge-gold {
    background-color: var(--color-accent);
    color: var(--color-surface);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: var(--font-size-xl);
}

/* ==============================================
   COOKIE CONSENT
   ============================================== */

.cookie-consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-black-overlay-85);
    color: var(--color-white-overlay-90) !important;
    z-index: 9999;
    font-size: var(--font-size-sm);
    box-shadow: 0 -4px 20px var(--color-black-overlay-20);
}

.cookie-consent-container p {
    color: var(--color-white-overlay-90) !important;
}

.cookie-consent-container a {
    color: var(--color-accent) !important;
    text-decoration: underline;
}

.cookie-consent-container a:hover {
    color: var(--color-accent-hover) !important;
}

/* ==============================================
   MAINTENANCE PAGE
   ============================================== */

.maintenance-container {
    min-height: 100vh;
    background-color: var(--color-surface-alt);
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 20px 20px;
}

.maintenance-card {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

/* ==============================================
   ADMIN LINKS (in navbar)
   ============================================== */

.admin-link {
    padding: 8px;
    border-radius: var(--radius-sm);
    margin-right: 8px;
    transition: all var(--transition-fast);
    background-color: var(--color-accent-light);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.admin-link:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
}

.admin-icon {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    transition: all var(--transition-fast);
}

.admin-link:hover .admin-icon {
    color: var(--color-surface);
}

/* ==============================================
   ACCOUNT MANAGEMENT
   ============================================== */

.account-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.sidebar-title {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.account-sidebar .nav-link {
    color: var(--color-on-surface);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    transition: all var(--transition-fast);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.account-sidebar .nav-link:hover {
    background: var(--color-accent-lighter);
    color: var(--color-accent);
}

.account-sidebar .nav-link.active {
    background: var(--color-primary);
    color: var(--color-surface);
    font-weight: 600;
}

.account-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.auth-container {
    max-width: 480px;
    margin: 4rem auto;
}

.account-content h1, .account-content h2, .account-content h3 {
    color: var(--color-on-surface);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.account-content .form-control,
.auth-container .form-control {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-on-surface);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    padding: 0.625rem 0.875rem;
    transition: all var(--transition-fast);
}

.account-content .form-control:focus,
.auth-container .form-control:focus {
    background-color: var(--color-surface);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
    color: var(--color-on-surface);
}

.account-content .form-control:disabled,
.auth-container .form-control:disabled {
    background-color: var(--color-surface-alt);
    border-color: var(--color-border-light);
    color: var(--color-on-surface-muted);
}

.account-content label,
.auth-container label {
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.account-content p, .account-content strong,
.auth-container p, .auth-container strong {
    color: var(--color-on-surface);
}

.account-content .form-floating > label,
.auth-container .form-floating > label {
    color: var(--color-on-surface-muted);
}

.account-content .form-floating > .form-control:focus ~ label,
.account-content .form-floating > .form-control:not(:placeholder-shown) ~ label,
.auth-container .form-floating > .form-control:focus ~ label,
.auth-container .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--color-accent);
}

.account-content .input-group-text,
.auth-container .input-group-text {
    background-color: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-on-surface-muted);
}

.account-content .btn-primary,
.auth-container .btn-primary {
    background: var(--color-primary);
    border: none;
    color: var(--color-surface);
    font-weight: 600;
    transition: all var(--transition-fast);
    min-height: 48px;
    border-radius: var(--radius-sm);
}

.account-content .btn-primary:hover,
.auth-container .btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.auth-links a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 500;
}

.auth-links a:hover {
    color: var(--color-accent-hover);
}

/* ==============================================
   TEXT HELPERS
   ============================================== */

.text-light-on-dark {
    color: var(--color-surface);
}

.text-gold-on-dark {
    color: var(--color-accent);
}

.pre-wrap {
    white-space: pre-wrap;
}

.attribute-form-check-input {
    margin-left: 0;
}

.attribute-form-check-label {
    margin-left: 5px;
}

/* ==============================================
   ICON MAX
   ============================================== */

.icon-max {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 42.313 42.523' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath clip-rule='evenodd' d='M21.47 41.88c-4.11 0-6.02-.6-9.34-3-2.1 2.7-8.75 4.81-9.04 1.2 0-2.71-.6-5-1.28-7.5C1 29.5.08 26.07.08 21.1.08 9.23 9.82.3 21.36.3c11.55 0 20.6 9.37 20.6 20.91a20.6 20.6 0 0 1-20.49 20.67m.17-31.32c-5.62-.29-10 3.6-10.97 9.7-.8 5.05.62 11.2 1.83 11.52.58.14 2.04-1.04 2.95-1.95a10.4 10.4 0 0 0 5.08 1.81 10.7 10.7 0 0 0 11.19-9.97 10.7 10.7 0 0 0-10.08-11.1Z' fill-rule='evenodd' fill='currentColor'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 42.313 42.523' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath clip-rule='evenodd' d='M21.47 41.88c-4.11 0-6.02-.6-9.34-3-2.1 2.7-8.75 4.81-9.04 1.2 0-2.71-.6-5-1.28-7.5C1 29.5.08 26.07.08 21.1.08 9.23 9.82.3 21.36.3c11.55 0 20.6 9.37 20.6 20.91a20.6 20.6 0 0 1-20.49 20.67m.17-31.32c-5.62-.29-10 3.6-10.97 9.7-.8 5.05.62 11.2 1.83 11.52.58.14 2.04-1.04 2.95-1.95a10.4 10.4 0 0 0 5.08 1.81 10.7 10.7 0 0 0 11.19-9.97 10.7 10.7 0 0 0-10.08-11.1Z' fill-rule='evenodd' fill='currentColor'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
}

.fa-lg.icon-max {
    font-size: 1.25em;
    line-height: 0.75em;
    vertical-align: -0.0667em;
}

.fa-2x.icon-max {
    font-size: 2em;
}

/* ==============================================
   ADMIN PANEL
   ============================================== */

.admin-wrapper {
    min-height: 100vh;
    background-color: var(--color-surface-alt);
    overflow-x: hidden;
}

.admin-wrapper .navbar {
    position: static;
    padding: 0.625rem 0;
    background: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
}

.admin-wrapper .navbar .navbar-brand {
    white-space: nowrap;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-surface);
    letter-spacing: -0.01em;
}

.admin-wrapper .navbar .navbar-brand i {
    color: var(--color-accent);
}

.admin-wrapper .navbar .navbar-nav.admin-nav {
    flex-wrap: wrap;
}

.admin-wrapper .navbar .nav-link {
    color: var(--color-white-overlay-75);
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.admin-wrapper .navbar .nav-link:hover {
    color: var(--color-surface);
    background: var(--color-white-overlay-10);
}

.admin-wrapper .navbar .nav-link.active {
    color: var(--color-surface);
    background: var(--color-white-overlay-10);
    font-weight: 600;
}

.admin-wrapper .navbar button.nav-link {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white-overlay-75);
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.admin-wrapper .navbar button.nav-link:hover {
    color: var(--color-surface);
    background: var(--color-white-overlay-10);
}

.admin-wrapper .navbar button.nav-link.active {
    color: var(--color-surface);
    background: var(--color-white-overlay-10);
    font-weight: 600;
}

.admin-wrapper .navbar .dropdown-toggle.active {
    color: var(--color-surface);
}

.admin-wrapper .navbar .dropdown-menu {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.admin-wrapper .navbar .dropdown-menu .dropdown-item {
    color: var(--color-on-surface);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.admin-wrapper .navbar .dropdown-menu .dropdown-item:hover {
    color: var(--color-on-surface);
    background-color: var(--color-accent-lighter);
}

.admin-wrapper .navbar .dropdown-menu .dropdown-item.active {
    background-color: transparent;
    color: var(--color-accent);
    font-weight: 700;
}

.admin-wrapper .navbar .btn-outline-primary {
    border-color: var(--color-white-overlay-75);
    color: var(--color-white-overlay-75);
    font-size: var(--font-size-sm);
}

.admin-wrapper .navbar .btn-outline-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-surface);
}

.admin-wrapper .navbar-toggler {
    border-color: var(--color-white-overlay-75);
}

.admin-wrapper .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-admin-content {
    padding: 1.5rem 0 2rem;
}

.main-admin-content .card {
    margin-top: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.admin-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-on-surface);
    letter-spacing: -0.02em;
}

.admin-header h1 i {
    color: var(--color-accent);
}

.orders-header-actions {
    flex-wrap: wrap;
}

/* Admin — Modal Backdrop */
.admin-modal-backdrop {
    background: var(--color-black-overlay-20);
    backdrop-filter: blur(4px);
}

/* Admin — Buttons */
.admin-wrapper .btn-primary {
    background: var(--color-accent);
    border: none;
    color: var(--color-surface);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.admin-wrapper .btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.admin-wrapper .btn-success {
    background: var(--color-success);
    border: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-danger {
    background: var(--color-danger);
    border: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-warning {
    background: var(--color-warning);
    border: none;
    font-weight: 600;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-info {
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-primary {
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-surface);
}

.admin-wrapper .btn-outline-info {
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-info:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.admin-wrapper .btn-outline-danger {
    border-color: var(--color-danger);
    color: var(--color-danger);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-danger:hover {
    background: var(--color-danger);
    color: var(--color-surface);
}

.admin-wrapper .btn-outline-success {
    border-color: var(--color-success);
    color: var(--color-success);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-success:hover {
    background: var(--color-success);
    color: var(--color-surface);
}

.admin-wrapper .btn-outline-secondary {
    border-color: var(--color-border);
    color: var(--color-on-surface-muted);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-secondary:hover {
    background: var(--color-surface-alt);
    border-color: var(--color-on-surface-muted);
    color: var(--color-on-surface);
}

.admin-wrapper .btn-outline-warning {
    border-color: var(--color-warning);
    color: var(--color-primary);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.admin-wrapper .btn-outline-warning:hover {
    background: var(--color-warning);
    color: var(--color-primary);
}

/* Admin — Cards */
.admin-wrapper .card {
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.admin-wrapper .card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.admin-wrapper .card-header {
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-on-surface);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.admin-wrapper .card-body {
    color: var(--color-on-surface);
}

.admin-wrapper .card-footer {
    background: var(--color-surface-alt);
    border-top: 1px solid var(--color-border);
}

/* Admin — Stat Cards */
.admin-stat-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--color-on-surface);
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.admin-stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.admin-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-on-surface-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.admin-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.admin-stat-card-new .admin-stat-value { color: var(--color-warning); }
.admin-stat-card-new .admin-stat-icon { background: rgba(255, 193, 7, 0.1); color: var(--color-warning); }

.admin-stat-card-progress .admin-stat-value { color: var(--color-info); }
.admin-stat-card-progress .admin-stat-icon { background: rgba(13, 202, 240, 0.1); color: var(--color-info); }

.admin-stat-card-ready .admin-stat-value { color: var(--color-success); }
.admin-stat-card-ready .admin-stat-icon { background: rgba(40, 167, 69, 0.1); color: var(--color-success); }

.admin-stat-card-total .admin-stat-value { color: var(--color-accent); }
.admin-stat-card-total .admin-stat-icon { background: var(--color-accent-light); color: var(--color-accent); }

/* Admin — Tables */
.admin-wrapper .table {
    color: var(--color-on-surface);
    font-size: var(--font-size-sm);
}

.admin-wrapper .table thead th {
    background: var(--color-surface-alt);
    color: var(--color-on-surface-muted);
    font-weight: 600;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-border);
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.admin-wrapper .table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--color-surface);
}

.admin-wrapper .table-striped tbody tr:nth-of-type(even) {
    background-color: var(--color-surface-alt);
}

.admin-wrapper .table-hover tbody tr:hover {
    background-color: var(--color-accent-lighter);
}

.admin-wrapper .table .form-check-input {
    cursor: pointer;
}

.admin-wrapper .table-active {
    background-color: var(--color-accent-light);
}

/* Admin — Filter Cards */
.admin-filters .form-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-on-surface-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.375rem;
}

/* Admin — Badges */
.admin-wrapper .badge.bg-primary {
    background-color: var(--color-accent) !important;
}

.admin-wrapper .badge.bg-secondary {
    background-color: var(--color-on-surface-muted) !important;
}

.admin-wrapper .badge.bg-info {
    background-color: var(--color-info);
}

.admin-wrapper .badge.bg-warning {
    background-color: var(--color-warning) !important;
    color: var(--color-primary) !important;
}

.admin-wrapper .badge.bg-danger {
    background-color: var(--color-danger) !important;
}

.admin-wrapper .badge.bg-success {
    background-color: var(--color-success) !important;
}

/* Admin — Forms */
.admin-wrapper .form-control,
.admin-wrapper .form-select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    min-height: 40px;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
}

.admin-wrapper .form-control:focus,
.admin-wrapper .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.admin-wrapper .form-label {
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.admin-wrapper .form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.admin-wrapper .form-check-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

/* Admin — Pagination */
.admin-wrapper .page-link {
    color: var(--color-on-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    margin: 0 2px;
}

.admin-wrapper .page-link:hover {
    background: var(--color-accent-lighter);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.admin-wrapper .active > .page-link,
.admin-wrapper .page-link.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-surface);
}

/* Admin — Kanban */
.kanban-container {
    overflow-x: auto;
    padding: 0 0.5rem 1.5rem;
}

.kanban-board {
    display: flex;
    gap: 1rem;
    min-height: 70vh;
    align-items: flex-start;
    padding-bottom: 1rem;
}

.kanban-column {
    flex: 0 0 280px;
    background-color: var(--color-surface-alt);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    max-height: 75vh;
    border: 1px solid var(--color-border);
    position: relative;
}

.kanban-column:focus-within {
    z-index: 20;
}

.kanban-column-header {
    padding: 1rem;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.kanban-cards {
    padding: 0.75rem;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
}

.kanban-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-sm);
    margin-bottom: 0.625rem;
    padding: 0.875rem;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
    cursor: default;
    position: relative;
    z-index: 1;
}

.kanban-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    z-index: 2;
    border-color: var(--color-accent);
}

.kanban-card:focus-within {
    z-index: 100;
}

.kanban-card-actions .btn-link {
    text-decoration: none;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
    color: var(--color-accent);
}

.kanban-card:hover .kanban-card-actions .btn-link {
    opacity: 1;
}

.kanban-card-actions .btn-link.text-success {
    color: var(--color-success) !important;
}

.customer-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-on-surface);
}

.kanban-card .dropdown-menu {
    z-index: 1060;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.kanban-card .dropdown-item {
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
}

.kanban-card .dropdown-item .badge {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.border-new { border-left-color: var(--color-warning) !important; }
.border-confirmed { border-left-color: var(--color-info) !important; }
.border-inprogress { border-left-color: var(--color-accent) !important; }
.border-ready { border-left-color: var(--color-success) !important; }
.border-delivered { border-left-color: var(--color-on-surface-muted) !important; }
.border-cancelled { border-left-color: var(--color-danger) !important; }
.border-awaitingpayment { border-left-color: var(--color-primary) !important; }
.border-paid { border-left-color: var(--color-success) !important; }

/* Admin — Alerts */
.admin-wrapper .alert {
    border-radius: var(--radius-md);
    border: 1px solid;
    font-size: var(--font-size-sm);
}

.admin-wrapper .alert-info {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent-hover);
}

.admin-wrapper .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--color-warning);
    color: var(--color-primary);
}

.admin-wrapper .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--color-danger);
    color: var(--color-danger);
}

/* Admin — Modals */
.admin-wrapper .modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
}

.admin-wrapper .modal-header {
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.admin-wrapper .modal-title {
    font-weight: 700;
    color: var(--color-on-surface);
}

.admin-wrapper .modal-footer {
    background: var(--color-surface-alt);
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Admin — Breadcrumb (in admin layout) */
.admin-wrapper .breadcrumb {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    font-size: var(--font-size-sm);
    box-shadow: none;
}

/* Admin — Dashboard page title */
.admin-dashboard-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-on-surface);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.admin-dashboard-title i {
    color: var(--color-accent);
}

/* Admin — Spinner */
.admin-wrapper .spinner-border {
    color: var(--color-accent);
}

/* Admin — Nav Tabs */
.admin-wrapper .nav-tabs .nav-link {
    color: var(--color-on-surface-muted);
    font-weight: 500;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: all var(--transition-fast);
}

.admin-wrapper .nav-tabs .nav-link:hover {
    color: var(--color-accent);
    border-color: var(--color-border) var(--color-border) var(--color-accent);
}

.admin-wrapper .nav-tabs .nav-link.active {
    color: var(--color-accent);
    border-color: var(--color-accent) var(--color-accent) var(--color-surface);
    font-weight: 600;
}

/* Admin — Accordion */
.admin-wrapper .accordion-button {
    font-weight: 600;
    color: var(--color-on-surface);
    background: var(--color-surface);
}

.admin-wrapper .accordion-button:not(.collapsed) {
    background: var(--color-accent-lighter);
    color: var(--color-accent);
}

.admin-wrapper .accordion-button:focus {
    box-shadow: 0 0 0 3px var(--color-accent-light);
    border-color: var(--color-accent);
}

/* Admin — Product image thumbnail in tables */
.admin-product-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.admin-product-thumb-placeholder {
    width: 44px;
    height: 44px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-on-surface-light);
}

/* ==============================================
   ADMIN ANALYTICS RESPONSIVE
   ============================================== */

.orders-analytics .btn-group {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.orders-analytics .btn-group .btn {
    white-space: nowrap;
}

@media (max-width: 992px) {
    .orders-analytics .btn-group .btn {
        padding: 0.4rem 0.6rem;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 768px) {
    .orders-analytics .btn-group {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .orders-analytics .btn-group .btn {
        width: 100%;
    }

    .orders-analytics .nav-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .orders-analytics .nav-tabs .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: var(--font-size-sm);
    }

    .orders-analytics .table {
        font-size: var(--font-size-sm);
    }

    .orders-analytics .progress {
        height: 6px;
    }
}

@media (max-width: 480px) {
    .orders-analytics .orders-analytics-filters .btn {
        width: 100%;
    }

    .orders-analytics .orders-analytics-filters .form-label {
        font-size: var(--font-size-xs);
    }

    .orders-analytics .card-body {
        padding: 0.75rem;
    }
}

/* ==============================================
   RESPONSIVE — TABLETS
   ============================================== */

@media (max-width: 991.98px) {
    .hero-content {
        max-width: 90%;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-description {
        font-size: var(--font-size-lg);
        margin-bottom: 2.5rem;
    }

    .navbar .nav-link {
        font-size: var(--font-size-sm);
        padding: 0.5rem 0.75rem;
    }

    .navbar .navbar-brand {
        font-size: var(--font-size-base);
    }
}

/* ==============================================
   RESPONSIVE — MOBILE
   ============================================== */

@media (max-width: 767.98px) {
    .main-hero {
        min-height: 100vh;
        background-attachment: scroll;
        padding: 2rem 1rem;
    }

    .hero-content {
        max-width: 95%;
        padding: 1.5rem 1rem;
        border-radius: var(--radius-lg);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: 1rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .brand-text-main {
        font-size: 1.15rem;
    }

    .brand-text-sub {
        font-size: 0.75rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-icon i {
        font-size: 16px;
    }

    .navbar .nav-link {
        font-size: var(--font-size-sm);
    }

    .admin-wrapper .navbar .navbar-brand {
        font-size: var(--font-size-base);
        max-width: 70vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-wrapper .navbar .nav-link {
        font-size: var(--font-size-sm);
    }

    .orders-header {
        gap: 1rem;
    }

    .orders-header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .orders-header-actions > .btn {
        width: 100%;
    }

    .orders-filters .form-label {
        font-size: var(--font-size-xs);
    }

    .orders-table th,
    .orders-table td {
        padding: 0.5rem 0.75rem;
    }

    .orders-table .btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .orders-table .btn-group .btn {
        width: 100%;
    }
}

/* ==============================================
   RESPONSIVE — SMALL MOBILE
   ============================================== */

@media (max-width: 575.98px) {
    .main-hero {
        padding: 1rem 0.5rem;
    }

    .hero-content {
        padding: 1rem 0.875rem;
        border-radius: var(--radius-md);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
    }

    .navbar .nav-link {
        font-size: var(--font-size-xs);
    }

    .navbar .navbar-brand {
        font-size: 0.95rem;
    }

    .product-slide-img {
        max-height: 280px;
    }
}

/* ==============================================
   RESPONSIVE — EXTRA SMALL
   ============================================== */

@media (max-width: 380px) {
    .hero-title {
        font-size: var(--font-size-xl);
    }

    .hero-description {
        font-size: var(--font-size-xs);
    }
}

/* ==============================================
   FORM STYLES (GLOBAL)
   ============================================== */

.form-control {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.625rem 0.875rem;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.625rem 0.875rem;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-check-input {
    cursor: pointer;
}

.form-check-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.input-group-text {
    background-color: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-on-surface-muted);
    border-radius: var(--radius-sm);
}

.btn {
    min-height: 44px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

/* ===== Star Rating ===== */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 1.1rem;
}

.star-rating .star-rating-star {
    color: #ffc107;
    cursor: default;
}

.star-rating .star-rating-star.clickable {
    cursor: pointer;
    transition: transform 0.15s;
}

.star-rating .star-rating-star.clickable:hover {
    transform: scale(1.2);
}

.star-rating .star-rating-value {
    font-weight: 600;
    color: var(--color-on-surface);
}

/* ===== Review Card ===== */
.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow var(--transition-fast);
}

.review-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-card-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-card-verified {
    font-size: 0.75rem;
    color: var(--color-success, #28a745);
    font-weight: 500;
}

.review-card-date {
    font-size: 0.85rem;
    color: var(--color-on-surface-muted);
}

.review-card-body {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-card-images {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.review-card-image-link {
    display: inline-block;
}

.review-card-image-wrapper {
    display: inline-block;
    cursor: pointer;
}

.review-card-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.2s;
}

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

/* ===== Review Form ===== */
.review-form {
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.review-form .form-control:focus,
.review-form .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb, 0, 123, 255), 0.15);
}

.review-form-preview {
    display: inline-block;
}

.review-form-preview-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.review-form-preview-remove {
    padding: 0 4px !important;
    font-size: 0.65rem !important;
    line-height: 1 !important;
    min-height: auto !important;
    border-radius: 50% !important;
}

/* ===== Reviews Page ===== */
.reviews-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.reviews-page-big-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.reviews-page-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.reviews-page-bar-label {
    min-width: 40px;
    font-size: 0.85rem;
    text-align: right;
    white-space: nowrap;
}

.reviews-page-bar-track {
    flex: 1;
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.reviews-page-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.reviews-page-bar-count {
    min-width: 25px;
    font-size: 0.85rem;
    color: var(--color-on-surface-muted);
}

.reviews-page-form-card {
    position: sticky;
    top: 80px;
}

/* ===== Reviews Home Summary ===== */
.reviews-home-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.reviews-home-big-rating {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    text-align: center;
}

.reviews-home-stars {
    text-align: center;
}

.reviews-home-count {
    font-size: 0.85rem;
    color: var(--color-on-surface-muted);
    margin-top: 0.25rem;
}

.reviews-home-distribution {
    min-width: 250px;
}

.reviews-home-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.reviews-home-bar-label {
    min-width: 40px;
    font-size: 0.85rem;
    text-align: right;
    white-space: nowrap;
}

.reviews-home-bar-track {
    flex: 1;
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.reviews-home-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.reviews-home-bar-count {
    min-width: 25px;
    font-size: 0.85rem;
    color: var(--color-on-surface-muted);
}

.reviews-home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .reviews-home-summary {
        flex-direction: column;
        gap: 1.5rem;
    }

    .reviews-page-summary .row {
        text-align: center;
    }

    .reviews-page-form-card {
        position: static;
    }

    .reviews-home-cards {
        grid-template-columns: 1fr;
    }
}
