* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f7f7f7; /* fallback */
    color: #2c2c2c;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Blurred background image */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("image1/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;

    filter: blur(8px); /* adjust blur level */
    transform: scale(1.1); /* prevents edge blur gaps */
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #f2385a;
}

.logo span {
    color: #212121;
}

.logo-image {
    height: 36px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #212121;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f2385a;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 0 1 300px; 
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    height: 38px;
    padding: 8px 40px 8px 40px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background-color: #f5f5f6;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #282c3f;
    outline: none;
    transition: all 0.2s ease;
}

.search-box input::placeholder {
    color: #7e818c;
    font-size: 14px;
}

.search-box input:focus {
    border-color: #d4d5d9;
    background-color: #fff;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #696e79;
    font-size: 16px;
    pointer-events: none;
}

.action-item {
    margin-left: 15px;
    position: relative;
    cursor: pointer;
}

.action-item i {
    font-size: 22px;
    color: #212121;
}

/* Cart icon wrapper */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

/* Cart count badge */
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Better alignment on small screens */
@media (max-width: 768px) {
    .cart-icon {
        font-size: 18px;
    }

    .cart-count {
        top: -5px;
        right: -6px;
        font-size: 9px;
        height: 14px;
        min-width: 14px;
        line-height: 14px;
    }
}


/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
}

