/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Variables */
:root {
    --primary-color: #ff6b6b;
    --primary-light: #ffd1d1;
    --primary-lighter: #ffe4e4;
    --secondary-color: #ffb6c1;
    --accent-color: #ffd93d;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --light-bg: #fff5f5;
    --shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
    --transition: all 0.3s ease;
    --card-shadow: 0 5px 15px rgba(255, 182, 193, 0.2);
    --hover-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
}

/* Base Typography */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

main {
    flex: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb6c1 100%);
    padding: 100px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--white);
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-section .btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
    background: var(--primary-light);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Category Section */
.category-section {
    padding: 70px 0;
    background: linear-gradient(120deg, #ffe4e4 0%, #fff5f5 100%);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(255,182,193,0.10);
}

.category-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png');
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255,182,193,0.13), 0 1.5px 8px rgba(255,182,193,0.10);
    padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    min-height: 120px; /* consistent height across cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: box-shadow 0.22s, transform 0.22s, background 0.22s;
    cursor: pointer;
    overflow: hidden;
}

/* Diamond icon removed */

.category-card:hover {
    box-shadow: 0 8px 32px rgba(255,182,193,0.22), 0 2px 12px #ffd93d44;
    background: #fffbe9;
    transform: translateY(-6px) scale(1.04);
    z-index: 2;
}

/* Diamond icon hover effect removed */

.category-card h5 {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    min-height: 2.6em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: none;
    color: #ff6b6b;
    letter-spacing: 0.5px;
    padding-top: 1.2em;
    white-space: normal;
}

@media (max-width: 480px) {
    .category-card h5 {
        font-size: 1rem;
        min-height: 2.6em;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
}



/* Product Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    background: var(--white);
    border: 1px solid var(--primary-lighter);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    /* border-color: var(--primary-color); */
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Product Gallery */
.product-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #f8f9fa;
    cursor: pointer;
}

.product-gallery .main-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-gallery:hover .main-image {
    transform: scale(1.05);
}

