/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Vazirmatn', 'Tahoma', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .header-left {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

html[dir="rtl"] .category-slide-text {
    left: 1.5rem;
    right: auto;
    align-items: flex-start;
}

html[dir="rtl"] .category-slider-prev {
    right: 0.5rem;
    left: auto;
    transform: translateY(-50%) scaleX(-1);
}

html[dir="rtl"] .category-slider-next {
    left: 0.5rem;
    right: auto;
    transform: translateY(-50%) scaleX(-1);
}

@media (min-width: 768px) {
    html[dir="rtl"] .category-slider-prev {
        right: 1rem;
    }
    
    html[dir="rtl"] .category-slider-next {
        left: 1rem;
    }
}

html[dir="rtl"] .slider-prev {
    right: 1rem;
    left: auto;
    transform: scaleX(-1);
}

html[dir="rtl"] .slider-next {
    left: 1rem;
    right: auto;
    transform: scaleX(-1);
}

html[dir="rtl"] .slide-content {
    left: 4rem;
    right: auto;
}

html[dir="rtl"] .category-slider-nav {
    transform: translateY(-50%) scaleX(-1);
}

/* Menu SVG arrows RTL */
html[dir="rtl"] .menu-nav-link svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .menu-nav-item.active .menu-nav-link svg {
    transform: scaleX(-1) rotate(90deg);
}

/* Additional RTL adjustments */
html[dir="rtl"] .product-grid,
html[dir="rtl"] .category-grid,
html[dir="rtl"] .footer-social,
html[dir="rtl"] .footer-legal,
html[dir="rtl"] .category-submenu {
    direction: rtl;
}

html[dir="rtl"] .breadcrumb-nav {
    direction: rtl;
}

