* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #FF1493;
    /* Deep Pink - Ana Renk */
    --secondary-color: #FF69B4;
    /* Hot Pink - İkincil Renk */
    --accent-color: #FFC0CB;
    /* Pink - Vurgu Rengi */
    --text-dark: #333333;
    /* Koyu Gri - Yazı Rengi */
    --text-light: #666666;
    /* Açık Gri - Yardımcı Yazı */
    --text-white: #ffffff;
    /* Beyaz Yazı */
    --bg-light: #FFF0F5;
    /* Lavender Blush - Açık Arka Plan */
    --bg-white: #ffffff;
    /* Beyaz Arka Plan */
    --border-color: #FFB6C1;
    /* Light Pink - Kenarlık */
    --hover-bg: #FFE4E1;
    /* Misty Rose - Hover Arka Planı */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header {
    background: var(--bg-white);
    color: var(--text-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: #FF1493;
    /* Deep Pink */
    color: var(--text-white);
    height: 60px;
    /* Fixed height */
    display: flex;
    align-items: center;
    /* Vertically center */
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    overflow: hidden;
    border-bottom: none;
    padding: 0;
}

.top-bar .container {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.top-bar-content {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    line-height: 60px;
    /* Match parent height to ensure partial centering if flex fails for block */
}

.top-bar-content span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    /* Ensure middle alignment */
    line-height: normal;
    /* Reset line height for text */
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.top-bar a {
    color: var(--text-white);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
}

.main-header {
    padding: 18px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    line-height: 1;
}

.logo-icon {
    font-size: 20px;
    transform: rotate(-15deg);
    color: #F8BBD0;
}

.main-nav ul {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
}

.main-nav a {
    padding: 12px 15px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav li.dropdown:hover>a {
    color: var(--primary-color);
    background: transparent;
}

.main-nav .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

/* .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} */

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: var(--text-dark);
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: var(--hover-bg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    gap: 60px;
    white-space: nowrap;
}

/* .mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
} */

.mega-menu-column {
    flex-shrink: 0;
}

.mega-menu-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mega-menu-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-column li {
    display: block;
}

.mega-menu-column a {
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
    white-space: nowrap;
    display: block;
    font-weight: 400;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mega-menu-column a:hover {
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn,
.cart-btn,
.account-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 19px;
    cursor: pointer;
    color: var(--text-dark);
    /* Changed to dark for visibility on white header */
    position: relative;
    padding: 8px;
    transition: var(--transition);
}

.search-btn:hover,
.cart-btn:hover,
.account-btn:hover {
    opacity: 0.7;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--text-white);
    color: var(--primary-color);
    font-size: 10px;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: var(--text-white);
}

.mobile-nav-header h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.close-mobile-nav {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-content {
    padding: 0;
}

.mobile-nav-content ul {
    list-style: none;
}

.mobile-nav-content>ul>li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-content>ul>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-content>ul>li>a:hover {
    background: var(--hover-bg);
}

.mobile-submenu {
    display: none;
    background: var(--bg-light);
    padding: 10px 0;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 20px 10px 40px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}

.mobile-submenu li a:hover {
    background: var(--hover-bg);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    font-size: 18px;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(180deg);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    border: none;
    background: var(--bg-white);
}

.search-form button {
    padding: 18px 30px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 30px;
    cursor: pointer;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--bg-light);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    background: var(--bg-light);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    text-align: center;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

.slide-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.slide-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: none;
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.btn {
    padding: 16px 40px;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-add-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 14px 30px;
}

.btn-add-cart:hover {
    background: var(--secondary-color);
}

.btn-large {
    padding: 18px 50px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.features {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.feature-card {
    text-align: center;
    padding: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 15px;
}

.products-section,
.categories-section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: var(--bg-light);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--text-light);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--text-white);
}

.category-info h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-white);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--text-light);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-badge.discount {
    background: #ff0000;
}

.product-badge.new {
    background: var(--primary-color);
    top: 55px;
}

.product-info {
    padding: 25px 20px;
    text-align: center;
}

.product-category {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.product-title a {
    color: var(--text-dark);
}

.product-title a:hover {
    color: var(--text-light);
}

.product-price {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
}

.price-new {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

.newsletter {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-content p {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    font-size: 14px;
}

.newsletter-form button {
    padding: 18px 40px;
    background: var(--text-white);
    color: var(--primary-color);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer {
    background: #222222;
    /* Koyu Gri Footer */
    color: var(--text-white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-info i {
    color: var(--text-white);
    margin-top: 3px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.cart-sidebar-header h3 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-cart-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    transition: var(--transition);
}

.close-cart-sidebar:hover {
    color: var(--text-light);
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 60px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-empty p {
    font-size: 16px;
    color: var(--text-light);
}

.cart-sidebar-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-sidebar-item-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    background: var(--bg-light);
    overflow: hidden;
}

.cart-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-sidebar-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-sidebar-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.cart-sidebar-item-options {
    font-size: 12px;
    color: var(--text-light);
}

.cart-sidebar-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-sidebar-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-item-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.cart-sidebar-item-quantity button:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.cart-sidebar-item-quantity span {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-sidebar-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.cart-sidebar-item-remove:hover {
    color: var(--danger-color);
}

.cart-sidebar-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.cart-subtotal,
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.cart-total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.cart-shipping-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.cart-shipping-note i {
    color: var(--primary-color);
}

.cart-sidebar-footer .btn {
    margin-bottom: 10px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-header {
    padding: 80px 0 40px;
    background: var(--bg-light);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 16px;
    color: var(--text-light);
}

.products-page {
    padding: 60px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
}

.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.filter-widget {
    background: var(--bg-white);
    padding: 25px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 25px;
}

.filter-widget form {
    width: 100%;
    overflow: hidden;
}

#priceFilterForm {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.filter-widget h3 {
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 14px;
}

.category-list a:hover,
.category-list a.active {
    color: var(--text-light);
    padding-left: 10px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    width: 100%;
}

.price-inputs input {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
}

.price-inputs input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-inputs span {
    color: var(--text-light);
    font-weight: 600;
    flex-shrink: 0;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.toolbar-info p {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toolbar-sort select {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 600;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.breadcrumb {
    padding: 20px 0;
    background: var(--bg-light);
}

.breadcrumb ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--text-dark);
}

.breadcrumb a:hover {
    color: var(--text-light);
}

.product-detail {
    padding: 80px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.product-gallery {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image-container {
    position: relative;
    margin-bottom: 20px;
}

.main-image {
    overflow: hidden;
    height: 600px;
    background: var(--bg-light);
    position: relative;
    cursor: zoom-in;
    transition: var(--transition);
}

.main-image:hover {
    transform: scale(1.01);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.main-image:hover .zoom-icon {
    opacity: 1;
}

.product-placeholder-large {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--text-light);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-name {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-meta a {
    color: var(--text-dark);
}

.product-price-box {
    background: var(--bg-light);
    padding: 30px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-old-large {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 20px;
}

.price-new-large {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.discount-badge {
    background: #ff0000;
    color: var(--text-white);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    margin-bottom: 35px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 15px;
}

.option-group {
    margin-bottom: 30px;
}

.option-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.size-options,
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-option input,
.color-option input {
    display: none;
}

.size-option span {
    display: block;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
}

.size-option input:checked+span {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-white);
}

.size-option span:hover {
    border-color: var(--primary-color);
}

.color-option span {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.color-option input:checked+span {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--bg-white), 0 0 0 5px var(--primary-color);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--bg-white);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.product-features {
    display: flex;
    gap: 35px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.cart-page {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 50px;
}

.cart-table table {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
}

.cart-table th {
    background: var(--bg-light);
    padding: 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-product {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-product-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.cart-product-name {
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-product-name:hover {
    color: var(--text-light);
}

.cart-product-options {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-product-options span {
    margin-right: 15px;
}

.cart-price {
    font-weight: 700;
    font-size: 16px;
}

.cart-total {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.btn-remove:hover {
    color: #ff0000;
}

.cart-summary {
    background: var(--bg-light);
    padding: 40px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 2px solid var(--text-dark);
}

.summary-total span:last-child {
    color: var(--text-dark);
}

.shipping-notice {
    background: var(--bg-white);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    border: 1px solid var(--border-color);
}

.shipping-notice i {
    color: var(--primary-color);
    font-size: 20px;
}

.shipping-notice p {
    font-size: 13px;
    color: var(--text-light);
}

.empty-cart,
.empty-state {
    text-align: center;
    padding: 100px 20px;
}

.empty-cart i,
.empty-state i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.empty-cart h2,
.empty-state h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.empty-cart p,
.empty-state p {
    color: var(--text-light);
    margin-bottom: 35px;
}

.checkout-page {
    padding: 60px 0;
    min-height: 70vh;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 50px;
}

.checkout-section {
    background: var(--bg-white);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.checkout-section h2 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    font-family: inherit;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    cursor: pointer;
    border: 2px solid var(--border-color);
    padding: 20px;
    transition: var(--transition);
    display: block;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.active {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.payment-method.active .payment-icon {
    background: var(--primary-color);
}

.payment-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

.payment-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.bank-info {
    margin-top: 20px;
}

.info-box,
.bank-info .info-box {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.bank-details p strong {
    display: inline-block;
    width: 120px;
}

.bank-details .note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 13px;
}

.checkout-summary {
    background: var(--bg-light);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.checkout-summary h2 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-items {
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    background: var(--bg-white);
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 30px;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.item-options {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.item-options span {
    margin-right: 10px;
}

.item-quantity {
    font-size: 12px;
    color: var(--text-light);
}

.order-item-price {
    font-size: 16px;
    font-weight: 700;
}

.order-totals {
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 25px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.total-row.grand-total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--text-dark);
    margin-top: 15px;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-success-page {
    padding: 60px 0;
    min-height: 70vh;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #10b981;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 30px;
}

.success-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-message {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.order-info-box,
.bank-info-box,
.order-items-summary,
.delivery-info {
    background: var(--bg-light);
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.order-info-box h3,
.bank-info-box h4,
.order-items-summary h3,
.delivery-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
}

.info-value.grand {
    font-size: 24px;
    color: var(--primary-color);
}

.bank-info-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
}

.bank-note {
    margin-bottom: 15px;
    font-size: 14px;
}

.important-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #dc3545;
    font-weight: 600;
}

.summary-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
}

.summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-details {
    flex: 1;
}

.summary-item-details h4 {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 600;
}

.summary-item-total {
    font-size: 16px;
    font-weight: 700;
}

.delivery-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.contact-info-box p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-info-box a {
    color: var(--primary-color);
    font-weight: 600;
}

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    transform: translateX(400px);
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
    border-left: 4px solid;
    position: relative;
}

.toast.removing {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

.toast-close {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text-dark);
}

.toast.success {
    border-left-color: #10b981;
}

.toast.success .toast-icon {
    background: #d1fae5;
    color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast.warning .toast-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.toast.info {
    border-left-color: #3b82f6;
}

.toast.info .toast-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    animation: progress linear forwards;
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.confirm-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.confirm-modal-content {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 400px;
    max-width: 90vw;
}

.confirm-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.confirm-modal-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.confirm-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.confirm-modal-body {
    padding: 30px;
}

.confirm-modal-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.confirm-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-modal-footer .btn {
    min-width: 100px;
}

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.confirm-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .products-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .sidebar {
        order: 1;
    }

    .products-content {
        order: 2;
    }

    .filter-widget {
        margin-bottom: 20px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .checkout-summary {
        position: static !important;
        order: 2;
    }

    .checkout-form {
        order: 1;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
    }

    .product-gallery {
        position: static;
    }

    .cart-summary {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-text {
        font-size: 16px;
    }

    .hero-slider {
        height: 500px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-btn.prev {
        left: 15px;
    }

    .slider-btn.next {
        right: 15px;
    }

    .features {
        padding: 60px 0;
    }

    .features-grid {
        gap: 40px;
    }

    .products-section,
    .categories-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }

    .main-image {
        height: 500px;
    }

    .mega-menu {
        padding: 20px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .search-container {
        width: 95%;
        padding: 0 10px;
    }

    .search-form input {
        padding: 14px 18px;
        font-size: 14px;
    }

    .search-form button {
        padding: 14px 24px;
        font-size: 14px;
    }

    .close-search {
        top: -45px;
        font-size: 26px;
    }

    .top-bar {
        padding: 8px 0;
        font-size: 11px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 5px;
    }

    .main-header {
        padding: 12px 0;
    }

    .header-content {
        gap: 10px;
    }

    .logo-text {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .logo-icon {
        font-size: 16px;
    }

    .header-actions {
        gap: 12px;
    }

    .search-btn,
    .cart-btn,
    .account-btn,
    .mobile-menu-btn {
        font-size: 16px;
        padding: 6px;
    }

    .cart-count {
        font-size: 9px;
        min-width: 15px;
        height: 15px;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .slide-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 12px;
    }

    .btn-large {
        padding: 14px 35px;
        font-size: 13px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 24px;
    }

    .features {
        padding: 50px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 12px;
    }

    .products-section,
    .categories-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 22px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .section-header p {
        font-size: 13px;
    }

    .section-footer {
        margin-top: 40px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card {
        height: 300px;
    }

    .category-info {
        padding: 20px;
    }

    .category-info h3 {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border: 1px solid var(--border-color);
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 12px;
    }

    .products-page .sidebar {
        display: block !important;
        margin-bottom: 20px;
    }

    .products-page .filter-widget {
        display: inline-block;
        width: calc(50% - 8px);
        vertical-align: top;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    .products-page .filter-widget:nth-child(2n) {
        margin-right: 0;
    }

    .product-category {
        font-size: 9px;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }

    .product-title {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.3;
        min-height: 32px;
    }

    .product-price {
        margin-bottom: 12px;
        gap: 6px;
    }

    .price-old {
        font-size: 11px;
    }

    .price-new {
        font-size: 15px;
    }

    .btn-add-cart {
        padding: 10px 16px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .product-badge {
        top: 8px;
        right: 8px;
        padding: 5px 10px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .product-badge.new {
        top: 36px;
    }

    .product-placeholder {
        font-size: 40px;
    }

    .newsletter {
        padding: 50px 0;
    }

    .newsletter-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    .newsletter-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        padding: 14px 18px;
        font-size: 13px;
    }

    .newsletter-form button {
        padding: 14px 30px;
        font-size: 13px;
    }

    .footer-top {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-col h3,
    .footer-col h4 {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .footer-col p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        font-size: 12px;
    }

    .payment-methods {
        justify-content: center;
        gap: 12px;
        font-size: 20px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar-header {
        padding: 20px;
    }

    .cart-sidebar-header h3 {
        font-size: 16px;
    }

    .cart-sidebar-content {
        padding: 15px 20px;
    }

    .cart-sidebar-footer {
        padding: 20px;
    }

    .page-header {
        padding: 50px 0 30px;
    }

    .page-header h1 {
        font-size: 32px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .page-header p {
        font-size: 14px;
    }

    .products-page,
    .cart-page {
        padding: 40px 0;
    }

    .sidebar {
        margin-bottom: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .filter-widget {
        padding: 15px 12px;
        margin-bottom: 0;
        border-radius: 8px;
    }

    .filter-widget form {
        width: 100%;
    }

    .filter-widget h3 {
        margin-bottom: 15px;
        font-size: 13px;
        font-weight: 700;
    }

    .category-list {
        max-height: 250px;
        overflow-y: auto;
    }

    .category-list li {
        margin-bottom: 10px;
    }

    .category-list a {
        padding: 8px 0;
        font-size: 13px;
    }

    .price-inputs {
        margin-bottom: 15px;
        gap: 6px;
        width: 100%;
    }

    .price-inputs input {
        padding: 10px 6px;
        font-size: 13px;
        border-radius: 6px;
        min-width: 0;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 25px;
        padding: 15px;
        background: var(--bg-light);
        border: 1px solid var(--border-color);
    }

    .toolbar-info p {
        font-size: 13px;
        text-align: center;
        font-weight: 600;
        color: var(--text-dark);
    }

    .toolbar-sort select {
        padding: 12px 15px;
        font-size: 13px;
        width: 100%;
        border: 1px solid var(--border-color);
        background: var(--bg-white);
        border-radius: 0;
    }

    .pagination {
        gap: 8px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .pagination-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .breadcrumb {
        padding: 15px 0;
    }

    .breadcrumb ul {
        font-size: 12px;
        gap: 8px;
    }

    .breadcrumb li::after {
        margin-left: 8px;
    }

    .product-detail {
        padding: 40px 0;
    }

    .main-image {
        height: 400px;
        margin-bottom: 15px;
    }

    .thumbnail-images {
        gap: 10px;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
    }

    .product-name {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .product-meta {
        gap: 20px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        font-size: 12px;
    }

    .product-price-box {
        padding: 20px;
        margin-bottom: 25px;
        flex-wrap: wrap;
    }

    .price-old-large {
        font-size: 16px;
    }

    .price-new-large {
        font-size: 28px;
    }

    .discount-badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    .product-description {
        margin-bottom: 25px;
        font-size: 14px;
    }

    .option-group {
        margin-bottom: 20px;
    }

    .option-group label {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .size-options,
    .color-options {
        gap: 10px;
    }

    .size-option span {
        padding: 10px 18px;
        font-size: 13px;
    }

    .color-option span {
        width: 40px;
        height: 40px;
    }

    .quantity-selector input {
        width: 50px;
        padding: 10px;
        font-size: 14px;
    }

    .qty-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .product-features {
        gap: 20px;
        margin-top: 25px;
        padding-top: 25px;
        flex-wrap: wrap;
    }

    .feature-item {
        gap: 10px;
        font-size: 11px;
    }

    .feature-item i {
        font-size: 16px;
    }

    .cart-page .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .cart-page .cart-summary {
        position: static !important;
        order: 2;
    }

    .cart-page .cart-items {
        order: 1;
    }

    .cart-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cart-table table {
        display: table;
        min-width: 650px;
        width: 100%;
    }

    .cart-table thead {
        display: table-header-group;
    }

    .cart-table tbody {
        display: table-row-group;
    }

    .cart-table tr {
        display: table-row;
    }

    .cart-table td {
        display: table-cell;
    }

    .cart-page .cart-summary {
        padding: 25px;
    }

    .btn-add-cart {
        min-height: 44px;
        touch-action: manipulation;
    }

    button,
    .btn,
    a.btn {
        min-height: 40px;
        touch-action: manipulation;
    }

    .cart-table th,
    .cart-table td {
        padding: 15px 10px;
        font-size: 12px;
    }

    .cart-product {
        gap: 12px;
    }

    .cart-product-image {
        width: 70px;
        height: 70px;
    }

    .cart-product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .cart-product-options {
        font-size: 11px;
    }

    .cart-price {
        font-size: 14px;
    }

    .cart-total {
        font-size: 15px;
    }

    .btn-remove {
        font-size: 16px;
    }

    .cart-summary {
        padding: 25px;
    }

    .cart-summary h3 {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .summary-row {
        margin-bottom: 15px;
        padding-bottom: 15px;
        font-size: 13px;
    }

    .summary-total {
        font-size: 16px;
        margin: 20px 0;
        padding: 20px 0;
    }

    .shipping-notice {
        padding: 15px;
        margin: 15px 0;
    }

    .shipping-notice i {
        font-size: 18px;
    }

    .shipping-notice p {
        font-size: 12px;
    }

    .empty-cart,
    .empty-state {
        padding: 60px 20px;
        text-align: center;
    }

    .empty-cart i,
    .empty-state i {
        font-size: 60px;
        margin-bottom: 20px;
        display: block;
        color: var(--text-light);
    }

    .empty-cart h2,
    .empty-state h3 {
        font-size: 22px;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .empty-cart p,
    .empty-state p {
        font-size: 14px;
        margin-bottom: 25px;
        color: var(--text-light);
    }

    .empty-cart .btn,
    .empty-state .btn {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 80px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .confirm-modal-content {
        min-width: auto;
        width: calc(100vw - 40px);
    }

    .confirm-modal-header {
        padding: 20px;
    }

    .confirm-modal-body {
        padding: 20px;
    }

    .confirm-modal-footer {
        padding: 15px 20px;
        flex-direction: column-reverse;
    }

    .confirm-modal-footer .btn {
        width: 100%;
    }

    .color-swatch {
        width: 40px;
        height: 40px;
    }

    .color-option-circle input:checked~.color-swatch::after {
        font-size: 16px;
    }

    .checkout-section {
        padding: 20px;
        margin-bottom: 15px;
    }

    .checkout-section h2 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .checkout-summary {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 20px;
    }

    .success-content h1 {
        font-size: 26px;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }

    .order-info-box,
    .bank-info-box,
    .order-items-summary,
    .delivery-info {
        padding: 20px;
    }

    .header-content {
        gap: 8px;
    }

    .logo-text {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .logo-icon {
        font-size: 14px;
    }

    .header-actions {
        gap: 8px;
    }

    .search-btn,
    .cart-btn,
    .account-btn,
    .mobile-menu-btn {
        font-size: 15px;
        padding: 5px;
    }

    .hero-slider {
        height: 350px;
    }

    .slide-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .slide-text {
        font-size: 13px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 11px;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 12px;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .features {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .products-section,
    .categories-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-header p {
        font-size: 12px;
    }

    .section-footer {
        margin-top: 30px;
    }

    .categories-grid {
        gap: 15px;
    }

    .category-card {
        height: 250px;
    }

    .category-info {
        padding: 15px;
    }

    .category-info h3 {
        font-size: 16px;
    }

    .products-page .products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .products-page .product-card {
        display: flex !important;
        flex-direction: row !important;
        height: 150px !important;
        border: 1px solid var(--border-color) !important;
    }

    .products-page .product-card:hover {
        border-color: var(--border-color) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        transform: none !important;
    }

    .products-page .product-card .product-image {
        width: 150px !important;
        min-width: 150px !important;
        height: 100% !important;
        position: relative;
    }

    .products-page .product-card .product-info {
        flex: 1;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .products-page .product-card .product-category {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .products-page .product-card .product-title {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .products-page .product-card .product-price {
        margin-bottom: 8px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .products-page .product-card .price-old {
        font-size: 12px;
    }

    .products-page .product-card .price-new {
        font-size: 16px;
    }

    .products-page .product-card .btn-add-cart {
        padding: 8px 14px;
        font-size: 10px;
        white-space: nowrap;
    }

    .products-page .product-card .product-badge {
        position: absolute;
        top: 6px;
        left: 6px;
        right: auto;
    }

    .products-page .product-card .product-badge.new {
        top: 32px;
        left: 6px;
    }

    .newsletter {
        padding: 40px 0;
    }

    .newsletter-content h2 {
        font-size: 20px;
    }

    .newsletter-content p {
        font-size: 12px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .page-header p {
        font-size: 13px;
    }

    .products-page,
    .cart-page {
        padding: 30px 0;
    }

    .sidebar {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .products-page .sidebar {
        display: block !important;
    }

    .products-page .filter-widget {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 12px;
    }

    .filter-widget {
        padding: 12px 10px;
        margin-bottom: 0;
        border-radius: 8px;
    }

    .filter-widget form {
        width: 100%;
    }

    .filter-widget h3 {
        font-size: 13px;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .category-list {
        max-height: 200px;
    }

    .category-list li {
        margin-bottom: 8px;
    }

    .category-list a {
        padding: 6px 0;
        font-size: 12px;
    }

    .price-inputs {
        flex-direction: row;
        gap: 6px;
        width: 100%;
    }

    .price-inputs input {
        padding: 9px 6px;
        font-size: 12px;
        border-radius: 6px;
        min-width: 0;
    }

    .price-inputs span {
        display: flex;
        align-items: center;
        font-size: 12px;
        flex-shrink: 0;
    }

    .btn-block {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 6px;
        display: block;
        text-align: center;
    }

    .products-toolbar {
        padding: 12px;
        margin-bottom: 20px;
        gap: 10px;
    }

    .toolbar-info p {
        font-size: 12px;
    }

    .toolbar-sort select {
        padding: 10px 12px;
        font-size: 12px;
    }

    .product-detail {
        padding: 30px 0;
    }

    .main-image {
        height: 350px;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .product-name {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .product-meta {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .product-price-box {
        padding: 18px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .price-old-large {
        font-size: 14px;
    }

    .price-new-large {
        font-size: 24px;
    }

    .discount-badge {
        padding: 5px 10px;
        font-size: 10px;
    }

    .product-description {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.6;
    }

    .option-group {
        margin-bottom: 18px;
    }

    .size-option span {
        padding: 9px 16px;
        font-size: 12px;
    }

    .color-option span {
        width: 36px;
        height: 36px;
    }

    .quantity-selector input {
        width: 45px;
        padding: 9px;
        font-size: 13px;
    }

    .qty-btn {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .product-features {
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .feature-item {
        font-size: 10px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .cart-page .cart-layout {
        display: flex;
        flex-direction: column;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table table,
    .cart-table tbody {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        display: flex;
        flex-direction: column;
        background: var(--bg-white);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        position: relative;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0 !important;
        border: none !important;
        font-size: 14px !important;
    }

    .cart-table td:before {
        content: attr(data-label);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.5px;
        color: var(--text-light);
    }

    .cart-table .cart-product {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
        padding: 0 0 12px 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
        margin-bottom: 12px;
    }

    .cart-table .cart-product:before {
        display: none;
    }

    .cart-table .cart-product-image {
        width: 100%;
        height: 200px !important;
    }

    .cart-table .cart-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cart-table .cart-product-info {
        width: 100%;
    }

    .cart-table .cart-remove {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 0 !important;
    }

    .cart-table .cart-remove:before {
        display: none;
    }

    .cart-table .btn-remove {
        background: var(--bg-light);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-table .cart-product-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .cart-table .cart-product-options {
        margin-top: 6px;
    }

    .cart-table .quantity-selector {
        justify-content: flex-end;
        margin-left: auto;
    }

    .cart-table .cart-price,
    .cart-table .cart-total {
        font-weight: 600;
        font-size: 16px !important;
    }

    .cart-page .cart-summary {
        padding: 20px;
        border-radius: 8px;
    }

    .cart-page .cart-summary h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .cart-page .summary-row {
        font-size: 14px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .cart-page .summary-total {
        font-size: 18px;
        padding: 20px 0;
        margin: 20px 0;
    }

    .cart-page .btn {
        font-size: 13px;
        padding: 14px 24px;
    }

    .cart-table table {
        min-width: 550px;
    }

    .cart-table th:first-child {
        min-width: 200px;
    }

    .cart-table th {
        white-space: nowrap;
    }

    .cart-summary {
        padding: 20px;
    }

    .cart-summary h3 {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .summary-row {
        font-size: 12px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .summary-total {
        font-size: 15px;
        margin: 18px 0;
        padding: 18px 0;
    }

    .empty-cart,
    .empty-state {
        padding: 50px 15px;
    }

    .empty-cart i,
    .empty-state i {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .empty-cart h2,
    .empty-state h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .empty-cart p,
    .empty-state p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .empty-cart .btn,
    .empty-state .btn {
        font-size: 12px;
        padding: 12px 24px;
    }

    .pagination {
        gap: 6px;
        margin-top: 30px;
        justify-content: center;
        padding: 0 10px;
    }

    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .pagination-btn i {
        font-size: 10px;
    }

    .empty-state {
        padding: 60px 20px;
        text-align: center;
    }

    .empty-state i {
        font-size: 50px;
        color: var(--text-light);
        margin-bottom: 20px;
        display: block;
    }

    .empty-state h3 {
        font-size: 18px;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .empty-state p {
        font-size: 13px;
        color: var(--text-light);
        margin-bottom: 25px;
    }

    .empty-state .btn {
        margin: 0 auto;
    }
}

@media (max-width: 400px) {
    .hero-slider {
        height: 300px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-text {
        font-size: 12px;
    }

    .products-page .product-card {
        height: 130px !important;
    }

    .products-page .product-card .product-image {
        width: 120px !important;
        min-width: 120px !important;
    }

    .products-page .product-card .product-info {
        padding: 10px;
    }

    .products-page .product-card .product-title {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .products-page .product-card .price-old {
        font-size: 11px;
    }

    .products-page .product-card .price-new {
        font-size: 14px;
    }

    .products-page .product-card .btn-add-cart {
        padding: 6px 10px;
        font-size: 9px;
    }

    .products-page .product-card .product-badge {
        top: 5px;
        left: 5px;
        padding: 4px 8px;
        font-size: 8px;
    }

    .products-page .product-card .product-badge.new {
        top: 28px;
        left: 5px;
    }

    .main-image {
        height: 300px;
    }

    .category-card {
        height: 200px;
    }

    .sidebar {
        gap: 10px;
    }

    .filter-widget {
        padding: 12px 10px;
        border-radius: 8px;
    }

    .filter-widget form {
        width: 100%;
    }

    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .cart-table .cart-product-image {
        height: 180px !important;
    }

    .cart-table tr {
        padding: 12px;
    }

    .cart-table .cart-product-name {
        font-size: 14px;
    }

    .cart-table .cart-price,
    .cart-table .cart-total {
        font-size: 14px !important;
    }

    .cart-table td {
        font-size: 13px !important;
    }

    .cart-table .quantity-selector input {
        width: 40px;
        padding: 8px;
    }

    .cart-table .qty-btn {
        width: 32px;
        height: 32px;
    }

    .cart-page .cart-summary {
        padding: 15px;
    }

    .cart-page .cart-summary h3 {
        font-size: 16px;
    }

    .cart-page .summary-row {
        font-size: 13px;
    }

    .cart-page .summary-total {
        font-size: 16px;
    }

    .cart-page .btn {
        font-size: 12px;
        padding: 12px 20px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }

    .products-page .product-card:hover {
        border-color: var(--border-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    .category-card:hover {
        transform: none;
    }

    .category-card:hover .category-image img {
        transform: none;
    }

    button:hover,
    .btn:hover {
        transform: none;
    }
}

.products-page .products-grid .product-card .product-image a,
.products-page .products-grid .product-card>a {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 576px) {

    .products-page .products-grid .product-card .product-image,
    .products-page .products-grid .product-card>.product-image {
        width: 150px !important;
        min-width: 150px !important;
        flex-shrink: 0;
    }

    .products-page .product-placeholder {
        font-size: 40px;
    }

    .products-page .products-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .products-page .product-card {
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 400px) {

    .products-page .products-grid .product-card .product-image,
    .products-page .products-grid .product-card>.product-image {
        width: 120px !important;
        min-width: 120px !important;
    }

    .products-page .product-placeholder {
        font-size: 35px;
    }
}

.color-option-circle {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.color-option-circle input {
    display: none;
}

.color-swatch {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.color-option-circle:hover .color-swatch {
    transform: scale(1.1);
    border-color: var(--text-dark);
}

.color-option-circle input:checked~.color-swatch {
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    transform: scale(1.15);
}

.color-option-circle input:checked~.color-swatch::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#selectedColorName {
    color: var(--primary-color);
    font-weight: 700;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .color-swatch {
        width: 45px;
        height: 45px;
    }

    .color-option-circle input:checked~.color-swatch::after {
        font-size: 18px;
    }
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 10000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}

.cart-sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-cart-sidebar {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    transition: var(--transition);
}

.close-cart-sidebar:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.cart-empty {
    text-align: center;
    padding: 50px 0;
    display: none;
}

.cart-empty i {
    font-size: 40px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--text-dark);
    margin-bottom: 0;
}

.cart-sidebar-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-sidebar-item-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.cart-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-sidebar-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-sidebar-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.cart-sidebar-item-options {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.cart-sidebar-item-price {
    font-weight: 700;
    margin-top: auto;
    font-size: 15px;
}

.cart-sidebar-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart-sidebar-item-quantity button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cart-sidebar-item-quantity button:hover {
    border-color: var(--text-dark);
}

.cart-sidebar-item-quantity span {
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.cart-sidebar-item-remove {
    margin-left: auto;
    border: none !important;
    background: none !important;
    color: #ff4d4d;
    font-size: 14px !important;
}

.cart-sidebar-item-remove:hover {
    color: #cc0000;
}

.cart-subtotal,
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-subtotal {
    color: var(--text-light);
    font-size: 14px;
}

.cart-total {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-shipping-note {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.cart-sidebar-footer .btn {
    margin-bottom: 10px;
}

.cart-sidebar-footer .btn:last-child {
    margin-bottom: 0;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideIn 0.3s ease;
    overflow: hidden;
    position: relative;
    border-left: 4px solid #ccc;
}

.toast.success {
    border-left-color: #2e7d32;
}

.toast.error {
    border-left-color: #c62828;
}

.toast.info {
    border-left-color: #0277bd;
}

.toast.warning {
    border-left-color: #f9a825;
}

.toast.removing {
    animation: slideOut 0.3s ease forwards;
}

.toast-icon {
    font-size: 20px;
}

.toast.success .toast-icon {
    color: #2e7d32;
}

.toast.error .toast-icon {
    color: #c62828;
}

.toast.info .toast-icon {
    color: #0277bd;
}

.toast.warning .toast-icon {
    color: #f9a825;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    font-size: 16px;
}

.toast-close:hover {
    color: #333;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    animation: progress linear forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Confirm Modal Styles */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 100001;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.confirm-modal-content {
    padding: 24px;
    text-align: center;
}

.confirm-modal-header {
    margin-bottom: 16px;
}

.confirm-modal-header i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
}

.confirm-modal-header h3 {
    font-size: 20px;
    color: var(--text-dark);
}

.confirm-modal-body {
    margin-bottom: 24px;
}

.confirm-modal-body p {
    color: var(--text-light);
    line-height: 1.5;
}

.confirm-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-footer button {
    padding: 12px 24px;
    min-width: 100px;
    border-radius: 6px;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    background-color: #128C7E;
    color: #fff;
}

.scroll-top {
    right: 100px;
    bottom: 30px;
}