/* === Copied directly from Mario Pinto === */
/* Using more specific selectors to prevent conflicts */

.merchandise-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 auto !important;
    align-items: stretch !important;
    /* All items in a row stretch to same height, buttons align at bottom */
}

.merchandise-item {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.4s ease !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}

.merchandise-item:hover {
    border-color: #999 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-4px) !important;
}

/* === Gallery Styles === */
.merchandise-gallery {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    cursor: pointer !important;
}

.gallery-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.gallery-slides {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.gallery-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
    background: #ffffff !important;
}

.gallery-slide.active {
    opacity: 1 !important;
}

/* === Merchandise Info === */
.merchandise-info {
    padding: 20px 15px !important;
    text-align: center !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    border-top: 1px solid #e0e0e0 !important;
    flex: 1 !important;
}

.merchandise-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.merchandise-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem) !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
    margin: 0 0 auto 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.merchandise-price {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 12px 0 !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
}

.merchandise-bottom {
    margin-top: auto !important;
}

/* === 2x2 Button Grid Layout === */
.merchandise-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(4px, 1vw, 8px) !important;
    width: 100% !important;
}

.merchandise-btn {
    background: transparent !important;
    border: 1px solid #1a1a1a !important;
    color: #1a1a1a !important;
    padding: clamp(6px, 1.5vw, 10px) clamp(4px, 1vw, 8px) !important;
    font-size: clamp(0.5rem, 1.2vw, 0.7rem) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    border-radius: 4px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: clamp(32px, 5vw, 40px) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.merchandise-btn:hover {
    background: #1a1a1a !important;
    color: white !important;
    border-color: #1a1a1a !important;
}

.buy-now-btn {
    background: #1a1a1a !important;
    border: 1px solid #1a1a1a !important;
    color: white !important;
}

.buy-now-btn:hover {
    background: #333 !important;
    border-color: #333 !important;
    color: white !important;
}

.add-to-cart-btn,
.description-btn,
.size-color-btn {
    background: transparent !important;
    border: 1px solid #1a1a1a !important;
    color: #1a1a1a !important;
}

.add-to-cart-btn:hover,
.description-btn:hover,
.size-color-btn:hover {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: white !important;
}

/* Mobile button sizing */
@media (max-width: 768px) {
    .merchandise-btn {
        font-size: 0.55rem !important;
        padding: 10px 8px !important;
        min-height: 40px !important;
    }
}

/* === Limited Edition Overlay === */
.limited-edition-overlay {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
    color: #000 !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4) !important;
    z-index: 10 !important;
    white-space: nowrap !important;
    transform: rotate(-2deg) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* === Cart Modal from Mario Pinto cart-modal.css === */
.floating-cart {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) translateY(-40px);
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: #2a2a2a;
    border: 1px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.floating-cart:hover {
    background: #FFD700;
    border-color: #FFD700;
    transform: translateY(-50%) translateY(-60px) scale(1.1);
}

.floating-cart svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.3s ease;
}

.floating-cart .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FFD700;
    color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
}

.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.cart-modal {
    background: #2a2a2a;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.cart-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.cart-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 25px;
    max-height: 50vh;
}

.cart-loading,
.cart-empty,
.cart-error {
    text-align: center;
    padding: 40px 20px;
    color: #ccc;
    font-size: 1.1rem;
}

.cart-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
}

.cart-total strong {
    color: white;
    font-size: 1.3rem;
}

.cart-modal-buttons {
    display: flex;
    gap: 12px;
}

.continue-shopping-btn,
.checkout-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-shopping-btn {
    background: #6c757d;
    color: white;
}

.continue-shopping-btn:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.checkout-btn {
    background: #28a745;
    color: white;
}

.checkout-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* === Cart Modal Items === */
.cart-modal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cart-modal-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #1a1a1a;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-details h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-details .cart-item-size {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0 0 3px 0;
}

.cart-item-details .cart-item-price {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
}

.quantity-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #333;
}

.quantity-controls .quantity {
    color: white;
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    color: #ff4444;
    text-decoration: underline;
}

.cart-item-subtotal {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    min-width: 70px;
    text-align: right;
}

