/* =================================
    JANE 4 - MINIMALIST STYLESHEET
    ================================= */

/* --- Base & Reset --- */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Fixes the white line bug */
}

html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #111111;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header --- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

#site-header.transparent {
    background-color: transparent;
    color: #ffffff;
}

#site-header.solid {
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#site-header.header-solid {
    background-color: #000000;
    color: #ffffff;
}

.logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-image {
    height: 30px;
    width: auto;
    display: block;
}

.hamburger, .cart {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    line-height: 1;
}

/* --- Mobile Navigation --- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 999;
    flex-direction: column;
}

.mobile-nav .nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #222222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background-image: url('images/hero.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-cta-frame {
    border: 2px solid #ffffff;
    padding: 2px;
}

.cta-link {
    display: block;
    padding: 15px 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.2);
}

.scroll-circle {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* --- Intro Section --- */
.intro {
    padding: 40px 20px;
    text-align: center;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
}

.big-title {
    font-size: 1.8rem;
    margin-top: 10px;
}

/* --- Categories Section --- */
.categories {
    padding: 20px;
}

.categories h2 {
    text-align: center;
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-card {
    text-decoration: none;
    color: #111111;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    filter: none;
}

.cat-title {
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

/* --- About & Contact Sections --- */
.about, .contact {
    padding: 40px 20px;
    text-align: center;
}

.about {
    background-color: #f5f5f5;
}

.contact {
    background-color: #000000;
    color: #ffffff;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 1.5rem;
    margin-top: 15px;
}

.socials a {
    color: #ffffff;
}

/* --- Footer --- */
.site-footer {
    padding: 20px;
    text-align: center;
    background-color: #111111;
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* --- UPGRADED Footer Links Style --- */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 10px 20px; 
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap; 
}

.footer-links a:hover {
    color: #ffffff;
}
/* --- PRODUCT CATEGORY PAGE --- */
.category-page {
    padding: 85px 15px 40px;
    background: #ffffff;
}

.category-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.product-card {
    text-decoration: none;
    color: #111111;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-image-container {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
    filter: none;
}

.product-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .product-img-hover {
    opacity: 1;
}

.product-card:hover .product-img-primary {
    opacity: 0;
}

.product-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 15px;
    text-align: center;
}

.product-details .product-name {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #222222;
    margin-bottom: 6px;
}

.product-details .product-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.product-details .product-colors {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #dddddd;
}

/* --- SINGLE PRODUCT DETAIL PAGE --- */
.product-detail-page {
    padding: 85px 20px 40px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.back-link-container {
    margin-bottom: -10px;
}

.back-link {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
}

#main-product-image {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #eee;
    filter: none;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    filter: none;
}

.thumbnail.active, .thumbnail:hover {
    border-color: #000000;
}

.product-detail-page .product-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-detail-page .product-details-container .product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 25px;
    text-align: left;
}

.product-detail-page .product-options label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555555;
    margin-bottom: 12px;
}

.product-options {
    margin-bottom: 20px;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 8px 15px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.option-btn.active, .option-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #cccccc;
    width: fit-content;
}

.quantity-selector button {
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 5px 15px;
    cursor: pointer;
}

#quantity-value {
    padding: 5px 15px;
    font-weight: bold;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.buy-button, .cart-button {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.buy-button {
    background-color: #000000;
    color: #ffffff;
}

.buy-button:hover {
    opacity: 0.85;
}

.cart-button {
    background-color: #ffffff;
    color: #000000;
}

.cart-button:hover {
    background-color: #000000;
    color: #ffffff;
}

.stock-status, .delivery-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555555;
}

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

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #111;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}

.accordion-header.active::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #333;
}

.accordion-content p {
    padding: 0 0 15px;
}

.size-chart-link {
    color: #000;
    text-decoration: underline;
}

/* --- SHOPPING CART PAGE --- */
.cart-page {
    padding: 85px 15px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cart-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

#cart-items-container {
    border-bottom: 1px solid #eee;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 1rem;
}