.hero-slide-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-slide-content p {
    font-size: 20px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-slide-content .btn {
    background-color: #f2385a;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-slide-content .btn:hover {
    background-color: #d32f45;
    transform: translateY(-2px);
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.hero-prev:hover,
.hero-next:hover {
    background: #f2385a;
}

.hero-prev {
    left: 15px;
}

.hero-next {
    right: 15px;
}

/* Categories */
.categories {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #212121;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-card a {
    text-decoration: none;
}

.category-card h3 {
    padding: 15px;
    font-size: 18px;
    color: #212121;
    font-weight: 600;
    text-decoration: none;
}

/* Products */
.products {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f2385a;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #212121;
    line-height: 1.3;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #f2385a;
    margin-right: 10px;
}

.original-price {
    font-size: 16px;
    color: #95a5a6;
    text-decoration: line-through;
}

/* Dual Button Layout for Product Cards */
.product-actions-dual {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.add-to-cart {
    flex: 1;
    padding: 10px;
    background-color: #ff3f6c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #e6395f;
}

.add-to-cart.added {
    background-color: #24a887;
}

.buy-now-btn {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #ff3f6c, #ff6b9c);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #e6395f, #ff527e);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 63, 108, 0.3);
}

.buy-now-btn i {
    font-size: 14px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 20px;
    color: #212121;
}

.close-cart {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 12px);
    right: calc(env(safe-area-inset-right) + 12px);

    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;

    z-index: 9999;

    /* iOS Safari tap & visibility fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #212121;
    font-size: 14px;
    line-height: 1.3;
}

.cart-item-size {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
}

.cart-item-price {
    color: #f2385a;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
}

.quantity {
    margin: 0 5px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    color: #f2385a;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    margin-left: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.price-details {
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #535766;
}

.price-row.total {
    font-weight: 700;
    color: #282c3f;
    font-size: 16px;
    border-top: 1px dashed #d4d5d9;
    padding-top: 8px;
    margin-top: 8px;
}

.discount-text {
    color: #03a685;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background-color: #f2385a;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

.checkout-btn:hover {
    background-color: #d32f45;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.empty-cart i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #ddd;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Customer Modal */
.customer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.customer-modal.active {
    opacity: 1;
    visibility: visible;
}

.customer-modal-content {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.customer-modal.active .customer-modal-content {
    transform: scale(1);
}

.customer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.customer-modal-header h3 {
    font-size: 24px;
    color: #212121;
}

.close-modal {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 12px);
    right: calc(env(safe-area-inset-right) + 12px);

    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;

    z-index: 9999;

    /* iOS Safari fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #212121;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f2385a;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.order-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.order-summary h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.order-item-details {
    display: flex;
    flex-direction: column;
}

.order-item-size {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 2px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: 600;
    font-size: 18px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.back-btn {
    flex: 1;
    padding: 12px;
    background-color: #95a5a6;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #7f8c8d;
}

.submit-btn {
    flex: 2;
    padding: 12px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #219653;
}

/* Product Details Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.product-modal.active .product-modal-content {
    transform: scale(1);
}

.close-product-modal {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 12px);
    right: calc(env(safe-area-inset-right) + 12px);

    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    /* iOS Safari interaction fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.product-modal-content {
    position: relative;
}


.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Image Slider Styles */
.product-modal-images {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}

.slider-arrow:hover {
    background: rgba(242, 56, 90, 0.8);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #f2385a;
    transform: scale(1.2);
}

/* Size Selection Styles */
.size-section {
    display: block !important;
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.size-btn {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.size-btn:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.size-btn.selected {
    background-color: #f2385a;
    color: white;
    border-color: #f2385a;
}

.size-btn.out-of-stock {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-error {
    color: #f2385a;
    font-size: 13px;
    margin-top: 8px;
    display: inline-block;
}

.product-modal-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.product-modal-header {
    border-bottom: 1px solid #eaeaec;
    padding-bottom: 20px;
}

.product-modal-header h2 {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-modal-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-modal-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-modal-price .current-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.product-modal-price .original-price {
    font-size: 18px;
    color: #95a5a6;
    text-decoration: line-through;
}

.product-modal-price .discount {
    font-size: 16px;
    color: #27ae60;
    font-weight: 600;
}

.product-modal-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-modal-section p {
    font-size: 14px;
    color: #535766;
    line-height: 1.6;
    margin: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 14px;
    color: #535766;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.specifications {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-key {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.spec-value {
    color: #535766;
    font-size: 14px;
    text-align: right;
    max-width: 60%;
}

.product-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eaeaec;
}

.add-to-cart-modal {
    flex: 2;
    padding: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-modal:hover {
    background: #c0392b;
}

.buy-now-btn-modal {
    flex: 2;
    padding: 15px;
    background: linear-gradient(135deg, #ff3f6c, #ff6b9c);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.buy-now-btn-modal:hover {
    background: linear-gradient(135deg, #e6395f, #ff527e);
}

.buy-now-btn-modal i {
    font-size: 16px;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 40px 30px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.success-modal.active .success-content {
    transform: scale(1);
}

.success-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.order-details {
    text-align: left;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.order-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.success-message {
    font-size: 14px;
    color: #535766;
    margin: 16px 0;
    line-height: 1.5;
}

.continue-shopping-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.continue-shopping-btn:hover {
    background: #c0392b;
}

/* Footer */
.footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-image {
    max-height: 35px;
    width: auto;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: #404040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #ff3f6c;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff3f6c;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.4;
}

.contact-item i {
    color: #ff3f6c;
    margin-top: 2px;
    min-width: 16px;
}

.payment-methods h4 {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 10px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons i {
    font-size: 24px;
    color: #b0b0b0;
    transition: color 0.3s;
}

.payment-icons i:hover {
    color: #ff3f6c;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #b0b0b0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #ff3f6c;
}

/* Mobile Menu Toggle for smaller screens */
/* Menu Toggle Button */
/* Header base fix */
/* ================= MENU TOGGLE ================= */
.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* ================= OVERLAY ================= */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================= MOBILE SIDE MENU ================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    transition: left 0.35s ease;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    left: 0;
}

/* Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header i {
    font-size: 22px;
    cursor: pointer;
}

/* Menu Items */
.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu ul li {
    margin-bottom: 18px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* ================= MOBILE VISIBILITY ================= */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}



/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .category-card:hover {
        transform: none;
    }
    
    .category-card:active {
        transform: scale(0.98);
    }
    
    .add-to-cart,
    .buy-now-btn,
    .add-to-cart-modal,
    .buy-now-btn-modal {
        min-height: 44px;
    }
    
    .quantity-btn,
    .size-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Keep slider dots small */
    .slider-dot {
        min-width: 8px;
        min-height: 8px;
        width: 8px;
        height: 8px;
    }
}

.one-size-info {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    border: 1px solid #c8e6c9;
    width: 100%;
    box-sizing: border-box;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.product-modal-content {
    overscroll-behavior: contain;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
    
    .cart-sidebar {
        z-index: 1002;
    }
    
    .overlay.active {
        z-index: 1001;
    }
    
    .product-modal {
        z-index: 1003;
    }
    
    .customer-modal {
        z-index: 1003;
    }
    
    .success-modal {
        z-index: 1003;
    }
}

@media (max-width: 400px) {
    .product-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
.close-product-modal {
    position: absolute;

    top: calc(env(safe-area-inset-top) + 8px);
    right: calc(env(safe-area-inset-right) + 8px);

    width: 32px;
    height: 32px;
    font-size: 18px;

    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;

    z-index: 9999;

    /* iOS Safari tap & highlight fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.product-modal-content {
    position: relative;
}
.product-modal {
    height: 100dvh;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top);
}

    
    .slider-dots {
        bottom: 8px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .slider-dot.active {
        transform: scale(1.1);
    }
    
    .product-modal-images {
        padding: 10px;
    }
    
    .slider-slide img {
        max-height: 180px;
    }
    
    .product-modal-details {
        padding: 10px;
        gap: 10px;
    }
    
    .product-modal-header h1 {
        font-size: 16px;
    }
    
    .product-modal-price .current-price {
        font-size: 18px;
    }
    
    .header-content {
        padding: 8px 0;
    }
    
    .logo-image {
        height: 24px;
    }
    
    .action-item i {
        font-size: 20px;
    }
    
    .cart-count {
        width: 14px;
        height: 14px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
}

@media (min-width: 401px) and (max-width: 480px) {
    .product-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
.close-product-modal {
    position: absolute;

    top: calc(env(safe-area-inset-top) + 10px);
    right: calc(env(safe-area-inset-right) + 10px);

    width: 36px;
    height: 36px;
    font-size: 20px;

    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;

    border: none;
    border-radius: 50%;
    cursor: pointer;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    /* iOS Safari touch fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.product-modal-content {
    position: relative;
}

    
    .slider-dots {
        bottom: 10px;
    }
    
    .slider-dot {
        width: 7px;
        height: 7px;
    }
    
    .slider-dot.active {
        transform: scale(1.1);
    }
    
    .product-modal-images {
        padding: 15px;
    }
    
    .slider-slide img {
        max-height: 220px;
    }
    
    .product-modal-details {
        padding: 15px;
        gap: 12px;
    }
    
    .product-modal-header h1 {
        font-size: 18px;
    }
    
    .product-modal-price .current-price {
        font-size: 20px;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    .product-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 10px;
    }
    
.close-product-modal {
    position: absolute;

    /* SAFE-AREA AWARE POSITIONING */
    top: calc(env(safe-area-inset-top) + 12px);
    right: calc(env(safe-area-inset-right) + 12px);

    width: 38px;
    height: 38px;
    font-size: 20px;

    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    /* iOS Safari interaction fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.product-modal-content {
    position: relative;
}

    
    .slider-dots {
        bottom: 15px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        transform: scale(1.2);
    }
    
    /* Adjust modal content */
    .product-modal-images {
        padding: 20px;
    }
    
    .slider-slide img {
        max-height: 250px;
    }
    
    .product-modal-details {
        padding: 20px;
        gap: 15px;
    }
    
    .product-modal-header h1 {
        font-size: 20px;
    }
    
    .product-modal-price .current-price {
        font-size: 22px;
    }
}


@media (min-width: 601px) and (max-width: 768px) {
    .product-modal-content {
        width: 90%;
        max-height: 90vh;
    }
    
.close-product-modal {
    position: absolute;

    /* Safe-area aware positioning (Safari / iOS fix) */
    top: calc(env(safe-area-inset-top) + 15px);
    right: calc(env(safe-area-inset-right) + 15px);

    width: 40px;
    height: 40px;
    font-size: 22px;

    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    border: none;
    border-radius: 50%;

    cursor: pointer;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    /* iOS Safari interaction fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.product-modal-content {
    position: relative;
}

    
    /* Fix slider dots size */
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        transform: scale(1.2);
    }
    
    /* Single column layout for tablets */
    .product-modal-body {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        max-height: 85vh;
    }
    
    .product-modal-images {
        border-radius: 10px 10px 0 0;
        padding: 25px;
        min-height: 280px;
    }
    
    .slider-slide img {
        max-height: 280px;
    }
    
    .product-modal-details {
        padding: 25px;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    /* Cart sidebar still full width */
    .cart-sidebar {
        width: 100%;
    }
}

/* Responsive Styles for header and general layout */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .hero-slide-content h1 {
        font-size: 36px;
    }
    
    .hero-slide-content p {
        font-size: 18px;
    }
    
    .hero-slide-content .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .product-actions-dual {
        flex-direction: column;
        gap: 10px;
    }
    
    .add-to-cart,
    .buy-now-btn {
        width: 100%;
    }
    
    .product-modal-actions {
        flex-direction: column;
    }
    
    .add-to-cart-modal,
    .buy-now-btn-modal {
        width: 100%;
    }
    
    .size-buttons {
        justify-content: center;
    }
    
    .size-btn {
        min-width: 40px;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }
    
    .logo-image {
        height: 28px;
    }
    
    nav ul {
        display: none;
    }
    
    .search-box {
        display: none;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .hero-slide-content {
        bottom: 50px;
        padding: 0 15px;
    }
    
    .hero-slide-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .hero-slide-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .hero-prev,
    .hero-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .categories {
        padding: 40px 0;
    }
    
    .products {
        padding: 40px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        z-index: 99;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 250px;
    }
    
    .hero-slide-content {
        bottom: 30px;
    }
    
    .hero-slide-content h1 {
        font-size: 22px;
    }
    
    .hero-slide-content p {
        font-size: 14px;
    }
    
    .hero-slide-content .btn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card h3 {
        padding: 10px;
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .original-price {
        font-size: 14px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .remove-item {
        margin-left: 0;
    }
    
    .slider-slide img {
        max-height: 250px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-item {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
        gap: 30px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / 2;
    }
}

@media (max-width: 991px) {
    .product-modal-content {
        max-height: 100vh;
        height: 100vh;
        width: 100%;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .product-modal-body {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 0;
        max-height: none;
        height: auto;
        overflow: visible;
    }
    
    .product-modal-images {
        border-radius: 0;
        padding: 20px;
        min-height: auto;
        height: auto;
        flex-shrink: 0;
        position: relative;
    }
    
    .slider-slide img {
        max-height: 300px;
        width: auto;
        max-width: 100%;
    }
    
    .product-modal-details {
        padding: 20px;
        overflow: visible;
        max-height: none;
        height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .product-modal-header,
    .product-modal-section,
    .product-modal-actions {
        width: 100%;
    }
}

/* Landscape mode fixes */
@media (max-width: 991px) and (orientation: landscape) {
    .product-modal-images {
        padding: 15px;
        min-height: auto;
    }
    
    .slider-slide img {
        max-height: 180px;
    }
    
    .slider-container {
        min-height: 180px;
    }
    
    .product-modal-details {
        padding: 15px;
        max-height: calc(100vh - 220px);
        overflow-y: auto;
    }
    
.close-product-modal {
    position: absolute;

    /* Safari safe-area aware positioning */
    top: calc(env(safe-area-inset-top) + 8px);
    right: calc(env(safe-area-inset-right) + 8px);

    width: 32px;
    height: 32px;
    font-size: 18px;

    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    /* iOS Safari tap fixes */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.product-modal-content {
    position: relative;
}

}

/* Ensure smooth scrolling on iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .product-modal-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* Better scrollbar for modal */
.product-modal-content::-webkit-scrollbar {
    width: 4px;
}

.product-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.product-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* High-resolution phones (1440px and up) */
@media (min-width: 1440px) and (max-width: 2048px) and (orientation: portrait) {
    .container {
        max-width: 1400px;
        padding: 0 30px;
    }
    
    .header-content {
        padding: 15px 0;
    }
    
    .logo-image {
        height: 42px;
    }
    
    nav ul li {
        margin: 0 20px;
    }
    
    nav ul li a {
        font-size: 18px;
    }
    
    .search-box {
        flex: 0 1 400px;
    }
    
    .search-box input {
        height: 44px;
        padding: 8px 45px 8px 45px;
        font-size: 16px;
    }
    
    .action-item i {
        font-size: 28px;
    }
    
    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: -8px;
        right: -8px;
    }
    
    .hero-slider {
        height: 600px;
    }
    
    .hero-slide-content {
        bottom: 100px;
        max-width: 800px;
    }
    
    .hero-slide-content h1 {
        font-size: 56px;
        margin-bottom: 20px;
    }
    
    .hero-slide-content p {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .hero-slide-content .btn {
        padding: 16px 40px;
        font-size: 18px;
        border-radius: 35px;
    }
    
    .hero-prev,
    .hero-next {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .hero-prev {
        left: 30px;
    }
    
    .hero-next {
        right: 30px;
    }
    
    .categories,
    .products {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 42px;
        margin-bottom: 50px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
    
    .category-card img {
        height: 200px;
    }
    
    .category-card h3 {
        padding: 20px;
        font-size: 22px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image {
        height: 320px;
    }
    
    .product-info {
        padding: 25px;
    }
    
    .product-category {
        font-size: 16px;
    }
    
    .product-name {
        font-size: 22px;
    }
    
    .current-price {
        font-size: 26px;
    }
    
    .original-price {
        font-size: 20px;
    }
    
    .add-to-cart,
    .buy-now-btn {
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .product-modal-content {
        max-width: 1100px;
    }
    
    .product-modal-images {
        padding: 40px;
    }
    
    .slider-slide img {
        max-height: 500px;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .product-modal-details {
        padding: 40px;
    }
    
    .product-modal-header h1 {
        font-size: 32px;
    }
    
    .product-modal-price .current-price {
        font-size: 32px;
    }
    
    .product-modal-price .original-price {
        font-size: 24px;
    }
    
    .product-modal-price .discount {
        font-size: 20px;
    }
    
    .product-modal-section h3 {
        font-size: 20px;
    }
    
    .product-modal-section p {
        font-size: 16px;
    }
    
    .features-list li {
        font-size: 16px;
    }
    
    .spec-key,
    .spec-value {
        font-size: 16px;
    }
    
    .size-buttons {
        gap: 12px;
    }
    
    .size-btn {
        min-width: 60px;
        padding: 12px 18px;
        font-size: 16px;
    }
    
    .one-size-info {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .product-modal-actions {
        gap: 20px;
    }
    
    .add-to-cart-modal,
    .buy-now-btn-modal {
        padding: 18px;
        font-size: 18px;
        min-height: 56px;
    }
    
    /* Cart sidebar for desktop view on high-res phones */
    .cart-sidebar {
        width: 450px;
        right: -450px;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
    
    .cart-header {
        padding: 25px;
    }
    
    .cart-header h3 {
        font-size: 24px;
    }
    
    .cart-items {
        padding: 25px;
    }
    
    .cart-item {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
        margin-right: 20px;
    }
    
    .cart-item-name {
        font-size: 18px;
    }
    
    .cart-item-size {
        font-size: 15px;
        padding: 4px 10px;
    }
    
    .cart-item-price {
        font-size: 18px;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .quantity {
        font-size: 18px;
    }
    
    .remove-item {
        font-size: 14px;
    }
    
    .cart-footer {
        padding: 25px;
    }
    
    .price-row {
        font-size: 16px;
    }
    
    .price-row.total {
        font-size: 20px;
    }
    
    .checkout-btn {
        padding: 18px;
        font-size: 18px;
    }
    
    .footer {
        padding: 60px 0 30px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-section h3.footer-title {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .footer-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .footer-links a {
        font-size: 16px;
    }
    
    .contact-item {
        font-size: 16px;
        gap: 15px;
    }
    
    .contact-item i {
        font-size: 18px;
    }
    
    .footer-bottom p {
        font-size: 16px;
    }
    
    .footer-bottom-links a {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .cart-sidebar {
        width: 400px;
        right: -400px;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
}
