﻿:root {
    --brand-navy: #00186b;
    --brand-navy-dark: #0f1d32;
    --brand-gold: #c5a880;
    --brand-gold-dark: #b09167;
    --brand-bg: #fcfbf9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2b2b2b;
    background-color: #ffffff;
}

/* Palette Overrides */
.bg-navy {
    background-color: var(--brand-navy) !important;
}

.text-navy {
    color: var(--brand-navy) !important;
}

.bg-gold {
    background-color: var(--brand-gold) !important;
}

.text-gold {
    color: var(--brand-gold) !important;
}

.top-announcement-bar {
    background-color: var(--brand-navy-dark);
}

.text-light-muted {
    color: #b8c1cc !important;
}


.hero-wrapper {
    background-image: linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.65)), url('/assets/images/davey-down-header.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Custom Buttons */
.btn-navy {
    background-color: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
}

    .btn-navy:hover {
        background-color: var(--brand-navy-dark);
        color: #ffffff;
    }

.btn-outline-navy {
    color: var(--brand-navy);
    border-color: var(--brand-navy);
}

    .btn-outline-navy:hover {
        background-color: var(--brand-navy);
        color: #ffffff;
    }

.btn-gold {
    background-color: var(--brand-gold);
    color: #ffffff;
    border-color: var(--brand-gold);
}

    .btn-gold:hover {
        background-color: var(--brand-gold-dark);
        color: #ffffff;
    }

/* Brand Assets */
.brand-logo {
    max-height: 55px;
    width: auto;
}

.footer-logo {
    max-height: 45px;
    width: auto;
}

.footer-link {
    color: #c9d2de;
    text-decoration: none;
}

    .footer-link:hover {
        color: var(--brand-gold);
    }

/* Product Card Polish */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
    }

    .product-card img {
        max-height: 220px;
        object-fit: contain;
    }

/* Mobile Polish */
@media (max-width: 575.98px) {
    .product-card .card-body {
        padding: 0.75rem;
    }

    .product-card img {
        max-height: 150px;
    }
}
/* Add to custom-theme.css */
.product-card .card-img-top,
.image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f8f9fa; /* Light grey placeholder while loading */
    display: block;
}

.img-thumbnail {
    background-color: #f8f9fa;
    min-width: 50px;
    min-height: 50px;
}

/* Fix ASP.NET CheckBox label stacking */
.sidebar ~ main input[type="checkbox"] + label,
.d-flex input[type="checkbox"] + label,
.form-check-input + label {
    display: inline-block;
    margin-left: 0.4rem;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: middle;
}

.sidebar ~ main input[type="checkbox"] {
    cursor: pointer;
    vertical-align: middle;
    width: 1.1rem;
    height: 1.1rem;
}