:root {
    --src-red: #c8102e;
    --src-red-dark: #7a0014;
    --src-yellow: #ffc400;
    --src-yellow-dark: #e6a800;
    --src-dark: #1f1f1f;
    --src-soft: #fff6df;
    --src-white: #ffffff;
    --src-muted: #6b6b6b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fffaf2;
    color: #222;
}

a {
    text-decoration: none;
}

/* NAVBAR */
.main-navbar,
.navbar,
.navbar.bg-success {
    background: linear-gradient(90deg, var(--src-red-dark), var(--src-red)) !important;
    padding: 13px 0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.22);
    position: sticky;
    top: 0;
    z-index: 999;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.brand-logo {
    height: 58px;
    width: auto;
    max-width: 138px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 5px 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.brand-text {
    color: white;
    font-size: 25px;
    font-weight: 900;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 800;
    padding: 8px 14px !important;
    border-radius: 999px;
    transition: 0.25s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--src-yellow) !important;
}

.nav-cta {
    margin-left: 5px;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* BUTTON GLOBAL */
.btn-success,
.btn-primary {
    background: linear-gradient(135deg, var(--src-red), var(--src-red-dark)) !important;
    border: none !important;
    color: white !important;
    border-radius: 999px;
    font-weight: 800;
    padding-left: 20px;
    padding-right: 20px;
    transition: 0.25s ease;
}

.btn-success:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--src-yellow), var(--src-yellow-dark)) !important;
    color: var(--src-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.25);
}

.btn-warning {
    background: linear-gradient(135deg, var(--src-yellow), var(--src-yellow-dark)) !important;
    border: none !important;
    color: var(--src-dark) !important;
    border-radius: 999px;
    font-weight: 900;
}

.btn-warning:hover {
    background: white !important;
    color: var(--src-red-dark) !important;
    transform: translateY(-2px);
}

.btn-light {
    border: none !important;
    border-radius: 999px;
    font-weight: 800;
}

.btn-secondary {
    border-radius: 999px;
    border: none !important;
    background-color: #555 !important;
    font-weight: 800;
}

/* HERO */
.hero-src {
    background:
        linear-gradient(110deg, rgba(122, 0, 20, 0.94), rgba(200, 16, 46, 0.75), rgba(255, 196, 0, 0.24)),
        url("../img/toko/toko-depan.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.onepage-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.hero-src::after {
    content: "";
    width: 420px;
    height: 420px;
    background: rgba(255, 196, 0, 0.25);
    position: absolute;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
}

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

.hero-badge,
.section-kicker {
    display: inline-block;
    background-color: var(--src-yellow);
    color: var(--src-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 18px;
}

.section-kicker {
    margin-bottom: 12px;
    font-size: 14px;
}

.hero-src h1 {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-src p {
    font-size: 19px;
    line-height: 1.75;
    max-width: 760px;
}

.hero-actions {
    margin-top: 28px;
}

.hero-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.94);
    color: var(--src-dark);
    padding: 28px;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 196, 0, 0.55);
}

.hero-info-card h5 {
    color: var(--src-red-dark);
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-mini-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.hero-mini-list div {
    background: #fff6df;
    border-radius: 20px;
    padding: 16px 10px;
    text-align: center;
}

.hero-mini-list strong {
    display: block;
    color: var(--src-red);
    font-size: 28px;
    font-weight: 900;
}

.hero-mini-list span {
    display: block;
    color: var(--src-muted);
    font-size: 13px;
}

/* SECTION */
.section-padding {
    padding: 75px 0;
}

.section-title {
    font-weight: 900;
    color: var(--src-red-dark);
    margin-bottom: 14px;
}

.section-title::after {
    content: "";
    display: block;
    width: 86px;
    height: 5px;
    background: linear-gradient(90deg, var(--src-red), var(--src-yellow));
    border-radius: 999px;
    margin-top: 12px;
}

/* ABOUT */
.about-box,
.search-box,
.contact-card {
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-left: 8px solid var(--src-red);
}

.about-img {
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.about-img-large {
    height: 420px;
}

.store-facts,
.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.store-facts div,
.contact-list div {
    background: #fff6df;
    padding: 15px 18px;
    border-radius: 18px;
}

.store-facts span,
.contact-list span {
    display: block;
    color: var(--src-muted);
    font-size: 13px;
    margin-bottom: 3px;
}

.store-facts strong,
.contact-list strong {
    color: var(--src-red-dark);
}

/* PRODUCT FILTER */
.catalog-note {
    display: inline-block;
    background: #fff6df;
    color: var(--src-red-dark);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
}

.category-chip-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.category-chip {
    border: none;
    white-space: nowrap;
    background: #ffffff;
    color: var(--src-red-dark);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

.category-chip:hover,
.category-chip.active {
    background: var(--src-yellow);
    color: var(--src-dark);
    transform: translateY(-2px);
}

/* PRODUCT SLIDER */
.product-slider-shell {
    position: relative;
}

.product-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 10px 24px;
    scrollbar-width: thin;
}

.product-slide-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
}

.card-product {
    border: none !important;
    border-radius: 26px !important;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    transition: 0.28s ease;
    position: relative;
}

.card-product::before {
    content: "";
    height: 7px;
    width: 100%;
    background: linear-gradient(90deg, var(--src-red), var(--src-yellow));
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

.card-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(200, 16, 46, 0.20);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #eee;
    transition: 0.35s ease;
}

.card-product:hover .product-img {
    transform: scale(1.04);
}

.product-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #fff2c6, #eeeeee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    text-align: center;
    padding: 20px;
}

