
:root { 
    --primary-red: #D92E2E; 
    --primary-black: #1a1a1a; 
    --text-color: #333333; 
    --light-gray: #f9f9f9; 
    --border-color: #e5e5e5; 
    --white: #ffffff; 
    --font-family-body: 'Poppins', sans-serif; 
    --font-family-heading: 'Poppins', sans-serif;
    --orange: #f39c12;
    --blue: #3498db;
    --green: #2ecc71;
}
* { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } 
body { font-family: var(--font-family-body); background-color: var(--white); color: var(--text-color); line-height: 1.6; } 
body.modal-open, body.search-open, body.filters-open, body.menu-open { overflow: hidden; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 30px; } a { text-decoration: none; color: inherit; } ul { list-style: none; } img, video { max-width: 100%; height: auto; display: block; } section { padding: 70px 0; } .section-title { text-align: center; margin-bottom: 0; font-family: var(--font-family-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary-black); } .site-header { background: var(--white); padding: 8px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.3s ease, padding 0.3s ease; } .site-header.scrolled { box-shadow: 0 2px 15px rgba(0,0,0,0.08); } .nav-container { display: flex; justify-content: space-between; align-items: center; } 

.brand-logo img { width: 80px; height: 80px; border-radius: 50%; border: 2px solid white; box-shadow: 0 4px 12px rgba(0,0,0,0.15); object-fit: cover; transition: width 0.3s ease, height 0.3s ease; }
.main-nav { flex-grow: 1; } .main-nav ul { display: flex; align-items: center; justify-content: center; gap: 20px; } 
.main-nav ul li a { position: relative; padding-bottom: 8px; font-weight: 500; color: var(--primary-black); display: flex; align-items: center; gap: 5px; transition: color 0.3s ease; }
.main-nav ul li a .fa-chevron-down { font-size: 0.6rem; opacity: 0.8; transition: transform 0.3s ease-in-out; }
.main-nav ul li a:hover { color: var(--primary-red); } .main-nav ul li a.active { color: var(--primary-red); }
.main-nav ul li a::after { content: ''; position: absolute; width: 0%; height: 2px; background-color: var(--primary-red); left: 50%; bottom: 0; transform: translateX(-50%); transition: width 0.3s ease-in-out; }
.main-nav ul li a:hover::after, .main-nav ul li a.active::after { width: 100%; }
.main-nav ul li.dropdown { position: relative; }
.main-nav .dropdown-content { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background-color: var(--white); min-width: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); z-index: 1010; list-style: none; padding: 8px 0; border-radius: 4px; border: 1px solid var(--border-color); }
.main-nav li.dropdown:hover > .dropdown-content { display: block; }
.main-nav li.dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }
.main-nav .dropdown-content li a { padding: 12px 20px; display: block; white-space: nowrap; justify-content: flex-start; color: var(--text-color); }
.main-nav .dropdown-content li a::after { content: none; }
.main-nav .dropdown-content li a:hover { background-color: var(--light-gray); color: var(--primary-red); }

