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

body {
    font-family: 'Courier New', Courier, monospace;
    background: #fff;
    overflow-x: hidden;
}

/* Headings use Merriweather */
h1, h2, h3, h4, h5, h6, .page-title, .product-title, .shop-category h3 {
    font-family: 'Merriweather', serif;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #000;
    cursor: pointer;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-link.active {
    text-decoration: underline;
}

.nav-link.cart-icon {
    display: flex;
    align-items: center;
    padding: 5px;
}

.nav-link.cart-icon svg {
    width: 22px;
    height: 22px;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #000;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:last-child {
    bottom: 0;
}

.menu-toggle.active .menu-icon span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .menu-icon span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mobile.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 100px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #000;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
    position: relative;
    cursor: pointer;
}

.mobile-nav-link:hover {
    opacity: 0.6;
}

/* Page Sections */
.page-section {
    display: none;
    min-height: 100vh;
}

.page-section.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 40px 60px;
}

.content-page-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 60px;
}

.page-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 30px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #000;
}

/* Shop Page */
.shop-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shop-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.shop-category:hover {
    opacity: 0.6;
}

.shop-category h3 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
}

.shop-category .arrow {
    display: none;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: transparent;
}

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

.sold-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(139, 115, 85, 0.9);
    color: #fff;
    padding: 5px 15px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
}

.quick-view-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 15px;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.product-details {
    padding: 20px 0;
    text-align: center;
}

.product-name {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-price {
    font-size: 16px;
    color: #666;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-images {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: transparent;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.product-thumbnails {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 100px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

.thumbnail-item:hover {
    opacity: 0.7;
}

.thumbnail-item.active {
    opacity: 1;
    box-shadow: 0 0 0 2px #000;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding-top: 20px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.product-price {
    font-size: 24px;
    margin-bottom: 30px;
}

.product-availability {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.product-quantity {
    margin-bottom: 30px;
}

.product-quantity label {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    width: fit-content;
}

.qty-btn {
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #f5f5f5;
}

#qtyInput {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 16px;
}

.add-to-cart-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-bottom: 30px;
}

.add-to-cart-btn:hover:not(:disabled) {
    opacity: 0.8;
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.product-description {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.product-description h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.product-share {
    margin-bottom: 30px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    opacity: 0.6;
}

/* Related Products */
.related-products {
    margin-top: 80px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Quick View Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #000;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.6;
}

.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.quick-view-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: transparent;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-info {
    padding: 20px 0;
}

.quick-view-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.quick-view-price {
    font-size: 20px;
    margin-bottom: 20px;
}

.quick-view-info p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.view-full-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.view-full-btn:hover {
    opacity: 0.8;
}

/* Cart Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 0.5px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Shopify-Style Checkout Page */
.shopify-checkout-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    background: #fafafa;
}

.empty-cart {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
}

.empty-cart p {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.continue-shopping-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.continue-shopping-btn:hover {
    opacity: 0.8;
}

/* Checkout Grid Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    min-height: 100vh;
}

/* Left Side - Form */
.checkout-form-side {
    background: #fff;
    padding: 40px 80px;
    max-width: 650px;
    justify-self: end;
}

.store-logo-checkout {
    margin-bottom: 30px;
}

.store-logo-checkout h2 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 15px;
    font-family: 'Courier New', Courier, monospace;
}

/* Form Fields */
.shopify-form .form-field {
    margin-bottom: 12px;
    position: relative;
}

.shopify-form .form-field label {
    display: block;
    font-size: 12px;
    color: #707070;
    margin-bottom: 6px;
    font-weight: 400;
}

.shopify-form input[type="text"],
.shopify-form input[type="email"],
.shopify-form input[type="tel"],
.shopify-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-size: 15px;
    font-family: 'Courier New', Courier, monospace;
    background: #fff;
    color: #303030;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.shopify-form input::placeholder {
    color: #999;
}

.shopify-form input:focus,
.shopify-form select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.shopify-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23707070' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.shopify-form select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

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

.form-row .form-field {
    margin-bottom: 0;
}

/* Checkbox Fields */
.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    cursor: pointer;
}

.checkbox-field label {
    font-size: 14px;
    color: #303030;
    cursor: pointer;
    user-select: none;
}

/* Submit Button */
.shopify-submit-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.shopify-submit-btn:hover {
    background: #333;
}

