/* Base Styles */
:root {
    --primary-color: #5b595d;
    --secondary-color: #ffe2e2;
    --accent-color: #d4a5a5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --etsy-color: #f56400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.section-intro {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    color: var(--text-light);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(91, 89, 93, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    background-color: rgba(91, 89, 93, 1);
    padding: 0;
    display: inline-block;
}

.logo a {
    display: inline-block;
    background-color: rgba(91, 89, 93, 1);
}

.logo img {
    height: 60px;
    background: transparent;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    padding: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

.shop-link {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: var(--border-radius);
    background-color: var(--etsy-color);
    color: var(--text-light) !important;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
    gap: 8px;
}

.shop-link i {
    margin-right: 0.4rem;
}

.shop-link:hover {
    background-color: #e35c00;
    transform: translateY(-2px);
}

.shop-link::after {
    display: none !important;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #c0392b;
    /* A standard red color */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    display: none;
    /* Hidden by default */
}

/* Dropdown Menu Styles */
.dropdown-container {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(91, 89, 93, 0.95);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 5px 5px;
    z-index: 1001;
    /* Ensure it's above other elements */
}

.dropdown-container:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--text-light);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Ensure dropdown links don't have the underline effect */
.dropdown-menu li a::after {
    display: none;
}

.nav-menu li.language-picker {
    position: relative;
    margin-left: 0;
}

.language-picker-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    padding: 0;
}

.language-picker-btn i {
    margin-right: 5px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #424242;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 150px;
    display: none;
    z-index: 100;
}

.language-dropdown.active {
    display: block;
}

