:root {
    --brand-black: #1a1a1a;
    --price-green: #27ae60;
    --badge-red: #e74c3c;
    --btn-rose: #c57d7d;
    --btn-shadow: #a85e5e;
    --bg-light: #f9f9f9;
    --text-gray: #555;
    --border-gray: #e0e0e0;
    --brand-berry: #882538;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-black);
    background-color: white;
}

.brand-font { font-family: 'Playfair Display', serif; }

/* --- Header --- */
header { border-bottom: 1px solid #eee; padding: 15px 0; }
.nav-link { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #4a4a4a; }

/* --- Product Page --- */
.breadcrumbs { font-size: 12px; color: #999; margin-bottom: 20px; }

/* Gallery Zoom */
.main-gallery-img { 
    width: 100%; 
    border-radius: 4px; 
    margin-bottom: 15px; 
    background-color: #f4f4f4;
    overflow: hidden; 
    cursor: crosshair;
    position: relative;
}
.main-gallery-img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.1s ease-out;
    will-change: transform;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb-item { border-radius: 4px; overflow: hidden; cursor: pointer; opacity: 0.6; border: 2px solid transparent; transition: all 0.2s; }
.thumb-item:hover, .thumb-item.active { opacity: 1; border-color: var(--brand-black); }

/* Title & Price */
.product-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 42px; 
    font-weight: 400; 
    line-height: 1.2; 
    margin-bottom: 5px; 
    color: #111;
}
.rating-line { font-size: 13px; color: #888; margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
.rating-stars { color: #cca43b; font-size: 12px; letter-spacing: 1px; }

.price-container { display: flex; align-items: baseline; gap: 10px; font-size: 18px; margin-bottom: 30px; }
.price-currency { font-size: 24px; font-weight: 700; color: var(--price-green); }
.price-old { text-decoration: line-through; color: #aaa; font-size: 14px; }
.save-text { color: var(--badge-red); font-weight: 700; font-size: 14px; font-style: italic;}

/* --- Step 1: Upload --- */
.upload-btn { 
    border: 2px solid #ccc; 
    border-radius: 50px; 
    padding: 14px 20px; 
    text-align: center; 
    background-color: white; 
    margin-bottom: 30px; 
    cursor: pointer; 
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    display: block;
    width: 100%;
    letter-spacing: 0.5px;
}
.upload-btn:hover { 
    background-color: #f5f5f5; 
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.upload-btn:active {
    transform: translateY(0);
}

/* --- Common Option Styles --- */
.option-label { font-size: 13px; font-weight: 600; text-align: center; margin-bottom: 12px; color: #333; }

/* --- Step 2: Visual Frame Selection --- */
.frame-options-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.frame-option-card {
    width: 100px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.frame-option-card:hover {
    border-color: #999;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.frame-option-card.selected {
    border: 3px solid #333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}
.frame-inner-img {
    width: 100%;
    height: 100%;
    background-color: #eee;
    position: relative;
}
.style-no-frame .frame-inner-img { background: #eaddcf; } 
.style-black-frame .frame-inner-img { border: 4px solid #111; background: #eaddcf; }
.style-white-frame .frame-inner-img { border: 4px solid #fff; box-shadow: inset 0 0 2px rgba(0,0,0,0.1); background: #eaddcf; }

.paw-icon-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0.6;
    font-size: 14px;
}

/* --- Step 3 & 4: Material & Size Selection (Pill Buttons) --- */
.grid-pill-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}
.pill-btn {
    border: 2px solid #ddd;
    border-radius: 50px;
    padding: 11px 28px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    min-width: 90px;
    text-align: center;
    color: #333;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.pill-btn:hover {
    border-color: #999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.pill-btn.selected {
    border-color: #333;
    border-width: 2px;
    padding: 11px 28px;
    font-weight: 700;
    color: #000;
    background: #f9f9f9;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.pill-btn.digital { 
    background: #1a1a1a; 
    color: white; 
    border-color: #1a1a1a;
}
.pill-btn.digital:hover {
    background: #333;
    border-color: #333;
} 

    /* --- Quantity (UPDATED SIZE) --- */
    .qty-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin-bottom: 25px;
    }
    .qty-label { 
        font-weight: 700; 
        font-size: 14px; 
        color: #333; 
        letter-spacing: 0.5px;
    }
    .qty-input-group {
        display: flex;
        border: 2px solid #ddd;
        border-radius: 12px;
        height: 48px; 
        width: 164px;
        overflow: visible;
        background: white;
        transition: all 0.3s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }
    .qty-input-group:focus-within {
        border-color: #333;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .qty-btn {
        width: 48px; 
        min-width: 48px;
        max-width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border: 1px solid #ddd;
        color: #333;
        cursor: pointer;
        font-size: 18px; 
        font-weight: 400;
        line-height: 1;
        transition: all 0.2s ease;
        flex-shrink: 0;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    .qty-btn i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        line-height: 1;
    }
    .qty-btn:hover { 
        background-color: #f5f5f5;
        color: #000;
    }
    .qty-btn:active {
        background-color: #eee;
        transform: scale(0.95);
    }
    .qty-value {
        width: 70px;
        text-align: center;
        border: none;
        font-weight: 600;
        outline: none;
        font-size: 16px; 
        line-height: 48px;
        background: #fafafa;
        color: #333;
        padding: 0;
    }
    .qty-value::-webkit-outer-spin-button,
    .qty-value::-webkit-inner-spin-button {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
    }
    .qty-value[type=number] {
        -moz-appearance: textfield;
        appearance: textfield;
    }

/* --- Add to Cart Button --- */
.add-to-cart-btn { 
    display: block;
    width: 100%; 
    background-color: var(--btn-rose); 
    color: white; 
    font-weight: 700; 
    font-size: 16px; 
    border-radius: 50px; 
    padding: 16px 20px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    box-shadow: 0 8px 16px rgba(197, 125, 125, 0.3); 
    border: none;
    margin-bottom: 30px; 
    position: relative;
    top: 0;
    letter-spacing: 0.5px;
}
.add-to-cart-btn:hover { 
    background-color: #b86b6b;
    box-shadow: 0 12px 24px rgba(197, 125, 125, 0.4);
    transform: translateY(-2px);
}
.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(197, 125, 125, 0.3);
}

/* Accordion Styles */
.accordion-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 18px 0; border-bottom: 1px solid #eee; font-weight: 600; font-size: 13px; color: #333; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 13px; color: #666; line-height: 1.6; }
.accordion-content p { padding: 10px 0; }

/* --- 4. How To Order Section --- */
.how-to-section { background-color: #f9f9f9; padding: 60px 20px; }
.step-circle { width: 100px; height: 100px; border-radius: 50%; background-color: #eaddcf; overflow: hidden; border: 4px solid white; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin: 0 auto 10px; position: relative; }
.step-number-lg { font-size: 24px; font-weight: 900; color: #1a1a1a; display: block; text-align: center; }

/* --- 5. Feature Sections --- */
.feature-section { padding: 60px 20px; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-text h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; margin-bottom: 15px; color: #111; }
.feature-text p { font-size: 14px; color: #666; line-height: 1.8; }
.feature-img { width: 100%; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* --- 6. FAQ Section --- */
.faq-section { max-width: 800px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.faq-item { border-bottom: 1px solid #eee; text-align: left; }
.faq-question { padding: 20px 0; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; color: #333; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; color: #666; font-size: 14px; line-height: 1.6; }

/* --- 7. Reviews --- */
.reviews-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #eee; }
.review-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.review-content { padding: 20px; text-align: center; }
.review-name { font-weight: 700; font-size: 14px; margin-top: 10px; display: block; }
.review-text { font-size: 13px; color: #666; margin-top: 8px; line-height: 1.4; }

/* --- 8. Product Recs --- */
.rec-section { background-color: #fcfcfc; padding: 60px 20px; }
.product-card { background: white; border-radius: 8px; overflow: hidden; transition: transform 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
