/* Color Variables */
:root {
    --pure-white: #FFFFFF;
    --off-white: #FBF8F5;
    --champagne: #F6ECE5;
    --warm-beige: #EBDDD3;
    --nude-blush: #D6A89A;
    --gold: #A97164;
    --metallic-gold: #D4AF37;
    --dark-gold: #6F473C;
    --charcoal: #4A2E24;
    --footer-charcoal: #211917;
    --jet-black: #2E1C16;
    --soft-shadow: rgba(74, 46, 36, 0.10);
    --hairline: rgba(74, 46, 36, 0.10);
    --accent-wash: rgba(169, 113, 100, 0.10);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--jet-black);
    background-color: var(--off-white);
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--off-white);
    color: var(--charcoal);
    padding: 7px 0;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 2px solid var(--metallic-gold);
}

.top-bar-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.top-contact,
.top-socials {
    align-items: center;
    display: flex;
    gap: 14px;
}

.top-contact a,
.top-socials a {
    align-items: center;
    color: var(--charcoal);
    display: inline-flex;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-contact a {
    font-size: 0.82rem;
    font-weight: 600;
}

.top-socials a {
    font-size: 1rem;
    line-height: 1;
}

.top-contact a:hover,
.top-socials a:hover {
    color: var(--gold);
}

.top-bar .brand-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 10px;
    color: var(--gold);
    letter-spacing: 1px;
}

.top-bar .bible-verse {
    align-items: center;
    font-style: normal;
    font-size: 0.85rem;
    display: inline-flex;
    gap: 6px;
    color: var(--charcoal);
    max-width: none;
    margin: 0 auto;
}

.top-bar .bible-verse i {
    color: var(--metallic-gold);
}



/* Navbar Styles */
.navbar {
    background-color: var(--pure-white);
    box-shadow: 0 8px 24px rgba(74, 46, 36, 0.06);
    height: 108px;
}

.navbar-brand img {
    height: 92px;
    width: auto;
    padding: 0;
    border-radius: 0;
}

.navbar-nav .nav-link {
    color: var(--charcoal);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    margin: 0 8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--gold);
}

.navbar-nav .nav-link.active {
    color: var(--gold);
}

.navbar-icons {
    display: flex;
    align-items: center;
}

.navbar-icon {
    color: var(--charcoal);
    font-size: 1.3rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar-icon:hover {
    color: var(--gold);
}

.navbar-toggler {
    border-color: var(--gold);
    box-sizing: border-box;
    /* Ensure consistent box model */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(74, 46, 36, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Button Styles */
.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--pure-white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    /* Added z-index to ensure buttons appear above overlays */
}

.product-info .btn-primary {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    width: calc(100% - 50px);
}

.btn-primary:hover {
    background-color: var(--dark-gold);
    border-color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border-color: var(--gold);
    color: var(--charcoal);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--pure-white);
}

.btn-outline-gold {
    border-color: var(--gold);
    color: var(--charcoal);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--pure-white);
}

.nav-actions {
    align-items: center;
    gap: 8px;
}

.btn-icon-nav,
.btn-login-icon {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(169, 113, 100, 0.34);
    border-radius: 999px;
    color: var(--charcoal);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 12px;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-icon-nav:hover,
.btn-login-icon:hover {
    background: var(--accent-wash);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
}

.btn-login-icon {
    gap: 6px;
}

/* Hero Section */
.hero {
    background-color: var(--pure-white);
    position: relative;
    padding: 96px 0 72px;
    text-align: left;
    width: 100%;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 245, 0.92)),
        radial-gradient(circle at 82% 18%, rgba(169, 113, 100, 0.14), transparent 32%);
    z-index: 1;
    /* Added z-index to ensure overlay is below content */
}

@media (max-width: 767.98px) {
    .hero {
        background-position: center !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero {
        background-position: center !important;
    }
}

.hero h1,
.hero p,
.hero-kicker,
.hero-actions,
.hero-brand-panel,
.hero-video-panel {
    position: relative;
    text-shadow: none;
    z-index: 5;
    /* Added z-index to ensure text appears above overlay */
}

.hero h1 {
    font-weight: 700;
    font-size: clamp(2.6rem, 5vw, 5.4rem);
    margin-bottom: 20px;
    color: var(--charcoal);
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    max-width: 720px;
    line-height: 0.98;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--charcoal);
    max-width: 560px;
    line-height: 1.7;
}

