/* ============================================
   GLOBAL STYLES
   ============================================ */
:root {
    --primary-color: #8B4513;
    --secondary-color: #E69138;
    --accent-color: #dc3545;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e5e5e5;
    --bg-light: #f8f9fa;
    --transition-base: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.serif {
    font-family: 'Playfair Display', serif;
}

/* ============================================
   TOP BAR & HEADER
   ============================================ */
.top-bar {
    border-bottom: 1px solid var(--border-color);
    background: #FFFEEF !important;
}

.logo-link {
    display: inline-block;
    transition: var(--transition-base);
}

.logo-link:hover {
    transform: scale(1.05);
}

.nav-icon {
    color: var(--text-dark);
    font-size: 1.4rem;
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.nav-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.badge-notification {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Navbar Links */
.navbar {
    transition: var(--transition-base);
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark) !important;
    padding: 1rem 0.8rem !important;
    position: relative;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ============================================
   EDITORIAL SLIDER
   ============================================ */
.slider-wrapper {
    display: flex;
    width: 100%;
    height: 400px;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
}

.slider-item {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.slider-item.active {
    flex: 5;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.slider-item:hover img {
    transform: scale(1.05);
}

.slider-content {
    position: absolute;
    bottom: 0;left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}
.slider-item.active .slider-content {
    opacity: 1;
    transform: translateY(0);
}
.item-number {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-weight: 600;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    font-size: 0.85rem;
}
/* ============================================
NEW ARRIVAL SECTION
============================================ */
.section-title {
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 1.75rem;
}
.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
}
.btn-see-more {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition-base);
}
.btn-see-more:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.product-card {
    position: relative;
    overflow: hidden;
}
.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 130%;
    overflow: hidden;
    border-radius: 8px;
}
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image {
    transform: scale(1.1);
}
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}
.product-card:hover .product-overlay {
    opacity: 1;
}
.product-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition-base);
}
.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}
/* ============================================
PRODUCT FEED & FILTER STYLES
============================================ */
.product-feed {
    background-color: var(--bg-light);
}
.filter-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-base);
    background-color: white;
}
.filter-link:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.filter-link.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}
.see-more-link {
    color: var(--text-dark);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition-base);
}
.see-more-link:hover {
    color: var(--primary-color);
    text-decoration-thickness: 2px;
}
/* Product Item Styling */
.product-item {
    transition: transform 0.3s ease;
}
.product-item:hover {
    transform: translateY(-5px);
}
.image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 8px;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-item:hover .image-container img {
    transform: scale(1.1);
}
.badge-new,
.badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-dark);
    color: white;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 4px 12px;
    font-weight: 600;
    z-index: 5;
    border-radius: 4px;
}
.badge-sale {
    background: var(--accent-color);
}
.btn-wishlist {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-base);
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.product-item:hover .btn-wishlist {
    opacity: 1;
    transform: scale(1);
}
.btn-wishlist:hover {
    background: var(--accent-color);
    color: white;
}
.btn-wishlist.active {
    background: var(--accent-color);
    color: white;
}
.product-name {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}
.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}
.price-original {
    font-size: 0.85rem;
    margin-left: 5px;
}
.price-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 2px;
}
/* ============================================
PROMO BANNER SECTION
============================================ */
.promo-wrapper {
    max-height: 450px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.promo-content-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 450px;
}
.promo-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}
.promo-img {
    object-fit: cover;
}
.custom-indicators {
    justify-content: flex-start !important;
    margin-left: 20px !important;
    margin-bottom: 20px !important;
}
.custom-indicators [data-bs-target] {
    width: 30px !important;
    height: 3px !important;
    border: none !important;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition-base);
}
.custom-indicators .active {
    background-color: #ffffff !important;
    width: 40px !important;
}
.ls-wider {
    letter-spacing: 6px;
    font-size: 2.2rem;
}
.shop-btn {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: var(--transition-base);
}
.shop-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: scale(1.05);
}
/* ============================================
UNISEX COLLECTION
============================================ */
.letter-spacing-2 {
    letter-spacing: 3px;
}
.rounded-overflow {
    border-radius: 8px;
    overflow: hidden;
}
.unisex-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 15;
    transition: var(--transition-base);
    color: var(--text-dark);
    font-size: 1.2rem;
}
.unisex-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.unisex-nav-btn.prev {
    left: 15px;
}
.unisex-nav-btn.next {
    right: 15px;
}
.unisex-img-wrapper {
    height: 500px;
    overflow: hidden;
    position: relative;
}
.unisex-img-wrapper img {
    transition: transform 0.5s ease;
}
.unisex-img-wrapper:hover img {
    transform: scale(1.05);
}
/* ============================================
FOOTER STYLING
============================================ */
.main-footer {
    background-color: var(--primary-color);
    color: #ffffff;
}
.footer-newsletter {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f4a460 100%);
    color: var(--text-dark);
}
.newsletter-form .form-control {
    border-radius: 6px;
    padding: 0.85rem 1rem;
    border: none;
    font-size: 0.9rem;
}
.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}
.newsletter-form .btn {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
}
.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.footer-content h6 {
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}
.social-icons a {
    color: white;
    font-size: 1.2rem;
    background: rgba(255,255,255,0.15);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
}
.social-icons a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.payment-methods img {
    max-height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition-base);
}
.payment-methods img:hover {
    opacity: 1;
    transform: scale(1.1);
}
.footer-logo-box {
    border-radius: 6px;
    transition: var(--transition-base);
}
.footer-logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.footer-bottom {
    background-color: rgba(0,0,0,0.2);
}

