* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #ff6b6b, #c92a6b);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.track-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.3s;
}

.track-link:hover {
    background: rgba(255,255,255,0.3);
}

.cart-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

#cartCount {
    position: absolute;
    top: -10px;
    right: -15px;
    background: #ffd700;
    color: #333;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 80px;
    z-index: 99;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #c92a6b;
}

/* Filters */
.filters {
    margin: 30px 0;
}

.filters form {
    display: flex;
    gap: 10px;
}

.filters input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.filters input:focus {
    outline: none;
    border-color: #c92a6b;
}

.btn-search {
    padding: 12px 24px;
    background: #c92a6b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #a61e4d;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-image-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image-slider img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-size: 20px;
    color: #c92a6b;
    font-weight: bold;
    margin: 10px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

.btn-add-cart,
.btn-add-cart-large {
    background: #c92a6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-add-cart-large {
    width: auto;
    padding: 15px 30px;
    font-size: 18px;
}

.btn-add-cart:hover,
.btn-add-cart-large:hover {
    background: #a61e4d;
}

/* Product Details Page */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.product-gallery {
    position: sticky;
    top: 150px;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #c92a6b;
    transform: scale(1.05);
}

.price-section {
    margin: 20px 0;
}

.current-price {
    font-size: 32px;
    color: #c92a6b;
    font-weight: bold;
}

.original-price {
    font-size: 20px;
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.discount-percent {
    background: #ff4757;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 14px;
}

.product-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.product-meta p {
    margin: 5px 0;
}

.product-description {
    margin: 20px 0;
}

.product-description h3 {
    margin-bottom: 10px;
    color: #c92a6b;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    animation: slideDown 0.3s;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #c92a6b;
}

.btn-primary, .btn-secondary, .btn-danger {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #c92a6b;
    color: white;
}

.btn-primary:hover {
    background: #a61e4d;
    transform: scale(1.02);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Order Tracking Page */
.track-order-container {
    max-width: 800px;
    margin: 50px auto;
}

.track-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.order-details-track {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.track-status {
    margin: 30px 0;
}

.status-steps {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.status-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    background: white;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    transition: all 0.3s;
}

.step.completed .step-icon {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
}

.current-status {
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid;
    margin: 20px 0;
}

.order-info,
.order-items {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.track-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.track-total {
    text-align: right;
    margin-top: 15px;
    font-size: 18px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Cart Items */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-item-actions button {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.cart-item-actions button:hover {
    background: #f0f0f0;
}

.remove-btn {
    background: #dc3545 !important;
    color: white;
    border: none !important;
}

.remove-btn:hover {
    background: #c82333 !important;
}

.cart-total {
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    font-size: 18px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.notification.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnail-list {
        justify-content: center;
    }
    
    .status-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .status-steps::before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0;
    }
    
    .step-label {
        font-size: 14px;
    }
    
    nav {
        top: 70px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 12px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .filters form {
        flex-direction: column;
    }
    
    .btn-search {
        width: 100%;
    }
    
    .modal-content {
        margin: 20px auto;
        padding: 20px;
        width: 95%;
    }
}


/* Product Size & Color Selection Styles */
.product-size-select,
.product-color-select {
    margin: 10px 0;
}

.product-size-select label,
.product-color-select label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #666;
}

.size-select,
.color-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-add-cart {
    background: #c92a6b;
    color: white;
}

.btn-buy-now {
    background: #28a745;
    color: white;
}

.btn-buy-now:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Product Details Page Styles */
.selection-group {
    margin: 20px 0;
}

.selection-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option,
.color-option {
    padding: 8px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.size-option:hover,
.color-option:hover {
    border-color: #c92a6b;
    transform: translateY(-2px);
}

.size-option.active,
.color-option.active {
    background: #c92a6b;
    color: white;
    border-color: #c92a6b;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-selector button {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: #c92a6b;
    color: white;
    border-color: #c92a6b;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.product-buttons-details {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-add-cart-large,
.btn-buy-now-large {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-cart-large {
    background: #c92a6b;
    color: white;
}

.btn-buy-now-large {
    background: #28a745;
    color: white;
}

.btn-add-cart-large:hover,
.btn-buy-now-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Order Items in Admin */
.order-item-detail {
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.5;
}

.order-detail-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-buttons,
    .product-buttons-details {
        flex-direction: column;
    }
    
    .size-option,
    .color-option {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .order-item-detail {
        font-size: 11px;
    }
}

/* Add to existing style.css */

/* Product Details Page Enhancements */
.product-details-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-details-card {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Size and Color Button Animations */
.size-btn, .color-btn {
    position: relative;
    overflow: hidden;
}

.size-btn::after, .color-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.size-btn:active::after, .color-btn:active::after {
    width: 100px;
    height: 100px;
}

/* Quantity Input Styling */
.quantity-input {
    -moz-appearance: textfield;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart Item Enhancements */
.cart-item {
    animation: fadeIn 0.3s ease;
}

/* Notification Enhancements */
.notification {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Images */
.thumbnail {
    transition: transform 0.3s, box-shadow 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* Size and Color Button Active Styles */
.size-option-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.size-option-btn.selected {
    background: #c92a6b !important;
    color: white !important;
    border-color: #c92a6b !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(201, 42, 107, 0.3);
}

.color-option-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.color-option-btn.selected {
    background: #c92a6b !important;
    color: white !important;
    border-color: #c92a6b !important;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(201, 42, 107, 0.3);
}

.color-option-btn.selected .color-dot {
    border: 2px solid white;
    transform: scale(1.1);
}

/* Ripple Effect on Click */
.size-option-btn::after,
.color-option-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.size-option-btn:active::after,
.color-option-btn:active::after {
    width: 100px;
    height: 100px;
}

/* Error Border Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.size-options.error-border,
.color-options.error-border {
    animation: shake 0.3s ease;
    border: 2px solid #dc3545 !important;
}






