:root {
    --primary-dark: #000000;
    --primary-green: #144f17;
    --secondary-dark: #2a2a2a;
    --accent-gold: #d4af37;
    --text-light: #f8f9fa;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e5e5e5;
    --gray-dark: #555555;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Global Styles */
html,
body {
    overflow-x: hidden !important;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-dark);
    padding-right: 0 !important;
}

body.offcanvas-open {
    padding-right: 0 !important;
    overflow: hidden;
}

/* Layout & Container */
.container-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: var(--white);
    min-height: 70px;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-navbar {
    max-width: 140px;
}

.nav-link {
    font-weight: 500;
    font-size: medium;
    color: var(--primary-dark);
    margin: 0 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link.menu-link {
    position: relative;
}

.nav-link.menu-link:hover {
    color: var(--primary-green) !important;
    text-shadow: 0 0 0.5px var(--primary-green);
}

.nav-link.menu-link:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--primary-green);
}

/* Offcanvas */
.offcanvas {
    max-width: 250px;
    z-index: 1060 !important;
}

.offcanvas-backdrop {
    z-index: 1055 !important;
}

a {
    text-decoration: none !important;
}

/* Atau hanya untuk link tertentu */
a.no-underline {
    text-decoration: none;
}

/* Untuk link di dalam product card */
.product-card a {
    text-decoration: none;
}

/* Hover effect tanpa underline */
a:hover {
    text-decoration: none;
}

/* Warna link (opsional untuk atur warna) */
a {
    color: inherit;
    /* Ikuti warna parent */
    text-decoration: none;
}

