/* ==========================================================================
   Hammer & Nail Trading - Frontend stylesheet
   Consolidated from inline <style> blocks that used to live in every view.
   ========================================================================== */

:root {
    /* Kleuren gebaseerd op het echte Hammer & Nail Trading-logo (indigo + baksteenrood) */
    --primary: #2E2A8F;
    --primary-dark: #241F72;
    --primary-darker: #16143f;
    --secondary: #8B3226;
    --secondary-dark: #6E2620;
    --on-dark: #FBF8F3;
    --danger: #D6483A;
    --danger-dark: #B23A2E;
    --success: #2E8B57;
    --success-dark: #276B45;

    --walnut: #6B4226;
    --walnut-dark: #4A2D1A;
    --paper: #FBF8F3;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 2px 8px rgba(23, 19, 71, 0.08);
    --shadow-md: 0 8px 25px rgba(23, 19, 71, 0.12);
    --shadow-lg: 0 15px 40px rgba(23, 19, 71, 0.18);
}

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

/* Voorkomt horizontaal scrollen op alle pagina's */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.wrap {
    flex: 1;
    position: relative;
    z-index: 1;
}

main .container {
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
}

main {
    padding: 2rem 0;
    min-height: calc(100vh - 160px);
    animation: fadeInUp 0.4s ease-out;
}

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