.language-picker.active .language-dropdown {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.language-option:hover,
.language-option.active {
    background-color: #8e8d8d;
}

.language-option img {
    width: 20px;
    height: auto;
}

.language-dropdown .language-option span {
    color: var(--text-dark) !important;
    font-family: 'Montserrat', sans-serif;
}

/* Mobile menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 45vh;
    padding: 2.5rem 0;
    background: linear-gradient(to bottom, rgba(91, 89, 93, 0.7), rgba(91, 89, 93, 0.9));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Product Sample Images below button */
.hero-product-samples {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.product-sample {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: transparent;
    /* Preserve transparency */
}

.product-sample:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Image Modal/Lightbox */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    /* Preserve transparency */
    background: transparent;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.image-modal-close:hover {
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Product Samples Modal */
.product-samples-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.product-samples-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-samples-content {
    max-width: 600px;
    width: 90vw;
    max-height: 90vh;
    aspect-ratio: 1 / 1;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem auto;
    position: relative;
    animation: zoomIn 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-samples-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.product-samples-gallery {
    margin-top: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Product Samples Carousel (Always visible) */
.product-samples-carousel {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    flex: 1;
    min-height: 0;
}

.product-samples-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-sample-slide {
    display: none;
    text-align: center;
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInSlide 0.5s ease;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-sample-slide.active {
    display: flex;
}

.product-sample-slide img {
    width: auto;
    max-width: 95%;
    max-height: calc(95% - 60px);
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    background: transparent;
    flex-shrink: 0;
}

.product-sample-slide p {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin: 0;
}

.product-samples-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    flex-shrink: 0;
}

.product-sample-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(91, 89, 93, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-sample-dot:hover {
    background-color: rgba(91, 89, 93, 0.5);
    transform: scale(1.2);
}

.product-sample-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-sample-item {
    text-align: center;
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-sample-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-sample-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    background: transparent;
}

.product-sample-item p {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin: 0;
}

.product-samples-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--primary-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10002;
}

.product-samples-modal-close:hover {
    color: var(--accent-color);
}

.hero-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    line-height: 1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Our Jewelry Section */
.our-jewelry {
    background-color: var(--text-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.our-jewelry h2,
.our-jewelry .section-intro {
    color: var(--primary-color);
}

.clickable-text .jewelry-link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.clickable-text .jewelry-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Jewelry Gallery Carousel */
.jewelry-gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

.jewelry-carousel-track {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.jewelry-carousel-slide {
    display: none;
    text-align: center;
    animation: fadeInSlide 0.5s ease;
}

.jewelry-carousel-slide.active {
    display: block;
}

.jewelry-gallery-link {
    display: block;
    width: 100%;
}

.jewelry-gallery-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: transparent;
    display: block;
    margin: 0 auto;
}

.jewelry-gallery-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.jewelry-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
}

.jewelry-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(91, 89, 93, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.jewelry-carousel-dot:hover {
    background-color: rgba(91, 89, 93, 0.5);
    transform: scale(1.2);
}

.jewelry-carousel-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Collections Section */
.collections {
    background-color: var(--secondary-color);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.collections h2,
.collections .section-intro {
    color: var(--primary-color);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item .item-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f9f9f9;
    aspect-ratio: 1 / 1;
    /* Modern CSS for a perfect square */
    border-radius: 8px;
    /* Slightly rounded corners for a softer look */
}

.item-image img,
.item-image.fading-images a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item-image img {
    object-fit: cover;
}

.item-image.fading-images img {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.item-image.fading-images img.active {
    opacity: 1;
}

.item-image.circular {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.item-image.circular img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.gallery-item:hover .item-image img {
    transform: scale(1.1);
}

.gallery-item:hover .item-image.circular img {
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-item h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.gallery-item h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.gallery-item h3 a:hover {
    color: var(--accent-color);
}

.gallery-item p {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
    color: var(--primary-color);
}

/* About Section */
.about {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-lg) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none;
}

.about-image img {
    background: transparent;
    display: block;
    width: 100%;
    height: auto;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.contact h2,
.contact .section-intro {
    color: var(--primary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: left;
}

.contact-info {
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.info-item i {
    font-size: 1.5rem;
    margin-right: var(--spacing-sm);
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

/* Hide social media icons for now */
.social-icons a[aria-label="Instagram"],
.social-icons a[aria-label="Facebook"],
.social-icons a[aria-label="Pinterest"] {
    display: none;
}

.contact-form {
    background-color: var(--text-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.honeypot {
    position: absolute;
    left: -5000px;
    visibility: hidden;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button:hover {
    background-color: var(--accent-color);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: var(--text-light);
    padding: var(--spacing-md) 0;
    border-top: 3px solid var(--accent-color);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    flex-grow: 2;
    gap: var(--spacing-md);
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    flex-grow: 1;
    min-width: 250px;
}

.footer-contact h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

#contact-email-placeholder a {
    color: var(--accent-color);
}

#contact-email-placeholder a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-columns {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-background-text {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0.5rem 0;
    }

    .logo img {
        height: 40px;
    }

    /* Legal pages mobile styles */
    .legal-page-background {
        padding: var(--spacing-md) 0;
    }

    .legal-page-background .container {
        padding: 1rem 0;
    }

    .legal-container {
        width: 95%;
        padding: 1.25rem;
    }

    .legal-container h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .legal-container h1+h2 {
        font-size: 1.1rem;
        margin-top: -0.25rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .legal-container .divider+h2,
    .legal-container h1+.divider+h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .legal-container h3 {
        font-size: 1.2rem;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h5 {
        font-size: 1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .legal-container p {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }

    .legal-container .divider {
        margin: 0.75rem 0 1rem;
    }

    .hamburger {
        display: block;
        margin-right: 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu li.language-picker {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        color: var(--text-light);
    }

    .language-picker-btn {
        color: var(--text-light);
        padding: 5px 10px;
        font-family: 'Montserrat', sans-serif;
    }

    .language-dropdown {
        position: static;
        width: 200px;
        margin: 0.5rem auto;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .language-option {
        color: var(--text-light);
        font-family: 'Montserrat', sans-serif;
    }

    .language-option:hover,
    .language-option.active {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-links ul {
        justify-content: center;
    }

    /* Adjust hero content for smaller screens */
    .hero {
        margin-top: 60px;
        min-height: 50vh;
        padding: 3rem 0;
    }

    .hero-content {
        padding-top: 1rem;
    }

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

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

    .hero-product-samples {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .product-sample {
        width: 150px;
        height: 150px;
    }

    .jewelry-gallery-carousel {
        max-width: 100%;
        padding: 0 1rem;
    }

    .jewelry-gallery-image {
        max-width: 100%;
    }

    .product-samples-modal.active {
        padding: 0.5rem;
    }

    .product-samples-content {
        padding: 1rem;
        margin: 0.5rem auto;
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        aspect-ratio: 3 / 4;
        min-height: 400px;
    }

    .product-samples-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-samples-gallery {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .product-samples-carousel {
        max-width: 100%;
        padding: 0;
    }

    .product-sample-slide {
        width: 100%;
        padding: 0.5rem;
    }

    .product-sample-slide img {
        max-width: calc(90vw - 4rem);
        max-height: calc(90vh - 350px);
        width: auto;
        height: auto;
    }

    .product-sample-slide p {
        margin-top: 1rem;
        padding: 0.5rem;
    }

    .hero-background-text {
        font-size: 4rem;
        white-space: normal;
        max-width: 90vw;
        word-wrap: break-word;
    }

    .image-modal-close {
        top: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

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

    .hero-background-text {
        font-size: 1.5rem;
        max-width: 95vw;
    }

    /* Legal pages small mobile styles */
    .legal-page-background {
        padding: 1rem 0;
    }

    .legal-page-background .container {
        padding: 0.75rem 0;
        width: 100%;
    }

    .legal-container {
        width: 98%;
        padding: 1rem;
    }

    .legal-container h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h1+h2 {
        font-size: 1rem;
        margin-top: -0.25rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h2 {
        font-size: 1.25rem;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .legal-container .divider+h2,
    .legal-container h1+.divider+h2 {
        font-size: 1.25rem;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h4 {
        font-size: 1rem;
        margin-top: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .legal-container h5 {
        font-size: 0.95rem;
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .legal-container p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .legal-container ul {
        font-size: 0.9rem;
        padding-left: 0.75rem;
    }

    .legal-container .divider {
        margin: 0.5rem 0 0.75rem;
        width: 50px;
        height: 2px;
    }

    .hero-product-samples {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .product-sample {
        width: 120px;
        height: 120px;
    }

    .jewelry-gallery-carousel {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .jewelry-gallery-image {
        max-width: 100%;
    }

    .jewelry-carousel-dots {
        gap: 0.5rem;
    }

    .jewelry-carousel-dot {
        width: 10px;
        height: 10px;
    }

    .shop-link {
        display: inline-flex;
        padding: 5px 10px;
        margin: 5px 0;
        width: auto;
        justify-content: center;
    }

    .product-samples-modal.active {
        padding: 0.25rem;
    }

    .product-samples-content {
        padding: 0.25rem;
        margin: 0.25rem auto;
        width: calc(100vw - 0.5rem);
        max-width: calc(100vw - 0.5rem);
        max-height: calc(100vh - 0.5rem);
        aspect-ratio: 2 / 3;
        min-height: 200px;
    }

    .product-samples-content h3 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .product-sample-slide {
        padding: 0.5rem;
    }

    .product-sample-slide img {
        max-width: calc(90vw - 3rem);
        max-height: calc(90vh - 300px);
        width: auto;
        height: auto;
    }

    .product-sample-slide p {
        font-size: 0.85rem;
        margin-top: 1rem;
        padding: 0.5rem;
    }

    .image-modal-close {
        top: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

/* -------------------------
   Motive Detail Page Styles 
   ------------------------- */

.motive-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    padding: 0 15px;
}

.motive-images {
    flex: 1 1 500px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.motive-images .main-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.motive-images .main-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    display: block;
}

.motive-images .thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.motive-images .thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.motive-images .thumbnails img.selected-thumbnail,
.motive-images .thumbnails img:hover {
    border-color: var(--accent-color);
}

.motive-info {
    flex: 1 1 400px;
}

.motive-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.variant-selector {
    margin-bottom: 20px;
}

.variant-selector .form-group {
    margin-bottom: 15px;
}

.variant-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.variant-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.motive-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.motive-stock {
    margin-bottom: 20px;
    font-style: italic;
}

.motive-stock.out-of-stock {
    color: var(--primary-color);
    font-weight: bold;
}

.purchase-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.purchase-controls input[type="number"] {
    width: 70px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

.purchase-controls .add-to-cart-btn {
    padding: 12px 25px;
}

.motive-description {
    flex-basis: 100%;
    margin-top: 30px;
}

/* New Styles for Radio Button Groups */
.option-group {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.option-group legend {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.1rem;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    display: none;
    /* Hide original radio button */
}

.radio-option label {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

.radio-option input[type="radio"]:checked+label {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.radio-option label:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.static-option-box {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background-color: #f9f9f9;
    color: #555;
    cursor: not-allowed;
    display: flex;
    flex-direction: column;
}

.material-box {
    cursor: default;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.material-set-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.material-set-container .static-option-box {
    margin-bottom: 0;
}

.static-option-box .material-label {
    font-weight: bold;
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.static-option-box .material-name {
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #444;
}

.static-option-box .material-description {
    font-size: 0.8em;
    line-height: 1.4;
    color: var(--text-dark);
    opacity: 0.85;
    margin-top: 0.4rem;
}

.static-option-box .material-description br {
    display: block;
    content: "";
    margin-top: 0.25em;
}

.material-group {
    transition: all 0.3s ease;
}

.material-group .material-legend {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s ease;
}

.material-group .material-legend:hover {
    color: var(--accent-color);
}

.material-group .material-toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #666;
}

.material-group.expanded .material-toggle-icon {
    transform: rotate(180deg);
}

.material-content {
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.purchase-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.discount-info {
    color: #28a745;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 10px;
    background-color: #e9f7eb;
    border-radius: 5px;
    border-left: 5px solid #28a745;
}

.motive-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.motive-images,
.motive-details {
    width: 100%;
}

.motive-layout .motive-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.add-to-cart-btn:hover:not(:disabled) {
    background-color: #a58a8a;
}

/* Styles for the individual collection page */
body.collection-page,
body.motive-page,
body.cart-page {
    background-color: var(--secondary-color);
}

#collection-name {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 10px;
}

#collection-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.1rem;
    color: var(--text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item-container {
    display: block;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin-bottom: var(--spacing-sm);
}

.gallery-item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item-title {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}

.gallery-item.circular {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    background-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.circular:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 226, 226, 0.7);
}

.image-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.image-carousel img.active {
    opacity: 1;
}

.gallery-container,
.gallery-grid {
    padding: var(--spacing-md) 0;
}

/* Collections Grid for Main Page */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.collection-gallery-item {
    display: block;
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.collection-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.collection-image-carousel {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.collection-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.collection-image-carousel img.active {
    opacity: 1;
}

.collection-gallery-info {
    padding: var(--spacing-sm);
    text-align: center;
}

.collection-gallery-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
}

.collection-gallery-info p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-item {
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item .item-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f9f9f9;
    aspect-ratio: 1 / 1;
    /* Modern CSS for a perfect square */
    border-radius: 8px;
    /* Slightly rounded corners for a softer look */
}

.item-image img,
.item-image.fading-images a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item-image img {
    object-fit: cover;
}

.item-image.fading-images img {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.item-image.fading-images img.active {
    opacity: 1;
}

.item-image.circular {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.item-image.circular img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.gallery-item:hover .item-image img {
    transform: scale(1.1);
}

.gallery-item:hover .item-image.circular img {
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-item h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.gallery-item h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.gallery-item h3 a:hover {
    color: var(--accent-color);
}

.gallery-item p {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
    color: var(--primary-color);
}

main.container {
    padding: 20px;
    margin-top: 80px;
    /* Adjust this value based on the actual height of your navbar */
}

/* Legal & Static Page Styles */
.legal-page-background {
    background-color: var(--secondary-color);
    padding: var(--spacing-lg) 0;
    min-height: 70vh;
}

.legal-container {
    background-color: var(--text-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-container h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Subtitle h2 (immediately after h1, before divider) */
.legal-container h1+h2 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    opacity: 0.8;
}

/* Section h2 (after divider or other content) */
.legal-container h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Reset subtitle style if h2 comes after divider */
.legal-container .divider+h2,
.legal-container h1+.divider+h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    opacity: 1;
}

.legal-container h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.legal-container h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.legal-container h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.legal-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-container ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.legal-container .divider {
    margin: 1rem 0 1.5rem;
}

.checkout-form .form-row {
    display: flex;
    gap: 1rem;
}

.checkout-form .form-group.half-width {
    flex: 1 1 calc(50% - 0.5rem);
}

/* Cart Notification Styles */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-weight: 500;
    font-size: 14px;
    max-width: 300px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-notification.error {
    background-color: #e74c3c;
}

.cart-notification.success {
    background-color: #27ae60;
}

.cart-notification::before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cart-notification.success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.cart-notification.error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
    .cart-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }

    .cart-notification.show {
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
    text-align: center;
}

.modal-content.success {
    border-top: 4px solid #27ae60;
}

.modal-content.error {
    border-top: 4px solid #e74c3c;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content.success .modal-icon {
    color: #27ae60;
}

.modal-content.error .modal-icon {
    color: #e74c3c;
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

.modal-close {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close:hover {
    background-color: #c08e8e;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Cart Item Links */
.cart-item-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}