a:hover {
    color: #007bff;
    /* Warna saat hover */
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Buttons */
.btn-shop {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-shop:hover {
    background: #0f3d12;
    transform: translateY(-2px);
}

.btn-promo {
    background: var(--white);
    color: var(--primary-green);
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-promo:hover {
    background: var(--gray-medium);
    transform: translateY(-2px);
}

/* Gift Cards */
.gift-card {
    position: relative;
    height: 280px;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-10px);
}

.gift-card-large {
    height: 320px;
}

.gift-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.3s ease;
}

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

.gift-info {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Logo Marquee */
.logo-section {
    background: var(--gray-light);
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

.logo-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-marquee-content {
    display: flex;
    animation: marquee 25s linear infinite;
    width: fit-content;
}

.logo-marquee-content:hover {
    animation-play-state: paused;
}

.logo-grid {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 0 2rem;
}

.logo-item {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    opacity: 0.7;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-item:hover {
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Feature Section */
.feature-section {
    padding: 5rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.feature-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    position: relative;
    text-align: left;
    transition: none;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
}

/* Gambar utama */
.product-image-container img.primary {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.product-image-container img.secondary {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.product-image-container:hover img.primary {
    opacity: 0;
}

.product-image-container:hover img.secondary {
    opacity: 1;
}

.product-title {
    margin-top: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: #000;
}

.product-price {
    color: #144f17;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Remove default blue/underline for product links while preserving keyboard focus */
.product-card a,
.product-card a:visited,
.product-card a:hover,
.product-card a:active {
    color: inherit;
    text-decoration: none;
}

.product-card a:focus-visible {
    outline: 2px dashed rgba(20, 79, 23, 0.6);
    outline-offset: 2px;
}

.product-scroll-wrapper {
    position: relative;
    height: 100%
}

.product-scroll {
    height: 600px;
    overflow-y: auto;
    padding-right: 30px;
}

.product-scroll::-webkit-scrollbar {
    width: 0;
}

.scroll-indicator-floating {
    position: absolute;
    bottom: 15px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.scroll-indicator-floating .scroll-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--gray-dark);
    opacity: 0.8;
}

.scroll-indicator-floating .scroll-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-indicator-floating .arrow-down {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gray-dark);
    border-bottom: 2px solid var(--gray-dark);
    transform: rotate(45deg);
}

.product-scroll-wrapper:hover .scroll-indicator-floating {
    opacity: 1;
    box-shadow: var(--shadow-medium);
}

.model-image {
    position: relative;
    height: 600px;
    object-fit: cover;
}

.color-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover efek */
.color-dot:hover {
    transform: scale(1.15);
}

/* Warna aktif (style radio button) */
.color-dot.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-dark);
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: var(--white);
    padding: 3px 8px;
    font-size: 0.7rem;
    border-radius: 3px;
}

/* Product Slider */
.product-slider-container {
    position: relative;
    overflow: hidden;
}

.product-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.product-slide {
    min-width: calc(25% - 1.125rem);
    flex-shrink: 0;
}

.product-slider-nav-wrapper {
    display: flex;
    gap: 0.5rem;
}

.product-slider-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.product-slider-nav:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 0, 0, 0.15);
}

.product-slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Promo Banner */
.promo-banner-full {
    position: relative;
    height: 100%;
    min-height: 450px;
    background: linear-gradient(135deg, var(--primary-green), #0a2a0c);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding: 30px;
}

.promo-text-wrap {
    z-index: 2;
    max-width: 70%;
}

.promo-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.promo-image-full {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    font-size: 18px;
    color: #bfbfbf;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--white);
}

.breadcrumb-img {
    height: 300px;
    object-fit: cover;
    object-position: center;
}

/* FILTER BOX */
.filter-group {
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
}

.filter-title {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title i {
    transition: transform 0.3s ease;
}

.filter-title[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.color-checkbox-group {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 1rem 0;
}

.color-checkbox {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.color-checkbox input {
    display: none;
}

.color-checkbox .color-circle {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    margin-bottom: 4px;
}

.color-checkbox .color-name {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

.color-checkbox:hover .color-circle {
    transform: scale(1.1);
    border-color: #ccc;
}

.color-checkbox input:checked+.color-circle {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #333333;
    transform: scale(1.1);
}

.color-checkbox input:checked~.color-name {
    color: #000;
    font-weight: 500;
}

/* Untuk warna terang, beri border */
.color-checkbox .color-circle[style*="background:#e6e1d5"],
.color-checkbox .color-circle[style*="background:#ffd800"],
.color-checkbox .color-circle[style*="background:#ffffff"] {
    border: 1px solid #ddd;
}

.btn-reset {
    border: 1px solid #ccc;
    background: transparent;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
}

.btn-reset:hover {
    background: #f1f1f1;
}

/* PAGINATION CUSTOM */
.pagination {
    margin-top: 3rem;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    color: #000;
    border: none;
    padding: 8px 14px;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Number pages */
.pagination .page-item:not(.prev):not(.next) .page-link {
    border-radius: 50%;
}

.pagination .page-item.active .page-link {
    background: #144f17;
    color: white;
    border-radius: 50%;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(20, 79, 23, 0.3);
}

.pagination .page-link:hover {
    background: #f0f0f0;
    border-radius: 50%;
    transform: translateY(-1px);
}

/* Prev & Next buttons - styled like slider buttons */
.pagination .page-item.prev,
.pagination .page-item.next {
    margin: 0 8px;
}

.pagination .page-item.prev .page-link,
.pagination .page-item.next .page-link {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination .page-item.prev .page-link:hover,
.pagination .page-item.next .page-link:hover {
    background: #144f17;
    color: white;
    border-color: #144f17;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(20, 79, 23, 0.3);
}

.pagination .page-item.prev.disabled .page-link,
.pagination .page-item.next.disabled .page-link {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination .page-item.prev.disabled .page-link:hover,
.pagination .page-item.next.disabled .page-link:hover {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    transform: none;
}

/* Icon styling */
.pagination .page-item.prev .page-link span,
.pagination .page-item.next .page-link span {
    line-height: 1;
    display: block;
    margin-top: -1px;
}

/* Hover effect for number pages */
.pagination .page-item:not(.active):not(.prev):not(.next):not(.disabled) .page-link:hover {
    background: #144f17;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 79, 23, 0.25);
}

.checkout-btn {
    background: #000;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 50px 12px 20px;
    border: none;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* Garis putih offset */
.checkout-btn::after {
    content: "";
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 100%;
    height: 100%;
    border: 1px solid #ffffff;
    z-index: -1;
}

/* Garis hitam tipis di paling bawah */
.checkout-btn::before {
    content: "";
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 1);
    z-index: -2;
}

/* Panah custom (tanpa icon library) */
.checkout-btn .arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.checkout-btn:hover {
    background: #383838;
}

form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    box-shadow: none;
}

form .form-control:focus {
    border-color: #000;
}

form label {
    color: #555;
}

.filter-toggle-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1060;
    border-radius: 999px;
    padding-inline: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 30%;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .product-slide {
        min-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-text-wrap {
        max-width: 100%;
    }

    .promo-title {
        font-size: 1.5rem;
    }

    .product-scroll {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .product-slide {
        min-width: calc(50% - 0.75rem);
    }

    .product-image-container {
        height: 320px;
    }

    .gift-card {
        height: 200px;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
        letter-spacing: 3px !important;
        line-height: 1.1;
    }

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

    .btn-shop {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-slider-nav {
        display: none !important;
    }

    .logo-navbar {
        max-width: 110px;
    }

    .breadcrumb-image img {
        height: auto;
    }

    .filter-box {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .scroll-indicator-floating {
        width: 32px;
        height: 32px;
        bottom: 10px;
        right: 8px;
    }

    .scroll-indicator-floating .scroll-text {
        font-size: 8px;
        margin-bottom: 2px;
    }
}

@media (max-width: 576px) {
    .product-slide {
        min-width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .nav-link {
        margin: 0 0.5rem;
    }

    .product-slider-nav-wrapper {
        gap: 4px !important;
    }

    .product-slider-nav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .social-icons {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .promo-banner-full {
        min-height: 350px;
        padding: 20px;
    }

    .promo-title {
        font-size: 1.3rem;
    }

    .card {
        font-size: 14px;
    }


    .form-check-inline {
        display: block;
        margin-bottom: 6px;
    }

    .filter-dekstop {
        display: none;
    }

    .color-checkbox-group {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
        padding: 1rem 0;
    }
}