.hero-kicker,
.section-kicker {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-brand-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    box-shadow: 0 24px 70px var(--soft-shadow);
    min-height: 390px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-logo {
    width: min(300px, 82%);
    height: auto;
    margin-bottom: 30px;
    border-radius: 10px;
}

.hero-panel-copy span {
    color: var(--gold);
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-panel-copy strong {
    color: var(--charcoal);
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.25;
    max-width: 360px;
}

.hero-note {
    background: var(--accent-wash);
    border-radius: 999px;
    color: var(--charcoal);
    font-size: 0.9rem;
    margin-top: 30px;
    padding: 10px 18px;
}

.hero-video-column {
    display: flex;
    justify-content: center;
}

.hero-video-panel {
    aspect-ratio: 9 / 16;
    background: var(--pure-white);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    box-shadow: 0 24px 70px var(--soft-shadow);
    margin: 0 auto;
    max-height: 640px;
    max-width: 390px;
    overflow: hidden;
    width: min(100%, 390px);
}

.hero-video-panel iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.brand-intro {
    background: var(--pure-white);
}

.intro-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: var(--hairline);
}

.intro-strip span {
    background: var(--pure-white);
    color: var(--charcoal);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 16px;
    text-align: center;
}

.section-intro {
    color: rgba(74, 46, 36, 0.76);
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background-color: var(--off-white);
}

.mission h2 {
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-transform: none;
    letter-spacing: 0;
}

.mission-card {
    background-color: var(--pure-white);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 14px 34px var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid var(--hairline);
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(74, 46, 36, 0.16);
}

.mission-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--charcoal);
    letter-spacing: 0;
    font-size: 1.6rem;
}

.mission-card p {
    color: var(--jet-black);
    line-height: 1.6;
}

/* Featured Products Section */
.featured-products {
    background-color: var(--pure-white);
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.featured-products .container {
    max-width: 1140px;
}

.featured-products h2 {
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

/* Products Grid - Keep Original Size, Just Center */
.featured-products .row.justify-content-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.featured-products .product-card-minimal {
    margin-left: auto;
    margin-right: auto;
    max-width: 330px;
}

.product-card {
    background-color: var(--pure-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(169, 113, 100, 0.36);
}

.product-image {
    height: 300px;
    /* Increased height for images */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--off-white);
    color: var(--charcoal);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    /* Reduced padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.product-info h3 {
    font-weight: 600;
    font-size: 1rem;
    /* Smaller font size */
    margin-bottom: 5px;
    /* Reduced margin */
    color: var(--charcoal);
    letter-spacing: 0.5px;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.product-description {
    display: none;
    /* Hide descriptions completely */
}

/* Minimal Product Card Styles */
.product-card-minimal {
    background-color: var(--pure-white);
    margin-bottom: 28px;
    transition: all 0.3s ease;
    padding: 0 2px;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background-color: var(--off-white);
    margin-bottom: 10px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image-container > a {
    display: block;
    height: 100%;
    width: 100%;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--gold);
}

.product-image-container:hover img {
    transform: scale(1.05);
}

.add-to-cart-cross {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background-color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
    /* Temporarily always visible for testing */
    transform: scale(1);
    /* Temporarily always full size for testing */
    box-shadow: 0 8px 18px rgba(74, 46, 36, 0.18);
    z-index: 10;
    /* Ensure it's above other elements */
}

.product-image-container:hover .add-to-cart-cross {
    opacity: 1;
    transform: scale(1);
}

.add-to-cart-cross:hover {
    transform: scale(1) rotate(90deg) !important;
    opacity: 1 !important;
}

.add-to-cart-cross.clicked {
    transform: rotate(180deg) scale(1.1);
    background-color: var(--gold);
}

.add-to-cart-cross.clicked i {
    color: var(--pure-white);
}

.add-to-cart-cross i {
    font-size: 16px;
    color: var(--charcoal);
    font-weight: bold;
}

.product-details {
    text-align: center;
    padding: 0 5px;
}

.product-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}

.product-details .product-price {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--off-white);
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}

.testimonials h2 {
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}

.testimonial-card {
    background-color: var(--pure-white);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--nude-blush);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Product Detail Page */
.product-detail-page {
    background: var(--off-white);
}

.product-detail-hero {
    background: linear-gradient(180deg, var(--pure-white) 0%, var(--off-white) 100%);
    padding: 56px 0 76px;
}

.product-detail-breadcrumb {
    align-items: center;
    color: var(--charcoal);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 8px;
    margin-bottom: 32px;
}

.product-detail-breadcrumb a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.product-detail-gallery {
    position: sticky;
    top: 132px;
}

.product-detail-main-image {
    aspect-ratio: 4 / 5;
    background: var(--pure-white);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    max-height: 720px;
    overflow: hidden;
}

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

.product-detail-thumbs {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    margin-top: 14px;
}

.product-detail-thumbs button {
    aspect-ratio: 1;
    background: var(--pure-white);
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
}

.product-detail-thumbs button.active,
.product-detail-thumbs button:hover {
    border-color: var(--gold);
}

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

.product-detail-summary {
    background: var(--pure-white);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 44px);
}