.nav-icons { display: flex; align-items: center; gap: 28px; } .nav-icons a { font-size: 1.3rem; position: relative; color: var(--primary-black); } .nav-icons .search-icon { color: var(--primary-red); font-size: 1.4rem; }
.notification-badge { position: absolute; top: -8px; right: -10px; background: var(--primary-red); color: var(--white); width: 20px; height: 20px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.7rem; font-weight: bold; transform: scale(0); transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28), background-color 0.2s; }
#header-cart-count.notification-badge { background: #50C8D9; }
.notification-badge.visible { transform: scale(1); }
.mobile-menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; border: none; background: none; } 
.mobile-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s ease-in-out; z-index: 1001; display: flex; flex-direction: column; } 
.mobile-nav.open { right: 0; } 
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); flex-shrink: 0;} 
.mobile-nav-header .brand-logo { transform: none; margin-left: 0; } 
.mobile-nav-header .brand-logo img { width: 60px; height: 60px; }
#close-menu-btn { font-size: 1.8rem; cursor: pointer; border: none; background: none; } 
.mobile-nav ul { margin-top: 0; flex-grow: 1; overflow-y: auto; padding-bottom: 100px;} 
.mobile-nav ul li a { display: block; padding: 15px 20px; font-size: 1.1rem; border-bottom: 1px solid var(--light-gray); } .mobile-nav ul li a:hover { background: var(--light-gray); }
.mobile-nav .mobile-submenu { padding-left: 20px; list-style: none; }
.mobile-nav .mobile-submenu li a { font-size: 0.95rem; color: #555; padding: 10px 15px; border-bottom: none; }

.page-content { display: none; }
.page-content.active { display: block; animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

#hero { padding: 0; height: 65vh; overflow: hidden; position: relative; } .hero-banner-container { width: 100%; height: 100%; } .hero-banner-image { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-out infinite; } @keyframes kenburns { 0% { transform: scale(1) translateX(0); } 50% { transform: scale(1.1) translateX(-2%); } 100% { transform: scale(1) translateX(0); } } .hero-banner-buttons { position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%); display: flex; gap: 20px; z-index: 10; } .hero-btn { background-color: var(--white); color: var(--text-color); padding: 12px 45px; font-size: 1rem; font-weight: 500; border: none; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: all 0.3s ease ; } .hero-btn:hover { background-color: var(--light-gray); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

#instagram-follow { background: var(--white); } 
.insta-header { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.insta-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.insta-header h2 { display: none; } .insta-header .followers { font-size: 1.2rem; font-weight: 500; color: #555; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; } 
.insta-post { position: relative; cursor: pointer; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 5; background-color: #eee; display: block; }
.insta-post img, .insta-post video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insta-post:hover img, .insta-post:hover video { transform: scale(1.05); }
.insta-post .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center; font-size: 1.2rem; color: var(--white); opacity: 0; transition: opacity 0.3s ease; }
.insta-post:hover .overlay { opacity: 1; }
.insta-btn-container { text-align: center; margin-top: 40px; }
.insta-btn { background: var(--primary-black); color: var(--white); padding: 12px 30px; border-radius: 5px; font-weight: 500; transition: background 0.3s ease, transform 0.2s ease; display: inline-block; }
.insta-btn:hover { background: var(--primary-red); transform: translateY(-2px); }

#insta-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1050; align-items: center; justify-content: center; }
#insta-modal.show { display: flex; }
.insta-modal-content { display: flex; width: 90%; max-width: 1200px; height: 90vh; max-height: 800px; background-color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: slide-in 0.3s ease-out; }
.insta-modal-media { flex-basis: 65%; background-color: var(--primary-black); display: flex; align-items: center; justify-content: center; }
.insta-modal-media img, .insta-modal-media video { width: 100%; height: 100%; object-fit: contain; }
.insta-modal-info { flex-basis: 35%; display: flex; flex-direction: column; }
.insta-modal-header { padding: 15px; display: flex; align-items: center; border-bottom: 1px solid var(--border-color); }
.insta-modal-header img { width: 40px; height: 40px; border-radius: 50%; margin-right: 15px; object-fit: cover; }
.insta-modal-header strong { font-weight: 600; font-size: 1rem; }
.insta-modal-caption-body { padding: 20px; overflow-y: auto; flex-grow: 1; font-size: 0.95rem; }
.insta-modal-caption-body .caption { margin-bottom: 15px; white-space: pre-wrap; word-wrap: break-word; }
.insta-modal-caption-body .date { font-size: 0.8rem; color: #888; text-transform: uppercase; transition: color 0.2s ease; }
.insta-modal-caption-body .date:hover { color: var(--primary-black); }
.insta-modal-footer { padding: 15px 20px; border-top: 1px solid var(--border-color); }
.insta-modal-footer .likes { font-weight: 600; font-size: 1rem; }
.insta-modal-close { position: absolute; top: 15px; right: 20px; font-size: 2.5rem; color: var(--white); cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: opacity 0.2s; }
.insta-modal-close:hover { opacity: 0.8; }
.insta-modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; background: rgba(26, 26, 26, 0.7); color: var(--white); border: none; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.insta-modal-nav:hover { background: rgba(26, 26, 26, 1); }
.insta-modal-nav.prev { left: 15px; }
.insta-modal-nav.next { right: 15px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; } 
.product-card { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; position: relative; background: var(--white); display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.07); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.product-card .image-container {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #f0f0f0;
    cursor: pointer;
}
.product-card .image-container img { width: 100%; height: 100%; object-fit: cover; }
.product-card .image-container .product-img-hover { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.4s ease; }
.product-card:hover .image-container .product-img-hover { opacity: 1; }
.product-actions-overlay { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: opacity 0.3s, transform 0.3s; z-index: 3; }
.product-card:hover .product-actions-overlay { opacity: 1; transform: translateX(0); }
.quick-view-btn { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; transition: all 0.3s ease; z-index: 3; background-color: var(--white); border: none; padding: 10px 18px; font-size: 0.85rem; font-weight: 500; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); cursor: pointer; white-space: nowrap; }
.product-card:hover .quick-view-btn { transform: translateX(-50%) translateY(0); opacity: 1; }
.quick-view-btn:hover, .quick-view-btn i { transition: all 0.2s ease; }
.quick-view-btn:hover { background-color: var(--primary-black); color: var(--white); }
.quick-view-btn i { margin-right: 6px; }
.action-btn { background-color: rgba(255, 255, 255, 0.9); border: 1px solid var(--border-color); width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--primary-black); transition: all 0.2s ease; }
.action-btn:hover { background-color: var(--primary-red); color: var(--white); transform: scale(1.1); }
.action-btn i.fas.fa-heart { color: var(--primary-red); }
.action-btn.compare-btn i { transition: transform 0.3s ease; }
.action-btn.compare-btn.active { background-color: var(--primary-red); color: var(--white); }
.action-btn.compare-btn.active i { transform: rotate(180deg); }

.product-card .badge { position: absolute; top: 12px; padding: 4px 10px; border-radius: 3px; font-size: 0.75rem; font-weight: 700; color: var(--white); z-index: 2; }
.product-card .hot-sale { left: 12px; background: var(--primary-red); }
.product-card .out-of-stock-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: white; padding: 8px 16px; border-radius: 5px; font-weight: bold; z-index: 3; display: none; }
.product-card.out-of-stock .image-container img { filter: grayscale(1); }
.product-card.out-of-stock .out-of-stock-label { display: block; }
.product-card.out-of-stock .add-to-cart-btn { background-color: #aaa; border-color: #aaa; cursor: not-allowed; }
.product-info { padding: 15px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; } .product-title { font-size: 0.95rem; font-weight: 500; margin-bottom: 10px; min-height: 44px; color: var(--primary-black); } .price .old-price { text-decoration: line-through; color: #999; margin-right: 8px; font-size: 0.9rem; } .price .new-price { font-weight: 700; font-size: 1.1rem; color: var(--primary-red); } .sizes { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-grow: 1; align-items: flex-end; margin-bottom: 15px; } .size-option { border: 1px solid var(--border-color); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; border-radius: 50%; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; background-color: transparent; } .size-option:hover, .size-option.active { background: var(--primary-black); color: var(--white); border-color: var(--primary-black); } .tabs { text-align: center; margin-bottom: 40px; display: flex; justify-content: center; gap: 15px; } .tab-button { background: none; border: 1px solid var(--border-color); padding: 10px 25px; font-size: 1rem; font-weight: 500; cursor: pointer; border-radius: 30px; transition: all 0.3s ease; } .tab-button.active, .tab-button:hover { background: var(--primary-black); color: var(--white); border-color: var(--primary-black); } .tab-content { display: none; } .tab-content.active { display: grid; }

.page-header { padding: 25px 0; background-color: var(--white); text-align: left;} 
.page-header .container { padding: 0 15px; }
.breadcrumbs { font-size: 0.9rem; color: #777; margin-bottom: 10px; text-align: center; } .breadcrumbs a:hover { text-decoration: underline; } .breadcrumbs .fa-chevron-right { font-size: 0.7rem; margin: 0 8px; } 
.collection-title, .page-title { font-family: var(--font-family-heading); font-size: 2.2rem; font-weight: 500; color: #1c1c1c; margin: 0; line-height: 1.3; text-align: center; }
.policy-page-main { padding: 70px 0; }
.contact-page-main, .track-page-main { padding: 70px 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } .contact-wrapper, .track-wrapper, .policy-wrapper { max-width: 800px; width: 100%; margin: 0 auto; } .policy-wrapper h2 { font-family: var(--font-family-heading); font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; } .policy-wrapper p { margin-bottom: 15px; line-height: 1.7; } .policy-wrapper ul { list-style: disc; padding-left: 20px; margin-bottom: 15px; } .contact-wrapper h2, .track-wrapper h2 { font-family: var(--font-family-heading); font-size: 1.8rem; margin-bottom: 15px; } .contact-wrapper .subtitle, .track-wrapper .subtitle { font-size: 1rem; color: #555; margin-bottom: 30px; } .contact-details { margin-bottom: 40px; } .contact-details p { margin-bottom: 10px; line-height: 1.7; } .contact-form .form-group, .track-form .form-group { margin-bottom: 20px; text-align: left; } .contact-form label, .track-form label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; } .contact-form .form-control, .track-form .form-control { width: 100%; padding: 12px; font-size: 1rem; border: 1px solid var(--border-color); border-radius: 5px; } .contact-form textarea.form-control { resize: vertical; min-height: 120px; } .contact-form .submit-btn, .track-form .submit-btn { background-color: var(--primary-black); color: var(--white); border: 1px solid var(--primary-black); padding: 12px 35px; font-size: 0.95rem; font-weight: 500; cursor: pointer; border-radius: 4px; transition: all 0.3s ease; } .contact-form .submit-btn:hover, .track-form .submit-btn:hover { background-color: var(--primary-red); border-color: var(--primary-red); } .track-form .submit-btn { width: 100%; }

/* === COLLECTION PAGE LAYOUT === */
.collection-page-main {
    padding: 50px 0;
}
.collection-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* === ENHANCED SIDEBAR STYLES === */
.collection-sidebar {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-header-title {
    font-size: 1.2rem;
    font-weight: 600;
}
.clear-filters-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}
.clear-filters-btn:hover {
    color: var(--primary-black);
}

.collection-sidebar .filter-group {
    margin-bottom: 0;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.collection-sidebar .filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.collection-sidebar .filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}
.collection-sidebar .filter-group-header:hover .filter-group-title {
    color: var(--primary-red);
}
.collection-sidebar .filter-group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    transition: color 0.2s ease;
}
.collection-sidebar .filter-group-toggle {
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    color: #888;
}
.filter-group.open .filter-group-toggle {
    transform: rotate(-180deg);
}
.filter-group .filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    padding-top: 0;
}
.filter-group.open .filter-content {
    max-height: 600px;
    padding-top: 20px;
}
.filter-options-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.filter-options-list label {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: color 0.2s ease;
}
.filter-options-list label:hover {
    color: var(--primary-black);
}
.filter-options-list input[type="radio"],
.filter-options-list input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
    width: 18px; height: 18px;
    z-index: 2;
    cursor: pointer;
}
.filter-options-list label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    background-color: var(--white);
    transition: all 0.2s ease;
}
.filter-options-list input[type="checkbox"] ~ label::before {
     border-radius: 4px;
}
.filter-options-list input[type="radio"] ~ label::before {
    border-radius: 50%;
}
.filter-options-list input:hover ~ label::before {
    border-color: var(--primary-black);
}
.filter-options-list input:checked ~ label::before {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
}
.filter-options-list label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.filter-options-list input[type="radio"] ~ label::after {
    left: 5px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    border:none;
    transform: translateY(-50%) scale(0);
}
.filter-options-list input:checked ~ label::after {
    transform: rotate(45deg) scale(1);
}
 .filter-options-list input[type="radio"]:checked ~ label::after {
    transform: translateY(-50%) scale(1);
}
.filter-options-list .count {
    margin-left: auto;
    color: #888;
    font-size: 0.9rem;
    padding-left: 5px;
}

.sidebar-promo-image {
    margin-top: 10px; 
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.sidebar-promo-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.sidebar-promo-image:hover img {
    transform: scale(1.05);
}

.price-filter-content {
    padding-top: 10px;
}
.price-range-slider {
    position: relative;
    height: 2px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 30px 8px 35px 8px;
}
.price-range-slider .progress {
    position: absolute;
    height: 100%;
    background: var(--primary-black);
    border-radius: 2px;
}
.range-input {
    position: relative;
}
.range-input input {
    position: absolute;
    top: -45px;
    height: 16px;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.range-input input:active {
    cursor: grabbing;
}
.range-input input::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #50C8D9;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    pointer-events: auto;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.range-input input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.range-input input::-webkit-slider-thumb:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}
.range-input input::-moz-range-thumb {
    -moz-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #50C8D9;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.range-input input::-moz-range-thumb:hover {
    transform: scale(1.15);
}
.range-input input::-moz-range-thumb:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}
.price-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #555;
}
.price-inputs div {
    font-weight: 500;
    color: var(--primary-black);
}

.collection-main-content {
    width: 100%;
}
.collection-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.collection-toolbar .product-count {
    color: #777;
    font-size: 0.9rem;
}
.toolbar-right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sort-by-container {
    position: relative;
}
.sort-by-container #sort-by-select, #homepage-category-filter {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid var(--border-color);
    padding: 8px 30px 8px 12px;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}
.sort-by-container::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}
.view-toggle-buttons button {
    background: none; border: 1px solid var(--border-color);
    color: #aaa; width: 38px; height: 38px; cursor: pointer;
    margin-left: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.view-toggle-buttons button.active,
.view-toggle-buttons button:hover {
     background: var(--primary-black); color: var(--white); border-color: var(--primary-black);
}
#collection-product-grid {
     width: 100%;
}
#collection-product-grid.grid-view-3 {
     grid-template-columns: repeat(3, 1fr);
}
#collection-product-grid.grid-view-4 {
     grid-template-columns: repeat(4, 1fr);
}
#collection-product-grid.list-view {
    display: flex; 
    flex-direction: column;
    gap: 20px;
}
#collection-product-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    height: auto; 
    max-width: 100%;
}
#collection-product-grid.list-view .product-card:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
#collection-product-grid.list-view .product-card .image-container {
    flex: 0 0 250px; 
    align-self: center; 
    margin: 15px;
}
#collection-product-grid.list-view .product-card .product-info {
    flex: 1 1 auto;
    text-align: left;
    padding: 20px;
    justify-content: center;
}
#collection-product-grid.list-view .product-card .product-title {
    min-height: auto;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
