/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #bdbdbd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --buy-now-color: #3f6183; /* Changed buy now button color */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.view-all {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.view-all:hover {
    color: var(--dark-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 28px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.navigation ul {
    display: flex;
    list-style: none;
}

.navigation li {
    margin: 0 15px;
}

.navigation a {
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 20px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
    font-size: 18px;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-color);
}

.search-input {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
    width: 200px;
    padding: 8px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.search-input.active {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
    pointer-events: all;
}

.wishlist-btn, .cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
    font-size: 18px;
    margin-left: 15px;
    position: relative;
    transition: var(--transition);
}

.wishlist-btn:hover, .cart-btn:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-navigation ul {
    list-style: none;
    padding: 20px;
}

.mobile-navigation li {
    margin-bottom: 15px;
}

.mobile-navigation a {
    font-weight: 500;
    font-size: 18px;
    transition: var(--transition);
}

.mobile-navigation a:hover {
    color: var(--primary-color);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    margin-top: auto;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--dark-color);
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.slide-content .btn {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.prev-slide, .next-slide {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover {
    color: var(--accent-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.product-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px;
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-actions {
    bottom: auto;
    opacity: 1;
}

.wishlist-btn {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.wishlist-btn:hover {
    color: var(--error-color);
}

.wishlist-btn.active {
    color: var(--error-color);
}

/* Skeleton Loading */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton-card {
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    height: 350px;
    background-color: var(--gray-medium);
}

.skeleton-text {
    width: 80%;
    height: 16px;
    margin: 10px 0;
    background-color: var(--gray-medium);
    border-radius: 4px;
}

.skeleton-text-sm {
    width: 50%;
    height: 14px;
}

@keyframes skeleton-loading {
    0% {
        background-color: var(--gray-light);
    }
    100% {
        background-color: var(--gray-medium);
    }
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.product-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2001;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    z-index: 2002;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    overflow-y: auto;
}

.product-images {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
    padding: 40px;
    border-left: 1px solid var(--gray-light);
}

.product-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.product-description {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.product-details-content {
    margin-bottom: 20px;
    white-space: pre-line;
    color: var(--secondary-color);
}

.color-selection, .size-selection, .quantity-selection {
    margin-bottom: 25px;
}

.color-selection h4, .size-selection h4, .quantity-selection h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.color-option::after {
    content: attr(data-color-name);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
}

.color-option:hover::after {
    opacity: 1;
}

.color-option.active {
    border-color: var(--dark-color);
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-option {
    min-width: 40px;
    padding: 5px 10px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.size-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.size-option.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-decrease, .quantity-increase {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-medium);
    background: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-decrease:hover, .quantity-increase:hover {
    background-color: var(--gray-light);
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    opacity: 1;
    position: static;
    padding: 0;
    justify-content: flex-start;
}

.product-modal .btn {
    flex: 1;
    min-width: 120px;
}

.product-modal .add-to-cart {
    background-color: var(--primary-color);
    color: white;
}

.product-modal .buy-now {
    background-color: var(--buy-now-color); /* Changed to new color */
    color: white;
}

.product-modal .whatsapp-btn {
    background-color: #144426;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    z-index: 2000;
    transition: var(--transition);
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-sidebar.active .cart-overlay {
    opacity: 1;
    pointer-events: all;
}

.cart-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 2002;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-items {
    display: none;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-item-color, .cart-item-size {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 25px;
    height: 25px;
    border: 1px solid var(--gray-medium);
    background: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-item-quantity button:hover {
    background-color: var(--gray-light);
}

.cart-item-quantity input {
    width: 40px;
    height: 25px;
    text-align: center;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
}

.cart-item-remove {
    margin-top: 5px;
}

.cart-item-remove button {
    background: none;
    border: none;
    color: var(--error-color);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-remove button:hover {
    text-decoration: underline;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.cart-empty p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
}

.cart-summary {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-light);
}

.checkout-btn {
    width: 100%;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
}

.checkout-modal.active {
    display: block;
}

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3001;
}

.checkout-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    z-index: 3002;
    display: flex;
    flex-direction: column;
}

.close-checkout {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.close-checkout:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.checkout-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    text-align: center;
}

.checkout-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.checkout-steps span {
    position: relative;
    color: var(--secondary-color);
    font-size: 14px;
}

.checkout-steps span.active {
    color: var(--primary-color);
    font-weight: 500;
}

.checkout-steps span.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.checkout-form {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-method input {
    display: none;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method input:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
}

.bank-details {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
}

.bank-details p {
    margin-bottom: 5px;
    font-size: 14px;
}

.order-summary {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.order-item-color, .order-item-size, .order-item-quantity {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.order-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.summary-totals {
    margin-top: 20px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-back, .btn-next, .btn-submit {
    min-width: 120px;
}

.btn-back {
    background-color: var(--gray-light);
    color: var(--dark-color);
}

.btn-back:hover {
    background-color: var(--gray-medium);
}

.btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Buy Now Modal */
.buynow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
}

.buynow-modal.active {
    display: block;
}

.buynow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3001;
}

.buynow-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    z-index: 3002;
    display: flex;
    flex-direction: column;
}

.close-buynow {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.close-buynow:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.buynow-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    text-align: center;
}

.buynow-header h3 {
    font-size: 24px;
}

.buynow-form {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.buynow-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.buynow-product {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.buynow-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.buynow-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buynow-product-details {
    flex: 1;
}

.buynow-product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.buynow-product-color, .buynow-product-size, .buynow-product-quantity {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.buynow-product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Order Confirmation Modal */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    display: none;
}

.confirmation-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 4001;
}

.confirmation-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    z-index: 4002;
    animation: fadeInUp 0.5s ease;
}

.confirmation-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.confirmation-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.confirmation-content p {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.home-btn {
    background-color: var(--gray-light);
    color: var(--dark-color);
}

.home-btn:hover {
    background-color: var(--gray-medium);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 5000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background-color: var(--success-color);
}

.toast.error {
    background-color: var(--error-color);
}

.toast.warning {
    background-color: var(--warning-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #183121;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #11312d;
    transform: scale(1.1);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition);
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-dark);
    transition: var(--transition);
    display: block;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--accent-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray-dark);
    font-size: 14px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-methods i {
    font-size: 24px;
    color: var(--gray-dark);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .product-images {
        padding: 20px;
    }
    
    .product-details {
        padding: 20px;
        border-left: none;
        border-top: 1px solid var(--gray-light);
    }
    
    .main-image {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navigation {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .header-icons {
        margin-left: auto;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content {
        left: 5%;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .cart-sidebar {
        max-width: 100%;
        height: 70vh;
        top: auto;
        bottom: -100%;
        right: 0;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .cart-sidebar.active {
        bottom: 0;
    }
    
    .cart-overlay {
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .product-modal .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .checkout-content, .buynow-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }

    .product-title {
        font-size: 16px; /* NAME AND PRICE */  
    }

    .product-price {
        font-size: 16px; /* PRODUCT NAME PRICE SIZE */
    }
    
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions, .confirmation-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-back, .btn-next, .btn-submit {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Product Modal Actions */
.product-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.product-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.product-actions .add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.product-actions .buy-now {
    background-color: var(--buy-now-color); /* Changed to new color */
    color: white;
    border: none;
}

.product-actions .whatsapp-btn {
    background-color: #143a22;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-actions .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Quantity Controls */
.quantity-selection {
    margin: 20px 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 16px;
    cursor: pointer;
}

.quantity-controls button:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
}

/* Color and Size Options */
.color-selection, .size-selection {
    margin: 20px 0;
}

.color-options, .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option.active {
    border-color: var(--dark-color);
}

.size-option {
    padding: 5px 10px;
    border: 1px solid #ddd;
    cursor: pointer;
    min-width: 30px;
    text-align: center;
}

.size-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}