/* ============================================================ 
   EuroMarket - Balkanico Premium Design System 
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* EuroMarket Design System - Premium */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Serif+4:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Palette */
    --bg-main: #FAFAF8;
    --text-main: #1A1A1A;
    --accent-primary: #1E3A8A;

    /* Legacy var aliases — bridge old MPA names */
    --color-border: #E5E5E0;
    --color-bg-base: #FFFFFF;
    --color-bg-alt: #FAFAF8;
    --color-primary: #1E3A8A;
    --color-accent: #8B6914;
    --color-text-main: #1A1A1A;
    --color-text-muted: #6B7280;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Radii */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-serif: 'Source Serif 4', serif;
    --accent-secondary: #8B6914;
    --border-color: #E5E5E0;
    --white: #FFFFFF;

    /* Spacing System */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-24: 96px;
    --space-32: 128px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0, 0, 0.2, 1);

    /* Albanian Pattern (Grayscale) */
    --pattern-qilim: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0l20 20-20 20L0 20z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Source Serif 4', serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), #2C4FA8);
    border-radius: 8px;
    border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2C4FA8, var(--accent-primary));
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: #fff;
}

.hidden {
    display: none !important;
}

/* Auth State Management */
body[data-auth="true"] #loginBtnHeader,
body[data-auth="true"] #registerBtnHeader {
    display: none !important;
}

body[data-auth="true"] #userProfileBtn {
    display: flex !important;
}

body[data-auth="false"] #loginBtnHeader,
body[data-auth="false"] #registerBtnHeader {
    display: inline-flex !important;
}

body[data-auth="false"] #userProfileBtn {
    display: none !important;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

/* Typography Hierarchy - Bold & Characterful */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 0.02em;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    font-weight: 700;
}

h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    margin-bottom: var(--space-3);
    color: var(--color-primary);
}

h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

p {
    margin-bottom: var(--space-4);
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-weight: 400;
}

/* Balkan Utilities */
.text-gold { color: var(--color-accent) !important; }
.text-red { color: var(--color-primary) !important; }
.bg-white { background-color: #FFFFFF !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    transition: width 0s, height 0s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(30, 58, 138, 0.45);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--white);
    border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: #1E3A8A;
    border-color: #1E3A8A;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-white {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid var(--white);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

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

/* Global Announcement Bar */
.announcement-bar {
    background-color: var(--color-secondary);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1001;
    position: relative;
}

/* Navbar */
.global-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(229, 229, 224, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    z-index: 1000;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                height 0.3s ease;
}

.global-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.08);
    height: 60px;
}

.global-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.navbar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.navbar-logo span {
    color: var(--accent-primary);
}

.navbar-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 28px;
}

.navbar-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
}

.navbar-links a.active {
    color: var(--accent-primary);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-right a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.navbar-right .btn-outline {
    border: 1px solid var(--text-main);
    background: transparent;
}

.navbar-right .btn-outline:hover {
    background: var(--text-main);
    color: var(--white);
}

.navbar-right .btn-primary {
    background: var(--accent-primary);
    color: var(--white);
    border: 1px solid var(--accent-primary);
}

.navbar-right .btn-primary:hover {
    background: #1E3A8A;
    border-color: #1E3A8A;
}

.cart-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 4px 8px;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: 0;
    background: var(--accent-primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Dropdown */
.profile-dropdown-wrapper {
    position: relative;
}

.profile-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.profile-toggle-btn:hover {
    background: var(--bg-main);
}

.profile-avatar-small {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.profile-toggle-btn i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.profile-toggle-btn.active i {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 1001;
    padding: 16px;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    margin-bottom: 12px;
}

.profile-dropdown-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.profile-dropdown-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.profile-dropdown-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.profile-dropdown-email {
    font-family: 'Source Serif 4', serif;
    font-size: 12px;
    color: #A0A0A0;
    margin-left: 46px;
}

.profile-dropdown-divider {
    height: 1px;
    background: #F0F0F0;
    margin: 12px 0;
}

.profile-dropdown-stats {
    margin-bottom: 12px;
}

.profile-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.profile-stat-row .stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #A0A0A0;
}

.profile-stat-row .stat-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
}

.profile-dropdown-divider-bottom {
    height: 1px;
    background: #F0F0F0;
    margin: 12px 0;
}

.profile-dropdown-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-dropdown-actions .btn-profile {
    width: 100%;
    padding: 10px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: #FFFFFF;
}

.profile-dropdown-actions .btn-profile:hover {
    background: #1E3A8A;
    border-color: #1E3A8A;
}

.profile-dropdown-actions .btn-logout {
    background: transparent;
    border: none;
    color: #A0A0A0;
    font-size: 13px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s;
}

.profile-dropdown-actions .btn-logout:hover {
    color: var(--accent-primary);
}

main {
    padding-top: 64px;
}

/* Side Cart - Drawer */
.side-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: #FFFFFF !important;
    z-index: 1000;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.side-cart.active {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #E5E5E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
}

.cart-footer {
    padding: var(--space-8);
    background: var(--color-bg-surface);
    border-top: 2px solid var(--color-primary);
}

/* Product Modal - Nuovo Stile */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    height: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-grid {
    display: grid;
    grid-template-columns: 45% 55%;
}

.modal-img {
    background: #F5F5F3;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-img .modal-placeholder-img {
    font-size: 48px;
    color: #A0A0A0;
}

.modal-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.modal-details .modal-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: #A0A0A0;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-details #mProductTitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.2;
    margin: 0 0 16px 0;
    text-transform: capitalize;
}

.modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.modal-price-row .modal-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1E3A8A;
}

.modal-price-row .modal-unit {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #A0A0A0;
}

.modal-stock {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #A0A0A0;
    margin-bottom: 20px;
}

.modal-description {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: #1A1A1A;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.btn-modal-add {
    background: #1E3A8A;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 14px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.btn-modal-add:hover {
    background: #1E3A8A;
}

@media (max-width: 600px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-img {
        height: 250px;
        min-height: 250px;
    }
    
    .modal-details {
        padding: 20px;
    }
    
    .modal-details #mProductTitle {
        font-size: 22px;
    }
}

/* Footer */
footer {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 60px 0 0;
    border-top: 1px solid #333;
}

.footer-main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col:first-child {
    flex: 1.5;
}

.footer-col:not(:first-child) {
    flex: 1;
}

.footer-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.footer-col h2 span {
    color: var(--accent-primary);
}

.footer-col p {
    color: #A0A0A0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-col h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A0A0A0;
    margin: 0 0 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
    color: #A0A0A0;
    font-size: 14px;
}

.footer-col a {
    color: #A0A0A0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: block;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 40px;
    border-top: 1px solid #333;
    color: #A0A0A0;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #A0A0A0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #FFFFFF;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-col,
    .footer-col:first-child {
        flex: none;
        width: 100%;
    }
}

/* Product Modal Styles */

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* --- PROSE STYLES FOR LEGAL PAGES --- */
.prose-container {
    max-width: 900px;
    margin: 160px auto 100px;
    padding: var(--space-12);
    background: white;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 40px 100px rgba(0,0,0,0.03);
    position: relative;
}

.prose-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--color-primary);
}

.prose-container h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin-bottom: var(--space-8);
    color: var(--color-secondary);
    line-height: 1;
}

.prose-container h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-top: var(--space-16);
    margin-bottom: var(--space-6);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 4px;
}

.prose-container p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: var(--space-8);
}

.prose-container ul, .prose-container ol {
    margin-bottom: var(--space-8);
    padding-left: var(--space-8);
}

.prose-container li {
    margin-bottom: var(--space-4);
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.alert-box {
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-md);
}

/* --- INFO GRID FOR SHIPPING --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin: var(--space-12) 0;
}

.info-card {
    background: var(--color-bg-surface);
    padding: var(--space-8);
    border: 2px solid var(--color-border-light);
    transition: var(--transition-normal);
    text-align: center;
    border-radius: var(--radius-lg);
}

.info-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(13, 13, 13, 0.06);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.info-card strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.info-card span {
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .global-navbar {
        height: 80px;
        background: white;
    }
    
    .navbar-links { display: none; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .side-cart {
        width: 100%;
        transform: translateX(100%);
    }
    
    .side-cart.active { transform: translateX(0); }
    
    .modal-grid { grid-template-columns: 1fr; }
    
    .modal-img {
        border-right: none;
        border-bottom: 1px solid #F0F0F0;
    }
}

/* ============================================================
   Checkout Styles
   ============================================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-form-section {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-section-title:first-child {
    margin-top: 0;
}

.checkout-section-title i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.checkout-section-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

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

.checkout-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 6px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.checkout-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

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

.payment-option input[type="radio"] {
    display: none;
}

.payment-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.payment-option input[type="radio"]:checked + .payment-radio-custom {
    border-color: var(--accent-primary);
}

.payment-option input[type="radio"]:checked + .payment-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.payment-label-content {
    display: flex;
    flex-direction: column;
}

.payment-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.payment-desc {
    font-size: 0.8rem;
    color: #888;
}

/* Submit Button */
.btn-checkout-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    margin-top: 24px;
}

.btn-checkout-submit:hover:not(:disabled) {
    background: #152a6b;
}

.btn-checkout-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Order Summary */
.checkout-summary-section {
    position: sticky;
    top: 100px;
}

.checkout-summary {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.checkout-summary h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-summary h3 i {
    color: var(--accent-primary);
}

.checkout-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.checkout-item-info {
    flex: 1;
}

.checkout-item-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkout-item-qty {
    font-size: 0.8rem;
    color: #888;
}

.checkout-item-price {
    font-weight: 600;
    color: var(--accent-primary);
}

.checkout-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #666;
}

