/* =========================================
   STYLE.CSS - Global & Product Page Styles
   ========================================= */

:root {
    --color-primary: #00897B;   /* Signature Teal */
    --color-primary-dark: #004D40;
    --color-text: #263238;      /* Charcoal */
    --color-light-text: #546E7A;
    --color-bg: #F4F6F7;        /* Light Grey Background */
    --color-white: #FFFFFF;
    --color-border: #CFD8DC;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

/* =========================
   GLOBAL HEADER
   ========================= */
.header {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 80px; /* Big Premium Logo */
    width: auto;
    display: block;
}
.nav-right {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}
.nav-divider { margin: 0 12px; color: #ccc; }
.nav-active { color: var(--color-primary); font-weight: 600; }


/* =========================
   PRODUCT PAGE LAYOUT
   ========================= */
.page-spacing {
    padding-top: 40px;
    padding-bottom: 80px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Left Column: Gallery */
.main-image-container img {
    width: 100%;
    border-radius: 8px;
    background: #f9f9f9;
    object-fit: cover;
    max-height: 500px;
}
.thumbnail-grid {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.thumbnail-grid img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
    border: 2px solid transparent;
}
.thumbnail-grid img:hover, .thumbnail-grid img.active-thumb {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Right Column: Details */
.product-details {
    padding-top: 10px;
}

.eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

h1 {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: var(--color-text);
}

.price-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.current-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}
.features-tag {
    background: #E0F2F1;
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.description {
    color: var(--color-light-text);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* --- PURCHASE OPTIONS (BUTTONS FIXED) --- */
.purchase-options {
    margin-top: 20px;
}

.input-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.info-box {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #555;
    background: #fff8e1; /* Light Yellow Warning */
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #FFC107;
}

/* IMPORTANT: Button Styles for Anchor Links */
.btn-primary {
    background: var(--color-primary);
    color: white !important; /* Force white text */
    border: 2px solid var(--color-primary);
    padding: 15px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block; /* Make it fill width */
    text-decoration: none; /* Remove underline */
    width: 100%;
    box-sizing: border-box; /* Include padding in width */
    margin-bottom: 15px; /* Spacing between buttons */
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,137,123,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
    padding: 15px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block; /* Make it fill width */
    text-decoration: none; /* Remove underline */
    width: 100%;
    box-sizing: border-box;
}
.btn-outline:hover {
    background: var(--color-primary);
    color: white !important;
}

.full-width { 
    width: 100%; 
}

.secure-text {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    text-align: center;
    padding: 40px 0;
    background: #263238; /* Charcoal */
    color: white;
    font-size: 0.85rem;
    margin-top: 0;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.fade-in { animation: fadeIn 0.6s ease-out forwards; }
.fade-in-delay { animation: fadeIn 0.6s ease-out 0.2s forwards; opacity: 0; }

/* =========================
   RESPONSIVE (Mobile)
   ========================= */
@media (max-width: 768px) {
    .product-layout { 
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        padding: 25px 20px; 
        gap: 30px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        height: 60px; /* Slightly smaller on mobile to fit header */
    }
}