#collection-product-grid.list-view .product-card .price {
    margin-bottom: 15px;
}
#collection-product-grid.list-view .product-card .sizes {
    justify-content: flex-start;
    margin-bottom: 20px;
    flex-grow: 0; 
    margin-top: 0; 
}
#collection-product-grid.list-view .product-card .cart-button-wrapper {
    margin-top: 0;
    max-width: 200px;
}
#collection-product-grid.list-view .product-card .quick-view-btn,
#collection-product-grid.list-view .product-card .product-actions-overlay {
    display: none;
}
#collection-product-grid.list-view .product-card:hover .product-img-hover {
    opacity: 0; 
}
.order-history-item { background: var(--light-gray); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; margin-bottom: 20px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info status" "info actions" "details details"; align-items: center; gap: 15px; }
.order-history-item .info { grid-area: info; }
.order-history-item .info p { margin: 0 0 5px 0; font-size: 0.9rem; }
.order-history-item .info .order-id-wrapper { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.order-history-item .info .order-id { font-weight: bold; font-size: 1rem; color: var(--primary-black); word-break: break-all; }
.order-history-item .status-display { grid-area: status; padding: 8px 15px; border-radius: 20px; font-weight: 500; color: white; font-size: 0.85rem; text-align: center; min-width: 100px; justify-self: end; }
.order-history-item .status-display.processing { background-color: var(--orange); }
.order-history-item .status-display.confirmed { background-color: #8e44ad; }
.order-history-item .status-display.shipped { background-color: var(--blue); }
.order-history-item .status-display.delivered { background-color: var(--green); }
.order-history-item .status-display.cancelled { background-color: var(--primary-red); }
.order-history-item .actions { grid-area: actions; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.order-history-item .copy-id-btn, .order-history-item .view-details-btn { background: none; border: 1px solid var(--primary-black); color: var(--primary-black); padding: 6px 12px; border-radius: 5px; cursor: pointer; font-size: 0.8rem; font-weight: 500; transition: all 0.2s ease; white-space: nowrap; }
.order-history-item .view-details-btn { background: var(--primary-black); color: white; }
.order-history-item .copy-id-btn:hover, .order-history-item .view-details-btn:hover { background-color: var(--primary-red); border-color: var(--primary-red); color: white; }
.order-details-content { grid-area: details; display: none; background-color: #ffffff; padding: 20px; margin-top: 15px; border-top: 1px dashed var(--border-color); width: 100%; animation: fadeIn 0.5s ease; }
.order-details-product { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.order-details-product:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.order-details-product img { width: 60px; height: 75px; object-fit: cover; border-radius: 4px; }
.order-details-product .product-info p { margin: 0; line-height: 1.4; }
.order-details-product .product-info .name { font-weight: bold; }
.order-details-product .product-info .size-qty { font-size: 0.9rem; color: #555; }
.order-details-contact-link { margin-top: 20px; font-size: 0.95rem; text-align: center; }
.order-details-contact-link a { color: var(--primary-red); font-weight: 500; text-decoration: underline; }
.order-history-item .refund-status-indicator { font-size: 0.85rem; font-weight: 500; padding: 5px 10px; border-radius: 4px; margin-top: 10px; display: inline-block; border: 1px solid; color: var(--white); }
.order-history-item .refund-status-indicator i { margin-right: 6px; }
.order-history-item .refund-status-indicator.pending { background-color: var(--orange); border-color: var(--orange); }
.order-history-item .refund-status-indicator.approved { background-color: var(--green); border-color: var(--green); }
.order-details-tracking-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 0.95rem;
}
.tracking-id-value {
    font-weight: bold;
    color: var(--primary-red);
    margin: 0 10px;
}
.tracking-id-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-black);
    font-size: 1rem;
}
.tracking-id-copy-btn:hover {
    color: var(--primary-red);
}

.location-map-section { margin-top: 70px; text-align: center; width: 100%; }
.location-map-section h2 { font-family: var(--font-family-heading); font-size: 1.8rem; margin-bottom: 15px; }
.location-map-section .subtitle { font-size: 1rem; color: #555; margin-bottom: 30px; }
.map-embed-container iframe { width: 100%; height: 450px; border: 0; border-radius: 8px; }

.add-to-cart-btn, .remove-from-wishlist-btn { background-color: var(--primary-black); color: var(--white); border: 2px solid var(--primary-black); padding: 10px; font-size: 0.9rem; font-weight: 700; cursor: pointer; border-radius: 5px; transition: all 0.3s ease; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cart-button-wrapper, .add-to-cart-btn { margin-top: auto; }
.add-to-cart-btn:hover:not(:disabled) { background-color: var(--primary-red); border-color: var(--primary-red); transform: translateY(-2px); }
.add-to-cart-btn:disabled { background-color: #aaa; border-color: #aaa; cursor: not-allowed; }
.remove-from-wishlist-btn { background: none; border: 1px solid var(--border-color); color: var(--text-color); margin-top: 10px; }
.remove-from-wishlist-btn:hover { background-color: var(--light-gray); }
#toast-notification { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background-color: var(--primary-black); color: var(--white); padding: 15px 25px; border-radius: 50px; font-size: 0.95rem; z-index: 2000; visibility: hidden; opacity: 0; transition: opacity 0.4s ease, visibility 0.4s ease, bottom 0.4s ease; }
#toast-notification.show { visibility: visible; opacity: 1; bottom: 50px; }
.cart-container { display: flex; gap: 40px; padding: 40px 0; } 
.cart-items-list { flex-grow: 1; } 
.cart-item-card { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden; } 
.cart-item-card:last-child { border-bottom: none; } 
.cart-item-image img { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-color); } 
.cart-item-info { flex-grow: 1; display: flex; flex-direction: column; } 
.cart-item-info h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 5px; } 
.cart-item-info .cart-item-size { font-size: 0.9rem; color: #666; margin-bottom: 10px; } 
.cart-item-info .price { font-size: 1rem; color: var(--primary-red); font-weight: 700; margin-bottom: 15px; } 
.cart-item-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; } 
.quantity-controls { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 4px; } 
.quantity-btn { background: none; border: none; cursor: pointer; font-size: 1.2rem; width: 35px; height: 35px; color: var(--text-color); transition: background-color 0.2s; } 
.quantity-btn:hover { background-color: var(--light-gray); } 
.quantity-display { width: 40px; text-align: center; font-weight: 500; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); } 
.remove-from-cart-btn { background: none; border: none; color: var(--primary-red); font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: color 0.2s; } 
.remove-from-cart-btn:hover { color: var(--primary-black); } 

/* --- NEW: Styles for Cart Item Removal Confirmation --- */
.cart-item-remove-confirm {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.cart-item-card.show-confirm .cart-item-remove-confirm {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cart-item-remove-confirm p {
    font-weight: 500;
    margin: 0 0 15px 0;
    color: var(--primary-black);
}
.confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 200px;
    margin-bottom: 10px;
}
.confirm-actions button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.action-btn-confirm {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
    color: white;
}
.action-btn-confirm:hover {
    background-color: #333;
}
.action-btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}
.action-btn-danger:hover {
    background-color: #b82626;
}
.cancel-remove-btn {
    background: none;
    border: none;
    color: #777;
    text-decoration: underline;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 5px;
}

.cart-summary { width: 320px; flex-shrink: 0; background-color: var(--light-gray); padding: 25px; border-radius: 8px; align-self: flex-start; position: sticky; top: 100px; } .cart-summary h3 { font-family: var(--font-family-heading); font-size: 1.5rem; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; } .summary-line { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1rem; } .summary-line.total { font-weight: 700; font-size: 1.2rem; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border-color); } .checkout-btn, .continue-shopping-btn { display: block; width: 100%; padding: 12px; text-align: center; border-radius: 5px; font-weight: 500; transition: background-color 0.3s; cursor: pointer; } .checkout-btn { background-color: var(--primary-black); color: var(--white); border: 1px solid var(--primary-black); margin-bottom: 10px; } .checkout-btn:hover:not(:disabled) { background-color: var(--primary-red); border-color: var(--primary-red); } .checkout-btn:disabled { background-color: #aaa; border-color: #aaa; cursor: not-allowed; } .continue-shopping-btn { background-color: var(--white); color: var(--primary-black); border: 1px solid var(--primary-black); } .continue-shopping-btn:hover { background-color: var(--light-gray); } .empty-cart-message { text-align: center; padding: 80px 20px; font-size: 1.2rem; color: #666; } .empty-cart-message h2 { font-size: 2rem; font-family: var(--font-family-heading); margin-bottom: 20px; color: var(--primary-black); }
.cart-shipping-selector { margin: 20px 0; padding-top: 20px; border-top: 1px solid var(--border-color); }
.cart-shipping-selector label { display: block; font-weight: 500; margin-bottom: 10px; font-size: 1rem; }
.cart-shipping-selector select { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; background-color: var(--white); -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; transition: border-color 0.2s ease; }

.modal { display: none; position: fixed; z-index: 1002; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); align-items: center; justify-content: center; } 
.modal.show { display: flex; } 
.modal-content { background-color: var(--white); margin: auto; padding: 30px; border-radius: 8px; width: 90%; max-width: 500px; animation: slide-in 0.4s ease-out; position: relative; } 
@keyframes slide-in { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } 
.modal-close { position: absolute; top: 15px; right: 20px; color: #aaa; font-size: 28px; cursor: pointer; transition: color .2s ease; } 
.modal-close:hover { color: var(--primary-black); }
.modal-header { font-family: var(--font-family-heading); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; } 
.form-group { margin-bottom: 15px; } 
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; } 
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; } 
.payment-options { display: flex; gap: 15px; margin-top: 10px; } 
.payment-options label { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px; cursor: pointer; flex-grow: 1; justify-content: center; } 
.payment-options input[type="radio"]:checked + label { border-color: var(--primary-black); background-color: var(--light-gray); } 
.payment-options input[type="radio"] { display: none; } 
.modal-footer { margin-top: 20px; } 
.place-order-btn { width: 100%; padding: 12px; background-color: var(--primary-black); color: var(--white); border: none; border-radius: 5px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background-color 0.3s; } 
.place-order-btn:hover { background-color: var(--primary-red); }

#checkout-modal .checkout-modal-layout { display: flex; gap: 30px; }
#checkout-modal .checkout-form-container { flex-grow: 1; }
#checkout-modal .checkout-summary-container { flex-shrink: 0; width: 280px; }
#checkout-modal .order-summary { padding: 20px; background-color: #f8f8f8; border-radius: 8px; border: 1px solid #eee;}
#checkout-modal .order-summary h4 { font-size: 1.1rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #ddd; }
#checkout-modal .summary-items { max-height: 200px; overflow-y: auto; padding-right: 10px; }
#checkout-modal .summary-item { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 15px; }
#checkout-modal .summary-item-img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
#checkout-modal .summary-item-details .name { font-weight: 500; }
#checkout-modal .summary-item-details .size, #checkout-modal .summary-item-details .price { font-size: 0.85rem; color: #666; }
#checkout-modal .summary-total { margin-top: 15px; padding-top: 15px; border-top: 1px solid #ddd; font-size: 1.2rem; font-weight: bold; display: flex; justify-content: space-between; }
#checkout-modal .modal-content { max-width: 800px; }

/* === QUICK VIEW MODAL STYLES === */
#quick-view-modal .quick-view-modal-content {
    display: flex;
    max-width: 1050px;
    width: 90%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    max-height: 90vh;
}
#quick-view-modal .modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
    color: #888;
    opacity: 1;
    font-size: 28px;
    line-height: 1;
}
#quick-view-modal .modal-close:hover { color: var(--primary-black); }