.checkout-total-final {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.checkout-shipping-note {
    font-size: 0.8rem;
    color: #10B981;
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    background: #f0fdf4;
    border-radius: 6px;
}

/* Order Success */
.order-success {
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.order-success-icon {
    font-size: 4rem;
    color: #10B981;
    margin-bottom: 24px;
}

.order-success h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.order-success p {
    color: #666;
    margin-bottom: 12px;
}

.order-id {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    padding: 12px;
    background: #f0f4ff;
    border-radius: 8px;
    display: inline-block;
    margin: 20px 0;
}

.order-success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 600px) {
    .order-success { padding: 40px 20px; }
    .order-success-actions { flex-direction: column; }
    .order-success h2 { font-size: 1.5rem; }
}

/* Orders Stats Bar */
.orders-stats-bar {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.orders-stat {
    flex: 1;
    text-align: center;
}

.orders-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.orders-stat-label {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 600px) {
    .orders-stats-bar { flex-direction: column; gap: 16px; }
}

/* Skeleton Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-card {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.skeleton-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.skeleton-product-card .product-img {
    height: 200px;
    background: #f0f0f0;
}

.skeleton-product-card .skeleton-text {
    margin: 12px 0;
}

/* ============================================================
   Static Pages Styles
   ============================================================ */
.static-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.static-page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.static-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.static-page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.privacy-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.privacy-section p,
.privacy-section li {
    font-family: 'Source Serif 4', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 8px;
}

.privacy-section ul {
    padding-left: 24px;
    margin: 12px 0;
}

.privacy-section ul li {
    margin-bottom: 8px;
}

/* Assistenza Grid */
.assistenza-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.assistenza-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.assistenza-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.assistenza-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.assistenza-card p {
    color: #666;
    margin-bottom: 4px;
}

.assistenza-card a {
    color: var(--accent-primary);
    text-decoration: none;
}

.assistenza-card a:hover {
    text-decoration: underline;
}

.assistenza-note {
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 768px) {
    .assistenza-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.assistenza-faq h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background var(--transition-fast);
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: #f8f8f6;
}

.faq-item p {
    padding: 0 20px 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Spedizioni */
.spedizione-section {
    margin-bottom: 40px;
}

.spedizione-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.spedizione-section h2 i {
    color: var(--accent-primary);
}

.spedizione-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.spedizione-table th,
.spedizione-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.spedizione-table th {
    background: #f0f4ff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--accent-primary);
}

.spedizione-table td {
    font-family: 'Source Serif 4', serif;
    color: #444;
}

.shipping-costs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.shipping-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.shipping-card.highlighted {
    border-color: #10B981;
    background: #f0fdf4;
}

.shipping-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.shipping-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.shipping-price.free {
    color: #10B981;
}

.shipping-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.spedizione-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spedizione-steps li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.spedizione-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    flex-shrink: 0;
}

.spedizione-steps {
    counter-reset: step-counter;
}

.spedizione-steps li strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.spedizione-steps li p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .static-page-header h1 { font-size: 1.8rem; }
    .shipping-costs-grid { grid-template-columns: 1fr; }
    .spedizione-table { font-size: 0.9rem; }
}

/* ============================================================
   Products Page - Beautiful Modern Design
   ============================================================ */

/* Products Hero */
.products-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.products-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.products-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.products-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Catalog Container */
.catalog-container {
    padding: 40px 0 80px;
}

/* Filters Wrapper */
.filters-wrapper {
    margin-bottom: 40px;
}

/* Search Bar */
.search-bar-modern {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-bar-modern .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0A0A0;
    font-size: 1.1rem;
    z-index: 1;
}

.search-bar-modern input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar-modern input:focus {
    outline: none;
    border-color: #1E3A8A;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

/* Category Buttons */
.category-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.category-btn {
    padding: 10px 24px;
    border: 2px solid #E5E7EB;
    background: white;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1A1A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: #1E3A8A;
    color: #1E3A8A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.category-btn.active {
    background: #1E3A8A;
    color: white;
    border-color: #1E3A8A;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-card .product-img {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-img-error {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #A0A0A0;
    font-size: 3rem;
}

/* Badges */
.badge-offerta, .badge-esausto {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    z-index: 2;
}

.badge-offerta {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.badge-esausto {
    background: #EF4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Product Info */
.product-card .product-info {
    padding: 20px;
}

.product-card .btn-dettagli {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    background: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1E3A8A;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card .btn-dettagli:hover {
    background: #1E3A8A;
    color: white;
    border-color: #1E3A8A;
}

.product-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.product-price-row .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1E3A8A;
}

.product-price-row .unit-price {
    font-size: 0.85rem;
    color: #A0A0A0;
}

/* Add to Cart Button */
.product-card .add-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card .add-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.product-card .add-btn:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
    opacity: 0.6;
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #A0A0A0;
    font-size: 1.1rem;
}

/* Empty Catalog */
.empty-catalog {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

/* Product Modal */
#productModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

#productModal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

#productModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

#productModalOverlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-img-container {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #A0A0A0;
    font-size: 4rem;
}

.modal-body {
    padding: 30px;
}

.modal-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.modal-category {
    display: inline-block;
    padding: 4px 12px;
    background: #F0F4FF;
    color: #1E3A8A;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.modal-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

#closeProductModal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

#closeProductModal:hover {
    background: white;
    transform: scale(1.1);
}

#mProductAddBtn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mProductAddBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .products-hero {
        padding: 60px 20px;
    }
    
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .product-card .product-img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    #productModal {
        width: 95%;
    }
}
