@charset "UTF-8";

:root {
    --brand-primary: #1a2947; 
    --brand-dark: #102A43;
    --brand-accent: #d97706; 
    --cta-primary: #b45309; 
    --cta-hover: #92400e;
    --badge-bg: #d97706;
    
    --bg-body: #fdfbf7; 
    --bg-card: #ffffff;
    --bg-section: #f4f1ea; 
    --border-color: #e5e5e5;
    
    --text-main: #2d3748;
    --text-sub: #718096;
    
    --status-error: #C0392B;
    --status-success: #4CAF50;
    
    --font-head: 'Playfair Display', serif; 
    --font-main: 'Lato', sans-serif; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); line-height: 1.6; color: var(--text-main); background-color: var(--bg-body); overflow-x: hidden; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.hidden { display: none !important; }
button { font-family: var(--font-main); }

header { background: white; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.03); padding: 0 20px; }

.header-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    height: 80px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    transition: height 0.3s ease;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    color: var(--brand-primary);
    height: 100%; 
}

.logo img { 
    height: 48px; 
    width: auto;  
    object-fit: contain; 
    display: block;
    transition: height 0.3s ease;
}

nav, .header-actions { display: flex; align-items: center; gap: 15px; }
nav { gap: 32px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links button, .mobile-nav-links button { 
    background: none; border: none; color: var(--text-main); 
    font-size: 15px; font-weight: 500; cursor: pointer; 
    transition: color 0.3s; text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links button:hover, .footer-column li a:hover { color: var(--brand-accent); }

.search-expand { display: flex; align-items: center; background: transparent; border-radius: 25px; transition: all 0.3s ease; position: relative; }
.search-expand.active { background: #fff; border: 1px solid #e5e5e5; padding-left: 10px; }
.search-expand input { width: 0; padding: 0; border: none; background: transparent; outline: none; opacity: 0; transition: all 0.4s ease; font-size: 14px; color: var(--text-main); }
.search-expand.active input { width: 200px; opacity: 1; padding-right: 10px; }

.icon-btn, .qty-btn, .slider-btn { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.icon-btn { background: transparent; color: var(--brand-primary); border: none; position: relative; z-index: 5; }
.icon-btn:hover { background: #f0f0f0; color: var(--brand-accent); }
.qty-btn, .slider-btn { border: 1px solid #ddd; background: white; color: var(--brand-primary); font-weight: bold; }
.qty-btn { width: 24px; height: 24px; }
.qty-btn:hover { background: var(--brand-primary); color: white; }
.search-trigger { color: var(--brand-primary); }

.badge { position: absolute; top: 0; right: 0; background: var(--badge-bg); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; display: flex; align-items: center; justify-content: center; }

.btn-primary { background: var(--cta-primary); color: white; border: none; padding: 12px 28px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; font-family: var(--font-main); }
.btn-primary:hover:not(:disabled) { background: var(--cta-hover); transform: translateY(-1px); }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.btn-secondary { background: transparent; border: 1px solid var(--brand-primary); color: var(--brand-primary); padding: 8px 16px; border-radius: 2px; cursor: pointer; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.btn-logout { background: #fff5f5; color: #c0392b; border: 1px solid #fc8181; padding: 10px; width: 100%; margin-top: 15px; cursor: pointer; border-radius: 4px; }

.hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--brand-primary); cursor: pointer; }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2999; }
.mobile-menu { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: white; z-index: 3000; transition: 0.3s ease; padding: 20px; display: flex; flex-direction: column; gap: 20px; box-shadow: 2px 0 10px rgba(0,0,0,0.1); }
.mobile-menu.active { left: 0; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.close-menu-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #666; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.mobile-nav-links button, .mobile-nav-links a { text-align: left; font-size: 16px; color: var(--brand-primary); width: 100%; padding: 5px 0; border-bottom: 1px solid #f0f0f0; display: block; text-decoration: none; font-weight: 500; text-transform: uppercase; }

.hero { background: linear-gradient(to right, #fbf7f4 0%, #f4eae4 100%); padding: 60px 20px; position: relative; overflow: hidden; }
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.hero-content h1 { font-family: var(--font-head); font-size: 56px; color: var(--brand-primary); line-height: 1.1; margin: 15px 0; font-weight: 700; }
.hero-content h2 { font-family: var(--font-head); font-size: 32px; color: #5d4037; font-weight: 400; margin-bottom: 20px; font-style: italic; }
.hero-content p.subtitle { font-size: 14px; color: var(--cta-primary); text-transform: uppercase; letter-spacing: 3px; font-weight: bold; margin-bottom: 10px; }
.hero-content p.description { font-size: 18px; color: #4a5568; margin: 0 0 32px; line-height: 1.8; max-width: 90%; }

.hero-image { position: relative; z-index: 10; }
.hero-image::before { 
    content:''; position: absolute; top: 20px; left: -20px; width: 100%; height: 100%; 
    border: 2px solid var(--brand-accent); border-radius: 4px; z-index: 0; 
    transition: all 0.4s ease; 
}
.hero-image img { 
    width: 100%; position: relative; z-index: 1; border-radius: 4px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 4/5; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; 
    display: block;
}
.hero-image:hover img { transform: translate(15px, -15px) scale(1.02); box-shadow: -10px 25px 50px rgba(0,0,0,0.15); }
.hero-image:active img { transform: translate(10px, -10px) scale(1.02); }

section { padding: 80px 20px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: var(--font-head); font-size: 42px; color: var(--brand-primary); margin-bottom: 10px; }
.section-title p { color: var(--brand-accent); font-family: var(--font-head); font-style: italic; font-size: 20px; letter-spacing: 1px; }

/* FAQ Section (Accordion) */
.faq { background: #fff; border-top: 1px solid #eee; }
.faq-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.faq-item { cursor: pointer; border-bottom: 1px solid #eee; padding: 15px 0; }
.faq-item h4 { position: relative; margin-bottom: 0; font-family: var(--font-head); color: var(--brand-primary); font-size: 16px; }
.faq-item h4::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 18px; color: var(--brand-accent); font-weight: normal; transition: transform 0.3s; }
.faq-item.active h4::after { transform: rotate(45deg); }
.faq-item p { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease, margin-top 0.3s ease; 
    margin-top: 0; 
    color: #555; 
    font-size: 14px; 
    line-height: 1.6;
}
.faq-item.active p { 
    max-height: 200px; 
    margin-top: 10px; 
}

/* Product Policy & Info */
.product-policy { margin-top: 15px; background: #fdfbf7; padding: 15px; border-radius: 4px; border: 1px solid #eee; }
.product-policy ul { list-style: none; padding: 0; }
.product-policy li { font-size: 13px; color: #555; margin-bottom: 6px; position: relative; padding-left: 15px; }
.product-policy li::before { content: '\2022'; color: var(--brand-accent); position: absolute; left: 0; top: 0; }
.product-policy li strong { font-weight: normal; } 

/* Product Description Information Clean List */
.product-info {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 5px;
    color: var(--text-sub);
}
.product-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.categories-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card { cursor: pointer; text-align: center; group: hover; }
.category-image-wrapper { width: 100%; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin-bottom: 15px; border: 2px solid transparent; transition: all 0.3s; position: relative; }
.category-card:hover .category-image-wrapper { border-color: var(--brand-accent); transform: scale(1.02); }
.category-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.category-card h3 { font-family: var(--font-head); color: var(--brand-primary); font-size: 18px; margin-top: 10px; }

.products-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }

.card { background: var(--bg-card); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; position: relative; border: 1px solid #f0f0f0; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.card-image-wrapper { width: 100%; aspect-ratio: 3/4; background: #f9f9f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover;object-position: top; transition: transform 0.5s; }
.card:hover .card-image-wrapper img { transform: scale(1.08); }
.card-content { padding: 16px; text-align: center; }
.category-tag { font-size: 0.7rem; color: var(--brand-accent); text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 6px; letter-spacing: 1px; }
.card h3 { color: var(--brand-primary); font-family: var(--font-head); font-size: 17px; margin-bottom: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.price { font-size: 18px; font-weight: bold; color: var(--brand-primary); margin-bottom: 12px; font-family: sans-serif; }
.stock-info { font-size: 11px; margin-bottom: 12px; font-weight: 500; }
.out-stock { color: var(--status-error); } .in-stock { color: var(--status-success); }

.heart-btn { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.9); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border: none; z-index: 5; transition: transform 0.2s; }
.heart-btn:hover { transform: scale(1.1); }
.heart-btn.active svg { fill: #d97706; stroke: #d97706; }
.heart-btn svg { width: 18px; height: 18px; stroke: #333; fill: none; stroke-width: 2; transition: fill 0.3s; }

.low-stock-warn { color: #e65100; font-size: 11px; font-weight: bold; margin-top: 4px; display: block; }

/* Star Rating */
.star-rating { color: #d97706; font-size: 14px; display: inline-flex; align-items: center; margin-bottom: 8px; }
.star-box { position: relative; display: inline-block; width: 1em; height: 1em; line-height: 1; font-family: sans-serif; }
.star-box::before { content: '\2605'; position: absolute; top: 0; left: 0; color: #ddd; }
.star-box .fill { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; color: #d97706; }
.star-box .fill::before { content: '\2605'; position: absolute; top: 0; left: 0; }

.status-badge { padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #d4edda; color: #155724; }
.status-delivered { background: #c3e6cb; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* --- ORDER TRACKING TIMELINE --- */
.order-card {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #fff;
}

.order-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    position: relative;
    padding: 0 10px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 60px;
}

.timeline-step .circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 5px;
    transition: background 0.3s;
}

.timeline-step.active .circle {
    background: var(--status-success);
}

.timeline-step .label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

.timeline-step.active .label {
    color: var(--brand-primary);
}

.timeline-line {
    flex: 1;
    height: 3px;
    background: #eee;
    margin: 0 -15px 17px; 
    z-index: 1;
}

.timeline-line.active {
    background: var(--status-success);
}

.review-section { margin-top: 2rem; border-top: 1px solid #eee; padding-top: 1rem; }
.review-item { border-bottom: 1px solid #f9f9f9; padding: 10px 0; }
.review-header { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 4px; }
.review-text { font-size: 13px; color: #333; }

.star-input-group { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input-group input { display: none; }
.star-input-group label { cursor: pointer; color: #ddd; font-size: 24px; transition: color 0.2s; }
.star-input-group label:hover, .star-input-group label:hover ~ label, .star-input-group input:checked ~ label { color: #d97706; }
.star-input-group label:before { content: '\2605'; }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.modal-content { background: white; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; border-radius: 4px; padding: 30px; position: relative; animation: slideUp 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.2); border-top: 4px solid var(--brand-primary); }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 24px; line-height: 1; cursor: pointer; color: #999; z-index: 100; transition: color 0.2s; }
.close-btn:hover { color: var(--status-error); }

.auth-tabs { display: flex; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.auth-tab { padding: 10px 25px; cursor: pointer; border-bottom: 2px solid transparent; font-weight: 500; color: var(--text-sub); }
.auth-tab.active { border-bottom-color: var(--brand-primary); color: var(--brand-primary); font-weight: bold; }
.auth-form { display: none; } .auth-form.active { display: block; }
.auth-form h4 { margin: 1.5rem 0 1rem; border-bottom: 1px solid #eee; padding-bottom: 5px; font-size: 14px; text-transform: uppercase; color: var(--brand-primary); }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--brand-primary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 2px; font-size: 14px; font-family: var(--font-main); }
.form-group input:focus, .form-group select:focus { border-color: var(--brand-accent); outline: none; }
.form-group input:disabled, .form-group input[readonly] { background: #f9f9f9; color: #888; cursor: not-allowed; }
.form-row { display: flex; gap: 15px; } .form-row .form-group { flex: 1; }
.pincode-status { font-size: 11px; margin-top: 4px; display: block; font-weight: 500; }
.status-loading { color: var(--brand-accent); } .status-success { color: var(--status-success); } .status-error { color: var(--status-error); }

/* Phone & Country Code Select Styles */
.phone-input-group { display: flex; gap: 8px; width: 100%; }
.country-code-select { max-width: 140px; padding: 12px; border: 1px solid #ddd; border-radius: 2px; font-size: 14px; font-family: var(--font-main); outline: none; background-color: #fff; cursor: pointer; }
.country-code-select:focus { border-color: var(--brand-accent); }
.phone-input-group input { flex: 1; }

.forgot-password-link { font-size: 12px; color: var(--brand-accent); text-decoration: none; font-weight: 600; cursor: pointer; }
.forgot-password-link:hover { text-decoration: underline; }

.cart-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding: 15px 0; }
.cart-total { margin-top: 20px; text-align: right; font-size: 18px; font-weight: bold; color: var(--brand-primary); font-family: sans-serif; }
.qty-controls { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.slider-container { position: relative; width: 100%; height: 400px; background: #f9f9f9; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; }
.slider-img { width: 100%; height: 100%; object-fit: contain; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); z-index: 5; }
.prev-btn { left: 10px; } .next-btn { right: 10px; }

.footer { background: white; margin-top: 50px; border-top: 4px solid var(--brand-accent); }
.footer-content { background: #fff; padding: 40px 20px 20px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.footer-column h3 { color: var(--brand-primary); margin-bottom: 16px; font-family: var(--font-head); font-size: 20px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 8px; color: #666; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.footer-column li a { color: #666; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 8px;}
.footer-bottom { border-top: 1px solid #e5e5e5; padding-top: 20px; text-align: center; margin-top: 40px; color: #999; font-size: 14px; }
#loading { text-align: center; padding: 40px; color: #999; }

/* Size Selector CSS */
.size-selector-label { font-size: 13px; font-weight: 600; color: var(--brand-primary); margin-bottom: 8px; display: block; }
.size-options { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.size-btn { border: 1px solid #ddd; background: white; padding: 10px 18px; cursor: pointer; border-radius: 4px; font-size: 14px; transition: all 0.2s; min-width: 45px; text-align: center; font-weight: 500; }
.size-btn:hover { border-color: var(--brand-primary); }
.size-btn.selected { background: var(--brand-primary); color: white; border-color: var(--brand-primary); font-weight: 700; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* Size Chart Link & Modal */
.size-chart-link { color: var(--brand-accent); text-decoration: underline; font-size: 13px; cursor: pointer; margin-left: auto; font-weight: 600; }

.size-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; font-family: var(--font-main); }
.size-table th, .size-table td { border: 1px solid #eee; padding: 12px; text-align: center; color: #555; }
.size-table th { background: #fdfbf7; color: var(--brand-primary); font-weight: 700; font-family: var(--font-head); letter-spacing: 0.5px; }
.size-table tr:hover { background-color: #f9f9f9; }

/* Fully responsive mobile design */
@media (max-width: 768px) {
    .header-container { flex-wrap: nowrap !important; padding: 10px 15px !important; gap: 10px; height: 65px !important; }
    .hamburger { order: 1; margin-right: 5px; display: block; }
    
    .logo { order: 2; margin-right: auto; }
    .logo img { height: 36px; }
    
    .header-actions { width: auto !important; margin-top: 0 !important; order: 3; justify-content: flex-end; gap: 8px !important; display: flex !important; }
    
    /* Mobile Search Expanding Fixes */
    .search-expand { position: relative; flex: 0 0 auto !important; margin: 0 !important; background: transparent !important; border: none !important; padding: 0 !important; height: auto !important; display: flex; align-items: center; justify-content: center; }
    .search-expand input { position: absolute; right: 100%; top: 50%; transform: translateY(-50%); width: 0 !important; opacity: 0 !important; padding: 0 !important; background: #fff !important; border: 1px solid #e5e5e5 !important; border-radius: 20px; z-index: 100; transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease !important; font-size: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-right: 10px; pointer-events: none; }
    .search-expand.active input { width: calc(100vw - 160px) !important; max-width: 220px !important; opacity: 1 !important; padding: 8px 15px !important; pointer-events: auto; }
    .search-trigger { display: flex !important; }

    /* Auth State Icon/Text fixes */
    .icon-btn.auth-btn-container { width: auto !important; padding: 0 5px !important; border-radius: 20px !important; }
    #authBtnText { display: none; } /* Default hidden on mobile to show icon */

    .header-container .nav-links { display: none; } 
    
    .hero-container, .categories-grid, .products-grid, .footer-grid, .faq-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-container { gap: 20px; }
    .hero-image { order: -1; margin-left: 10px; margin-right: 10px; }
    .hero-image::before { left: -10px; top: 10px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .footer-column li { justify-content: center; }
    .hero-content h1 { font-size: 36px; } 
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 360px) {
    .search-expand.active input { width: 160px !important; }
    .logo img { height: 28px; }
}

/* Product Page Specific Styles */
.product-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.product-page-images {
    position: relative;
}
.product-page-images .slider-container {
    height: 600px;
    border-radius: 8px;
}
.product-page-details {
    padding: 10px 0;
}
.share-btn {
    background: transparent;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 12px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    transition: background 0.3s;
}
.share-btn:hover {
    background: #f4f1ea;
}
.page-size-btn {
    border: 1px solid #ddd;
    background: white;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 45px;
    text-align: center;
    font-weight: 500;
}
.page-size-btn:hover { border-color: var(--brand-primary); }
.page-size-btn.selected { background: var(--brand-primary); color: white; border-color: var(--brand-primary); font-weight: 700; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.page-size-btn.disabled { opacity: 0.5; cursor: not-allowed; background: #f9f9f9; }

@media (max-width: 768px) {
    .product-page-container {
        grid-template-columns: 1fr;
        margin: 20px auto;
    }
    .product-page-images .slider-container {
        height: 400px;
    }
}

/* Auth dropdown notification */
#authDropdownMsg {
    position: absolute;
    top: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%) translateY(-10px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 8px 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 12px;
    color: var(--brand-primary);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}
#authDropdownMsg.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}
#authDropdownMsg::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
}