/*
 * -------------------------------------------------------------------------
 * Filename: assets/css/styles.css
 * Details: Custom styling for transitions, mega menu, and product gallery
 * -------------------------------------------------------------------------
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0170B9;
    --primary-hover: #015a95;
    --brand-dark: #024262;
    --accent-color: #198754;
    --text-color: #2d3748;
    --heading-color: #1f2d3d;
    --surface-bg: #f8fafc;
    --radius-md: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--surface-bg);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--heading-color);
}

/* Add subtle shadows to cards for depth */
.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.navbar-brand img {
    width: auto;       /* Maintains aspect ratio */
    object-fit: contain; /* Prevents squishing */
    max-height: 50px;  /* Safety limit */
}
/* --- Mega Menu --- */
.navbar .dropdown-menu.mega-menu {
    width: 100%;
    border: none;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 30px 0;
    margin-top: 0;
}
.mega-menu h6 {
    color: var(--primary-color);
    letter-spacing: 0.5px;
}
.mega-menu a {
    color: #555;
    display: block;
    padding: 5px 0;
    transition: color 0.2s;
}
.mega-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Slide effect */
}
/* Brand Menu Hover Effects */
.mega-menu a:hover img {
    filter: grayscale(0%) !important; /* Restore color on hover */
    transform: scale(1.1); /* Slight zoom */
}
.hover-shadow {
    transition: all 0.2s;
}
.hover-shadow:hover {
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
/* --- Product Cards --- */
.card-product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}
.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.card-product .carousel-item img {
    height: 220px;
    object-fit: contain;
    object-position: center;
}
/* Hide carousel controls by default, show on hover */
.card-product .carousel-control-prev,
.card-product .carousel-control-next {
    opacity: 0;
    transition: opacity 0.2s;
}
.card-product:hover .carousel-control-prev,
.card-product:hover .carousel-control-next {
    opacity: 1;
}