html[dir="rtl"] .search-nav {
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    direction: rtl;
    z-index: 100;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.header-overlay {
    position: fixed;
    background-color: transparent !important;
    border-bottom: none;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.header-overlay.scrolled {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-overlay.scrolled .logo,
.header-overlay.scrolled .header-btn,
.header-overlay.scrolled .hamburger-btn {
    color: black !important;
}

.header-overlay .logo,
.header-overlay .header-btn,
.header-overlay .hamburger-btn {
    color: white;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
}

.header-overlay .hamburger-btn {
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: black;
    font-family: 'Times New Roman', serif;
}

.header-overlay .logo {
    color: #f5e6d3;
}

.nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    transition: text-decoration 0.2s;
}

.nav-link:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-btn {
    font-size: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    transition: text-decoration 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-overlay .header-btn {
    color: white;
}

.header-btn:hover {
    text-decoration: underline;
}

/* Search Modal */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 301;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 800px;
    padding: 4rem 2rem;
    position: relative;
}

.search-header {
    margin-bottom: 3rem;
}

.search-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-nav-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: black;
    text-decoration: none;
    transition: color 0.2s;
}

.search-nav-link:hover {
    color: #666;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: 300;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: black;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-bottom-color: black;
}

.search-input::placeholder {
    color: #999;
    font-weight: 300;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.search-close:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .search-modal-content {
        padding: 2rem 1rem;
    }
    
    .search-nav {
        gap: 1rem;
        font-size: 0.75rem;
    }
    
    .search-input {
        font-size: 1.25rem;
    }
    
    .search-close {
        top: 1rem;
        right: 1rem;
    }
}

/* Login Page */
.login-page {
    background-color: #ffffff;
    min-height: 100vh;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 2rem;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-logo {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: black;
    font-family: 'Times New Roman', serif;
    display: block;
    margin-bottom: 3rem;
    text-align: center;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 2.5rem;
    color: black;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    position: relative;
}

.form-field input {
    width: 100%;
    padding: 1rem 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: black;
    outline: none;
    transition: border-color 0.3s;
}

.form-field input:focus {
    border-bottom-color: black;
}

.form-field input::placeholder {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.forgot-password {
    font-size: 0.875rem;
    color: black;
    text-align: center;
    text-decoration: underline;
    margin-top: -0.5rem;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #666;
}

.btn-primary {
    background-color: black;
    color: white;
    border: 1px solid black;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.social-login-section {
    margin-top: 3rem;
    text-align: center;
}

.social-login-title {
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: black;
}

.privacy-text {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.privacy-link {
    text-decoration: underline;
    color: #666;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: black;
}

.btn-social {
    width: 100%;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-social:hover {
    background-color: #f5f5f5;
}

.btn-social svg {
    flex-shrink: 0;
}

.login-image-section {
    flex: 1;
    display: none;
    background-color: #000;
    overflow: hidden;
}

.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .login-image-section {
        display: block;
    }
}

@media (max-width: 1023px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-form-section {
        min-height: 100vh;
    }
    
    .login-image-section {
        display: none;
    }
}

/* Hamburger Menu */
.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.hamburger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 50%;
    height: 100vh;
    background-color: white;
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.hamburger-menu.active {
    transform: translateX(0);
}

.menu-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.menu-sidebar {
    width: 400px;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    padding: 2rem 1.5rem;
    flex: 1;
}

.menu-logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: black;
    font-family: 'Times New Roman', serif;
    display: block;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-nav-item {
    position: relative;
}

.menu-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
}

.menu-nav-link:hover {
    color: #666;
}

.menu-nav-item.active .menu-nav-link {
    font-weight: 700;
}

.menu-nav-link svg {
    opacity: 0.5;
    transition: transform 0.3s;
}

.menu-nav-item.active .menu-nav-link svg {
    transform: rotate(90deg);
}

/* Submenu */
.menu-submenu {
    flex: 1;
    overflow-y: auto;
    position: relative;
    border-right: none;
}

.menu-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-submenu.has-active::before {
    opacity: 1;
}

.submenu-content {
    display: none;
    padding: 3rem 4rem;
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.submenu-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submenu-title {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: black;
}

.submenu-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .submenu-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.submenu-product {
    display: block;
    text-decoration: none;
    color: black;
}

.submenu-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.submenu-product-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.submenu-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.submenu-category {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: black;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.submenu-category:hover {
    color: #666;
}

.submenu-category:first-child {
    font-weight: 700;
}

@media (max-width: 1024px) {
    .menu-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .menu-submenu {
        display: none;
    }
    
    .submenu-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .submenu-content {
        padding: 2rem 2rem;
    }
}

/* Full Screen Slider */
.fullscreen-slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.slide-content {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    z-index: 3;
}

.watch-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.watch-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 1rem;
    transition: opacity 0.3s;
    opacity: 0.7;
}

.slider-nav:hover {
    opacity: 1;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .header-btn {
        font-size: 0.65rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .slide-content {
        bottom: 2rem;
        right: 2rem;
    }
    
    .watch-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.65rem;
    }
    
    .slider-nav {
        padding: 0.5rem;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .hamburger-menu {
        width: 100%;
        max-width: 100vw;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
}

@media (min-width: 768px) {
    .hero {
        height: 700px;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-title {
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline {
    border-color: white;
    background-color: transparent;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

.btn-black {
    background-color: black;
    color: white;
    border-color: black;
}

.btn-black:hover {
    background-color: #1f1f1f;
}

/* Category Sliders */
.category-slider-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.category-slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.category-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.category-slide {
    display: none;
    width: 100%;
}

.category-slide.active {
    display: block;
}

.category-slide-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .category-slide-wrapper {
        padding: 0 10%;
    }
}

.category-slide-image {
    width: 100%;
    max-width: 1400px;
    height: 500px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .category-slide-image {
        height: 600px;
    }
}

.category-slide-text {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: white;
}

.category-slide-category {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .category-slide-category {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

.category-slide-title {
    font-size: 1.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .category-slide-title {
        font-size: 1.5rem;
    }
}

.category-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.category-slider-nav:hover {
    opacity: 0.7;
}

.category-slider-prev {
    left: 0.5rem;
}

@media (min-width: 768px) {
    .category-slider-prev {
        left: 1rem;
    }
}

.category-slider-next {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .category-slider-next {
        right: 1rem;
    }
}

.category-submenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-submenu-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s;
}

@media (min-width: 768px) {
    .category-submenu-link {
        font-size: 0.875rem;
        gap: 1.5rem;
    }
}

.category-submenu-link:hover {
    color: #666666;
    text-decoration: underline;
}

/* Products */
.products {
    padding: 4rem 0;
    background-color: #ffffff;
}

.section-title {
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: 300;
}

.product-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    display: block;
}

.product-image-wrapper {
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-name {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-price {
    font-size: 0.875rem;
    color: #666;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 3rem 0;
    margin-top: 0;
}

.footer-newsletter {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-newsletter-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.footer-social-link:hover {
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-legal-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.footer-legal-link:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.breadcrumb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    transition: text-decoration 0.2s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span:last-child {
    font-weight: 500;
}

/* Shop Page */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.shop-title {
    font-size: 1.875rem;
    font-weight: 300;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
}

.filter-panel {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: none;
}

.filter-panel.active {
    display: block;
}

.filter-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.filter-group h3 {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Product Page */
.product-details {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .product-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-images-main {
    margin-bottom: 1rem;
}

.product-images-main img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

.product-thumbnail {
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-thumbnail.active {
    border-color: black;
}

.product-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-info h1 {
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    font-weight: 300;
}

.product-info .price {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    line-height: 1.75;
    color: #666;
}

.size-selector {
    margin-bottom: 1.5rem;
}

.size-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.size-header h3 {
    font-size: 0.875rem;
    font-weight: 700;
}

.size-header a {
    font-size: 0.875rem;
    text-decoration: underline;
}

.size-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(5, 1fr);
}

.size-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn:hover {
    border-color: black;
}

.size-btn.active {
    border-color: black;
    background-color: black;
    color: white;
}

.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-selector h3 {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.quantity-controls {
    display: flex;
    width: 128px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.quantity-btn {
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-value {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn {
    flex: 1;
}

.product-actions .btn-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-details-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.details-item {
    margin-bottom: 1rem;
}

.details-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem 0;
}

.details-content {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.details-content p {
    margin-bottom: 0.5rem;
}

/* Cart Page */
.cart-content {
    padding: 6rem 0 2rem 0;
    min-height: calc(100vh - 80px);
}

.cart-title {
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: 300;
}

.cart-empty {
    padding: 4rem 0;
    text-align: center;
}

.cart-empty p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.cart-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .cart-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.cart-items {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-item {
    display: flex !important;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 160px;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 128px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #f5f5f5;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-item-content {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-item-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h3 {
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

.cart-item-info h3 a {
    text-decoration: none;
    color: inherit;
}

.cart-item-info p {
    margin-top: 0.25rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #666;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: black;
}

.cart-item-remove svg {
    display: block;
}

.cart-item-footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-item-footer p {
    margin: 0;
    white-space: nowrap;
}

.cart-item-footer .quantity-controls {
    width: auto;
    min-width: 120px;
}

.cart-item-footer .quantity-btn {
    padding: 0.5rem 0.75rem;
}

.cart-item-footer .quantity-value {
    min-width: 2rem;
}

.order-summary {
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.order-summary h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 300;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.order-summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 500;
}

.order-summary .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Checkout Page */
.checkout-content {
    padding: 2rem 0;
}

.checkout-title {
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: 300;
}

.checkout-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: black;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-row .form-group:last-child {
    grid-column: 1 / -1;
}

/* Category Banner */
.category-banner {
    position: relative;
    height: 400px;
}

.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.category-banner-title {
    font-size: 3rem;
    font-weight: 300;
    color: white;
}

/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