.breadcrumb {
    background: rgba(0, 0, 0, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* --------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------- */

.navbar {
    background: var(--primary-darker, #2E2A8F) !important;
    background: #2E2A8F !important;
    padding: 0.8rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.navbar-toggler {
    border: 2px solid white !important;
    background-color: transparent !important;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #2E2A8F;
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .navbar-nav {
        gap: 5px;
        padding: 0.5rem 0;
    }

    .nav-link {
        padding: 10px 15px !important;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.12);
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand img {
    height: 35px;
    margin-right: 8px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    box-shadow: inset 0 -2px 0 var(--secondary);
}

.logout-btn {
    background: none;
    border: none;
    color: white !important;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.logout-btn:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */

footer {
    background: linear-gradient(120deg, #2E2A8F, #16143F) !important;
    color: white !important;
    padding: 40px 0 20px 0 !important;
    width: 100% !important;
    margin-top: auto !important;
    position: relative;
    z-index: 1;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

footer h5 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    display: inline-block;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

footer p,
footer li,
footer a,
footer address {
    color: white !important;
    font-size: 14px;
    line-height: 1.6;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
    text-decoration: underline;
}

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

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

footer ul li i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.social-link:hover i {
    color: white !important;
}

hr {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 25px 0 20px;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 0 15px 0 !important;
        text-align: center;
    }

    footer .row > div {
        margin-bottom: 30px;
    }

    footer .row > div:last-child {
        margin-bottom: 0;
    }

    main .container {
        padding: 0;
    }

    footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }

    footer ul li {
        text-align: center;
    }

    footer ul li i {
        margin-right: 8px;
    }

    .social-link {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .navbar-brand span {
        font-size: 0.9rem;
    }

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

    footer {
        padding: 25px 0 15px 0 !important;
    }

    footer h5 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    footer p, footer li, footer a {
        font-size: 12px;
    }
}

/* ==========================================================================
   Shared page components (hero banner, search bar, pagination, empty state)
   Used by: home, product index/category, promotion index, about, contact
   ========================================================================== */

.products-hero,
.category-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(139, 50, 38, 0.25), transparent 45%),
        linear-gradient(120deg, #2E2A8F, #16143F);
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-title,
.category-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-subtitle,
.category-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.category-hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.hero-divider {
    width: 70px;
    height: 3px;
    background: var(--secondary);
    margin: 1rem auto 0;
    border-radius: 3px;
}

.search-wrapper {
    max-width: 560px;
    margin: 0 auto 2rem;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.2rem 0.2rem 0.2rem 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    box-shadow: 0 8px 25px rgba(46, 42, 143, 0.2);
}

.input-icon {
    color: #2E2A8F;
}

.search-field {
    flex: 1;
    border: none;
    padding: 0.75rem 0.5rem;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
}

.search-field::placeholder {
    color: #adb5bd;
}

.reset-search {
    color: #adb5bd;
    padding: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.reset-search:hover {
    color: #D6483A;
}

.search-btn {
    background: #2E2A8F;
    border: none;
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-btn:hover {
    background: #241F72;
    color: white;
    transform: translateY(-2px);
}

.search-result-info {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 0.75rem 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #2E2A8F;
    border: 1px solid #e9ecef;
}

.search-result-info i {
    color: #2E2A8F;
    margin-right: 0.5rem;
}

.total-count {
    color: #6c757d;
    margin-left: 0.5rem;
}

.product-list {
    margin: 0 -0.75rem;
}

.empty-fallback {
    text-align: center;
    background: white;
    padding: 3rem 1rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.empty-fallback i {
    font-size: 3.5rem;
    color: #2E2A8F;
}

.empty-fallback h3 {
    font-size: 1.5rem;
    color: #2E2A8F;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.empty-fallback p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background: #2E2A8F;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary:hover {
    background: #241F72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 42, 143, 0.3);
}

.pagination-wrap {
    margin-top: 2rem;
}

.pagination {
    gap: 0.3rem;
}

.pagination .page-link {
    color: #2E2A8F;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    background: white;
}

.pagination .page-link:hover {
    background: #2E2A8F;
    color: white;
    border-color: #2E2A8F;
    transform: translateY(-2px);
}

.pagination .active .page-link {
    background: #2E2A8F;
    border-color: #2E2A8F;
    color: white;
}

.pagination .disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .search-input-group {
        flex-wrap: wrap;
        border-radius: 1.5rem;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .search-field {
        width: 100%;
        order: 1;
        padding: 0.5rem;
        text-align: center;
    }

    .input-icon {
        display: none;
    }

    .reset-search {
        order: 2;
    }

    .search-btn {
        width: 100%;
        order: 3;
        margin-top: 0;
    }

    .empty-fallback {
        padding: 2rem 1rem;
    }

    .empty-fallback h3 {
        font-size: 1.2rem;
    }

    .empty-fallback i {
        font-size: 2.5rem;
    }

    .hero-title, .category-hero-title {
        font-size: 1.8rem;
    }

    .category-hero {
        margin: 0 0.5rem 1.5rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .pagination .page-link {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }

    .btn-secondary {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .search-result-info {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .category-hero-subtitle {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Home page (site/index)
   ========================================================================== */

.hero-section {
    margin-bottom: 2rem;
}

.products-hero-small {
    background: linear-gradient(120deg, #2E2A8F, #16143F);
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    text-align: center;
}

.hero-title-small {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.hero-subtitle-small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-divider-small {
    width: 50px;
    height: 2px;
    background: var(--secondary);
    margin: 0.5rem auto 0;
}

.categories-section {
    margin-bottom: 3rem;
}

.category-card-link {
    text-decoration: none;
    display: block;
}

.category-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.category-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d8, #e0d5c5);
}

.image-placeholder i {
    font-size: 3rem;
    color: #2E2A8F;
}

.category-info {
    padding: 1.25rem;
    text-align: center;
}

.category-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2E2A8F;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.category-description {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.category-link {
    display: inline-block;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #2E2A8F;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.category-card:hover .category-link {
    background: var(--secondary);
    color: white;
}

.category-link i {
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link i {
    transform: translateX(5px);
}

.featured-products, .sale-products {
    margin-bottom: 3rem;
}

.product-mini-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.sale-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D6483A;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-mini-link {
    text-decoration: none;
    display: block;
}

.product-mini-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

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

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

.mini-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d8, #e0d5c5);
}

.mini-image-placeholder i {
    font-size: 3rem;
    color: #2E2A8F;
}

.product-mini-info {
    padding: 1rem;
    text-align: center;
}

.product-mini-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2E2A8F;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.mini-old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.mini-price {
    font-size: 1rem;
    font-weight: 700;
    color: #2E2A8F;
}

.sale-price-text {
    color: #D6483A;
}

.btn-view-all {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: #2E2A8F;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 50, 38, 0.3);
}

.btn-view-all i {
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .hero-title-small {
        font-size: 1.4rem;
    }

    .category-image, .product-mini-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .category-info {
        padding: 0.75rem;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .hero-title-small {
        font-size: 1.2rem;
    }

    .product-mini-info h4 {
        font-size: 0.8rem;
    }

    .mini-price {
        font-size: 0.9rem;
    }

    .btn-view-all {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   About page (site/about)
   ========================================================================== */

.specialisation-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.specialisation-card:hover {
    transform: translateY(-5px);
}

.specialisation-badge {
    display: inline-block;
    background: #2E2A8F;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.specialisation-badge i {
    margin-right: 0.5rem;
}

.specialisation-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2E2A8F;
    margin-bottom: 0.5rem;
}

.specialisation-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.specialisation-feature {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specialisation-feature:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(46, 42, 143, 0.15);
}

.specialisation-feature i {
    font-size: 2.5rem;
    color: #2E2A8F;
    margin-bottom: 1rem;
}

.specialisation-feature h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2E2A8F;
    margin-bottom: 0.5rem;
}

.specialisation-feature p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.intro-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.intro-badge {
    display: inline-block;
    background: #2E2A8F;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #2E2A8F;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.highlight-text {
    color: #2E2A8F;
    font-weight: 700;
}

.intro-features {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.intro-features span {
    background: #f8f9fa;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2E2A8F;
}

.intro-features span i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.intro-image {
    text-align: center;
    font-size: 8rem;
    color: #2E2A8F;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.section-header {
    margin-bottom: 2rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 600;
    background: rgba(46, 42, 143, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.section-title-main,
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
    color: #2E2A8F;
}

.why-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: #2E2A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.why-icon i {
    font-size: 1.8rem;
    color: white;
}

.why-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2E2A8F;
}

.why-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 0;
}

.mission-card, .vision-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.mission-icon, .vision-icon {
    width: 70px;
    height: 70px;
    background: #2E2A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.mission-icon i, .vision-icon i {
    font-size: 2rem;
    color: white;
}

.mission-title, .vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2E2A8F;
}

.mission-text, .vision-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
}

.value-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #2E2A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2E2A8F;
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
}

@media (max-width: 768px) {
    .specialisation-title,
    .intro-title,
    .section-title-main,
    .section-title {
        font-size: 1.5rem;
    }

    .intro-card, .specialisation-card {
        padding: 1.5rem;
    }

    .intro-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .intro-features span {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .intro-image {
        font-size: 5rem;
        margin-top: 1.5rem;
    }

    .mission-title, .vision-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Contact page (site/contact)
   ========================================================================== */

.contact-form-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-form-header i {
    font-size: 2rem;
    color: #2E2A8F;
    margin-bottom: 0.5rem;
}

.contact-form-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2E2A8F;
    margin-bottom: 0.3rem;
}

.contact-form-header p {
    color: #6c757d;
    font-size: 0.85rem;
}

.contact-form .mb-3 {
    margin-bottom: 1.2rem !important;
}

.contact-form label {
    font-weight: 600;
    color: #2E2A8F;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.contact-form label i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.contact-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: #2E2A8F;
    box-shadow: 0 0 0 0.2rem rgba(46, 42, 143, 0.25);
}

.contact-form .form-control-lg {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.captcha-image {
    flex-shrink: 0;
}

.captcha-image img {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    height: 45px;
}

.captcha-input {
    flex: 1;
    min-width: 200px;
}

.btn-submit {
    background: #2E2A8F;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit:hover {
    background: #241F72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 42, 143, 0.3);
    color: white;
}

.btn-submit i {
    margin-right: 0.5rem;
}

.contact-info-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-header {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-info-header i {
    font-size: 1.8rem;
    color: #2E2A8F;
    margin-bottom: 0.5rem;
}

.contact-info-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2E2A8F;
    margin-bottom: 0.3rem;
}

.contact-info-header p {
    color: #6c757d;
    font-size: 0.8rem;
}

.contact-details-list {
    margin-bottom: 1.2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: #2E2A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon i {
    font-size: 1rem;
    color: white;
}

.contact-detail-text {
    flex: 1;
}

.contact-detail-text strong {
    display: block;
    color: #2E2A8F;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail-text span {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.1rem;
}

.contact-social {
    text-align: center;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.contact-social h5 {
    font-size: 0.85rem;
    color: #2E2A8F;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #2E2A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: white;
}

.social-icon i {
    font-size: 1rem;
}

.contact-map {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-form-header h3,
    .contact-info-header h3 {
        font-size: 1.1rem;
    }

    .captcha-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-submit {
        width: 100%;
    }

    .contact-map {
        margin-bottom: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .contact-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-detail-text {
        text-align: center;
    }
}

/* ==========================================================================
   Product grid card (frontend/views/product/_product_item)
   ========================================================================== */

.product-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

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

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d8, #e0d5c5);
}

.product-image-placeholder i {
    font-size: 4rem;
    color: #2E2A8F;
}

.sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D6483A;
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stock-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stock-badge.low-stock {
    background: #f39c12;
    color: white;
}

.stock-badge.out-of-stock {
    background: #95a5a6;
    color: white;
}

.product-info {
    padding: 1.25rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-title a {
    color: #2E2A8F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--secondary);
}

.product-category {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.product-category i {
    margin-right: 4px;
    color: #2E2A8F;
}

.product-pricing {
    margin-bottom: 0.75rem;
}

.original-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.8rem;
    margin-right: 8px;
}

.regular-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2E2A8F;
}

.sale-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #D6483A;
}

.discount-badge {
    background: #D6483A;
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 8px;
}

.product-stock {
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.in-stock {
    color: #2E8B57;
}

.in-stock i, .out-of-stock-text i {
    margin-right: 4px;
}

.out-of-stock-text {
    color: #D6483A;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    flex: 1;
    display: inline-block;
    padding: 0.6rem 0.75rem;
    background: #2E2A8F;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

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

.btn-view:hover {
    background: #241F72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 42, 143, 0.3);
}

@media (max-width: 768px) {
    .product-image-wrapper {
        height: 180px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .regular-price, .sale-price {
        font-size: 1rem;
    }

    .btn-view {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-image-wrapper {
        height: 160px;
    }

    .sale-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    .stock-badge {
        bottom: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    .discount-badge {
        font-size: 0.6rem;
        padding: 1px 6px;
    }
}

/* ==========================================================================
   Product detail page (frontend/views/product/view) + image slider
   ========================================================================== */

.product-detail-hero {
    background: linear-gradient(120deg, #2E2A8F, #16143F);
    padding: 2rem 1rem;
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.detail-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.slider-main {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-slide {
    flex-shrink: 0;
    width: 100%;
}

.slider-slide .main-image-frame {
    text-align: center;
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1rem;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-image {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slider-image:hover {
    transform: scale(1.02);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(46, 42, 143, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1rem;
}

.slider-nav:hover {
    background: #2E2A8F;
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.slider-dot {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot .dot {
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-dot.active .dot {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.slider-dot:hover .dot {
    background: white;
}

.slider-autoplay-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider-autoplay-btn:hover {
    background: #2E2A8F;
    transform: scale(1.1);
}

.slider-autoplay-btn i {
    font-size: 0.9rem;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 75px;
    height: 75px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px #2E2A8F;
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.details-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.offer-banner {
    display: inline-block;
    background: #D6483A;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.product-meta span {
    font-size: 0.85rem;
    color: #6c757d;
}

.product-meta i {
    margin-right: 5px;
    color: #2E2A8F;
}

.product-price-wrapper {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.original-price-detail {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 1.2rem;
    margin-right: 15px;
}

.regular-price-detail {
    font-size: 2rem;
    font-weight: 700;
    color: #2E2A8F;
}

.sale-price-detail {
    font-size: 2rem;
    font-weight: 700;
    color: #D6483A;
}

.offer-type {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #2E2A8F;
    margin-left: 10px;
    font-weight: 600;
}

.product-stock-info {
    margin-bottom: 15px;
}

.in-stock-detail {
    color: #2E8B57;
    font-size: 0.9rem;
    font-weight: 600;
}

.out-of-stock-detail {
    color: #D6483A;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-count {
    font-size: 0.8rem;
    color: #6c757d;
}

.offer-description {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 1rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary);
}

.offer-description i {
    color: var(--secondary);
    margin-right: 10px;
}

.toepassing-info, .product-dimensions {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 1rem;
    margin-bottom: 15px;
}

.toepassing-info i, .product-dimensions i {
    color: #2E2A8F;
    margin-right: 8px;
}

.product-description h4, .product-specifications h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2E2A8F;
    margin-bottom: 10px;
}

.description-content, .specs-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-contact, .btn-quote {
    flex: 1;
    display: inline-block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact {
    background: #2E8B57;
    color: white;
}

.btn-contact:hover {
    background: #276B45;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.btn-quote {
    background: #2E2A8F;
    color: white;
}

.btn-quote:hover {
    background: #241F72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 42, 143, 0.3);
}

.product-variants {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.variants-table {
    margin-bottom: 0;
}

.variants-table thead th {
    background: #2E2A8F;
    color: white;
    padding: 12px;
    font-weight: 600;
    border: none;
}

.variants-table thead th:first-child {
    border-radius: 8px 0 0 8px;
}

.variants-table thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.variants-table tbody tr:hover {
    background: #f8f9fa;
}

.variants-table tbody td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.variants-table tbody td:first-child {
    font-weight: 700;
    color: #2E2A8F;
}

.related-products {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-product-card {
    background: #f8f9fa;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(46, 42, 143, 0.15);
}

.related-product-link {
    text-decoration: none;
    display: block;
}

.related-product-image {
    height: 150px;
    overflow: hidden;
    background: #e0d5c5;
}

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

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

.related-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d8, #e0d5c5);
}

.related-image-placeholder i {
    font-size: 3rem;
    color: #2E2A8F;
}

.related-product-info {
    padding: 12px;
    text-align: center;
}

.related-product-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2E2A8F;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.75rem;
    margin-right: 8px;
}

.related-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #D6483A;
}

@media (max-width: 768px) {
    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .slider-slide .main-image-frame {
        min-height: 280px;
    }

    .slider-image {
        max-height: 280px;
    }

    .thumbnail {
        width: 55px;
        height: 55px;
    }

    .slider-dots {
        bottom: 10px;
        padding: 5px 12px;
        gap: 8px;
    }

    .slider-dot .dot {
        width: 8px;
        height: 8px;
    }

    .slider-autoplay-btn {
        bottom: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .gallery-card {
        padding: 1rem;
    }

    .slider-slide .main-image-frame {
        min-height: 220px;
        padding: 0.5rem;
    }

    .slider-image {
        max-height: 220px;
    }

    .thumbnail {
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   Promotion / offer card (frontend/views/promotion/_offer_item)
   ========================================================================== */

.offer-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 42, 143, 0.15);
}

.offer-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #D6483A;
    color: white;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.offer-badge i {
    margin-right: 5px;
}

.offer-product-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

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

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

.offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d8, #e0d5c5);
}

.offer-image-placeholder i {
    font-size: 4rem;
    color: #2E2A8F;
}

.offer-info {
    padding: 1.25rem;
}

.offer-product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.offer-product-title a {
    color: #2E2A8F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.offer-product-title a:hover {
    color: var(--secondary);
}

.offer-type-badge {
    text-align: center;
    margin-bottom: 1rem;
}

.discount-circle {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D6483A, #B23A2E);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 60px;
    text-align: center;
    margin-bottom: 5px;
    box-shadow: 0 4px 10px rgba(214, 72, 58, 0.3);
}

.discount-label {
    display: block;
    font-size: 0.7rem;
    color: #D6483A;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-pricing {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.price-comparison {
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.85rem;
    margin-right: 8px;
}

.new-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D6483A;
}

.offer-detail-text {
    font-size: 0.8rem;
    color: #2E8B57;
    font-weight: 600;
}

.offer-detail-text i {
    margin-right: 5px;
}

.offer-dates {
    font-size: 0.7rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
    padding: 0.4rem;
    border-radius: 50px;
}

.offer-dates i {
    margin-right: 5px;
    color: #2E2A8F;
}

.offer-short-desc {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
}

.offer-actions {
    text-align: center;
}

.btn-offer-details {
    display: inline-block;
    padding: 8px 20px;
    background: #2E2A8F;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-offer-details i {
    margin-right: 5px;
}

.btn-offer-details:hover {
    background: #241F72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 42, 143, 0.3);
}

@media (max-width: 768px) {
    .offer-product-image {
        height: 180px;
    }

    .offer-info {
        padding: 1rem;
    }

    .offer-product-title {
        font-size: 1rem;
    }

    .new-price {
        font-size: 1.2rem;
    }

    .discount-circle {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        line-height: 50px;
    }
}

@media (max-width: 480px) {
    .offer-badge {
        top: 8px;
        left: 8px;
        padding: 4px 10px;
        font-size: 0.6rem;
    }

    .offer-product-title {
        font-size: 0.9rem;
    }

    .btn-offer-details {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}