.cart-item-attributes {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.cart-item-price {
    font-weight: bold;
}

.cart-item-actions {
    text-align: right;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

.cart-summary {
    padding-top: 20px;
    text-align: center;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.continue-shopping-link {
    display: block;
    margin-top: 15px;
    color: #555;
    text-decoration: underline;
}

#cart-empty-message {
    text-align: center;
    padding: 40px 0;
    color: #777;
}

/* --- TOAST NOTIFICATION --- */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    z-index: 2000;
    transition: bottom 0.5s ease;
    font-size: 0.9rem;
}

.toast-notification.show {
    bottom: 30px;
}

.whatsapp-disclaimer {
    font-size: 0.8rem;
    color: #666666;
    text-align: center;
    margin-top: 15px;
}

/* --- HOW IT WORKS & FAQ SECTION --- */
.info-section {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-section h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
    margin-bottom: 50px;
}

.step h4 {
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.step p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
}

.info-section .accordion {
    text-align: left;
}

/* --- STATIC PAGE STYLES (Policies, About, etc.) --- */
.page-container {
    padding: 100px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.page-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.page-content p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* --- CONTACT PAGE STYLES --- */
#contact-message {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    resize: vertical;
}

.contact-buttons {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* --- SIZE GUIDE MODAL (POP-UP) STYLES --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 4px;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: slide-in 0.3s ease-out;
}

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

.close-modal-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: #000;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.size-guide-disclaimers {
    font-size: 0.9rem;
    color: #555;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.85rem;
}

.size-chart-table th, .size-chart-table td {
    border: 1px solid #eeeeee;
    padding: 10px;
    text-align: center;
}

.size-chart-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

/* --- REFINED SALE PRICE STYLES --- */
.price-container {
    display: flex;
    justify-content: center; /* Center align for the grid */
    align-items: center;
    gap: 10px; /* Space between the two prices */
}

.original-price {
    color: #888888;
    text-decoration: line-through;
}

.sale-price {
    font-weight: 600;
    color: #D90429; /* Red color for all sale prices */
}

/* Specific sizes for the product grid */
.product-details .original-price {
    font-size: 0.8rem;
}
.product-details .sale-price {
    font-size: 0.9rem;
}

/* Specific sizes for the single product page */
.product-details-container .price-container {
    justify-content: flex-start; /* Left align on the detail page */
    margin-bottom: 25px;
    gap: 10px;
}
.product-details-container .original-price {
    font-size: 1rem; /* Smaller, more subtle */
    font-weight: 400; /* Lighter weight for subtlety */
}
.product-details-container .sale-price {
    font-size: 1.2rem; /* Still prominent, but not overly large */
    font-weight: 700; /* Keep it bold for impact */
}

/* --- SINGLE FEATURE BANNER --- */
#feature-banner {
    padding: 0; /* Remove any default padding */
    margin-bottom: 50px; /* Add space before the next section */
    overflow: hidden;
    display: block;
}

#feature-banner img {
    width: 100%;
    height: 550px; /* Fixed height for a cinematic feel on mobile */
    object-fit: cover; /* Crucial: ensures the image fills the space without stretching */
    display: block;
}

/* --- FEATURED PRODUCTS SECTION --- */
#featured-products {
    padding: 20px 20px 50px; /* Space above and below the section */
    max-width: 1200px;
    margin: 0 auto;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.featured-title {
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.featured-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #111111;
    transition: color 0.3s ease;
}

.featured-link:hover {
    color: #888888;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 15px;
}

/* Reusing the styling from .product-card and .product-details which is already in the CSS */

/* --- Desktop Styles Enhancement --- */
@media (min-width: 768px) {
    /* ... existing desktop styles ... */

    /* Add this specifically to the desktop media query block */
    .featured-grid {
        grid-template-columns: repeat(4, 1fr); /* Shows all 4 items on desktop */
        gap: 20px;
    }
}

/* --- Desktop Styles --- */
@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    .category-card img {
        height: 250px;
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-detail-page {
        flex-direction: row;
        gap: 50px;
    }
    .product-gallery, .product-details-container {
        flex: 1;
    }
    .action-buttons {
        grid-template-columns: 1fr 1fr;
    }
}