.product-detail-summary h1 {
    color: var(--charcoal);
    font-size: 3.6rem;
    line-height: 1.05;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.product-detail-rating {
    align-items: center;
    color: var(--gold);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
}

.product-detail-rating span {
    color: var(--jet-black);
    font-size: 0.92rem;
    margin-left: 8px;
}

.product-detail-price {
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.product-detail-lead {
    color: var(--charcoal);
    font-size: 1.08rem;
    line-height: 1.7;
}

.product-detail-description {
    border-top: 1px solid var(--hairline);
    color: var(--jet-black);
    line-height: 1.75;
    margin-top: 22px;
    padding-top: 22px;
}

.product-detail-hero-note {
    background: var(--off-white);
    border-left: 4px solid var(--gold);
    margin-top: 22px;
    padding: 18px 20px;
}

.product-detail-hero-note h2 {
    color: var(--charcoal);
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

.product-detail-hero-note p {
    color: var(--jet-black);
    line-height: 1.7;
    margin: 0;
}

.product-detail-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.product-detail-options div {
    background: var(--off-white);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: 14px 16px;
}

.product-detail-options span {
    color: var(--gold);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.product-detail-options p {
    margin: 0;
    overflow-wrap: anywhere;
}

.product-detail-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
}

.product-detail-actions .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 48px;
}

.product-detail-content-map {
    background: var(--pure-white);
    border-top: 1px solid var(--hairline);
    padding: 72px 0;
}

.product-detail-content-section {
    align-items: center;
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    margin-bottom: 64px;
}

.product-detail-content-section.is-reversed {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.product-detail-content-section.is-reversed .product-detail-content-media {
    order: 2;
}

.product-detail-content-media {
    aspect-ratio: 4 / 5;
    background: var(--off-white);
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-content-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-detail-content-copy {
    max-width: 560px;
}

.product-detail-content-copy h2,
.product-detail-care h2 {
    color: var(--charcoal);
    font-size: 2.6rem;
    line-height: 1.08;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.product-detail-content-copy p,
.product-detail-care p {
    color: var(--jet-black);
    font-size: 1.02rem;
    line-height: 1.8;
}

.product-detail-text-list {
    color: var(--jet-black);
    display: grid;
    gap: 10px;
    line-height: 1.65;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-detail-text-list li {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.product-detail-text-list li::before {
    background: var(--gold);
    border-radius: 999px;
    content: "";
    flex: 0 0 7px;
    height: 7px;
    margin-top: 10px;
    width: 7px;
}

.product-detail-care {
    border-bottom: 1px solid var(--hairline);
    border-top: 1px solid var(--hairline);
    margin: 8px 0 52px;
    padding: 32px 0;
}

.product-detail-care h2,
.product-detail-care p {
    max-width: 760px;
}

.product-detail-more-products {
    background: var(--pure-white);
    border-top: 1px solid var(--hairline);
    padding: 72px 0 64px;
}

.product-card-minimal.is-current-product {
    opacity: 0.48;
}

.product-card-minimal.is-current-product .product-image-container {
    cursor: default;
}

.product-card-minimal.is-current-product .product-image-container img {
    filter: grayscale(0.85);
    transform: none;
}

.current-product-badge {
    background: rgba(42, 36, 34, 0.76);
    border-radius: 999px;
    color: var(--pure-white);
    font-size: 0.72rem;
    font-weight: 800;
    left: 10px;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    position: absolute;
    text-transform: uppercase;
    top: 10px;
    z-index: 2;
}

.product-detail-reviews {
    background: var(--off-white);
    border-top: 1px solid var(--hairline);
    padding: 72px 0;
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 60px;
    color: var(--gold);
    position: absolute;
    left: 0;
    top: -20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.6;
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    margin-top: 15px;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--charcoal);
}

.testimonial-author strong {
    color: var(--jet-black);
    font-weight: 700;
}

/* Footer Styles */
footer {
    background:
        linear-gradient(180deg, #241B19 0%, var(--footer-charcoal) 100%);
    color: var(--pure-white);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(169, 113, 100, 0.18);
}

.footer-logo {
    width: 154px;
    height: auto;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(246, 236, 229, 0.74);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

footer h4 {
    color: var(--pure-white);
    font-weight: 700;
    letter-spacing: 0;
}

footer p,
footer .text-white,
footer .text-light {
    color: rgba(255, 255, 255, 0.78) !important;
}

footer h5 {
    color: var(--champagne);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--nude-blush) !important;
}

footer a:hover {
    color: var(--nude-blush) !important;
}

.input-group .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

.input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group .btn {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--jet-black);
    font-weight: 600;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--nude-blush) !important;
}

.copyright {
    border-top: 1px solid rgba(246, 236, 229, 0.14);
    padding-top: 20px;
    margin-top: 40px;
}

.copyright p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* Distribute items with space between them */
        padding-right: 30px;
        /* Increased padding to the right */
    }

    .navbar .d-flex.d-lg-none .btn-icon-nav {
        height: 40px;
        /* Set explicit height */
        width: 40px;
        /* Set explicit width */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        /* Remove padding to allow fixed height/width to work */
        border-radius: 0.25rem;
        /* Match Bootstrap button border-radius */
        box-sizing: border-box;
        /* Ensure consistent box model */
        line-height: 1;
        /* Ensure consistent line-height */
        border: 1px solid var(--gold);
        /* Explicitly set border to match toggler */
    }

    .navbar .d-flex.d-lg-none .btn-icon-nav .bi-cart {
        font-size: 1.25rem;
        /* Match navbar-toggler-icon font-size */
    }

    .navbar-collapse {
        background-color: var(--off-white);
        padding: 15px;
        border: 1px solid rgba(185, 133, 120, 0.16);
        border-radius: 8px;
        box-shadow: 0 16px 32px rgba(74, 46, 36, 0.12);
    }

    .hero h1 {
        font-size: 2.5rem;
        white-space: normal;
    }

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

    .product-detail-hero {
        padding: 42px 0 58px;
    }

    .product-detail-breadcrumb {
        margin-bottom: 24px;
    }

    .product-detail-gallery {
        position: static;
        top: auto;
    }

    .product-detail-main-image {
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    .product-detail-summary {
        margin-top: 8px;
    }

    .product-detail-summary h1 {
        font-size: 3rem;
    }

    .product-detail-content-section,
    .product-detail-content-section.is-reversed {
        grid-template-columns: 1fr;
    }

    .product-detail-content-section.is-reversed .product-detail-content-media {
        order: 0;
    }

    .product-detail-content-copy {
        max-width: 720px;
    }

}

@media (max-width: 767.98px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
    }

    .top-contact {
        flex-wrap: wrap;
        gap: 8px 14px;
        justify-content: center;
    }

    .top-socials {
        gap: 16px;
    }

    .navbar {
        height: auto;
        padding: 15px 0;
    }

    .navbar-brand img {
        height: 68px;
    }

    .navbar .d-flex.d-lg-none .btn-icon-nav {
        padding: 0;
        margin-right: 5px;
    }

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

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

    .hero-video-panel {
        margin: 10px auto 0;
        max-height: none;
        max-width: 340px;
        width: min(100%, 340px);
    }

    .product-detail-hero {
        padding: 32px 0 44px;
    }

    .product-detail-hero .row {
        --bs-gutter-y: 1.75rem;
    }

    .product-detail-breadcrumb {
        font-size: 0.82rem;
        gap: 6px;
    }

    .product-detail-thumbs {
        gap: 8px;
        grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    }

    .product-detail-summary {
        padding: 22px;
    }

    .product-detail-summary h1 {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .product-detail-rating span {
        flex-basis: 100%;
        margin-left: 0;
    }

    .product-detail-price {
        font-size: 1.35rem;
    }

    .product-detail-lead,
    .product-detail-description,
    .product-detail-hero-note p,
    .product-detail-content-copy p,
    .product-detail-care p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .product-detail-options {
        grid-template-columns: 1fr;
    }

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

    .product-detail-actions .btn {
        width: 100%;
    }

    .product-detail-content-map {
        padding: 48px 0;
    }

    .product-detail-content-section {
        gap: 24px;
        margin-bottom: 44px;
    }

    .product-detail-content-media {
        aspect-ratio: 1 / 1;
    }

    .product-detail-content-copy h2,
    .product-detail-care h2 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .product-detail-care {
        margin-bottom: 36px;
        padding: 26px 0;
    }

    .product-detail-reviews,
    .product-detail-more-products {
        padding: 52px 0;
    }

    .mission h2 {
        font-size: 1.8rem;
        white-space: normal;
        letter-spacing: 0.5px;
    }

    .mission-card,
    .product-card,
    .testimonial-card,
    .product-card-minimal {
        margin-bottom: 30px;
    }

    .featured-products .container {
        max-width: 720px;
    }

    .product-card-minimal {
        padding: 0 3px;
    }

    .product-name {
        font-size: 0.75rem;
    }

    .add-to-cart-cross {
        width: 35px;
        height: 35px;
        bottom: 8px;
        right: 8px;
    }

    .add-to-cart-cross i {
        font-size: 16px;
    }

    footer {
        text-align: center;
    }

    .footer-newsletter,
    .footer-social {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.75rem;
        white-space: normal;
        padding: 0 10px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .col-md-10.mx-auto {
        padding: 0 5px;
    }

    .top-bar {
        padding: 10px 0;
    }

    .top-bar .brand-name {
        display: block;
        margin-bottom: 5px;
    }

    .top-bar .bible-verse {
        display: block;
        max-width: 100%;
        margin: 0 auto 5px;
        font-size: 0.8rem;
    }



    .mission h2 {
        font-size: 1.5rem;
        white-space: normal;
        padding: 0 10px;
        letter-spacing: 0.5px;
    }

    .featured-products .container {
        max-width: 540px;
    }

    .product-detail-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-detail-main-image,
    .product-detail-content-media {
        border-radius: 6px;
    }

    .product-detail-summary {
        padding: 18px;
    }

    .product-detail-summary h1 {
        font-size: 1.9rem;
    }

    .product-detail-hero-note {
        padding: 16px;
    }

    .product-detail-more-products .row {
        --bs-gutter-x: 0.75rem;
    }

    .product-card-minimal {
        padding: 0 2px;
    }

    /* Make products 2 per row on very small screens */
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-name {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    .product-details .product-price {
        font-size: 0.85rem;
    }

    .add-to-cart-cross {
        width: 30px;
        height: 30px;
        bottom: 6px;
        right: 6px;
    }

    .add-to-cart-cross i {
        font-size: 14px;
    }
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gold);
    color: var(--pure-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

.btn-outline-light {
    position: relative;
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--pure-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--charcoal);
    color: var(--pure-white);
}

.cart-header h5 {
    margin: 0;
    font-weight: 600;
}

.cart-header .btn-close {
    filter: invert(1);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--off-white);
}

.cart-total {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--charcoal);
}

.cart-item-options {
    font-size: 0.8rem;
    color: var(--jet-black);
    margin-bottom: 5px;
}

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

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

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: var(--pure-white);
    color: var(--jet-black);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-quantity button:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--pure-white);
}

.cart-item-quantity input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-left: none;
    border-right: none;
    margin: 0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--jet-black);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #dc3545;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Product Modal Enhancements */
.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--charcoal);
    color: var(--pure-white);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
}

/* Product Image Gallery in Modal */
.product-image-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Image Navigation Buttons */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 18px;
}

.image-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.image-nav-prev {
    left: 10px;
}

.image-nav-next {
    right: 10px;
}

/* Image Counter */
.image-counter {
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

#productImageThumbnails img {
    border-radius: 6px;
}

#productImageThumbnails img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--gold) !important;
}

/* Responsive Cart Sidebar */
@media (max-width: 767.98px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }

    /* Modal adjustments for mobile */
    .modal-body {
        padding: 20px;
    }

    #modalProductImage {
        height: 250px !important;
    }

    #productImageThumbnails img {
        aspect-ratio: 1 !important;
    }

    /* Mobile image navigation adjustments */
    .image-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .image-nav-prev {
        left: 5px;
    }

    .image-nav-next {
        right: 5px;
    }

    .image-counter {
        bottom: 5px;
        right: 5px;
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* Legal Pages Styles */
.legal-content {
    line-height: 1.7;
    color: #333;
}

.legal-content h2 {
    color: var(--charcoal);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.legal-content h4 {
    color: var(--charcoal);
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content section {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-content a {
    color: var(--dark-gold);
    text-decoration: none;
}

.legal-content a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--charcoal);
    font-weight: 600;
}