.placeholder-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.card-product .card-body {
    padding: 24px;
}

.card-product h5 {
    font-weight: 900;
    color: var(--src-dark);
    min-height: 54px;
}

.product-meta {
    color: #333;
    font-size: 14px;
}

.product-price {
    color: var(--src-red);
    font-size: 21px;
    font-weight: 900;
}

.product-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-badge {
    background: #fff0c7 !important;
    color: var(--src-red-dark) !important;
    border: 1px solid #ffd45b;
}

.badge {
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
}

.badge.bg-success {
    background-color: #16833a !important;
}

.badge.bg-warning {
    background-color: var(--src-yellow) !important;
    color: var(--src-dark) !important;
}

.badge.bg-danger {
    background-color: var(--src-red) !important;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--src-red);
    color: white;
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.slider-btn:hover {
    background: var(--src-yellow);
    color: var(--src-dark);
}

.slider-btn-left {
    left: -14px;
}

.slider-btn-right {
    right: -14px;
}

/* GALLERY */
.gallery-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.gallery-img {
    height: 540px;
    object-fit: cover;
}

.gallery-placeholder {
    height: 540px;
}

.gallery-caption {
    background: rgba(122, 0, 20, 0.78);
    border-radius: 18px;
    padding: 12px 18px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(200, 16, 46, 0.90);
    padding: 24px;
    border-radius: 50%;
}

/* CONTACT */
.contact-card {
    border-left-color: var(--src-yellow);
}

.contact-card h4 {
    color: var(--src-red-dark);
    font-weight: 900;
    margin-bottom: 20px;
}

.contact-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.contact-summary-grid div {
    background: #fff6df;
    border-radius: 22px;
    padding: 22px 16px;
    text-align: center;
}

.contact-summary-grid strong {
    display: block;
    color: var(--src-red);
    font-size: 32px;
    font-weight: 900;
}

.contact-summary-grid span {
    color: var(--src-muted);
    font-size: 14px;
}

/* FOOTER */
.footer-main,
footer,
footer.bg-dark {
    background: linear-gradient(90deg, var(--src-red-dark), var(--src-dark)) !important;
    color: white;
    padding: 24px 0 !important;
}

.footer-note {
    opacity: 0.75;
}

.footer-main code {
    color: #ffe083;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar-collapse {
        margin-top: 14px;
    }

    .navbar-nav {
        background: rgba(122, 0, 20, 0.45);
        border-radius: 22px;
        padding: 14px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 50px;
        max-width: 120px;
    }

    .onepage-hero {
        min-height: auto;
        text-align: center;
        padding: 70px 0;
    }

    .hero-src h1 {
        font-size: 38px;
    }

    .hero-src p {
        font-size: 16px;
    }

    .hero-mini-list {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 55px 0;
    }

    .about-box,
    .search-box,
    .contact-card {
        padding: 24px;
    }

    .about-img-large {
        height: 280px;
    }

    .product-slide-card {
        flex-basis: 292px;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .slider-btn-left {
        left: 2px;
    }

    .slider-btn-right {
        right: 2px;
    }

    .gallery-img,
    .gallery-placeholder {
        height: 320px;
    }

    .contact-summary-grid {
        grid-template-columns: 1fr;
    }
}