/* Multiple Images Indicator */
.multiple-images-indicator {
    background: rgba(255, 182, 193, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 2;
}

.multiple-images-indicator i {
    font-size: 1rem;
    color: var(--white);
}

/* Zoom Indicator */
.zoom-indicator {
    background: rgba(255, 182, 193, 0.9);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.zoom-indicator i {
    color: var(--white);
    margin-right: 5px;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.gallery-nav button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-gallery:hover .gallery-nav button {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-nav button:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Image Gallery Modal */
.image-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.gallery-modal-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-modal-image {
    max-width: 100%;
    max-height: calc(95vh - 200px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-modal-image:hover {
    transform: scale(1.02);
}

/* Close Button */
.close-gallery-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.close-gallery-btn i {
    transition: transform 0.3s ease;
}

.close-gallery-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.close-gallery-btn:hover i {
    transform: rotate(90deg);
}

/* Navigation Buttons */
.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.gallery-modal-nav button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.gallery-modal-nav button i {
    transition: transform 0.3s ease;
}

.gallery-modal-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-modal-nav .prev-image:hover i {
    transform: translateX(-3px);
}

.gallery-modal-nav .next-image:hover i {
    transform: translateX(3px);
}

/* Thumbnails */
.gallery-modal-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    overflow-x: auto;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.gallery-modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-modal-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-modal-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.gallery-modal-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.gallery-modal-thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-modal-thumbnail.active {
    opacity: 1;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.gallery-modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .gallery-modal-main {
        padding: 1rem;
    }

    .gallery-modal-image {
        max-height: calc(100vh - 180px);
    }

    .close-gallery-btn {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .gallery-modal-nav {
        padding: 0 1rem;
    }

    .gallery-modal-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .gallery-modal-thumbnails {
        padding: 1rem;
        gap: 0.5rem;
    }

    .gallery-modal-thumbnail {
        width: 80px;
        height: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .price-tag {
        font-size: 1.1rem;
    }

    .multiple-images-indicator {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .close-gallery-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-modal-nav button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .gallery-modal-thumbnail {
        width: 60px;
        height: 60px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .price-tag {
        font-size: 1rem;
    }
}

/* Card Buttons */
.card .btn {
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ffd1d1);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.card .btn:hover::before {
    opacity: 1;
}

.card .btn-primary {
    background: #ff6b6b;
    border: none;
}

.card .btn-primary:hover {
    background: #ffb6c1;
    border-color: #ffb6c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.card .btn-outline-primary {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.card .btn-outline-primary:hover {
    color: var(--white);
    border-color: transparent;
}

/* Color Options */
.color-options {
    margin: 1rem 0;
    padding: 0.5rem 0;
}

.color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5rem;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid var(--primary-lighter);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.color-swatch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.color-swatch:hover {
    transform: scale(1.2);
    border-color: #ff6b6b;
}

.color-swatch:hover::after {
    opacity: 1;
}

/* Card Icons */
.card .icon-wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.card .icon-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
}

.card:hover .icon-btn {
    opacity: 1;
    transform: translateY(0);
}

.card .icon-btn:hover {
    background: #ff6b6b;
    color: var(--white);
    transform: scale(1.1);
}

.card .icon-btn i {
    font-size: 1rem;
    transition: var(--transition);
}

/* Card Badge */
.card .badge {
    /* position: absolute; */
    /* top: 1rem; */
    /* left: 1rem; */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    /* z-index: 2; */
    transition: var(--transition);
}

.card .badge-new {
    background: #ff6b6b;
    color: var(--white);
}

.card .badge-sale {
    background: #ff6b6b;
    color: var(--white);
}

/* Card Loading Animation */
@keyframes cardLoading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card.loading {
    position: relative;
    overflow: hidden;
}

.card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.2) 50%, 
        transparent 100%);
    animation: cardLoading 1.5s infinite;
}

/* Responsive Card Adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    .product-gallery {
        aspect-ratio: 4/3;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .price-tag {
        font-size: 1.1rem;
    }
    
    .card .icon-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: var(--primary-light);
    padding: 60px 0 30px;
    margin-top: 50px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffb6c1);
}

footer h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ff6b6b;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

footer ul li a:hover {
    color: #ffb6c1;
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-nav {
        display: none;
    }
    
    .category-card {
        margin-bottom: 20px;
    }
}

.color-swatch {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid var(--primary-lighter);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.color-swatch:hover {
    transform: scale(1.2);
    border-color: #ff6b6b;
}

.color-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    padding: 5px 0;
}

.color-options {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    margin: 1rem 0;
}

.color-options small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Product Detail Page Styles */
.product-gallery {
    position: relative;
}

.main-image-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.main-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.thumbnail-container {
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    border-color: #ff6b6b;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-description {
    color: #6c757d;
    line-height: 1.6;
}

.color-swatch {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: #ff6b6b;
    transform: scale(1.1);
}

.size-select {
    max-width: 200px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.size-select:hover {
    border-color: #adb5bd;
}

.size-select:focus {
    border-color: #ff6b6b;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.product-details ul li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.product-details ul li strong {
    color: #495057;
    margin-right: 0.5rem;
}

/* Product Main Image Styles */
.product-main-image {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.product-gallery {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-main-image {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .product-main-image {
        max-height: 500px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .product-main-image {
        max-height: 400px;
        padding: 10px;
    }
} 

/* Product View Buttons */
.product-details .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-details .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ffb6c1);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.product-details .btn-primary {
    background: #ff6b6b;
    border: none;
    color: var(--white);
    box-shadow: var(--shadow);
}

.product-details .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.product-details .btn-primary:hover::before {
    opacity: 1;
}

.product-details .btn-outline-primary {
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    background: transparent;
    transition: all 0.3s ease;
}

.product-details .btn-outline-primary:hover {
    color: var(--white) !important;
    border-color: #ff6b6b;
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.product-details .btn-outline-primary:hover::before {
    opacity: 0;
}

.product-details .btn i {
    transition: transform 0.3s ease;
}

.product-details .btn:hover i {
    transform: scale(1.1);
}

/* Quantity Input Styles */
.quantity-selector input[type="number"] {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    border: 1px solid var(--primary-lighter);
    background: var(--white);
    padding: 8px;
    width: 60px;
}

.quantity-selector input[type="number"]:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
    outline: none;
}

.quantity-selector .input-group {
    max-width: 150px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.quantity-selector .btn-outline-secondary {
    border-color: var(--primary-lighter);
    color: #ff6b6b;
    background: var(--white);
    padding: 8px 15px;
    transition: var(--transition);
}

.quantity-selector .btn-outline-secondary:hover {
    background: #ff6b6b;
    color: var(--white);
    border-color: #ff6b6b;
}

/* Remove spinner buttons from number input */
.quantity-selector input[type="number"]::-webkit-inner-spin-button,
.quantity-selector input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-selector input[type="number"] {
    -moz-appearance: textfield;
}

/* Color Swatch Active State */
.color-swatch.active {
    border: 2px solid #ff6b6b;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px #ff6b6b;
}

/* Error Message Styles */
.text-danger {
    color: #ff6b6b !important;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Required Field Indicator */
.text-danger.required-indicator {
    font-size: 1.2rem;
    line-height: 1;
    margin-left: 0.25rem;
} 

/* --- Custom Navbar Styles --- */
.navbar {
    background: linear-gradient(90deg, #ff6b6b 0%, #ffb6c1 100%);
    box-shadow: 0 4px 18px rgba(255, 107, 107, 0.10);
    border-radius: 0 0 18px 18px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    transition: var(--transition);
}

.navbar .navbar-brand img {
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.15);
    background: var(--white);
    padding: 6px 12px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 1.08rem;
    margin-right: 0.7rem;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
    border-radius: 8px;
    padding: 8px 18px !important;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    background: var(--primary-light);
    color: #ff6b6b !important;
}

.navbar .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(255, 182, 193, 0.18);
    border: none;
    margin-top: 0.7rem;
    animation: dropdownFadeIn 0.25s cubic-bezier(0.4,0,0.2,1);
    min-width: 210px;
    background: var(--white);
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
    color: #ff6b6b;
    font-weight: 500;
    border-radius: 8px;
    margin: 2px 0;
    transition: background 0.18s, color 0.18s;
}

.navbar .dropdown-item:hover, .navbar .dropdown-item:focus {
    background: var(--primary-light);
    color: #ff6b6b;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
}

/* Cart badge style */
#cart-count.badge {
    background: #ffd93d;
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 4px;
    box-shadow: 0 2px 6px rgba(255, 217, 61, 0.18);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .navbar {
        border-radius: 0 0 12px 12px;
    }
    .navbar-nav .nav-link {
        margin-right: 0;
        margin-bottom: 6px;
    }
    .navbar .dropdown-menu {
        min-width: 100%;
        box-shadow: 0 4px 18px rgba(255, 182, 193, 0.10);
    }
} 

/* --- Hero Section Redesign --- */
.hero-section {
    background: linear-gradient(120deg, #ff6b6b 0%, #ffb6c1 100%);
    min-height: 420px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg-overlay {
    background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png'), linear-gradient(120deg, rgba(255,182,193,0.18) 0%, rgba(255,217,61,0.10) 100%);
    opacity: 0.45;
    pointer-events: none;
}
.hero-glass-card {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    border-radius: 24px;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: var(--text-dark);
    text-align: center;
}
.hero-glass-card svg {
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(255,182,193,0.18));
}
.hero-glass-card .text-shadow {
    text-shadow: 0 2px 12px rgba(255,182,193,0.18), 0 1px 0 #fff;
    color: #ff6b6b;
}
.btn-hero-cta {
    background: linear-gradient(90deg, #ff6b6b 0%, #ffd93d 100%);
    color: var(--text-dark) !important;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(255,182,193,0.18);
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s, color 0.18s;
    text-shadow: 0 2px 8px rgba(255,255,255,0.18), 0 1px 0 #fff;
    opacity: 1 !important;
}
.btn-hero-cta span, .btn-hero-cta strong, .btn-hero-cta em {
    color: var(--text-dark) !important;
    text-shadow: 0 2px 8px rgba(255,255,255,0.18), 0 1px 0 #fff;
}
.btn-hero-cta:hover, .btn-hero-cta:focus {
    background: linear-gradient(90deg, #ffd93d 0%, #ff6b6b 100%);
    color: var(--white) !important;
    text-shadow: 0 2px 8px rgba(44,44,44,0.18), 0 1px 0 #b97b7b;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(255,182,193,0.22);
}
@media (max-width: 768px) {
    .hero-section {
        min-height: 320px;
        padding: 40px 0 20px 0;
    }
    .hero-glass-card {
        padding: 2rem 1.2rem;
    }
    .hero-glass-card h1 {
        font-size: 2.1rem;
    }
    .hero-glass-card .lead {
        font-size: 1.1rem;
    }
}

/* Image Selection Styles */
.image-selection-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.image-option {
    position: relative;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
    width: 60px;
    height: 60px;
    display: block;
    z-index: 1;
    background: #fff;
}

.image-option:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.image-option.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-lighter);
}

.image-option img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    pointer-events: none !important;
    border: none !important;
    padding: 0 !important;
}

.selection-number {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.selected-images {
    background: white;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #dee2e6;
}

.selected-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-image-item {
    position: relative;
    display: inline-block;
}

.order-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Responsive adjustments for image selection */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 6px;
    }
    
    .image-option {
        width: 50px;
        height: 50px;
    }
    
    .image-option img {
        height: 100%;
    }
    
    .selected-images-grid {
        justify-content: center;
    }
    
    .selection-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: 3px;
        right: 3px;
    }
} 