#quick-view-modal .quick-view-image {
    flex: 1 1 50%;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}
#quick-view-modal .quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#quick-view-modal .quick-view-info {
    flex: 1 1 50%;
    padding: 40px 40px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
#quick-view-modal .product-title {
    font-family: var(--font-family-heading);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 10px 0;
    text-align: left;
    min-height: auto;
}
#quick-view-modal .product-brand a {
    color: var(--text-color);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 20px;
}
#quick-view-modal .product-brand a:hover { color: var(--primary-red); }
#quick-view-modal .price {
    margin: 0;
}
#quick-view-modal .price .old-price {
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: line-through;
    color: #999;
    margin-right: 15px;
}
#quick-view-modal .price .new-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
}
.info-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 25px 0;
}
#quick-view-modal .size-options-wrapper {
     margin-bottom: 25px;
}
#quick-view-modal .size-options-wrapper label {
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#quick-view-modal .size-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
#quick-view-modal .size-options-container .size-option {
    border: 1px solid var(--border-color);
    width: auto;
    min-width: 50px;
    height: 42px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
}
#quick-view-modal .size-options-container .size-option.active {
    background: var(--primary-black); color: var(--white); border-color: var(--primary-black);
}

#quick-view-modal .stock-status {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--green);
}
#quick-view-modal .stock-status i { color: inherit; }