/* --- Product Details Page --- */
.product-gallery-main {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.product-gallery-thumbs img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.product-gallery-thumbs img:hover, 
.product-gallery-thumbs img.active {
    border-color: var(--primary-color);
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.feature-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* Mobile Menu Tweaks */
@media (max-width: 991px) {
    /* Allow scrolling inside the dropdown if it's too tall */
    .navbar-collapse {
        max-height: 80vh; /* 80% of screen height */
        overflow-y: auto; /* Scrollable */
    }
    
    /* Remove the 'mega' width on mobile so it fits in the hamburger */
    .dropdown-menu.mega-menu {
        border-top: none;
        box-shadow: none;
        padding-left: 15px; /* Indent sub-items */
    }
    
    /* Hide the huge brand slider on very small phones if it's distracting */
    .brand-logo-item img {
        max-height: 50px; /* Smaller logos on mobile */
    }
}
/* Custom Pagination Styles */
.page-link {
    color: #333;
    border: none;
    margin: 0 5px;
    border-radius: 5px !important; /* Rounded squares */
    transition: all 0.2s;
}

.page-link:hover {
    color: #000;
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-item.active .page-link {
    background-color: #212529; /* Dark background */
    border-color: #212529;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-item.disabled .page-link {
    background-color: transparent;
    color: #ccc;
}
/* Star Rating Input */
.rate { float: left; height: 46px; padding: 0 10px; }
.rate:not(:checked) > input { position:absolute; top:-9999px; }
.rate:not(:checked) > label { float:right; width:1em; overflow:hidden; white-space:nowrap; cursor:pointer; font-size:30px; color:#ccc; }
.rate:not(:checked) > label:before { content: '★ '; }
.rate > input:checked ~ label { color: #ffc700; }
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label { color: #deb217; }
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label { color: #c59b08; }

/* Trending Category Hover Effect */
.cat-hover-card:hover {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.cat-hover-card:hover img {
    transform: scale(1.1); /* Zoom effect */
}

/* On mobile, make the circles slightly smaller */
@media (max-width: 768px) {
    .cat-hover-card div.rounded-circle {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Homepage visual utilities */
.hero-slide-image {
    height: clamp(420px, 54vw, 640px);
    object-fit: cover;
}

.hero-caption {
    background: rgba(2, 66, 98, 0.58);
    backdrop-filter: blur(2px);
}

.hero-title {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-thumb-wrap {
    width: 100px;
    height: 100px;
    border: 3px solid #f8f9fa;
}

.category-thumb-img {
    object-fit: cover;
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .hero-slide-image {
        height: 320px;
    }

    .hero-caption {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 0.85rem !important;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Shared storefront page utilities */
.product-main-image {
    max-height: 500px;
    object-fit: contain;
}

.product-thumb-image {
    object-fit: cover;
    cursor: pointer;
}

.related-product-image {
    height: 180px;
    object-fit: cover;
}

.category-hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--category-banner-image);
    background-size: cover;
    background-position: center;
}

.category-hero-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.category-breadcrumb-link {
    color: #ddd !important;
}

.category-breadcrumb-active {
    color: #fff !important;
}

.category-sub-image {
    object-fit: cover;
}

.product-grid-image {
    height: 200px;
    object-fit: cover;
}

.carousel-nav-icon-sm {
    width: 20px;
    height: 20px;
}

.product-card-title-sm {
    font-size: 1rem;
}

.product-grid-image-sm {
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.product-grid-image-xs {
    height: 150px;
    object-fit: contain;
    object-position: center;
}

.compact-product-image {
    height: 90px;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.toast-container-custom {
    z-index: 1080;
}

.toast-success {
    border-left: 4px solid var(--accent-color);
}

.toast-info {
    border-left: 4px solid var(--primary-color);
}

.brand-slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.brand-track {
    display: inline-block;
    animation: scrollBrands 40s linear infinite;
}

.brand-logo-item {
    display: inline-block;
    width: 150px;
    margin: 0 40px;
    vertical-align: middle;
    opacity: 0.6;
    transition: 0.3s;
}

.brand-logo-item:hover {
    opacity: 1;
}

.brand-logo-item img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-slider-container:hover .brand-track {
    animation-play-state: paused;
}

/* Premium homepage presentation layer */
.home-hero {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(10, 33, 59, 0.26);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(104deg, rgba(4, 22, 46, 0.5) 0%, rgba(4, 22, 46, 0.28) 50%, rgba(4, 22, 46, 0.08) 100%);
    pointer-events: none;
}

.hero-caption {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px !important;
}

.hero-caption-modern {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 2.8rem;
    width: min(980px, 86%);
    margin: 0;
    text-align: center;
    background: linear-gradient(120deg, rgba(8, 30, 54, 0.48) 0%, rgba(7, 39, 71, 0.28) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 16px 32px rgba(4, 17, 34, 0.24);
}

.hero-title-modern {
    font-size: clamp(2rem, 5vw, 4.2rem);
    letter-spacing: 0.01em;
    line-height: 1.04;
    max-width: 100%;
}

.hero-subtitle-modern {
    font-size: clamp(1rem, 1.85vw, 1.95rem) !important;
    color: rgba(255, 255, 255, 0.97);
    max-width: 100%;
}

.hero-control {
    width: 5.5%;
    opacity: 1;
}

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background-color: rgba(7, 34, 66, 0.44);
    background-size: 58%;
    border: 1px solid rgba(255, 255, 255, 0.56);
}

.hero-indicators {
    margin-bottom: 0.8rem;
    gap: 0.36rem;
}

.hero-indicators [data-bs-target] {
    width: 34px;
    height: 5px;
    border-radius: 999px;
    border: 0;
    opacity: 0.55;
}

.hero-indicators .active {
    opacity: 1;
    width: 48px;
}

.home-section {
    position: relative;
}

.home-section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.9) 100%);
    border: 1px solid rgba(2, 66, 98, 0.08);
    border-radius: 18px;
    padding: 1.15rem 1rem;
}

.section-head {
    border-bottom: 1px solid rgba(2, 66, 98, 0.12);
    padding-bottom: 0.65rem;
}

.section-kicker {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5d6f82;
    font-weight: 700;
}

.section-title-main {
    color: #17293a;
    letter-spacing: 0.01em;
}

.section-link-arrow {
    font-weight: 600;
}

.section-link-arrow i {
    transition: transform 0.2s ease;
}

.section-link-arrow:hover i {
    transform: translateX(3px);
}

.category-section-wrap {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-pill-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.category-pill-card:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 20px rgba(19, 42, 64, 0.08);
}

.home-product-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(2, 66, 98, 0.08) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(19, 42, 64, 0.13) !important;
}

/* Product Details Page */
.product-detail-shell .product-thumb-image {
    transition: all 0.2s ease;
    opacity: 0.75;
}

.product-detail-shell .product-thumb-image:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary-color) !important;
}

.product-info-section .swatch-input {
    display: none;
}

.product-info-section .swatch-label {
    cursor: pointer;
    transition: all 0.2s ease;
    border-width: 2px !important;
}

.product-info-section .swatch-input:checked + .swatch-label {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.product-actions .btn {
    transition: all 0.28s ease;
    border-radius: 10px;
}

.product-actions .btn-primary {
    box-shadow: 0 4px 12px rgba(1, 112, 185, 0.2);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 112, 185, 0.3);
}

.product-tabs-nav {
    border-bottom: 2px solid #e9ecef;
}

.product-tabs-nav .nav-link {
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    bottom: -2px;
}

.product-tabs-nav .nav-link.active {
    border-bottom-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.product-tabs-panel {
    min-height: 400px;
}

.rate {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rate input {
    display: none;
}

.rate label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
}

.rate input:checked ~ label,
.rate label:hover,
.rate label:hover ~ label {
    color: #ffc107;
}

.related-product-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-inline-card {
    border-radius: 12px;
    border: 1px solid rgba(2, 66, 98, 0.08) !important;
}

.home-product-card .card-body {
    padding: 0.85rem;
}

.home-product-card .card-title {
    margin-bottom: 0.45rem;
}

.home-product-card .btn {
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.product-card-title-sm {
    font-size: 0.96rem;
    line-height: 1.35;
    min-height: 2.55em;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trusted-reviews-section {
    position: relative;
}

.trusted-reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2, 66, 98, 0.24), transparent);
}

.review-card {
    border-color: rgba(2, 66, 98, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(2, 66, 98, 0.12) !important;
}

.review-thumb-wrap {
    display: inline-flex;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(2, 66, 98, 0.1);
    background: #fff;
}

.review-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.review-comment {
    min-height: 2.8em;
}

.review-carousel {
    padding: 0.25rem 2.8rem 2.6rem;
}

.review-carousel-inner {
    overflow: hidden;
}

.review-slide-wrap {
    max-width: 1120px;
}

.review-indicators {
    bottom: -0.55rem;
    margin-bottom: 0;
}

.review-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(2, 66, 98, 0.32);
}

.review-indicators .active {
    background-color: rgba(2, 66, 98, 0.86);
}

.review-control {
    width: 2.4rem;
    opacity: 0.82;
}

.review-control-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background-color: rgba(2, 66, 98, 0.82);
    background-size: 52% 52%;
}

.review-control:hover {
    opacity: 1;
}

.brand-logo-item {
    opacity: 0.72;
}

.brand-logo-item img {
    filter: grayscale(70%);
}

@media (max-width: 768px) {
    .home-hero {
        border-radius: 0;
    }

    .hero-caption-modern {
        left: 1rem;
        right: 1rem;
        transform: none;
        bottom: 1rem;
        width: auto;
        padding: 0.8rem !important;
        border-radius: 12px !important;
        text-align: left;
    }

    .hero-slide-image {
        height: clamp(340px, 66vw, 430px);
    }

    .hero-title-modern {
        font-size: clamp(1.45rem, 6.8vw, 2.2rem);
        line-height: 1.08;
    }

    .hero-subtitle-modern {
        font-size: clamp(0.9rem, 3.6vw, 1.12rem) !important;
    }

    .hero-control {
        width: 14%;
    }

    .hero-control .carousel-control-prev-icon,
    .hero-control .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }

    .home-section-soft {
        border-radius: 14px;
        padding: 0.9rem 0.7rem;
    }

    .section-kicker {
        font-size: 0.66rem;
    }

    .review-carousel {
        padding: 0.15rem 0.4rem 2.4rem;
    }

    .review-control {
        display: none;
    }

    .section-title-main {
        font-size: 1.2rem;
    }

    .home-product-card .card-body {
        padding: 0.72rem;
    }

    .product-card-title-sm {
        font-size: 0.88rem;
        min-height: 2.45em;
    }
}

.page-banner {
    background: linear-gradient(180deg, rgba(1, 112, 185, 0.08) 0%, rgba(1, 112, 185, 0.02) 100%);
    border-bottom: 1px solid rgba(2, 66, 98, 0.1);
}

.page-banner-title {
    color: #17293a;
    letter-spacing: 0.01em;
}

.page-banner-subtitle {
    color: #5a6a7a;
}

.surface-panel {
    background: #fff;
    border: 1px solid rgba(2, 66, 98, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(20, 42, 64, 0.07);
}

.product-detail-shell {
    background: linear-gradient(180deg, rgba(1, 112, 185, 0.04) 0%, rgba(1, 112, 185, 0) 100%);
    border-radius: 16px;
    padding: 1.1rem;
}

.basket-page-shell {
    max-width: 1180px;
}

.basket-table thead th {
    background: linear-gradient(180deg, #fafdff 0%, #f4f8fb 100%);
    color: #37536e;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(2, 66, 98, 0.08);
}

.basket-table tbody td,
.basket-table tfoot td {
    border-color: rgba(2, 66, 98, 0.08);
}

.basket-table-wrap {
    background: #fff;
}

.basket-actions-bar {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.75), rgba(248, 250, 252, 1));
}

.basket-thumb {
    object-fit: cover;
    background: #fff;
}

.basket-remove-btn {
    transition: transform 0.2s ease, color 0.2s ease;
}

.basket-remove-btn:hover {
    transform: scale(1.08);
}

.basket-note {
    border-left: 4px solid var(--primary-color) !important;
}

.checkout-shell {
    max-width: 1180px;
}

.checkout-form-panel .form-floating > label {
    color: #66768a;
}

.checkout-form-grid .form-control {
    border-color: rgba(2, 66, 98, 0.14);
}

.checkout-form-grid .form-control:focus {
    border-color: rgba(1, 112, 185, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(1, 112, 185, 0.14);
}

.checkout-summary-card {
    border: 1px solid rgba(2, 66, 98, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.checkout-summary-table td {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.payment-option-card {
    border: 1px solid rgba(2, 66, 98, 0.14);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.payment-option-card:hover {
    background-color: #f8fbff;
}

.payment-option-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(1, 112, 185, 0.08);
    box-shadow: 0 0 0 1px rgba(1, 112, 185, 0.35);
}

.payment-option-card .form-check-label {
    cursor: pointer;
}

.gateway-list {
    background: #f8fafc;
    border: 1px solid rgba(2, 66, 98, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.checkout-success-card {
    border-width: 1px;
}

.track-shell {
    max-width: 960px;
    min-height: 48vh;
}

.track-order-head {
    background: linear-gradient(180deg, rgba(1, 112, 185, 0.05), rgba(1, 112, 185, 0.01));
}

.track-progress {
    height: 1.5rem;
    background: #eaf1f7;
}

.track-progress .progress-bar {
    background: linear-gradient(90deg, #198754, #20a86b);
    font-weight: 600;
    font-size: 0.8rem;
}

.track-shipping-alert {
    background: #f0f9ff;
}

.track-items-table thead th {
    background: linear-gradient(180deg, #fafdff 0%, #f4f8fb 100%);
    color: #37536e;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(2, 66, 98, 0.08);
}

.track-items-table td,
.track-items-table th {
    border-color: rgba(2, 66, 98, 0.08);
}

.track-detail-card {
    border: 1px solid rgba(2, 66, 98, 0.08);
    border-radius: 10px;
    padding: 0.95rem;
    background: #fff;
}

.contact-shell {
    max-width: 1180px;
}

.contact-form-input {
    background: #f8fafc;
    border-color: rgba(2, 66, 98, 0.12);
}

.contact-form-input:focus {
    background: #fff;
    border-color: rgba(1, 112, 185, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(1, 112, 185, 0.14);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background-color: #eef2f7;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 8px;
}

.brands-shell {
    max-width: 1180px;
}

.brand-directory-card {
    border-radius: 12px;
    border: 1px solid rgba(2, 66, 98, 0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(19, 42, 64, 0.12) !important;
    border-color: rgba(1, 112, 185, 0.28) !important;
}

.brand-directory-logo-wrap {
    height: 84px;
}

.brand-directory-logo {
    max-height: 62px;
    max-width: 100%;
    object-fit: contain;
}

.policy-shell {
    max-width: 980px;
}

.policy-card {
    border-radius: 14px;
    overflow: hidden;
}

.policy-section-title {
    margin-top: 1.5rem;
}

.policy-section-title:first-of-type {
    margin-top: 0;
}

.policy-callout {
    border-left: 4px solid rgba(1, 112, 185, 0.55);
}

.policy-callout-subtle {
    background: rgba(220, 53, 69, 0.06);
    border: 1px solid rgba(220, 53, 69, 0.18);
}

.policy-table th,
.policy-table td {
    border-color: rgba(2, 66, 98, 0.1);
}

.policy-feature-card {
    border: 1px solid rgba(2, 66, 98, 0.1) !important;
    background: #f8fbff !important;
}

.product-tabs-nav .nav-link {
    color: #2f445a;
    font-weight: 600;
}

.product-tabs-nav .nav-link.active {
    color: var(--primary-color);
    border-color: rgba(1, 112, 185, 0.45) rgba(1, 112, 185, 0.45) #fff;
}

.product-tabs-panel {
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 24px rgba(20, 42, 64, 0.08);
}

@media (max-width: 768px) {
    .product-detail-shell {
        padding: 0.6rem;
        border-radius: 12px;
    }

    .checkout-form-panel {
        padding: 1rem !important;
    }

    .track-shell {
        min-height: auto;
    }

    .contact-map-frame {
        height: 280px;
    }

    .policy-card .card-body {
        padding: 1rem !important;
    }
}