/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --primary-hover: #c2185b;
    --secondary-color: #81c784;
    --accent-color: #f8bbd9;
    --text-dark: #4a4a4a;
    --text-light: #7d7d7d;
    --bg-light: #fef5f8;
    --bg-white: #ffffff;
    --border-color: #f8bbd9;
    --success-color: #81c784;
    --error-color: #f48fb1;
    --pink-light: #fce4ec;
    --pink-medium: #f8bbd9;
    --pink-dark: #e91e63;
    --green-light: #e8f5e9;
    --green-medium: #a5d6a7;
    --green-dark: #81c784;
    --shadow-sm: 0 1px 2px rgba(233, 30, 99, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(233, 30, 99, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(233, 30, 99, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

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

.btn-full {
    width: 100%;
}

/* Delivery Banner */
.delivery-banner {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.delivery-banner-track {
    display: inline-flex;
    animation: delivery-scroll 20s linear infinite;
}

.delivery-banner-track span {
    display: inline-block;
    padding: 0 60px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.delivery-banner-track span::before {
    content: "🚚  ";
}

@keyframes delivery-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

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

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 8px 15px;
    position: relative;
}

/* Search dropdown */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 999;
    border: 1px solid var(--border-color);
}
.search-dropdown.open { display: block; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.15s;
}
.search-result-item:hover { background: var(--bg-light); }
.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.result-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.result-name {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-cat {
    font-size: 0.75rem;
    color: var(--text-light);
}
.result-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 200px;
    font-size: 0.9rem;
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.icon-btn:hover {
    background-color: var(--bg-light);
}

.icon-btn.active {
    color: var(--pink-dark);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 600;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 200;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--pink-light);
}

.mobile-menu-header .logo {
    font-size: 1.5rem;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--bg-light);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background-color: var(--pink-light);
    color: var(--pink-dark);
}

.mobile-menu-nav {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

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

.mobile-menu-nav li {
    margin-bottom: 5px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background-color: var(--pink-light);
    color: var(--pink-dark);
}

.mobile-menu-nav a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-footer .social-links {
    justify-content: center;
    margin-bottom: 15px;
}

.mobile-menu-footer .social-links a {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.mobile-menu-footer .social-links a:hover {
    background-color: var(--pink-dark);
    color: white;
}

.mobile-menu-footer p {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

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

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

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?w=1600&q=80') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 60px;
    border-radius: 16px;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.hero .btn-secondary:hover {
    background-color: var(--text-dark);
    color: white;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--pink-light) 0%, var(--bg-white) 100%);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.category-card {
    background-color: var(--bg-white);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--pink-medium);
}


.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    transition: var(--transition);
}

.category-card:hover h3 {
    color: var(--pink-dark);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header .section-title {
    margin-bottom: 0;
}

.product-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--green-light) 100%);
    color: var(--primary-color);
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background-color: var(--green-dark);
    color: white;
}

.badge-sale {
    background-color: var(--pink-dark);
    color: white;
}