.payment-secure-note {
    font-size: 12px;
    color: #707070;
    text-align: center;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-secure-note svg {
    flex-shrink: 0;
}

/* Payment Methods Note */
.payment-methods-note {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

/* Stripe Payment Element */
.stripe-payment-element {
    margin-bottom: 20px;
    padding: 0;
}

#payment-element {
    margin-bottom: 20px;
}

/* Stripe iframe styling (applies to Stripe's injected form) */
.StripeElement {
    padding: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.StripeElement--focus {
    border-color: #000;
    border-width: 2px;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

/* Payment Error Message */
.payment-error-message {
    color: #fa755a;
    font-size: 14px;
    padding: 12px;
    background: #fff3f0;
    border: 1px solid #fa755a;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Payment Submit Button */
.payment-submit-btn {
    width: 100%;
    background: #4a6741;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-submit-btn:hover:not(:disabled) {
    background: #3d5636;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
}

.payment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Spinner */
.payment-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.success-modal-content {
    position: relative;
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 40px;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.success-icon {
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    color: #000;
}

.success-order-id {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #666;
    margin: 0 0 30px 0;
}

.success-divider {
    width: 60px;
    height: 2px;
    background: #8B4545;
    margin: 0 auto 30px;
}

.success-details {
    text-align: left;
    margin: 0 0 30px 0;
}

.success-details h3 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #000;
}

.success-shipping-info {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

.success-items {
    margin-bottom: 20px;
}

.success-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.success-item-name {
    color: #333;
}

.success-item-price {
    color: #000;
    font-weight: 600;
}

.success-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #000;
}

.success-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.success-total-row.final {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.success-email-note {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.success-continue-btn {
    background: #8B4545;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-continue-btn:hover {
    background: #6B3535;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 69, 0.3);
}

@media (max-width: 768px) {
    .success-modal-content {
        padding: 40px 25px;
    }
    
    .success-title {
        font-size: 22px;
    }
    
    .success-details {
        font-size: 13px;
    }
}

/* SOLD Badge */
.product-sold-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #8B4545;
    color: #fff;
    padding: 8px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    transform: rotate(10deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-card.sold {
    opacity: 0.7;
}

.product-card.sold .product-image {
    filter: grayscale(30%);
}

.product-card.sold .add-to-cart {
    background: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.product-card.sold .add-to-cart:hover {
    background: #999;
    transform: none;
}

/* Right Side - Order Summary */
.checkout-summary-side {
    background: #fafafa;
    border-left: 1px solid #e5e5e5;
    padding: 120px 30px 40px 30px;
}

.order-summary-sticky {
    position: sticky;
    top: 100px;
}

/* Summary Items */
.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.summary-item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: visible; /* Allow badge to show outside */
    position: relative;
    flex-shrink: 0;
}

.summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.summary-item-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #8B4545;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 22px;
    height: 22px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fafafa;
}

.summary-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item-name {
    font-size: 14px;
    color: #303030;
    font-weight: 400;
    line-height: 1.4;
}

.summary-item-meta {
    font-size: 12px;
    color: #707070;
}

.summary-item-price {
    font-size: 14px;
    color: #303030;
    font-weight: 500;
    text-align: right;
}

/* Cart Item Controls */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-qty-btn:hover {
    background: #f5f5f5;
    border-color: #8B4545;
}

.cart-qty-value {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.cart-qty-label {
    font-size: 12px;
    color: #707070;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #8B4545;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    margin-left: auto;
    text-decoration: underline;
    transition: color 0.2s;
}

.cart-remove-btn:hover {
    color: #6a3535;
}

/* Summary Totals */
.summary-totals {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 14px;
    color: #303030;
}

.summary-row span:first-child {
    color: #707070;
}

.summary-total {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
}

.total-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-code {
    font-size: 12px;
    color: #707070;
    font-weight: 400;
}

/* Shipping Form */
.shipping-form .form-group {
    margin-bottom: 25px;
    position: static;
}

.shipping-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: static;
    pointer-events: none;
}

.shipping-form input,
.shipping-form select {
    width: 100%;
    padding: 15px 14px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.5;
    color: #000;
}

.shipping-form input:focus,
.shipping-form select:focus {
    outline: none;
    border-color: #000;
    background: #fff;
    border-width: 2px;
    padding: 14px 13px;
}

.shipping-form input::placeholder {
    color: #aaa;
    opacity: 1;
}

.shipping-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

.form-row-2 .form-group {
    margin-bottom: 0;
}

.shipping-note {
    background: #fff;
    padding: 18px;
    border-left: 4px solid #000;
    margin: 25px 0;
    font-size: 13px;
    line-height: 2;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.shipping-note strong {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.continue-btn,
.edit-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 10px;
}

.continue-btn:hover,
.edit-btn:hover {
    opacity: 0.8;
}

.edit-btn {
    background: #666;
    padding: 12px 20px;
    font-size: 13px;
    margin-top: 15px;
}

/* Order Summary */
.order-summary-box {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

/* Cart Summary */
.cart-summary {
    max-width: 500px;
    margin: 40px 0 0 auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-row.total {
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #000;
}

/* Shipping Address Display */
.shipping-address-display {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.shipping-address-display h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.shipping-address-display p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

#paypal-button-container {
    margin-top: 25px;
    margin-bottom: 15px;
}

.payment-note {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
}

.payment-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Coming Soon */
.coming-soon {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    color: #666;
    margin-top: 100px;
}

/* About Page */
.about-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.about-content p {
    margin-bottom: 30px;
}

/* ============================================ */
/* Legal Pages Styling */
/* ============================================ */
.legal-page {
    padding: 100px 0 60px;
}

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

.legal-intro {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #000;
}

.legal-section p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.legal-section ul,
.legal-section ol {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-left: 30px;
    margin-bottom: 15px;
}

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

.legal-section strong {
    font-weight: 700;
    color: #000;
}

.legal-link {
    color: #8B4545;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.legal-link:hover {
    opacity: 0.7;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #000;
    text-align: center;
}

.legal-footer p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #333;
}

/* FAQs Specific Styling */
.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
}

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

.faq-question {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.faq-answer {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 80px 0 40px;
    }
    
    .legal-content {
        padding: 0 20px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section h3 {
        font-size: 16px;
    }
    
    .legal-section ul,
    .legal-section ol {
        margin-left: 20px;
    }
    
    .faq-question {
        font-size: 16px;
    }
}

/* Contact Page */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.contact-email {
    font-size: 16px;
    margin-bottom: 50px;
    color: #333;
}

.contact-email a {
    color: #000;
    text-decoration: underline;
}

.contact-email a:hover {
    opacity: 0.6;
}

/* Contact Form */
.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 15px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -20px;
    font-size: 12px;
    color: #666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-images {
        position: relative;
        top: 0;
    }
    
    .quick-view-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
    }
    
    .slider-btn.prev {
        left: 15px;
    }
    
    .slider-btn.next {
        right: 15px;
    }
    
    .slider-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-nav-link {
        font-size: 28px;
    }
    
    .content-page, .content-page-wide {
        padding: 100px 20px 40px;
    }
    
    .page-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .shop-category h3 {
        font-size: 24px;
    }
    
    .shop-category .arrow {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .coming-soon {
        font-size: 24px;
        margin-top: 60px;
    }
    
    .about-content {
        font-size: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .quick-view-content {
        padding: 30px 20px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    /* Mobile Shopify Checkout */
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-form-side {
        padding: 30px 20px;
        max-width: 100%;
        justify-self: stretch;
    }
    
    .checkout-summary-side {
        border-left: none;
        border-top: 1px solid #e5e5e5;
        padding: 30px 20px;
    }
    
    .order-summary-sticky {
        position: relative;
        top: 0;
    }
    
    .form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
        padding: 20px 0;
    }
    
    .cart-item-image {
        width: 80px;
        height: 100px;
        grid-row: 1 / 3;
    }
    
    .cart-item-details {
        padding-right: 0;
        grid-column: 2;
    }
    
    .cart-item-name {
        font-size: 16px;
    }
    
    .cart-item-price {
        font-size: 14px;
    }
    
    .cart-item-quantity {
        grid-column: 2;
        justify-self: start;
    }
    
    .cart-item-total {
        grid-column: 2;
        justify-self: end;
        min-width: auto;
    }
    
    .cart-item-remove {
        position: absolute;
        right: 0;
        top: 20px;
    }
    
    .cart-summary,
    .order-summary-box {
        max-width: 100%;
        padding: 20px;
    }
    
    .summary-row.total {
        font-size: 20px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .shipping-note {
        font-size: 12px;
        padding: 12px;
    }
    
    .cart-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
    
    /* Mobile Product Detail Optimization */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-images {
        position: relative;
        top: 0;
    }
    
    .product-main-image {
        aspect-ratio: 3/4;
    }
    
    .product-thumbnails {
        justify-content: center;
        gap: 10px;
    }
    
    .thumbnail-item {
        width: 70px;
        height: 87px;
    }
    
    .product-info {
        padding-top: 0;
    }
    
    .product-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .product-price {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .add-to-cart-btn {
        padding: 16px 30px;
        font-size: 13px;
    }
    
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    /* Mobile Product Card */
    .product-card {
        margin-bottom: 10px;
    }
    
    .product-image {
        aspect-ratio: 3/4;
    }
    
    .quick-view-btn {
        padding: 12px;
        font-size: 12px;
    }
    
    .product-details {
        padding: 15px 0;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    /* Mobile Modal */
    .quick-view-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-view-image {
        aspect-ratio: 3/4;
    }
    
    .quick-view-info h2 {
        font-size: 20px;
    }
    
    .quick-view-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-link {
        font-size: 24px;
        gap: 25px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .shop-category h3 {
        font-size: 20px;
    }
}

/* ============================================ */
/* Footer Styling */
/* ============================================ */
.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 0 30px;
    margin-top: 80px;
    font-family: 'Courier New', Courier, monospace;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
}

.footer-link {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    padding: 0 8px;
}

.footer-link:hover {
    color: #8B4545;
    opacity: 0.8;
}

.footer-separator {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #ccc;
    padding: 0 5px;
}

.footer-copyright {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.footer-copyright p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: #999;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Social Media Links */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8B4545;
    color: #fff;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 25px;
        margin-top: 60px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .footer-social {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-links {
        gap: 3px;
    }
    
    .footer-link {
        font-size: 11px;
        padding: 0 6px;
    }
    
    .footer-separator {
        font-size: 11px;
        padding: 0 3px;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-link {
        padding: 8px 0;
        font-size: 12px;
    }
}

/* ============================================ */
/* PERFORMANCE: Loading States & Skeletons */
/* ============================================ */

/* Skeleton loading animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

/* Product card skeleton */
.product-card-skeleton {
    display: flex;
    flex-direction: column;
}

.product-card-skeleton .image-skeleton {
    aspect-ratio: 4/5;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
}

.product-card-skeleton .text-skeleton {
    height: 16px;
    margin: 15px auto 8px;
    width: 70%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.product-card-skeleton .price-skeleton {
    height: 14px;
    margin: 0 auto;
    width: 40%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

/* Image loading state */
.img-loading {
    position: relative;
    background: #f5f5f5;
}

.img-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
}

.img-loading img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-loading.loaded::before {
    display: none;
}

.img-loading.loaded img {
    opacity: 1;
}

/* Image error state */
.img-error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 12px;
    text-align: center;
    padding: 20px;
}

.img-error::before {
    content: 'Image unavailable';
}

/* Lazy load fade-in - only for product grid images */
.products-grid img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-grid img[loading="lazy"].loaded,
.products-grid img.loaded {
    opacity: 1;
}

/* Ensure thumbnail images are always visible */
.product-thumbnails img,
.thumbnail-item img {
    opacity: 1 !important;
}

/* Hero slider images should always be visible */
.slide img {
    opacity: 1 !important;
}

/* Button loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Content loading fade */
.content-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Fade in animation for content */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Staggered animation for grid items - only on page load */
.products-grid .product-card {
    animation: fadeIn 0.4s ease forwards;
}

.products-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(7) { animation-delay: 0.35s; }
.products-grid .product-card:nth-child(8) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(9) { animation-delay: 0.45s; }

/* Page transition - smooth fade for active pages */
.page-section.active {
    animation: fadeIn 0.3s ease forwards;
}

/* Optimized image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .skeleton,
    .product-card-skeleton .image-skeleton,
    .product-card-skeleton .text-skeleton,
    .product-card-skeleton .price-skeleton {
        animation: none;
        background: #f0f0f0;
    }
}

/* ================================================
   COOKIE CONSENT BANNER - GDPR Compliant
   ================================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-family: 'Courier New', Courier, monospace;
}

.cookie-text p {
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.cookie-link {
    color: #8B4545;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cookie-btn-accept {
    background: #8B4545;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #6B3535;
}

.cookie-btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid #666;
}

.cookie-btn-reject:hover {
    background: #333;
    border-color: #888;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}
