:root {
    --hockey-blue: #2EA354;
    --hockey-red: #15803D;
    --ice-blue: #ECFDF5;
    --amazon-orange: #FF9900;
    --amazon-dark: #E47911;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .font-display {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.02em;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.hero-gradient {
    background:
        linear-gradient(135deg, rgba(20, 83, 45, 0.82) 0%, rgba(15, 45, 30, 0.88) 100%),
        url('/images/hero-bg.webp?v=2') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(255, 255, 255, 0.04) 79px,
            rgba(255, 255, 255, 0.04) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(255, 255, 255, 0.04) 79px,
            rgba(255, 255, 255, 0.04) 80px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section {
    --nav-height: 5rem;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.25rem);
    padding-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.hero-section > .max-w-7xl {
    width: 100%;
}

.hero-products {
    gap: 0.625rem;
    width: 100%;
    max-width: 100%;
}

.hero-product-tile {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: #fff;
    overflow: hidden;
}

.hero-product-tile.product-image-wrap {
    background: #fff;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--hockey-blue) 0%, var(--hockey-red) 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(46, 163, 84, 0.35);
}

.btn-amazon {
    background: linear-gradient(135deg, var(--amazon-orange) 0%, var(--amazon-dark) 100%);
    color: #111;
    transition: all 0.3s ease;
}

.btn-amazon:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.35);
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.amazon-strip {
    background: linear-gradient(90deg, #232f3e 0%, #37475a 100%);
}

.product-card {
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    border-color: var(--hockey-blue);
}

.product-card-featured {
    border: 2px solid var(--hockey-blue);
}

.product-image-wrap {
    background: linear-gradient(180deg, var(--ice-blue) 0%, #ffffff 100%);
    overflow: hidden;
}

.product-image-wrap picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.product-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero-product-tile img {
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

.star-rating {
    color: #f59e0b;
}

.amazon-review-card {
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amazon-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.amazon-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111827;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 9999px;
    padding: 0.25rem 0.65rem;
}

.amazon-review-badge svg {
    color: var(--amazon-orange);
}

.amazon-ratings-grid .amazon-review-card {
    height: 100%;
}

.badge-prime {
    background: #067d62;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-image {
    background: linear-gradient(135deg, #14532D 0%, #166534 100%);
    overflow: hidden;
}

.blog-card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.95;
    transition: transform 0.4s ease;
}

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

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-amazon-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-amazon-bar.visible {
    transform: translateY(0);
}

.product-hero-image {
    background: linear-gradient(180deg, var(--ice-blue) 0%, #ffffff 60%);
    box-shadow: 0 4px 24px rgba(46, 163, 84, 0.08);
}

.cross-sell-card {
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.cross-sell-card:hover {
    border-color: var(--hockey-blue);
    background: var(--ice-blue);
}

.product-cta-block {
    background: linear-gradient(135deg, var(--ice-blue) 0%, #ffffff 100%);
    border: 2px solid var(--hockey-blue);
    border-radius: 1rem;
}

.gallery-thumb {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.25rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--hockey-blue);
    box-shadow: 0 0 0 1px var(--hockey-blue);
}

.gallery-thumb:focus-visible {
    outline: 2px solid var(--hockey-blue);
    outline-offset: 2px;
}

.nav-logo img {
    width: auto;
    height: 3.25rem;
    max-width: 3.25rem;
    object-fit: contain;
    border-radius: 0.5rem;
    background: transparent;
}

@media (min-width: 768px) {
    .sticky-amazon-bar {
        display: none;
    }
}

body.has-sticky-bar {
    padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
    body.has-sticky-bar {
        padding-bottom: 0;
    }
}