.badge-bestseller {
    background-color: var(--green-medium);
    color: var(--text-dark);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.action-btn.active {
    background-color: var(--error-color);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 8px 0;
    color: var(--text-dark);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.stars {
    color: var(--pink-dark);
    display: inline-flex;
    gap: 2px;
}

.stars .star-filled {
    color: var(--pink-dark);
}

.stars .star-half {
    color: var(--pink-medium);
}

.stars .star-empty {
    color: #ddd;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.add-to-cart {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: var(--text-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.promo-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.promo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--green-light) 0%, var(--bg-white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    color: var(--pink-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section .logo {
    background: linear-gradient(135deg, var(--pink-medium) 0%, var(--green-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: white;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-map {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    transition: var(--transition);
    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 var(--border-color);
}

.cart-header h3 {
    font-size: 1.3rem;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.cart-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    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;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

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

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: var(--bg-light);
}

.remove-item {
    color: var(--error-color);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.cart-footer {
    flex-shrink: 0;
    padding: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

/* Favourites Sidebar */
.favourites-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.favourites-sidebar.open {
    right: 0;
}

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

.favourites-header h3 {
    font-size: 1.3rem;
}

.favourites-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
}

.empty-favourites {
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
}

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

.favourites-item-image {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.favourites-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.favourites-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.favourites-item-price {
    color: var(--pink-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.favourites-item-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.favourites-item-actions button {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--pink-primary) 0%, var(--green-primary) 100%);
    color: white;
    border: none;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
}

.remove-favourite-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.remove-favourite-btn:hover {
    border-color: var(--error-color);
    color: var(--error-color);
}

.favourites-footer {
    flex-shrink: 0;
    padding: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Burger menu on tablets and smaller */
    .nav {
        display: none;
    }

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

    .search-bar {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .product-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

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

    .promo-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

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

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Shop Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--green-light) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition);
}

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

/* Shop Section */
.shop-section {
    padding: 60px 0;
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
    transition: var(--transition);
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Sidebar */
.shop-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 200;
    padding: 0 25px 25px;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.shop-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--pink-light);
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 10;
}

.sidebar-header h3 {
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-sidebar {
    width: 36px;
    height: 36px;
    border: none;
    background-color: var(--pink-light);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-sidebar:hover {
    background-color: var(--pink-dark);
    color: white;
}

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

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

.filter-group {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pink-light);
}

.filter-list {
    list-style: none;
}

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

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.filter-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.filter-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-color: var(--pink-dark);
}

.filter-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.filter-checkbox:hover .checkmark {
    border-color: var(--pink-dark);
}

/* Price Range */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

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

.price-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--pink-light);
    border-radius: 3px;
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-radius: 50%;
    cursor: pointer;
}

.price-range-label {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.shop-sidebar .btn {
    margin-top: 10px;
}

.shop-sidebar .btn-secondary {
    margin-top: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.shop-sidebar .btn-secondary:hover {
    background: var(--bg-light);
}

/* Shop Main */
.shop-main {
    min-height: 600px;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.results-count {
    color: var(--text-light);
}

.results-count span {
    font-weight: 600;
    color: var(--text-dark);
}

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

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.sort-dropdown select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    background-color: var(--bg-white);
}

.sort-dropdown select:focus {
    outline: none;
    border-color: var(--pink-dark);
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-color: var(--pink-dark);
    color: white;
}

/* Products Grid for Shop Page */
.shop-main .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* List View */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

.products-grid.list-view .product-image {
    height: 200px;
}

.products-grid.list-view .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-grid.list-view .product-name {
    font-size: 1.2rem;
}

.products-grid.list-view .add-to-cart {
    width: fit-content;
    padding: 12px 30px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.page-btn:hover:not(:disabled),
.page-btn.active {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-color: var(--pink-dark);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
    .shop-main .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-toolbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
    }

    .products-grid.list-view .product-image {
        height: 250px;
    }

    .filter-toggle-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .shop-main .products-grid {
        grid-template-columns: 1fr;
    }

    .view-toggle {
        display: none;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ==================== PRODUCT DETAIL PAGE ==================== */

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: var(--bg-light);
    padding: 20px 0;
}

.breadcrumb-section .breadcrumb {
    justify-content: flex-start;
}

/* Product Detail Grid */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: stretch;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    padding-top: 71px;
}

.main-image {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    flex: 1;
    min-height: 300px;
    max-height: 700px;
}

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

.wishlist-btn-large {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: var(--text-light);
}

.wishlist-btn-large:hover {
    background-color: var(--pink-light);
    color: var(--pink-dark);
}

.wishlist-btn-large.active {
    background-color: var(--pink-dark);
    color: white;
}

.wishlist-btn-large.active svg {
    fill: white;
}

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

.thumbnail-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--pink-dark);
}

/* Product Info Detail */
.product-info-detail {
    padding: 20px 0;
}

.product-badge-large {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.product-badge-large.badge-new {
    background-color: var(--green-dark);
    color: white;
}

.product-badge-large.badge-sale {
    background-color: var(--pink-dark);
    color: white;
}

.product-badge-large.badge-bestseller {
    background-color: var(--green-medium);
    color: var(--text-dark);
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-category-detail {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Star Rating */
.product-rating-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.stars-interactive {
    display: flex;
    gap: 4px;
}

.stars-interactive .star {
    font-size: 1.5rem;
    color: #ddd;
    transition: var(--transition);
}

.stars-interactive .star.filled {
    color: var(--pink-dark);
}

.stars-interactive .star.half {
    background: linear-gradient(90deg, var(--pink-dark) 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.review-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Price Detail */
.product-price-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.current-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink-dark);
}

.original-price-large {
    font-size: 1.3rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background-color: var(--green-light);
    color: var(--green-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Description */
.product-description {
    margin-bottom: 30px;
}

.product-description p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Features */
.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-dark);
    font-weight: bold;
}

/* Actions */
.product-actions-detail {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

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

.qty-btn-large {
    width: 45px;
    height: 50px;
    border: none;
    background-color: var(--bg-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn-large:hover {
    background-color: var(--pink-light);
    color: var(--pink-dark);
}

.quantity-selector input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.quantity-selector input:focus {
    outline: none;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    flex: 1;
}

.btn-wishlist {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
}

.btn-wishlist.active {
    background-color: var(--pink-dark);
    color: white;
    border-color: var(--pink-dark);
}

/* Stock Info */
.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.stock-status.in-stock {
    color: var(--green-dark);
}

.stock-status.low-stock {
    color: #f59e0b;
}

.stock-status.out-of-stock {
    color: var(--error-color);
}

.stock-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Product Meta */
.product-meta {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.product-meta p {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-meta p:last-child {
    margin-bottom: 0;
}

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

/* Product Tabs */
.product-tabs {
    margin-bottom: 60px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--pink-dark);
}

.tab-btn.active {
    color: var(--pink-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-radius: 2px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 15px 20px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 200px;
    background-color: var(--bg-light);
}

.specs-table td:last-child {
    color: var(--text-dark);
}

/* Reviews */
.reviews-summary {
    margin-bottom: 40px;
}

.rating-breakdown {
    display: flex;
    gap: 60px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 16px;
}

.average-rating {
    text-align: center;
    min-width: 150px;
}

.big-rating {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stars-display {
    color: var(--pink-dark);
    font-size: 1.5rem;
    margin: 10px 0;
}

.rating-bars {
    flex: 1;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.rating-bar-row span:first-child {
    width: 60px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating-bar-row span:last-child {
    width: 40px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating-bar-row .bar {
    flex: 1;
    height: 10px;
    background-color: var(--bg-white);
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar-row .fill {
    height: 100%;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-radius: 5px;
}

.customer-reviews h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.review-card {
    padding: 25px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info strong {
    display: block;
    color: var(--text-dark);
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-rating {
    color: var(--pink-dark);
}

.review-text {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Shipping Info */
.shipping-info h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    margin-top: 25px;
}

.shipping-info h3:first-child {
    margin-top: 0;
}

.shipping-info ul {
    list-style: none;
}

.shipping-info li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

/* Related Products */
.related-products {
    margin-top: 60px;
}

.related-products .section-title {
    text-align: left;
    margin-bottom: 30px;
}

/* View Product Button for Cards */
.view-product-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    text-align: center;
}

.view-product-btn:hover {
    border-color: var(--pink-dark);
    color: var(--pink-dark);
    background-color: var(--pink-light);
}

/* Responsive Product Page */
@media (max-width: 1024px) {
    .product-detail-grid {
        gap: 40px;
    }

    .rating-breakdown {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .main-image img {
        height: 400px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .current-price-large {
        font-size: 1.6rem;
    }

    .product-actions-detail {
        flex-direction: column;
    }

    .quantity-selector {
        width: fit-content;
    }

    .btn-add-cart,
    .btn-wishlist {
        width: 100%;
        justify-content: center;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .specs-table td:first-child {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 30px 0;
    }

    .main-image img {
        height: 300px;
    }

    .thumbnail-images img {
        width: 70px;
        height: 70px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .stars-interactive .star {
        font-size: 1.2rem;
    }

    .big-rating {
        font-size: 3rem;
    }
}

/* ==================== CATEGORIES PAGE ==================== */

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

.categories-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card-large {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    display: block;
    text-decoration: none;
}

.category-card-large .category-image {
    width: 100%;
    height: 100%;
}

.category-card-large .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
    transition: var(--transition);
}

.category-card-large:hover .category-overlay {
    background: linear-gradient(to top, rgba(233, 30, 99, 0.9) 0%, rgba(129, 199, 132, 0.7) 100%);
}

.category-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.category-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.category-count {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Category Banner */
.category-banner {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.category-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.category-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.category-banner .btn-primary {
    background-color: white;
    color: var(--pink-dark);
}

.category-banner .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Category Products Page */
.category-products {
    padding: 60px 0;
}

.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.category-empty {
    text-align: center;
    padding: 80px 20px;
}

.category-empty h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-empty p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Other Categories Section */
.other-categories {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

/* Responsive Categories */
@media (max-width: 1024px) {
    .categories-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .categories-grid-large {
        grid-template-columns: 1fr;
    }

    .category-card-large {
        height: 280px;
    }

    .category-toolbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .category-banner h2 {
        font-size: 1.8rem;
    }

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

@media (max-width: 480px) {
    .category-card-large {
        height: 220px;
    }

    .category-overlay h2 {
        font-size: 1.4rem;
    }

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

/* ==================== DEALS PAGE ==================== */

/* Deals Hero */
.deals-hero {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.85) 0%, rgba(56, 142, 60, 0.85) 100%),
                url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=1600&q=80') center/cover no-repeat;
    padding: 120px 0;
    text-align: center;
    color: white;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.deals-hero-container {
    width: 100%;
}

.deals-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.deals-tag {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.deals-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.deals-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.deals-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Promo Code Banner */
.promo-code-banner {
    background-color: var(--bg-light);
    padding: 25px 0;
    border-bottom: 2px dashed var(--pink-medium);
}

.promo-code-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.promo-text {
    text-align: left;
}

.promo-text h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.promo-text p {
    color: var(--text-light);
    margin: 0;
}

.promo-text strong {
    color: var(--pink-dark);
    background-color: var(--pink-light);
    padding: 2px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
}

/* Deals Products Section */
.deals-products {
    padding: 60px 0;
}

.deals-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.deals-empty {
    text-align: center;
    padding: 80px 20px;
}

.deals-empty h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.deals-empty p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Deal Card Specific Styles */
.deal-card .savings-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--green-dark);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Deals Newsletter */
.deals-newsletter {
    background: linear-gradient(180deg, var(--pink-light) 0%, var(--bg-white) 100%);
    padding: 80px 0;
}

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

.deals-newsletter h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.deals-newsletter p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive Deals Page */
@media (max-width: 768px) {
    .deals-hero {
        min-height: 350px;
        padding: 80px 0;
    }

    .deals-hero h1 {
        font-size: 2rem;
    }

    .deals-hero p {
        font-size: 1.1rem;
    }

    .deals-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .promo-code-content {
        flex-direction: column;
        text-align: center;
    }

    .promo-text {
        text-align: center;
    }

    .deals-toolbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .deals-hero {
        min-height: 300px;
        padding: 60px 0;
    }

    .deals-hero h1 {
        font-size: 1.6rem;
    }
}

/* ==================== CONTACT PAGE ==================== */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.9) 0%, rgba(56, 142, 60, 0.9) 100%),
                url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600&q=80') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.contact-hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px var(--pink-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* Contact Info Card */
.contact-info-wrapper {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
}

.contact-info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.7;
}

.contact-info-list {
    margin-bottom: 35px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-details p {
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.contact-note {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.contact-social h4 {
    margin-bottom: 15px;
}

.contact-info-card .social-links a {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.contact-info-card .social-links a:hover {
    background-color: white;
    color: var(--pink-dark);
}

/* FAQ Section */
.contact-faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--pink-light);
}

.faq-question h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--pink-dark);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background-color: var(--pink-dark);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Map Section */
.contact-map {
    height: 400px;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e0e0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
}

.map-content {
    background-color: var(--bg-white);
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.map-content svg {
    color: var(--pink-dark);
    margin-bottom: 15px;
}

.map-content h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.map-content p {
    color: var(--text-light);
    margin: 0;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon svg {
    color: var(--green-dark);
}

.form-success h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive Contact Page */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 70px 0;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-form-wrapper {
        padding: 30px 25px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-card {
        padding: 30px 25px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }

    .map-content {
        padding: 30px 40px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-form-wrapper h2,
    .contact-info-card h2 {
        font-size: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        gap: 15px;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }
}

/* ==================== LOGIN PAGE ==================== */

.login-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--pink-light) 0%, var(--bg-white) 100%);
    min-height: calc(100vh - 200px);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.login-card {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px var(--pink-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.remember-me input[type="checkbox"] {
    display: none;
}

.remember-me .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.remember-me input:checked + .checkmark {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-color: var(--pink-dark);
}

.remember-me input:checked + .checkmark::after {
    content: '\2713';
    color: white;
    font-size: 12px;
}

.forgot-password {
    color: var(--pink-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--primary-hover);
}

.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.login-divider span {
    background-color: var(--bg-white);
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
}

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

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.social-btn:hover {
    border-color: var(--pink-dark);
    background-color: var(--pink-light);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    color: var(--text-light);
}

.login-footer a {
    color: var(--pink-dark);
    font-weight: 600;
    transition: var(--transition);
}

.login-footer a:hover {
    color: var(--primary-hover);
}

/* Login Benefits */
.login-benefits {
    padding: 40px;
}

.login-benefits h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--green-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--pink-dark);
}

.benefit-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Login Page */
@media (max-width: 900px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-benefits {
        order: -1;
        padding: 0 0 30px 0;
    }

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

    .benefits-list li {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .login-section {
        padding: 40px 0;
    }

    .login-card {
        padding: 30px 25px;
    }

    .login-header h1 {
        font-size: 1.6rem;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .social-login {
        flex-direction: column;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }
}

/* ==================== CHECKOUT PAGE ==================== */

/* Checkout Progress */
.checkout-progress {
    background-color: var(--bg-light);
    padding: 30px 0;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.progress-step.completed .step-number {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-color: var(--pink-dark);
    color: white;
}

.progress-step.active .step-number {
    border-color: var(--pink-dark);
    color: var(--pink-dark);
}

.progress-step span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.completed span,
.progress-step.active span {
    color: var(--text-dark);
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 15px;
    margin-bottom: 25px;
}

.progress-line.completed {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
}

/* Checkout Section */
.checkout-section {
    padding: 50px 0 80px;
}

.checkout-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Checkout Cards */
.checkout-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.checkout-card h2 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--pink-light);
}

.checkout-card .form-group {
    margin-bottom: 20px;
}

.checkout-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.checkout-card input,
.checkout-card select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.checkout-card input:focus,
.checkout-card select:focus {
    outline: none;
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px var(--pink-light);
}

.checkout-card select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.checkout-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.checkbox-label input {
    display: none;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    border-color: var(--pink-dark);
}

.checkbox-label input:checked + .checkmark::after {
    content: '\2713';
    color: white;
    font-size: 12px;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.shipping-option:hover {
    border-color: var(--pink-medium);
}

.shipping-option.selected,
.shipping-option:has(input:checked) {
    border-color: var(--pink-dark);
    background-color: var(--pink-light);
}

.shipping-option input {
    display: none;
}

.shipping-option .option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.shipping-option .option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shipping-option .option-name {
    font-weight: 600;
    color: var(--text-dark);
}

.shipping-option .option-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.shipping-option .option-price {
    font-weight: 700;
    color: var(--pink-dark);
}

/* Payment Options */
.payment-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--pink-medium);
}

.payment-option.selected,
.payment-option:has(input:checked) {
    border-color: var(--pink-dark);
    background-color: var(--pink-light);
}

.payment-option input {
    display: none;
}

.payment-option .option-label {
    font-weight: 600;
    color: var(--text-dark);
}

.card-icons {
    display: flex;
    gap: 8px;
}

.card-icon {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.card-icon.visa {
    background-color: #1a1f71;
    color: white;
}

.card-icon.mastercard {
    background-color: #eb001b;
    color: white;
}

.card-icon.amex {
    background-color: #006fcf;
    color: white;
}

.paypal-logo,
.klarna-logo,
.apple-pay-logo,
.google-pay-logo {
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

.paypal-logo {
    background-color: #003087;
    color: white;
    font-style: italic;
}

.klarna-logo {
    background-color: #ffb3c7;
    color: #0a0a0a;
}

.apple-pay-logo {
    background-color: #000;
    color: white;
}

.google-pay-logo {
    background-color: #fff;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.card-details {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
    margin-top: -2px;
    margin-bottom: 12px;
}

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

.card-details .form-group:last-child {
    margin-bottom: 0;
}

/* Order Summary */
.order-summary-wrapper {
    position: sticky;
    top: 88px;
}

.order-summary {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 108px);
    overflow: hidden;
}

.order-summary-header {
    padding: 30px 30px 0;
    flex-shrink: 0;
}

.order-summary h2 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--pink-light);
}

.summary-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 30px;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.summary-items::-webkit-scrollbar {
    width: 4px;
}

.summary-items::-webkit-scrollbar-track {
    background: transparent;
}

.summary-items::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}

.order-summary-footer {
    flex-shrink: 0;
    padding: 0 30px 30px;
}

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

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

.item-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.item-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--pink-dark) 0%, var(--green-dark) 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.item-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--green-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--pink-dark);
    font-size: 0.9rem;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.item-details p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.item-price {
    font-weight: 600;
    color: var(--text-dark);
}

/* Discount Code */
.discount-code {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.discount-code input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
}

.discount-code input:focus {
    outline: none;
    border-color: var(--pink-dark);
}

.discount-code .btn {
    padding: 12px 20px;
    white-space: nowrap;
}

/* Summary Totals */
.summary-totals {
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.summary-row.discount {
    color: var(--green-dark);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--border-color);
}

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

/* Secure Checkout */
.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.85rem;
}

.secure-checkout svg {
    color: var(--green-dark);
}

/* Mobile Place Order Button */
.place-order-btn-mobile {
    display: none;
    margin-top: 10px;
}

/* Responsive Checkout */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary-wrapper {
        position: static;
        order: -1;
    }

    .order-summary {
        max-height: none;
        overflow: visible;
    }

    .summary-items {
        overflow-y: visible;
        padding: 0 20px;
    }

    .order-summary-header {
        padding: 20px 20px 0;
    }

    .order-summary-footer {
        padding: 0 20px 20px;
    }

    .place-order-btn {
        display: none;
    }

    .place-order-btn-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 30px 0 60px;
    }

    .checkout-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .checkout-card {
        padding: 25px 20px;
    }

    .checkout-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .progress-steps {
        max-width: 100%;
    }

    .progress-step span {
        font-size: 0.75rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .shipping-option,
    .payment-option {
        padding: 15px;
    }

    .discount-code {
        flex-direction: column;
    }

    .discount-code .btn {
        width: 100%;
    }
}

/* ==================== MOBILE LANDSCAPE ==================== */

/* Hero fix for ALL landscape orientations (covers Z Fold inner screen & all phones) */
@media (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-content {
        padding: 30px 40px;
        max-width: min(600px, 90vw);
        width: 100%;
        box-sizing: border-box;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Compact layout for phones in landscape (height ≤ 500px) */
@media (orientation: landscape) and (max-height: 500px) {

    /* Header — slimmer */
    .header .container {
        padding: 6px 16px;
    }

    .logo {
        font-size: 1.4rem;
    }

    /* Hero — further compact for phone landscape */
    .hero {
        padding: 20px 16px;
    }

    .hero-content {
        padding: 20px 24px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }

    /* All major sections — reduce vertical padding */
    .categories,
    .featured-products,
    .testimonials,
    .newsletter,
    .promo-banner,
    .shop-section,
    .product-detail,
    .deals-section,
    .contact-section,
    .categories-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

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

    /* Page headers */
    .page-header {
        padding: 18px 0;
    }

    .page-header h1 {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    /* Deals hero */
    .deals-hero {
        padding: 28px 0;
        min-height: auto;
    }

    .deals-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .deals-hero p {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    /* Contact hero */
    .contact-hero {
        padding: 28px 0;
    }

    .contact-hero h1 {
        font-size: 1.5rem;
    }

    /* Contact page map */
    .contact-map {
        height: 200px;
    }

    /* Login */
    .login-section {
        min-height: auto;
        padding: 20px 0;
    }

    .login-wrapper {
        gap: 30px;
    }

    /* Promo */
    .promo-content h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .promo-content p {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    /* Newsletter */
    .newsletter-content h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .newsletter-content p {
        margin-bottom: 14px;
    }

    /* Shop page */
    .shop-main {
        min-height: auto;
    }

    /* Products grids — 3 columns (landscape gives more width) */
    .products-grid,
    .shop-main .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Category grid */
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Testimonials — 2 columns */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Product detail — tighten gap */
    .product-detail-grid {
        gap: 24px;
        margin-bottom: 30px;
    }

    /* Footer */
    .footer {
        padding-top: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding-bottom: 16px;
    }

    .footer-map {
        height: 130px;
        margin-bottom: 14px;
    }

    /* Mobile menu — scrollable and compact in landscape */
    .mobile-menu {
        overflow-y: auto;
    }

    .mobile-menu-header {
        padding: 8px 16px;
    }

    .mobile-menu-nav {
        padding: 6px 16px;
    }

    .mobile-menu-nav li {
        margin-bottom: 1px;
    }

    .mobile-menu-nav a {
        padding: 7px 10px;
        font-size: 0.88rem;
    }

    .mobile-menu-footer {
        padding: 8px 16px;
    }
}