/* Cart Modal Item Mobile */
@media (max-width: 600px) {
    .cart-modal-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cart-modal-item img {
        width: 60px;
        height: 60px;
    }

    .cart-item-details {
        flex: 1;
        min-width: calc(100% - 80px);
    }

    .cart-item-details h4 {
        font-size: 0.9rem;
    }

    .cart-item-controls {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .cart-item-subtotal {
        position: absolute;
        right: 25px;
        top: 15px;
    }

    .cart-modal-item {
        position: relative;
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .merchandise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .merchandise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .floating-cart {
        top: auto !important;
        bottom: 110px !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .floating-cart:hover {
        transform: scale(1.1) !important;
    }
}

@media (max-width: 480px) {
    .merchandise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* === Size Modal Styles === */
.size-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.size-modal-overlay.show {
    opacity: 1;
}

.size-modal-content {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.size-modal-overlay.show .size-modal-content {
    transform: scale(1);
}

.size-modal-content h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    justify-content: center;
    margin: 1.5rem 0;
}

.size-btn {
    padding: 10px 16px;
    border: 2px solid #666;
    background: transparent;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 60px;
    text-align: center;
    font-size: 14px;
}

.size-btn:hover {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
}

.size-btn.selected {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
}

/* Color Options in Size Modal */
.color-title {
    margin-top: 1.5rem;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 1rem 0;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #444;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-btn:hover {
    transform: scale(1.15);
    border-color: #fff;
}

.color-btn[style*="background-color: #FFFFFF"],
.color-btn[style*="background-color: #ffffff"] {
    border-color: #666;
}

.color-btn[style*="background-color: #FFFFFF"]:hover,
.color-btn[style*="background-color: #ffffff"]:hover {
    border-color: #333;
}

.size-actions {
    margin-top: 1.5rem;
}

.cancel-btn {
    padding: 10px 20px;
    border: none;
    background: #6c757d;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* === Color Selection Modal === */
.color-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-modal-overlay.show {
    opacity: 1;
}

.color-modal-content {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.color-modal-overlay.show .color-modal-content {
    transform: scale(1);
}

.color-modal-content h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.color-select-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 1.5rem 0;
}

.color-select-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-select-btn:hover {
    transform: scale(1.15);
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.color-actions {
    margin-top: 1.5rem;
}

/* === Shipping Country Modal === */
.country-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.country-modal-overlay.show {
    opacity: 1;
}

.country-modal-content {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.country-modal-overlay.show .country-modal-content {
    transform: scale(1);
}

.country-modal-content h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.country-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #333;
    border: 2px solid #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.country-btn:hover {
    background: #3a3a3a;
    border-color: #666;
    transform: translateX(5px);
}

.country-flag {
    font-size: 1.8rem;
}

.country-name {
    flex: 1;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.country-shipping {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.95rem;
}

.country-actions {
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .country-modal-content {
        padding: 1.5rem;
    }

    .country-btn {
        padding: 10px 12px;
        gap: 10px;
    }

    .country-flag {
        font-size: 1.5rem;
    }

    .country-name {
        font-size: 0.9rem;
    }
}

/* === Shipping Policy Modal === */
.shipping-policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.shipping-policy-content {
    background: #ffffff;
    max-width: 800px;
    width: 100%;
    margin: 50px auto;
    padding: clamp(20px, 5vw, 40px);
    border-radius: 12px;
    color: #1a1a1a;
    box-sizing: border-box;
}

.shipping-policy-title {
    color: #1a1a1a;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: clamp(20px, 4vw, 30px);
    text-align: center;
    font-weight: 700;
}

.shipping-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(20px, 4vw, 30px);
}

.shipping-policy-item h4 {
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 600;
}

.shipping-policy-item p {
    color: #4a4a4a;
    line-height: 1.6;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
}

.shipping-policy-notice {
    background: #f5f5f5;
    border: 2px solid #333;
    padding: clamp(15px, 3vw, 20px);
    border-radius: 8px;
    margin-bottom: clamp(20px, 4vw, 30px);
}

.shipping-policy-notice p {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    font-weight: 500;
}

.shipping-policy-actions {
    text-align: center;
}

.shipping-policy-accept {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: clamp(12px, 3vw, 15px) clamp(30px, 6vw, 40px);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.shipping-policy-accept:hover {
    background: #333;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .shipping-policy-modal {
        padding: 10px;
    }

    .shipping-policy-content {
        margin: 20px auto;
        border-radius: 8px;
    }

    .shipping-policy-grid {
        grid-template-columns: 1fr;
    }
}

/* === Site Header (Thin with inline categories) === */
.site-header {
    background: #1a1a1a;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.header-title {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #999;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.filter-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

/* === Hamburger Menu === */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
}

.hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-filters-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    flex-direction: column;
    gap: 8px;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-filters-dropdown.show {
    display: flex;
}

.mobile-filters-dropdown .filter-btn {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .header-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .header-title {
        font-size: 1.1rem;
    }

    .header-logo {
        width: 32px;
        height: 32px;
    }
}

/* === Products Section === */
.products-section {
    background: #ffffff;
    min-height: 60vh;
    padding: 40px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Footer === */
.site-footer {
    background: #2a2a2a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    text-align: center;
    color: #999;
}

.site-footer a {
    color: #1a4d2e;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #0f2f1c;
}

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

/* === Page Loading Overlay === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: pulse-fade 1.5s ease-in-out infinite;
}

@keyframes pulse-fade {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .loader-logo {
        animation: none;
        opacity: 1;
        transform: scale(1);
    }
}

/* === Body Styles === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #333;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Image Modal (Pinto Style) === */
.pinto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pinto-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pinto-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pinto-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10002;
    padding: 10px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.pinto-modal-close:hover {
    transform: rotate(90deg);
}

.pinto-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    z-index: 10002;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 80px;
}

.pinto-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pinto-modal-prev {
    left: -80px;
}

.pinto-modal-next {
    right: -80px;
}

.pinto-modal-image-container {
    position: relative;
    max-width: 100%;
    max-height: calc(90vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pinto-modal-image {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    object-fit: contain;
    display: block;
}

.pinto-modal-video {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    display: none;
}

.pinto-modal-info {
    margin-top: 20px;
    text-align: center;
    color: white;
}

.pinto-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pinto-modal-price {
    font-size: 1.2rem;
    color: #FFD700;
}

@media (max-width: 768px) {
    .pinto-modal-nav {
        width: 50px;
        height: 60px;
        font-size: 2rem;
        padding: 10px;
    }

    .pinto-modal-prev {
        left: 10px;
    }

    .pinto-modal-next {
        right: 10px;
    }

    .pinto-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* === Description Modal === */
.description-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.description-modal-overlay.show {
    display: flex;
}

.description-modal-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.description-modal-title {
    color: #1a1a1a;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.description-modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.description-modal-close:hover {
    color: #1a1a1a;
}

.description-modal-body {
    padding: 25px;
    color: #333;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 60vh;
}

@media (max-width: 768px) {
    .description-modal-overlay {
        padding: 10px;
    }

    .description-modal-content {
        max-width: 100%;
        border-radius: 8px;
    }

    .description-modal-header {
        padding: 15px 20px;
    }

    .description-modal-title {
        font-size: 1rem;
    }

    .description-modal-body {
        padding: 20px;
        font-size: 0.9rem;
    }
}

/* === Size & Colours Modal === */
.size-color-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.size-color-modal-overlay.show {
    display: flex;
}

.size-color-modal-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.size-color-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.size-color-modal-title {
    color: #1a1a1a;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.size-color-modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.size-color-modal-close:hover {
    color: #1a1a1a;
}

.size-color-modal-body {
    padding: 25px;
    color: #333;
    overflow-y: auto;
    max-height: 60vh;
}

.size-section,
.color-section {
    margin-bottom: 25px;
}

.size-section h4,
.color-section h4 {
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.size-chip {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.size-guide-table {
    margin-top: 15px;
}

.size-guide-table h4 {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.size-guide-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.size-guide-table th,
.size-guide-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.size-guide-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #1a1a1a;
}

.size-guide-table td {
    color: #666;
}

.color-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-chip {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-chip:hover {
    transform: scale(1.1);
}