#quick-view-modal .product-actions {
    display: flex;
    gap: 15px;
    margin-top: auto; /* Pushes to bottom */
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
#quick-view-modal .quantity-controls {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}
 #quick-view-modal .quantity-btn {
     width: 45px;
     height: 100%;
     font-size: 1.2rem;
     background: transparent;
     color: var(--text-color);
     display: inline-flex;
     align-items: center;
     justify-content: center;
}
#quick-view-modal .quantity-display {
    width: 50px;
     height: 100%;
     font-size: 1.2rem;
     font-weight: 500;
     border-left: 1px solid var(--border-color);
     border-right: 1px solid var(--border-color);
     display: inline-flex;
     align-items: center;
     justify-content: center;
}
#quick-view-modal .add-to-cart-action-btn {
    flex-grow: 1;
    height: 50px;
    background-color: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}
#quick-view-modal .add-to-cart-action-btn:hover:not(:disabled) {
    background-color: var(--primary-red);
}
#quick-view-modal .add-to-cart-action-btn:disabled {
     background-color: #aaa;
     cursor: not-allowed;
}

/* === Compare Functionality Styles === */
.compare-toggle-bar { position: fixed; left: 0; top: 50%; transform: translateY(-50%) translateX(-100%); z-index: 1003; background-color: var(--primary-black); color: var(--white); padding: 20px 10px; border-radius: 0 8px 8px 0; box-shadow: 2px 0 10px rgba(0,0,0,0.15); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 15px; transition: transform 0.4s ease-in-out; }
.compare-toggle-bar.visible { transform: translateY(-50%) translateX(0); }
.compare-toggle-text { writing-mode: vertical-rl; text-orientation: mixed; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.compare-count-badge { background-color: var(--primary-red); color: white; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; font-size: 1rem; font-weight: bold; }
#compare-modal { background-color: #fff; align-items: flex-start; z-index: 1045; }
#compare-modal .compare-modal-content { max-width: 95%; width: 95%; margin-top: 2.5vh; margin-bottom: 2.5vh; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
#compare-modal .modal-header h2 { margin-bottom: 0; }
.compare-table-container { width: 100%; overflow-x: auto; margin-top: 20px; }
.compare-table { width: 100%; min-width: 800px; border-collapse: collapse; text-align: center; }
.compare-table th, .compare-table td { border: 1px solid var(--border-color); padding: 15px; vertical-align: middle; }
.compare-table th { background-color: var(--light-gray); font-weight: 500; height: 50px; }
.compare-table td:first-child { font-weight: 700; text-align: left; background-color: var(--light-gray); position: sticky; left: 0; z-index: 1; }
.compare-table .remove-from-compare-btn { background: none; border: 1px solid #ccc; border-radius: 4px; color: var(--primary-red); padding: 4px 10px; font-size: 0.8rem; cursor: pointer; transition: all 0.2s ease; position: absolute; top: 10px; right: 10px; }
.compare-table .remove-from-compare-btn:hover { background-color: var(--primary-red); color: white; border-color: var(--primary-red); }
.compare-table .compare-product-image { width: 150px; height: 180px; object-fit: cover; margin: 0 auto 15px auto; border-radius: 4px; }
.compare-table .stock-status { font-weight: 500; }
.compare-table .stock-status.in-stock { color: var(--green); }
.compare-table .stock-status.out-of-stock { color: var(--primary-red); }
.compare-action-cell { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.compare-size-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.add-to-cart-from-compare { background-color: var(--primary-black); color: var(--white); border: 1px solid var(--primary-black); padding: 8px 16px; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; width: 100%; }
.add-to-cart-from-compare:hover { background-color: var(--primary-red); border-color: var(--primary-red); }

footer { background: var(--primary-black); color: #ccc; padding-top: 70px; } .footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 50px; } 
.footer-col h4 { font-family: var(--font-family-heading); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 25px; position: relative; padding-bottom: 10px; text-align: left; } 
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; transform: translateX(0); width: 40px; height: 2px; background: var(--primary-red); } 
.footer-col p, .footer-col ul li { margin-bottom: 12px; font-size: 0.9rem; } .footer-col ul li a { transition: color 0.3s, padding-left 0.3s; } .footer-col a:hover { color: var(--white); padding-left: 5px; } .footer-socials a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: #2c2c2c; border-radius: 50%; margin-right: 10px; transition: background 0.3s, transform 0.2s; } .footer-socials a:hover { background: var(--primary-red); transform: translateY(-3px); } .newsletter-form input { width: 100%; padding: 12px; border: 1px solid #444; background: #2c2c2c; border-radius: 5px; margin-bottom: 10px; color: var(--white); } .newsletter-form button { width: 100%; padding: 12px; background: var(--primary-red); color: var(--white); border: none; border-radius: 5px; cursor: pointer; font-weight: 500; transition: background 0.3s; } .newsletter-form button:hover { background: #b82626; } .footer-bottom { text-align: center; padding: 20px 0; border-top: 1px solid #2c2c2c; font-size: 0.9rem; } 

#scroll-to-top-btn { position: fixed; bottom: 100px; right: 30px; z-index: 1000; width: 50px; height: 50px; background-color: var(--primary-black); color: var(--white); border: none; border-radius: 50%; font-size: 1.2rem; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease; } #scroll-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); } #scroll-to-top-btn:hover { background-color: var(--primary-red); transform: scale(1.1); }

.chat-widget-container { position: fixed; bottom: 30px; right: 30px; z-index: 1001; } .chat-widget-toggle { width: 60px; height: 60px; background-color: var(--primary-red); color: var(--white); border-radius: 50%; border: none; font-size: 1.8rem; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease, background-color 0.3s ease; position: relative; overflow: hidden; } .chat-widget-toggle:hover { transform: scale(1.1); background-color: #b82626; } .chat-widget-toggle .fa-times { display: none; } .chat-widget-container.open .chat-widget-toggle .fa-comment-dots { display: none; } .chat-widget-container.open .chat-widget-toggle .fa-times { display: block; } .chat-widget-window { width: 350px; max-height: calc(100vh - 120px); background: transparent; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.15); display: flex; flex-direction: column; overflow: hidden; position: absolute; bottom: 80px; right: 0; transform: scale(0.9) translateY(20px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; transform-origin: bottom right; } .chat-widget-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; } .chat-header { background: var(--primary-black); color: var(--white); padding: 20px 20px 25px 20px; flex-shrink: 0; } .chat-header h4 { font-family: var(--font-family-heading); font-weight: 700; font-size: 1.5rem; margin: 0 0 10px 0; text-align: left;} .chat-header p { font-size: 1rem; line-height: 1.5; margin: 0 0 20px 0; opacity: 0.9; text-align: left;} 
/* --- CHATBOT FIX: Hide input field --- */
.chat-input-container { display: none; } 
.chat-instant-answers { padding: 20px; flex-grow: 1; overflow-y: auto; background-color: var(--white); } .chat-instant-answers h6 { text-align: center; color: var(--primary-black); font-weight: 500; font-size: 1rem; margin-bottom: 20px; } .chat-options { display: flex; flex-direction: column; gap: 12px; } .chat-option-btn { width: 100%; padding: 14px 15px; border-radius: 8px; border: 1px solid #ddd; background-color: var(--white); color: #555; text-align: left; font-size: 1rem; font-family: var(--font-family-body); font-weight: 500; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; gap: 12px; } .chat-option-btn:hover { border-color: #aaa; background-color: #f7f7f7; } .chat-option-btn.primary { background-color: #6c757d; color: var(--white); border-color: #6c757d; } .chat-option-btn.primary:hover { background-color: #5a6268; border-color: #545b62; }

/* === CSS FOR NEW PRODUCT DETAIL PAGE === */
#product-detail-page {
    animation: fadeIn 0.4s ease-in-out;
}
.product-detail-container { max-width: 1300px; }
.product-detail-layout { display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
@media(min-width: 992px) { .product-detail-layout { grid-template-columns: 120px 1.5fr 1fr; gap: 40px; }}
.product-gallery-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 550px; overflow-y: auto; }
.product-gallery-thumb img { width: 100%; height: auto; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.3s; }
.product-gallery-thumb img.active { border-color: var(--primary-black); }
.product-main-image { position: relative; }
.product-main-image img { width: 100%; height: 550px; object-fit: cover; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.product-info-details { padding: 0 15px; }
.product-info-details .pdp-title { font-family: var(--font-family-heading); font-size: 2rem; font-weight: 700; line-height: 1.2; text-align: left; margin: 0; }
.product-info-details .pdp-reviews { display: flex; align-items: center; margin: 15px 0; }
.product-info-details .pdp-stars i { color: #f5b327; }
.product-info-details .pdp-reviews .review-count { margin-left: 10px; font-size: 0.9rem; color: #777; }
.product-info-details .pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.product-info-details .pdp-price .current-price { font-size: 2rem; font-weight: 700; color: var(--primary-black); }
.product-info-details .pdp-price .original-price { text-decoration: line-through; color: #999; }
.product-info-details .pdp-price .discount-tag { background-color: #ff5e5e; color: var(--white); padding: 4px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: 500; }
.product-info-details .pdp-stock-info { color: #cc2c21; font-size: 0.9rem; margin-bottom: 8px; }
.product-info-details .pdp-stock-progress { height: 6px; background-color: #f0f0f0; border-radius: 3px; overflow: hidden; }
.product-info-details .pdp-stock-progress .bar { height: 100%; background-color: #cc2c21; border-radius: 3px; }
.product-info-details .pdp-size-selection .size-label, .product-info-details .pdp-size-guide a { font-size: 0.95rem; font-weight: 500; }
.product-info-details .pdp-size-guide a:hover { text-decoration: underline; }
.product-info-details .pdp-size-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 25px 0; }
.product-info-details .pdp-size-option { border: 1px solid #ccc; padding: 10px 15px; font-size: 0.9rem; cursor: pointer; border-radius: 4px; transition: all 0.2s; background: none; }
.product-info-details .pdp-size-option.active, .product-info-details .pdp-size-option:hover { border-color: var(--primary-black); background: var(--primary-black); color: var(--white); }
.product-info-details .pdp-quantity-selector { display: flex; border: 1px solid #ccc; border-radius: 4px; overflow: hidden; width: fit-content; }
.product-info-details .pdp-quantity-selector button { width: 40px; height: 45px; border: none; background: #f8f9f9; font-size: 1rem; }
.product-info-details .pdp-quantity-selector span { width: 50px; height: 45px; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 1.1rem; border-left: 1px solid #ccc; border-right: 1px solid #ccc; }
.product-info-details .pdp-add-to-cart, .product-info-details .pdp-buy-now { display: block; width: 100%; text-align: center; border-radius: 4px; font-size: 1rem; font-weight: 500; padding: 14px; transition: background-color 0.2s; }
.product-info-details .pdp-add-to-cart { background: #eee; color: var(--primary-black); border: 1px solid #eee; }
.product-info-details .pdp-add-to-cart:hover { background-color: #ddd; }
.product-info-details .pdp-buy-now { background-color: #ff5e5e; color: var(--white); border: 1px solid #ff5e5e; margin-top: 15px; }
.product-info-details .pdp-buy-now:hover { background-color: #e64a4a; }
.product-info-details .pdp-guarantee-box { border: 1px solid #f0f0f0; border-radius: 8px; padding: 20px; text-align: center; margin: 30px 0; }
.product-info-details .pdp-payment-icons i { font-size: 2rem; color: #888; margin: 0 8px; }
.product-info-details .pdp-delivery-info { text-align: center; border: 1px solid #f0f0f0; border-radius: 8px; padding: 20px;}
.product-info-details .pdp-delivery-info .pdp-icon { font-size: 1.5rem; margin-bottom: 8px; color: #555; }
.product-info-details .pdp-delivery-info h5 { font-size: 0.9rem; margin: 0; }
.product-info-details .pdp-accordion-section { margin-top: 50px; }
.pdp-accordion-item { border-bottom: 1px solid #eee; }
.pdp-accordion-header { cursor: pointer; padding: 20px 0; font-weight: 500; color: #ff5e5e; display: flex; justify-content: space-between; align-items: center; }
.pdp-accordion-header i { transition: transform 0.3s; }
.pdp-accordion-item.open .pdp-accordion-header i { transform: rotate(180deg); }
.pdp-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding-bottom 0.4s ease-out; }
.pdp-accordion-item.open .pdp-accordion-content { max-height: 1000px; padding-bottom: 20px; }
.pdp-details-list li { display: flex; margin-bottom: 8px; }
.pdp-details-list li strong { min-width: 100px; font-weight: 600; }
.pdp-additional-section .section-title { color: var(--primary-red); font-size: 2rem; text-align: center;}

/* FREQUENTLY BOUGHT TOGETHER STYLES */
.frequently-bought-section {
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    margin-top: 40px;
}
.frequently-bought-section .section-title {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.fbt-container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.fbt-item {
    text-align: center;
}
.fbt-item img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.fbt-item a {
    display: block;
    font-size: 0.85rem;
    margin-top: 8px;
    color: var(--text-color);
}
.fbt-item a:hover { text-decoration: underline; }
.fbt-plus-icon {
    font-size: 1.5rem;
    color: #888;
}
.fbt-summary {
    margin-left: auto;
    text-align: right;
    padding-left: 20px;
}
.fbt-summary .total-price-label {
    font-size: 0.9rem;
    color: #555;
}
.fbt-summary .total-price-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-black);
    margin: 5px 0 15px 0;
    display: block;
}
.fbt-add-all-btn {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.fbt-add-all-btn:hover { background-color: #b82626; }


@media (max-width: 1200px) {
    #collection-product-grid.grid-view-3,
    #collection-product-grid.grid-view-4 {
        grid-template-columns: repeat(3, 1fr); 
    }
    .insta-grid { grid-template-columns: repeat(5, 1fr); }
    .insta-modal-content { flex-direction: column; height: 95vh; }
    .insta-modal-media { flex-basis: 60%; }
    .insta-modal-info { flex-basis: 40%; }
}

/* --- MOBILE OPTIMIZATION (992px and below) --- */
@media (max-width: 992px) { 
    .main-nav { display: none; } 
    .mobile-menu-toggle { display: block; }
    
    .product-grid,
    #collection-product-grid.grid-view-3,
    #collection-product-grid.grid-view-4 { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cart-container { flex-direction: column; } 
    .cart-summary { width: 100%; position: static; top: auto; }
    #quick-view-modal .quick-view-modal-content { max-height: 85vh; max-width: 600px; flex-direction: column; overflow-y: auto; }
    #quick-view-modal .quick-view-image { height: 400px; flex: none; }
    #quick-view-modal .quick-view-info { padding: 30px; }
    
    .collection-container { grid-template-columns: 1fr; }
    .collection-sidebar { display: none; } 
    
    #mobile-filter-toggle { display: inline-flex; }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .product-main-image img {
        height: 450px;
    }
    .product-gallery-thumbs {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .product-gallery-thumbs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    .product-gallery-thumb {
        flex: 0 0 80px;
    }
    .product-info-details {
        padding: 15px 0;
    }
} 

/* --- MOBILE OPTIMIZATION (768px and below) --- */
@media (max-width: 768px) {
    .container { padding: 0 15px; } 
    section { padding: 50px 0; }
    .section-title, .page-title, .collection-title { font-size: 1.8rem; }
    .tabs, .footer-grid { flex-direction: column; }
    .footer-grid { text-align: left; }
    .footer-col h4::after { left: 0; transform: translateX(0); }
    .hero-btn { padding: 8px 25px; font-size: 0.8rem; }
    #hero { height: 55vh; } 
    .order-history-item { grid-template-columns: 1fr; text-align: center; gap: 15px 10px; grid-template-areas: "info" "status" "actions" "details"; } 
    .order-history-item .status-display { justify-self: center; }
    .order-history-item .actions { justify-self: center; flex-direction: row;}
    .order-history-item .info .order-id-wrapper { justify-content: center; }
    
    .insta-modal-nav { width: 40px; height: 40px; font-size: 1.2rem; } 
    .insta-modal-nav.prev { left: 5px; } 
    .insta-modal-nav.next { right: 5px; }
    .insta-modal-close { top: 5px; right: 10px; } 
    .collection-toolbar { flex-direction: column; align-items: stretch; gap: 15px; }
    .toolbar-right-side { justify-content: space-between; }
    .collection-page-main { padding-top: 20px; }
    
    #collection-product-grid.list-view .product-card {
        flex-direction: column;
    }
    #collection-product-grid.list-view .product-card .image-container {
        width: 100%;
        margin: 0;
    }
    #collection-product-grid.list-view .product-card .product-info {
        align-items: center; 
        text-align: center;
    }
    #collection-product-grid.list-view .product-card .sizes {
         justify-content: center;
    }
    #checkout-modal .checkout-modal-layout { flex-direction: column-reverse; }
    #checkout-modal .checkout-summary-container { width: 100%; }

    .site-header.scrolled-mobile {
        padding: 4px 0;
    }
    .site-header.scrolled-mobile .brand-logo img {
        width: 50px;
        height: 50px;
    }
}

/* --- MOBILE OPTIMIZATION (576px and below) --- */
@media (max-width: 576px) {
    .hero-banner-buttons { display: none; }
    #hero { height: 50vh; }
    #quick-view-modal .quick-view-info { padding: 25px; }
    #quick-view-modal .product-title { font-size: 1.6rem; }
    #quick-view-modal .price .new-price { font-size: 1.5rem; }
    #quick-view-modal .product-actions { flex-direction: column; align-items: stretch; } 
    .fbt-container { flex-direction: column; }
    .fbt-summary { margin-left: 0; text-align: center; margin-top: 20px;}

    .product-info { padding: 10px; }
    .product-title {
        font-size: 0.85rem;
        min-height: 40px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .price .new-price { font-size: 1rem; }
    .price .old-price { font-size: 0.8rem; }
    .add-to-cart-btn { padding: 8px; font-size: 0.8rem; }
    .sizes { margin-bottom: 10px; }
    .size-option { width: 28px; height: 28px; font-size: 0.75rem;}
}
@media(max-width: 420px) {
    .chat-widget-window { width: calc(100vw - 40px); right: -10px; bottom: 75px; } .chat-widget-container { right: 20px; bottom: 20px; } #scroll-to-top-btn { bottom: 90px; right: 20px; } 
}

/* === HOMEPAGE FILTER === */
.section-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
}
.filter-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-black);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    z-index: 11;
}
.filter-icon:hover {
    background-color: var(--light-gray);
}
.filter-icon.open {
    color: var(--primary-red);
}
.filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 12;
    min-width: 220px;
    max-height: 250px;
    overflow-y: auto;
    text-align: left;
}
.filter-icon.open .filter-dropdown {
    display: block;
}
.filter-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: background-color 0.2s, color 0.2s;
    font-size: 0.9rem;
}
.filter-dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--primary-red);
}
.filter-dropdown a.active {
    background-color: var(--primary-black);
    color: var(--white);
}
.filter-dropdown .filter-dropdown-title {
    padding: 12px 20px 5px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-dropdown .filter-subcategory {
    padding-left: 35px;
    font-size: 0.85rem;
    color: #555;
}

/* --- Search Overlay --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.open {
    opacity: 1;
    visibility: visible;
}
.close-search-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
}
.search-modal-content {
    width: 100%;
    max-width: 700px;
}
.search-form {
    position: relative;
    margin-bottom: 30px;
}
#search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.5rem;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
}
#search-input:focus {
    outline: none;
    border-bottom-color: var(--primary-red);
}
.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-red);
}
.search-results-container {
    max-height: 60vh;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 5px;
}
.search-result-item:hover {
    background-color: var(--light-gray);
}
.search-result-item img {
    width: 50px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* --- Coupon Code in Cart --- */
.coupon-form, .coupon-applied-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.coupon-input-group {
    display: flex;
    gap: 10px;
}
.coupon-input-group input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--white);
}
.coupon-input-group button {
    padding: 10px 15px;
    background-color: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.coupon-input-group button:hover {
    background-color: var(--primary-red);
}
.coupon-message {
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 1rem;
    color: var(--primary-red);
}
.summary-line.discount-line, .coupon-applied-info {
    color: var(--green);
    font-weight: 500;
}
.coupon-applied-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#remove-coupon-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 2px 5px;
}

/* === MODIFICATION: Color Filter Swatches */
.color-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.color-swatch:hover {
    transform: scale(1.15);
}
.color-swatch.active {
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--primary-red);
    transform: scale(1.1);
}
.color-swatch[data-color="All"] {
    background-image: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1);
}
/* === MODIFICATION: Added Size Chart Modal Styles === */
.size-chart-modal-content {
    padding: 15px;
    max-width: 800px;
    width: 90%;
    background-color: var(--white);
}
.size-chart-modal-content img {
    width: 100%;
    height: auto;
    display: block;
}
/* === NEW: Styles for Measurement Table on Storefront === */
.pdp-accordion-content .responsive-table-container {
    overflow-x: auto;
}
.size-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.size-details-table th, .size-details-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    white-space: nowrap;
}
.size-details-table thead {
    background-color: var(--light-gray);
}
.size-details-table th {
    font-weight: 500;
}
.size-details-table td:first-child {
    font-weight: 500;
    background-color: var(--light-gray);
}

/* --- MOBILE OPTIMIZATION: Mobile Filter Button --- */
#mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 5px;
    width: 100%;
    justify-content: center;
}

/* --- MOBILE OPTIMIZATION: Off-canvas Filter Panel --- */
.filter-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.filters-open .filter-panel-overlay {
    opacity: 1;
    visibility: visible;
}

#mobile-filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}
body.filters-open #mobile-filter-panel {
    transform: translateX(0);
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.mobile-filter-header h3 {
    font-size: 1.2rem;
    margin: 0;
}
#close-filter-panel-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}
.mobile-filter-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}
.mobile-filter-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-shrink: 0;
}
.mobile-filter-footer button {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--primary-black);
}
.mobile-filter-footer .view-results-btn {
    background-color: var(--primary-black);
    color: white;
}
.mobile-filter-footer .clear-filters-mobile-btn {
    background-color: white;
    color: var(--primary-black);
}

/* --- NEW: Refund Form Product List Styles --- */
#refund-product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 5px;
}
.refund-product-item label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}
.refund-product-item label:hover {
    background-color: var(--light-gray);
}
.refund-product-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.refund-product-item img {
    width: 50px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}
.refund-product-item div strong {
    font-weight: 500;
}
.refund-product-item div small {
    color: #666;
}