.item-number{
    display: none;
}

/* ============================================
   PRODUCT DETAILS SPECIFIC STYLES
   ============================================ */

.product-info-sticky {
    position: sticky;
    top: 100px;
}

.main-image-container {
    background-color: var(--bg-light);
    margin-bottom: 10px;
}

.thumbnail-img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-base);
    opacity: 0.7;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    outline: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.color-swatch.active {
    outline: 2px solid var(--text-dark);
}

.btn-check:checked + .btn-outline-dark {
    background-color: var(--text-dark);
    color: white;
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: none;
}

/* Remove number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 991px) {
    .product-info-sticky {
        position: static;
    }
}

/* ============================================
   CATEGORIES PAGE STYLES
   ============================================ */

.category-banner {
    background: linear-gradient(rgba(255,254,239,0.8), rgba(255,254,239,0.8)),
    url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1200');
    background-size: cover;
    background-position: center;
}

.sidebar-list li {
    margin-bottom: 12px;
}

.sidebar-list a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.sidebar-list a:hover,
.sidebar-list a.active {
    color: var(--primary-color);
    padding-left: 5px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: var(--transition-base);
}

.color-dot.active {
    outline-color: var(--primary-color);
}

.pagination .page-link:focus {
    box-shadow: none;
}

/* Ensure product items from style.css look consistent */
.product-item {
    margin-bottom: 20px;
}
/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

body {
    background-color: #fcfcfc;
}

.checkout-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-control, .form-select {
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #d1d1d1;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.1);
}

.text-primary-color {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.order-summary {
    background-color: #ffffff;
}

.list-group-item {
    border: 1px solid #d1d1d1;
    margin-bottom: -1px;
}

.list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.list-group-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Custom Shop Button Hover */
.shop-btn {
    background-color: var(--text-dark);
    border: none;
    transition: var(--transition-base);
}

.shop-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .order-summary {
        position: static !important;
        margin-top: 2rem;
    }
}
/* ============================================
RESPONSIVE DESIGN
============================================ */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .nav-link {
        padding: 0.75rem 0 !important;
    }
}
@media (max-width: 767px) {
    .slider-wrapper {
        flex-direction: column;
        height: auto;
    }
    .slider-item {
        height: 180px;
    }

    .slider-item.active {
        height: 350px;
    }

    .promo-wrapper {
        max-height: none;
    }

    .promo-content-bg,
    .carousel {
        height: 300px;
    }

    .ls-wider {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .unisex-img-wrapper {
        height: 300px;
    }

    .footer-newsletter h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .filter-pills {
        justify-content: center;
        order: 2;
    }

    .see-more-link {
        order: 1;
        width: 100%;
        text-align: right;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .unisex-img-wrapper {
        height: 400px;
    }
}
/* ============================================
SMOOTH SCROLLING & ANIMATIONS
============================================ */
html {
    scroll-behavior: smooth;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-item,
.product-card {
    animation: fadeInUp 0.6s ease forwards;
}
/* Stagger animation for product items */
.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }

