/**
 * Theme: Clean Theme CSS
 * Author: Miva Dev
 * Instagram: @mivacreative
 */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   1. ROOT & VARIABLES
   (Assuming variables are defined here or in another file)
========================================================================== 
*/
/* ==========================================================================
   2. RESET & BASE STYLES
========================================================================== 
*/
* {
    box-sizing: border-box;
}

[x-cloak] {
    display: none !important;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    overflow-x: hidden;
    position: relative;
}

body {
    padding-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
}

.svg-white {
    filter: brightness(0) invert(1);
}

.section {
    padding: 5rem 0;
}

.muted {
    color: var(--muted);
}

/* ==========================================================================
   3. SHARED COMPONENTS (Container, Buttons)
========================================================================== 
*/
/* --- Container --- */
.container {
    width: min(1200px, 90%);
    margin-inline: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: var(--btn-radius);
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--primary) 85%, black);

}

/* Extra large button for forms */
.dynamic-form button[type="submit"] {
    padding: 1rem 2rem;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    width: 100%;
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-filter {
    background: var(--bg-secondary);
    color: var(--muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.btn-filter:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-filter.active {
    background: var(--primary);
    color: var(--text-light);
}

/* --- Page Headers & Breadcrumbs --- */
.section.breadcrumbs-wrap,
.section.page-header-wrap {
    padding: 8rem 0 1rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    min-height: 52px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text);
}

.breadcrumb-icon {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--muted);
    border-bottom: 1px solid var(--muted);
    transform: rotate(-45deg);
    margin: 0 0.2rem;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.breadcrumbs a:hover+.breadcrumb-icon {
    border-color: var(--primary);
}

/* ==========================================================================
   4. SITE HEADER & NAVIGATION
========================================================================== 
*/
.site-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(1200px, 90%);
    z-index: 1100;
    background: var(--header_floating_bg, var(--header-floating-bg));
    backdrop-filter: blur(var(--header-floating-blur));
    -webkit-backdrop-filter: blur(var(--header-floating-blur));
    border: 1px solid color-mix(in srgb, var(--border), transparent 50%);
    border-radius: var(--btn-radius);
    transition: all 0.4s ease;

}

.site-header .container {
    width: 100%;
    padding-inline: 1.5rem;
    transition: all 0.3s ease;
}

.site-header.is-scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: var(--header-scrolled-bg);
    backdrop-filter: blur(var(--header-scrolled-blur));
    -webkit-backdrop-filter: blur(var(--header-scrolled-blur));

}

.site-header.is-scrolled .container {
    width: min(1200px, 90%);
    padding-inline: 0;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
}

/* --- Branding --- */
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-right: auto;
}

.brand img {
    width: 100%;
    height: 35px;
    object-fit: contain;
}

.brand-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.brand strong {
    display: block;
    font-family: var(--font-primary);
}

.brand small {
    color: var(--muted);
    font-size: 0.75rem;
}

/* --- Desktop Nav --- */
.desktop-nav {
    display: none;
    gap: 1rem;
    align-items: center;
    font-family: var(--font-primary);
}

.desktop-nav a,
.desktop-nav .mega-toggle {
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 0;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 0;
    line-height: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav .mega-toggle:hover {
    color: var(--primary);
}

.desktop-nav a.is-active,
.desktop-nav .mega-toggle.is-active {
    color: var(--primary);
}

.desktop-nav .mega-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    vertical-align: middle;
}

.dropdown-icon {
    transition: transform 0.18s ease;
    transform: rotate(0deg);
}

.dropdown-icon.is-open {
    transform: rotate(180deg);
}

/* --- Mega Menu --- */
.mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    width: 100%;
    z-index: 49;

    overflow: hidden;
}

.site-header.is-scrolled .mega-menu {
    top: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

.mega-menu[x-cloak],
.mobile-panel[x-cloak] {
    display: none !important;
}

.mega-menu[x-show="mega"],
.mega-menu[x-show="true"] {
    display: block;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    padding: 1.4rem 0;
}

.mega-grid h4 {
    margin: 0 0 0.8rem;
    font-family: var(--font-primary);
}

.mega-grid a {
    display: block;
    color: var(--text);
    padding: 0.2rem 0;
    transition: color 0.2s ease;
}

.mega-grid a:hover {
    color: var(--primary);
}

/* --- Mobile Nav Elements --- */
.mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: var(--btn-radius);
    padding: 0.45rem 0.65rem;
    cursor: pointer;
}

.hamburger-icon {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animasi Transisi ke 'X' */
.mobile-toggle.open .hamburger-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-toggle.open .hamburger-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    max-height: calc(100vh - 100px);
    overflow-y: scroll;
    /* CHANGED FROM AUTO TO SCROLL (Required for Firefox) */
    -webkit-overflow-scrolling: touch;
    /* Add this for smooth scroll on iOS */
    z-index: 49;

}

.site-header.is-scrolled .mobile-panel {
    top: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    max-height: calc(100vh - 72px);
}

.mobile-panel[x-show="mobile"],
.mobile-panel[x-show="true"] {
    display: block;
}

.mobile-panel a {
    display: block;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--bg-light);
    font-weight: 500;
}

.mobile-panel a.is-active {
    background: var(--bg);
    color: var(--primary);
    font-weight: 600;
}

.mobile-accordion {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border: 0;
    background: var(--bg);
    font: inherit;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
}

.mobile-accordion.is-active {
    background: var(--bg);
    color: var(--primary);
    font-weight: 600;
}

.mobile-submenu {
    padding: 0.35rem 0 0.65rem;
    border-bottom: 1px solid var(--bg-light);
    background: var(--bg);
}

.mobile-submenu a {
    padding: 0.65rem 1rem 0.65rem 1.6rem;
    border-bottom: 0;
    color: var(--text);
    font-weight: 400;
}

.mobile-subhead {
    padding: 0.55rem 1rem 0.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.mobile-all {
    font-weight: 700;
    color: var(--primary) !important;
}

/* ==========================================================================
   5. HERO SECTION — Skoda-style cinematic slider
========================================================================== 
*/
.slider-section {
    position: relative;
    background: var(--bg);
}

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

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    display: block;
    height: 65vw;
    min-height: 420px;
    max-height: 85vh;
    object-fit: cover;
    object-position: center;
}

.slide-item.is-active .slide-image {
    transform: scale(1);
}

/* Cinematic gradient overlay — heavy bottom, light top */
.slider-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    z-index: 2;
}

/* Content: left-aligned, anchored to bottom-left */
.slider-content {
    position: absolute;
    inset: 0;
    margin-inline: auto;
    width: min(1200px, 90%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    color: var(--text-light);
    padding: 0 0 5.5rem 0;
}

.slider-content-inner {
    width: 100%;
    padding: 0;
}

.slider-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    opacity: 0.65;
    margin-bottom: 0.85rem;
}

.slider-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    color: var(--text-light);
    max-width: 700px;
}

.slider-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 0 2.2rem;
}

.slider-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: var(--btn-radius);
    border: 1.5px solid var(--text-light);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.slider-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-light);
}

.slider-cta svg {
    transition: transform 0.3s ease;
}

.slider-cta:hover svg {
    transform: translateX(4px);
}

/* ——— Bottom HUD bar ——— */
.slider-hud {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(1200px, 90%);
    z-index: 20;
    display: flex;
    align-items: flex-end;
    padding: 0 0 1.5rem;
    gap: 1.5rem;
    pointer-events: none;
}

/* Progress tracks */
.slider-tracks {
    display: flex;
    flex: 1;
    gap: 8px;
    align-items: flex-end;
    pointer-events: all;
}

.slider-track-item {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.25s ease;
}

.slider-track-item:hover {
    height: 3px;
}

.slider-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--text-light);
    transition: width 0.15s linear;
}

.slider-track-item.is-active .slider-track-fill {
    animation: trackProgress var(--slide-duration, 6000ms) linear forwards;
}

.slider-track-item.is-done .slider-track-fill {
    width: 100%;
    animation: none;
}

@keyframes trackProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Arrow controls — minimal, bottom-right */
.slider-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    pointer-events: all;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        border-color 0.25s ease;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-light);
}

/* Legacy positioning classes — kept for compatibility but not used in new layout */
.slider-arrow--prev {
    left: 1.5rem;
}

.slider-arrow--next {
    right: 1.5rem;
}

/* Legacy dots — hidden in new design */
.slider-dots {
    display: none;
}

/* ——— Responsive ——— */
/* ==========================================================================
   5b. HERO SECTION — Full-width banner with overlay
========================================================================== 
*/
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--secondary);
}

/* Responsive hero image — fills the section, scales proportionally */
.hero-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 80vh;
    object-fit: cover;
    object-position: center;
}

/* Cinematic gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* Content wrapper — positioned over the image */
.hero {
    position: absolute;
    inset: 0;
    margin-inline: auto;
    width: min(1200px, 90%);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 0 0 3.5rem;
}

.hero-content {
    max-width: 620px;
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text-light);
    margin: 0 0 0.75rem;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 0 1.5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-btn:hover {}

/* ——— Hero Responsive: Tablet ——— */
/* ——— Hero Responsive: Mobile ——— */
/* ——— Hero Responsive: Small Phones ——— */
/* ==========================================================================
   6. CLIENTS SECTION
========================================================================== 
*/
.clients {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.7rem;
}

.client {
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    min-height: 100px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
}

.client {
    background: var(--bg);
    transition: all 0.3s ease;
    filter: grayscale(100%);
    /* Make logo standard gray */
    opacity: 0.6;
    /* Make logo somewhat transparent */
}

.client-logo {
    max-width: 130px;
    width: 100%;
    max-height: 100%;
    /* Maximum logo width limit */
    /* Maximum height limit for alignment */
    object-fit: contain;
    /* Maintain logo proportions */
}

/* --- Hover Effect --- */
.client:hover {
    filter: grayscale(0%);
    /* Logo returns to original color on hover */
    opacity: 1;
    /* Logo becomes fully bright */
    /* Border changes following theme */

}

/* ==========================================================================
   7. PRODUCT LISTING & GRID
========================================================================== 
*/
.page-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 2rem auto;
    max-width: 850px;
    gap: 1.5rem;
}

.page-head h1 {
    position: relative;
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--text);
    margin: 0;
    font-weight: 700;
    padding-bottom: 0.75rem;
}

.page-head h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--primary);
}

.page-head p {
    margin: 0 auto;
    max-width: 600px;
    color: var(--muted);
    font-size: 1.15rem;
    font-weight: 400;
    padding-top: 0.5rem;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* --- Cards General --- */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 0.5rem;
    background: var(--bg);
}

.card h3 {
    margin-top: 0.2rem;
    font-family: var(--font-primary);
}

/* --- Card Column Style --- */
.card-column {
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    background-color: var(--bg);
}

.card-column:hover {
    transform: translateY(-8px);

    border-color: var(--border);
}

.card-body {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.card-image-wrapper {
    padding: 0;
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}



.img-product {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition:
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
}

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

/* Link wrapper for product image - makes entire image area clickable on mobile */
.card-image-link {
    display: block;
    position: relative;
    text-decoration: none;
}

/* On mobile: show small link icon in corner of image as clickable indicator */
.card-content {
    padding: 0.5rem 0 1rem 0;
    text-align: center;
}

.card-content a.product-title,
.card-content p.product-title {
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--text);
    font-weight: 600;
    margin: 0;
    padding: 0 0.5rem;
    display: block;
}

.card-content a.product-title:hover {
    color: var(--primary);
}

.card-content .product-category {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
    margin: 0;
}

/* --- Empty Product Notice --- */
.empty-product-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 1rem;
    border: 1px dashed var(--border);
    border-radius: 1rem;
    background: var(--bg-secondary);
}

.empty-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.empty-product-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.empty-product-desc {
    color: var(--muted);
    font-size: 1rem;
    margin: 0;
    max-width: 400px;
}

.empty-product-desc strong {
    color: var(--primary);
}

/* --- Featured CTA Button --- */
.featured-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ==========================================================================
   FEATURE ICON CIRCLE (FOR IMG/SVG)
   ========================================================================== */
/* ==========================================================================
   8. PRODUCT DETAIL PAGES
========================================================================== 
*/
.product-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-section {
    padding: 5rem 0 0 0;
}

.product-visual-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: visible;
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
    background: var(--bg);
}

.product-main-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.product-title {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.accent-text {
    color: var(--primary);
    font-weight: 700;
    display: block;
}

/* --- Specifications --- */
.spec-full-section {
    padding: 5rem 0;
}

.spec-title {
    font-family: var(--font-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.product-spec-list {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
}

.spec-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.spec-label {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.spec-value {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   9. CONTACT FORM
========================================================================== 
*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Contact Page - using primary-card pattern from lokasi-pembelian */
.is-official .primary-card {
    background: var(--primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.is-official .primary-card .primary-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.is-official .primary-card .primary-name {
    color: white !important;
}

.is-official .primary-card p {
    color: white !important;
}

.is-official .primary-card a {
    color: white !important;
}

.form {
    display: grid;
    gap: 0.8rem;
}

.form input,
.form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

/* ==========================================================================
   10. SITE FOOTER
========================================================================== 
*/
.site-footer {
    padding: 5rem 0 0 0;
    background: var(--bg-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 1rem;
}

.footer-grid h4,
.footer-grid h5 {
    margin-top: 0;
    font-family: var(--font-primary);
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: var(--muted);
    margin: 0.45rem 0;
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    margin-top: 1rem;
    padding: 0.8rem 0 1.2rem;
    color: var(--muted);
}

/* --- Footer Social Icons --- */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer-grid .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--icon-radius);
    background: var(--primary);
    transition: all 0.2s ease;
    line-height: 0;
    margin: 0;
    color: transparent;
}

.social-icon:hover {
    background: color-mix(in srgb, var(--primary) 85%, black);
}

.social-icon img {
    display: block;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   12. ALPINE.JS TRANSITIONS (MEGA MENU & MOBILE)
========================================================================== 
*/
/* --- Mega Menu Slide Down --- */
.mega-menu-enter {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth ease-out effect */
}

.mega-menu-enter-start {
    opacity: 0;
    transform: translateY(-10px);
    /* Start slightly from the top */
}

.mega-menu-enter-end {
    opacity: 1;
    transform: translateY(0);
    /* Drop to original position */
}

.mega-menu-leave {
    transition: all 0.2s ease-in;
    /* Fast effect when closing */
}

.mega-menu-leave-start {
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-leave-end {
    opacity: 0;
    transform: translateY(-10px);
    /* Rise up when disappearing */
}

/* --- Mobile Panel Slide Down --- */
.mobile-panel-enter {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-panel-enter-start {
    opacity: 0;
    max-height: 0;
    transform: translateY(-5px);
}

.mobile-panel-enter-end {
    opacity: 1;
    max-height: 100vh;
    transform: translateY(0);
}

.mobile-panel-leave {
    transition:
        opacity 0.15s ease-out,
        transform 0.2s ease-out;
}

.mobile-panel-leave-start {
    opacity: 1;
    transform: translateY(0);
}

.mobile-panel-leave-end {
    opacity: 0;
    transform: translateY(-10px);
}

/* --- Mobile Submenu Accordion --- */
.mobile-submenu-enter {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mobile-submenu-enter-start {
    opacity: 0;
    max-height: 0;
    transform: translateY(-5px);
}

.mobile-submenu-enter-end {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
}

.mobile-submenu-leave {
    transition:
        opacity 0.15s ease-out,
        max-height 0.2s ease-out;
    overflow: hidden;
}

.mobile-submenu-leave-start {
    opacity: 1;
    max-height: 500px;
}

.mobile-submenu-leave-end {
    opacity: 0;
    max-height: 0;
}

/* --- Desktop & Hover Interactions (Min 1024px / 821px) --- */
/* --- Laptops & Tablets (Max 1024px) --- */
/* --- Tablets & Small Desktop Product Detail (Max 992px) --- */
/* --- Mobile Toggle Activation (Max 820px) --- */
/* --- Mobile General (Max 768px) --- */
/* --- Small Phones (Max 640px) --- */
/* ==========================================================================
   13. FLOATING BUTTONS (BACK TO TOP & WHATSAPP)
========================================================================== 
*/
.floating-action-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1050;
    /* Higher than cookie-banner (1000) */
    pointer-events: none;
    transform: translateZ(0);
    /* Force GPU acceleration and new stacking context for Firefox */
    /* Let clicks pass through the wrapper */
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--icon-radius);
    color: #fff;
    text-decoration: none;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    /* Re-enable clicks for the button */
}

/* --- Back to Top --- */
.btn-back-to-top {
    background-color: var(--primary);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: color-mix(in srgb, var(--primary) 85%, black);
    transform: scale(1.05) translateY(-2px);
    color: #fff;

}

/* --- WhatsApp --- */
.btn-whatsapp {
    background-color: #25D366;
    /* Official WA color */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-whatsapp.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-whatsapp:hover {
    background-color: #25D366;
    transform: scale(1.05) translateY(-2px);
    color: #ffffff;

}

/* --- WhatsApp Hover Tooltip --- */
.btn-whatsapp {
    position: relative;
}

.btn-whatsapp::before {
    content: "Chat WhatsApp";
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #25D366;
    color: var(--bg);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.45rem 0.85rem;
    border-radius: var(--btn-radius);

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}

.btn-whatsapp:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.btn-whatsapp:hover::after {
    opacity: 1;
    visibility: visible;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* On mobile screens, move it slightly up */
/* ==========================================================================
   Blog System Styles
   ========================================================================== */
/* Blog Filters */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-search {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}

.form-input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
}

/* Dynamic Form Builder Styles */
.dynamic-form .form-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text);
}

.dynamic-form .form-desc {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: var(--muted);
}

.form-field-item {
    margin-bottom: 1.5rem;
}

.form-field-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text);
}

.form-field-item .form-input {
    width: 100%;
    display: block;
}

.dynamic-form select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    cursor: pointer;
}

.text-danger {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Badge System */
.badge {
    padding: 0.5rem 1rem;
    border-radius: var(--btn-radius);
    background: var(--bg-secondary);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.article-header .badge {
    margin-bottom: 0.5rem;
}

.badge:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.badge.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

/* --- Blog Layout (Sidebar) --- */
.blog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.blog-sidebar-search {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    overflow: hidden;
}

.blog-search-input {
    flex: 1;
    border: none;
    padding: 0.6rem 0.85rem;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
    min-width: 0;
}

.blog-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    background: var(--primary);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.blog-search-btn:hover {
    background: color-mix(in srgb, var(--primary) 85%, black);
}

.blog-search-btn img {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-layout .cat-sidebar {
        position: static;
    }

    .blog-layout .cat-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .blog-layout .cat-nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Post Cards */
.blog-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: var(--card-radius);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

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

}

.blog-img-link {
    height: 220px;
    overflow: hidden;
    display: block;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    margin-bottom: 0.8rem;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
}

.blog-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s;
    text-decoration: none;
    display: block;
}

.blog-title:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--muted);
}

.blog-readmore {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Simplified Blog Card */
.simple-blog-card {
    padding: 0;
}

.simple-blog-card .blog-content {
    padding: 1.5rem;
}

.simple-blog-card .blog-date {
    display: block;
    margin-bottom: 0.65rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.simple-blog-card .blog-title {
    margin-bottom: 0;
    font-size: 1.25rem;
}

/* Blog Post Styles */
.article-detail {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.article-hero-image {
    width: 100%;
    border-radius: var(--card-radius);
    margin-bottom: 3rem;

}

.blog-post-meta {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border_light);
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.article-meta-info .meta-date {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

.footer-meta-item:last-child {
    text-align: right;
}

.footer-meta-item:last-child .article-share-group {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-meta-item h5 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--text);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-tags-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-hashtag {
    background: var(--bg-secondary);
    border: 1px solid var(--border_light);
    color: var(--secondary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--btn-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px dashed var(--border);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    background: var(--bg);
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--bg-secondary);
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.page-number:hover,
.page-number.active {
    background: var(--primary);
    color: var(--text-light);
}

/* Article Detail Styles */
.article-header {
    background: var(--bg-secondary);
    padding: 8rem 0 5rem;
    text-align: center;
}

.article-container {
    width: min(800px, 90%);
    margin-inline: auto;
}

.article-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.article-meta {
    color: var(--muted);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.meta-divider {
    opacity: 0.5;
}

.article-image-container {
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.article-hero-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--card-radius);

}

/* Prose Content (Standardized Typography) */
.prose {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose h2,
.prose h3,
.prose h4 {
    font-family: var(--font-primary);
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.prose h2 {
    font-size: 2rem;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
    color: var(--muted);
    font-size: 1.25rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.article-footer h5 {
    margin-bottom: 0.8rem;
    font-family: var(--font-primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-links {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--icon-radius);
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.article-badges {
    margin-bottom: 1.5rem;
}

.product-section {
    padding: 5rem 0;
}

.article-body {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* ==========================================================================
   Page Transitions
   ========================================================================== */
@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pageFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.page-transition-wrapper {
    animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.is-exiting .page-transition-wrapper {
    animation: pageFadeOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* ==========================================================================
   Loading Progress Bar Override
   ========================================================================== */
.stripe-loading-indicator .stripe {
    background-color: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary) !important;
}

.stripe-loading-indicator .stripe-loaded {
    background-color: var(--primary) !important;
}

/* --- Lightbox / Zoom Image --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 1rem;

    user-select: none;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.fade-in {
    animation: fade-in 0.3s ease-out;
}

.fade-out {
    animation: fade-out 0.3s ease-in forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ==========================================================================
   No Image Placeholder
   ========================================================================== */
.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-align: center;
}

.img-placeholder svg {
    opacity: 0.3;
}

.img-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Feature Icon Box */
.feature-icon-box {
    width: 60px;
    /* Sedikit diperbesar agar ikon 42px masuk dengan nyaman */
    height: 60px;
    background: var(--primary);
    border-radius: var(--icon-radius);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-box img {
    width: 32px;
    /* Ikon dikecilkan sedikit agar ada ruang (padding) */
    height: 32px;
}

/* Efek hover yang elegan pada card */
.card-feature:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Product Info Section */
.product-info-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

/* Universal Responsive Grid */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

/* Feature Card Styles */
.card-feature {
    text-align: center;
    padding: 2.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

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

}

.card-feature .feature-icon-box {
    margin: 0 auto 1rem auto;
}

.card-feature h4 {
    margin: 1rem 0 1rem 0;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--text);
}

.card-feature p {
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    align-items: center;
}

.info-image {
    position: relative;
    max-width: 100%;
}

.info-image img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: var(--card-radius);
}

.info-eyebrow {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    display: block;
}

.info-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin: 1.2rem 0;
    line-height: 1.15;
    color: var(--text);
}

.info-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.info-cta {
    gap: 0.5rem;
}

/* About Page Styles */
.about-intro-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image {
    border-radius: var(--card-radius);
    max-width: 100%;
    width: 100%;
    display: block;
}

.about-image img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: inherit;
}

.about-content-title {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.about-content .prose {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.about-header {
    border-left: 5px solid var(--primary);
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0;
}

.about-text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.warranty-box {
    margin-top: 5rem;
    padding: 4rem;
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* Distributor Page Styles */
.primary-card {
    padding: 2.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.primary-card:hover {
    transform: translateY(-8px);

}

.primary-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.primary-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
    display: block;
}

.primary-name {
    font-size: 1.4rem;
    font-family: var(--font-primary);
    color: var(--text);
    margin: 0.2rem 0 0 0;
}

.primary-address {
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.primary-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.primary-link:hover {
    color: var(--primary);
}

.primary-link img {
    opacity: 0.7;
}

.primary-footer {
    margin-top: 2rem;
}

.primary-btn {
    width: 100%;
    border-radius: var(--btn-radius);
    padding: 0.8rem 1rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Official Store & Marketplace Grid Patterns */
.primary-card.is-official {
    background: var(--primary);
    border: none;

}

.official-store-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
}

.is-official .feature-icon-box,
.is-official .secondary-card-icon {
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.is-official .primary-label {
    color: rgba(255, 255, 255, 0.8);
}

.is-official .primary-name {
    color: var(--text-light);
    font-size: 1.8rem;
}

.official-store-info {
    flex: 1;
    min-width: 250px;
    padding: 0 1rem;
}

.official-store-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.official-store-wa {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    width: fit-content;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.official-store-footer {
    margin-top: 0 !important;
    margin-left: auto;
    display: flex !important;
    justify-content: flex-end;
    gap: 0.75rem;
    width: auto;
    max-width: 100%;
}

.btn-marketplace-sm {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    min-height: 3rem !important;
}

.btn-white {
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    border: none !important;
}

.btn-white:hover {
    background: var(--bg-secondary) !important;
}

/* ==========================================================================
   LAYERED CARD SYSTEM (For Vision, Mission, Features)
   ========================================================================== */
.secondary-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.secondary-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.secondary-card-icon {
    background: var(--primary);
    width: 54px;
    height: 54px;
    border-radius: var(--icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.secondary-card-icon img {
    width: 24px;
    height: 24px;
}

.secondary-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.secondary-card-body {
    background: white;
    padding: 1.5rem 1.5rem;
    border-radius: calc(var(--card-radius) * 0.75);

    min-height: 280px;
    display: flex;
    flex-direction: column;
}

/* Modifier for features where we want shorter body */
.card-feature-secondary .secondary-card-body {
    min-height: 160px;
    justify-content: center;
}

/* Features grid gap */
.grid-responsive.card-feature-secondary {
    gap: 2.5rem;
}

.secondary-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

.secondary-card-divider {
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
    width: 100%;
}

/* Check List Items */
.check-list-group {
    display: grid;
    gap: 1rem;
}

.check-list-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.check-item-icon {
    background: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-item-icon img {
    width: 10px;
    height: 10px;
}

.check-item-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.secondary-card-text.has-list {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Utility Classes — replaces all page/partial inline styles
   ========================================================================== */
/* Layout helpers */
.flex-grow-1 {
    flex-grow: 1;
}

.align-self-start {
    align-self: flex-start;
}

/* Section background alt */
.section-bg-alt {
    background: var(--bg);
}

/* Spacing overrides for cards */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3r {
    margin-bottom: 3rem;
}

.mt-5r {
    margin-top: 5rem;
}

.mt-4r {
    margin-top: 4rem;
}

.pt-4r {
    padding-top: 4rem;
}

/* Contact / info row layout */
.contact-info-card .official-store-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.contact-info-card .primary-header {
    width: 100%;
}

.contact-info-card .official-store-info {
    padding: 0;
    width: 100%;
}

/* Contact info row items */
.contact-info-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info-row.align-start {
    align-items: flex-start;
}

/* Icon box zero-margin inside cards */
.icon-box-inline {
    margin: 0;
    border: none;
    flex-shrink: 0;
}

/* Info label small */
.info-label-small {
    font-size: 0.75rem;
}

/* Inline info paragraph */
.info-p {
    margin: 0;
    font-weight: 600;
}

.info-p-address {
    margin: 0.25rem 0 0 0;
    line-height: 1.5;
}

.info-p-text {
    margin: 0;
    line-height: 1.7;
}

/* White link (for dark card backgrounds) */
.link-white {
    color: white;
    text-decoration: none;
}

/* Text muted with color var */
.text-muted-var {
    color: var(--muted);
}

/* CTA center block */
.section-cta-center {
    text-align: center;
    margin-top: 5rem;
}

.section-cta-center p {
    margin-bottom: 2rem;
    color: var(--muted);
}

.btn-cta-wide {
    padding: 1rem 3rem;
}

/* Back / navigate button row */
.page-back-row {
    text-align: center;
    margin-top: 4rem;
}

/* Icon inline small (inside buttons / labels) */
.icon-btn-sm {
    width: 14px;
    height: 14px;
}

.icon-btn-md {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

/* Blog post meta icon */
.meta-icon {
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0.6;
}

/* Empty state block */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
}

.empty-state img {
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.empty-state p {
    color: var(--muted);
}

/* Featured CTA section row */
.featured-cta-row {
    margin-top: 3rem;
    text-align: center;
}

/* Clients empty label */
.clients-empty {
    color: var(--text-light);
    opacity: 0.5;
}

/* Product info image placeholder height */
.product-info-placeholder {
    height: 400px;
    border-radius: 2rem;
}

/* Slider empty slide */
.slide-empty {
    background: var(--bg-secondary);
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Breadcrumb nav margin & center */
.breadcrumb-nav {
    margin-top: 1.5rem;
    justify-content: center;
}

/* Breadcrumb capitalize link */
.breadcrumb-link {
    text-transform: capitalize;
}

/* Navbar muted padding */
.nav-empty-label {
    color: var(--muted);
    padding: 1rem;
}

/* Distributor card: content flex-grow */
.primary-body {
    flex-grow: 1;
}

/* Official card margin bottom reset */
.official-card-wrap {
    margin-bottom: 3rem;
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */
.error-page-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page-inner {
    max-width: 500px;
}

.error-page-code {
    font-family: var(--font-primary);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-page-title {
    margin-bottom: 1.5rem;
}

.error-page-desc {
    margin-bottom: 2.5rem;
}

.error-page-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   Product Image & Empty State
   ========================================================================== */
/* Zoom cursor on product detail image */
.product-main-img {
    cursor: zoom-in;
}

/* Empty product / state icon opacity */
.empty-product-icon img,
.empty-state img {
    opacity: 0.5;
}

/* No-image partial placeholder opacity */
.no-image-placeholder {
    opacity: 0.3;
}

/* ==========================================================================
   PRODUK PAGE (SIDEBAR LAYOUT)
========================================================================== */
.produk-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.produk-cards {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1024px) {
    .produk-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .produk-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .produk-layout .cat-sidebar {
        position: static;
    }

    .produk-layout .cat-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .produk-layout .cat-nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .produk-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .produk-cards {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   CATEGORY SIDEBAR & CATALOG LAYOUT
========================================================================== */
.cat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* --- Sidebar --- */
.cat-sidebar {
    position: sticky;
    top: 120px;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    background: var(--bg);
}

.cat-sidebar-title {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.cat-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cat-nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border: none;
    border-radius: var(--btn-radius);
    background: transparent;
    color: var(--text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.cat-nav-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.cat-nav-btn.active {
    background: var(--primary);
    color: var(--text-light);
}

.cat-nav-count {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: var(--icon-radius);
    background: var(--bg-light);
    color: var(--muted);
}

.cat-nav-btn.active .cat-nav-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

/* --- Content Area --- */
.cat-content-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--text);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cat-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    background: var(--bg);
    transition: border-color 0.2s ease;
}

.cat-item:hover {
    border-color: var(--primary);
}

.cat-item-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--icon-radius);
    overflow: hidden;
}

.cat-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat-item-info {
    flex: 1;
    min-width: 0;
}

.cat-item-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.cat-item-desc {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* --- Sparepart Responsive --- */
@media (max-width: 768px) {
    .cat-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cat-sidebar {
        position: static;
    }

    .cat-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .cat-nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .cat-grid {
        grid-template-columns: 1fr;
    }

    .cat-item-thumb {
        width: 80px;
        height: 80px;
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
========================================================================== */

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
========================================================================== 
*/
@media (max-width: 768px) {
    .slide-image {
        height: auto;
        min-height: unset;
        max-height: unset;
        aspect-ratio: 4 / 3;
        object-position: center;
    }

    .slider-content {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1.5rem 0 5rem;
    }

    .slider-content-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slider-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        max-width: 100%;
    }

    .slider-subtitle {
        display: none;
    }

    .slider-cta {
        padding: 0.5rem 1.5rem;
        font-size: 0.7rem;
    }

    .slider-controls {
        display: none;
    }

    .slider-hud {
        padding: 0 0 1rem;
        gap: 0;
        justify-content: center;
    }

    .slider-tracks {
        flex: unset;
        width: min(200px, 80%);
    }
}

@media (max-width: 1024px) {
    .hero-image {
        min-height: 280px;
        max-height: 60vh;
    }

    .hero {
        padding: 0 0 2.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .hero-image {
        min-height: 240px;
        max-height: 50vh;
        aspect-ratio: 4 / 3;
    }

    .hero {
        padding: 0 0 1.5rem;
        align-items: flex-end;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        min-height: 200px;
        aspect-ratio: 3 / 2;
    }

    .hero {
        padding: 0 0 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .hero-btn {
        display: none;
    }
}

@media (hover: none) {
    .card-image-link::after {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
        z-index: 5;
    }
}

@media (min-width: 1025px) {
    .nav-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
    }

    .desktop-nav {
        display: inline-flex;
        justify-self: center;
    }

    .cta.desktop-only {
        display: inline-flex;
        justify-self: end;
    }

    .mobile-toggle {
        display: none;
    }
}

@media (min-width: 1024px) {}

@media (max-width: 1024px) {

    .cards,
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .product-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-spec-list {
        gap: 2rem 2rem;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: 2rem 0;
    }

    .mobile-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .mega-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .cta.desktop-only {
        display: none;
    }

    .site-header {
        top: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        transform: none !important;
        left: 0 !important;

    }

    .site-header .container {
        width: min(1200px, 90%) !important;
        padding-inline: 0 !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 0 2rem;
    }

    .mobile-panel {
        top: 100% !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;

    }

    .section.breadcrumbs-wrap,
    .section.page-header-wrap {
        padding-top: 5.5rem;
    }
}

@media (max-width: 768px) {
    .page-head {
        margin: 1.2rem 1.2rem;
    }

    /* Product Detail Mobile */
    .product-visual-wrapper {
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    .product-main-img {
        width: 100%;
    }

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

    .product-spec-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-content {
        padding: 0.5rem 0;
        text-align: center;
    }

    .card-content a.product-title,
    .card-content p.product-title {
        font-size: 1.15rem !important;
        text-align: center !important;
        margin-bottom: 0.5rem;
    }

    .floating-action-wrapper {
        position: fixed !important;
        bottom: 5rem !important;
        /* Move up on mobile to avoid overlap with cookie banner or browser UI */
        right: 1.5rem !important;
        width: fit-content;
    }

}

@media (max-width: 640px) {
    .section {
        padding: 1.5rem 0;
    }

    .cards,
    .product-grid,
    .mega-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .clients {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem;
    }

    /* List style for product cards on small mobile */
    .card-column {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0.75rem !important;
        gap: 1rem !important;
    }

    .card-image-link {
        width: 110px !important;
        flex-shrink: 0 !important;
    }

    .card-image-wrapper {
        width: 110px !important;
        height: 110px !important;
        border-radius: 0.5rem !important;
    }

    .card-content {
        padding: 0 !important;
        text-align: left !important;
        flex: 1 !important;
    }

    .card-content a.product-title {
        font-size: 1.05rem !important;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 0.25rem !important;
    }
}

@media (max-width: 768px) {
    .blog-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .blog-search {
        max-width: 10 0%;
    }

    @media (max-width: 480px) {
        .blog-search {
            flex-direction: column;
        }

        .blog-search .btn {
            width: 100%;
        }
    }

    .article-footer {
        flex-direction: column;
    }

    .footer-meta-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-meta-item:last-child {
        text-align: left;
    }

    .footer-meta-item:last-child .article-share-group {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .article-header {
        padding: 3rem 0 6rem;
    }

    .article-image-container {
        margin-top: -3rem;
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .grid-responsive {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-description {
        margin-inline: auto;
    }
}

@media (max-width: 1024px) {

    .about-grid,
    .about-text-columns,
    .warranty-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 991px) {
    .official-store-footer {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .official-store-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .product-detail-content .product-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
    }

    .official-store-info {
        border: none;
        padding: 0;
        width: 100%;
        min-width: 0;
    }

    .primary-card {
        padding: 1.25rem !important;
    }

    .primary-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .feature-icon-box {
        width: 45px !important;
        height: 45px !important;
        flex-shrink: 0 !important;
    }

    .feature-icon-box img {
        width: 22px !important;
        height: 22px !important;
    }

    .primary-label {
        font-size: 0.75rem;
    }

    .primary-name {
        font-size: 1.15rem;
        margin-top: 0.1rem;
    }

    .marketplace-grid {
        gap: 0.4rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-marketplace-sm {
        padding: 0.5rem 0.2rem !important;
        font-size: 0.7rem !important;
        min-height: 2.5rem !important;
    }

    .official-store-footer {
        margin-left: 0 !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }

    /* Information Badge */
    .information-badge {
        left: 50%;
        right: auto;
        top: -2rem;
        transform: translateX(-50%);
        width: fit-content;
        min-width: 80px;
        height: auto;
        padding: 0.8rem 1rem;
    }
}

/* Information Badge (About Page) */
.information-badge {
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: var(--primary);
    color: white;
    width: fit-content;
    min-width: 100px;
    height: auto;
    padding: 1.25rem 1.5rem;
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    z-index: 2;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.information-badge-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.information-badge-year {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

/* ==========================================================================

/* ==========================================================================
   COOKIE CONSENT BANNER (Clean & Modern)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 94%);
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    /* Slate 900 Glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #f8fafc;
}

.cookie-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .cookie-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--icon-radius);
}

.cookie-text h3 {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.8;
}

.cookie-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie-primary {
    background: var(--primary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--btn-radius);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-cookie-outline {
    background: transparent;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--btn-radius);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-cookie-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-cookie-primary:hover {
    opacity: 0.9;
}

/* Footer Bottom Design */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-credits a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credits a:hover {
    color: var(--primary);
}

/* Transitions */
.banner-enter {
    transition: all 0.4s ease-out;
}

.banner-enter-start {
    opacity: 0;
    transform: translate(-50%, 20px);
}

.banner-enter-end {
    opacity: 1;
    transform: translate(-50%, 0);
}

.banner-leave {
    transition: all 0.2s ease-in;
}

.banner-leave-start {
    opacity: 1;
}

.banner-leave-end {
    opacity: 0;
    transform: translate(-50%, 10px);
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 1rem;
        padding: 1rem;
    }

    .cookie-container {
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-actions button {
        flex: 1;
    }
}

/* --- Layered Card Utility --- */
.layered-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    z-index: 1;
}

.layered-card::before {
    content: "";
    position: absolute;
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    z-index: -1;
}

/* --- About Page History Section --- */
.history-section {
    padding-bottom: 2rem;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-image img {
    border-radius: var(--card-radius);
    box-shadow: 20px 20px 0 var(--bg-secondary);
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.history-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.15;
}

/* Pillar Grid (Visi Misi) */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .history-image {
        order: -1;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Lokasi / Distributor System --- */
.lokasi-container {
    padding: 4rem 0;
}

.lokasi-header {
    margin-bottom: 3rem;
    text-align: center;
}

.lokasi-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lokasi-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.distributor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.distributor-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.distributor-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.distributor-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-secondary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.distributor-name {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.distributor-address {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.distributor-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.dist-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.dist-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}