/* Home page */

.page-home {
    --home-green: #1B4D3E;
    --home-green-dark: #143d31;
    --home-gold: #C9A227;
    background: #f7f9f8;
}

.page-home .pkb-floating-cart-icon {
    background: linear-gradient(135deg, var(--home-green) 0%, #245a48 100%);
}

.page-home .pkb-floating-cart-badge {
    background: var(--home-gold);
}

/* Home hero — category sidebar + compact banner */
.home-hero-layout{
    background:#f3f3f3;
    padding:0 0 18px;
}
.home-hero-grid{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:0;
    align-items:stretch;
}
.home-category-sidebar{
    background:#fff;
    border:1px solid #e4e4e4;
    border-right:0;
    display:flex;
    flex-direction:column;
}
.home-category-list{
    list-style:none;
    margin:0;
    padding:0;
}
.home-category-list a{
    display:block;
    padding:11px 16px;
    border-bottom:1px solid #efefef;
    font-size:.84rem;
    font-weight:600;
    color:#333;
    transition:background .2s ease,color .2s ease,padding-left .2s ease;
}
.home-category-list a:hover{
    background:#faf6eb;
    color:#143d31;
    padding-left:20px;
}
.home-category-all{
    margin-top:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:12px 16px;
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:#a87412;
    border-top:1px solid #efefef;
    background:#fffdf7;
}
.home-hero-banner{
    min-width:0;
    border:1px solid #e4e4e4;
    background:#f3f3f3;
}

/* Gold price — full width below hero categories */
.home-gold-price-section{
    background:#f3f3f3;
    padding:0 0 24px;
}
.home-gold-price-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(240px,360px);
    gap:18px;
    align-items:start;
}
.home-gold-price-grid--full{
    grid-template-columns:1fr;
}
.home-gold-price-main{
    min-width:0;
}
.home-gold-price-grid .gold-price-table-widget{
    width:100%;
}
.home-savings-price-widgets{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    width:100%;
}
.home-savings-price-widgets .gold-saving-price-widget,
.home-savings-price-widgets .silver-saving-price-widget{
    width:100%;
    min-width:0;
}
@media (max-width:1200px){
    .home-gold-price-grid{
        grid-template-columns:1fr;
    }
}
@media (max-width:992px){
    .home-gold-price-section{
        padding:0 0 20px;
    }
    .home-gold-price-section .container.home-gold-price-grid,
    .home-gold-price-section .container.home-voucher-mobile-slot{
        padding-left:16px;
        padding-right:16px;
    }
    .home-gold-price-grid{
        gap:14px;
    }
    .home-savings-price-widgets{
        max-width:none;
        width:100%;
        gap:14px;
    }
    .home-savings-price-widgets .gold-saving-price-widget,
    .home-savings-price-widgets .silver-saving-price-widget,
    .home-gold-price-grid .gold-price-table-widget{
        width:100%;
    }
}

.hero-slider--compact{
    height:auto;
    min-height:0;
    overflow:hidden;
    background:#f3f3f3;
}
.hero-slider--compact .slider-track{
    display:flex;
}
.hero-slider--compact .slide,
.hero-slider--compact .slide.active{
    height:auto;
    min-height:0;
}
.hero-slider--compact .slide img{
    width:100%;
    height:auto;
    max-height:none;
    display:block;
    object-fit:contain;
    object-position:center top;
    vertical-align:top;
}
.hero-slider--compact .slide--theme{
    min-height:280px;
    height:auto;
}
.hero-slider--compact .slider-dots{
    bottom:12px;
}
.hero-slider--compact .slider-arrow{
    width:36px;
    height:36px;
    font-size:1.2rem;
    top:50%;
    transform:translateY(-50%);
}

/* Banner slideshow — home overrides */
.home-banner {
    margin-bottom: 0;
    background: var(--home-green-dark);
}

.home-banner .slide-caption h2 {
    font-family: var(--font-display);
}

.home-banner .btn-slide-cta {
    font-size: .85rem;
    padding: 11px 22px;
}

/* Products section banner slideshow */
.home-products-banner-wrap {
    margin-top: clamp(16px, 2.5vw, 28px);
}

.home-products-banner {
    margin-bottom: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #f3ead8;
    box-shadow: 0 8px 28px rgba(20, 61, 49, .08);
}

.home-products-banner .slide {
    background: #f3ead8;
    line-height: 0;
}

.home-products-banner.hero-slider--compact .slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
    min-height: 80px;
}

.home-products-banner.hero-slider--compact .slider-dots {
    bottom: 10px;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(4px);
}

.home-products-banner .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-color: rgba(90, 90, 90, .35);
    background: rgba(90, 90, 90, .18);
}

.home-products-banner .slider-dots .dot.active,
.home-products-banner .slider-dots .dot:hover {
    background: #4a4a4a;
    border-color: #4a4a4a;
    transform: scale(1.08);
}

.hero-slider--no-arrows .slider-arrow {
    display: none;
}

/* Company intro — after banner */
.home-intro {
    background: #fff;
    padding: 48px 0 40px;
    border-bottom: 1px solid #e8eeeb;
}

.home-intro-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 36px;
}

.home-intro-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #fffdf7 0%, #fff6dc 100%);
    box-shadow:
        0 18px 48px rgba(168, 116, 18, .14),
        inset 0 0 0 1px rgba(201, 162, 39, .18);
    aspect-ratio: 16 / 10;
}

.home-intro-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.home-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-intro-media-placeholder {
    font-size: 4rem;
    color: var(--home-gold);
    opacity: .45;
}

.home-intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.2;
}

.home-intro-subtitle {
    font-size: clamp(.95rem, 1.6vw, 1.1rem);
    font-weight: 600;
    font-style: italic;
    color: var(--home-gold);
    margin: 0 0 18px;
}

.home-intro-desc {
    font-size: .92rem;
    line-height: 1.75;
    color: #4a5f56;
    margin: 0 0 24px;
    max-width: 52ch;
}

.home-intro-btn {
    font-size: .85rem;
    padding: 12px 28px;
    border-radius: 6px;
}

.home-intro-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-top: 8px;
}

.home-intro-stat {
    text-align: center;
    padding: 12px 16px;
}

.home-intro-stat--divider {
    border-left: 1px solid #dde5e1;
}

.home-intro-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--home-gold);
    line-height: 1.2;
    margin-bottom: 6px;
}

.home-intro-stat-label {
    display: block;
    font-size: .82rem;
    color: #5a6b63;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .home-intro-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-intro-media {
        max-width: none;
        margin: 0;
        width: 100%;
    }

    .home-intro-content {
        text-align: center;
    }

    .home-intro-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .home-intro {
        padding: 32px 0 28px;
    }

    .home-intro-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 0;
    }

    .home-intro-stat--divider {
        border-left: none;
    }

    .home-intro-stat:nth-child(odd) {
        border-right: 1px solid #dde5e1;
    }

    .home-intro-stat:nth-child(n+3) {
        padding-top: 4px;
        border-top: 1px solid #dde5e1;
    }
}

/* Why choose us — above products */
.home-why {
    padding: 8px 0 36px;
}

.home-why-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px;
}

.home-why-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 14px;
}

.home-why-subtitle {
    font-size: clamp(.88rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: #4a5f56;
    margin: 0;
}

.home-why-highlight {
    color: var(--home-gold);
    font-weight: 700;
}

.home-why-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-why-card {
    position: relative;
    background: #fff;
    border: 1.5px solid rgba(201, 162, 39, .55);
    border-radius: 28px 10px 28px 10px;
    padding: 28px 18px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(27, 77, 62, .04);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.home-why-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(201, 162, 39, .08), transparent 55%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .28s ease;
}

.home-why-card:hover {
    transform: translateY(-5px);
    border-color: var(--home-gold);
    box-shadow: 0 18px 44px rgba(201, 162, 39, .14);
}

.home-why-card:hover::before {
    opacity: 1;
}

.home-why-card-icon-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fffdf5 0%, #fff3c4 45%, #ffe08a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .65),
        inset 0 -8px 16px rgba(201, 162, 39, .12),
        0 10px 24px rgba(201, 162, 39, .16);
    transition: transform .32s ease, box-shadow .32s ease;
}

.home-why-card-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(201, 162, 39, .28);
    pointer-events: none;
}

.home-why-card-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(201, 162, 39, .45), rgba(255, 224, 138, .08) 55%, rgba(27, 77, 62, .12));
    z-index: -1;
    opacity: .85;
}

.home-why-card:hover .home-why-card-icon-wrap {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .75),
        inset 0 -8px 16px rgba(201, 162, 39, .16),
        0 16px 32px rgba(201, 162, 39, .22);
}

.home-why-card-icon-wrap--1 {
    background: radial-gradient(circle at 32% 24%, #fffef8 0%, #fff0b8 42%, #f0c84a 100%);
}

.home-why-card-icon-wrap--2 {
    background: radial-gradient(circle at 32% 24%, #f8fffb 0%, #dff5ea 42%, #b8e6cf 100%);
}

.home-why-card-icon-wrap--3 {
    background: radial-gradient(circle at 32% 24%, #f8fcff 0%, #dceef8 42%, #b8d9f0 100%);
}

.home-why-card-icon-wrap--4 {
    background: radial-gradient(circle at 32% 24%, #f7faf8 0%, #dceee4 42%, #b5d9c8 100%);
}

.home-why-card-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: #c4921a;
    filter: drop-shadow(0 3px 6px rgba(180, 134, 11, .22));
    transition: transform .32s ease, filter .32s ease;
}

.home-why-card:hover .home-why-card-icon {
    transform: scale(1.06);
    filter: drop-shadow(0 5px 10px rgba(180, 134, 11, .28));
}

.home-why-card--1 .home-why-card-icon {
    background: linear-gradient(145deg, #9a7209 0%, #e8c547 45%, #c4921a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-why-card--2 .home-why-card-icon {
    background: linear-gradient(145deg, #1b4d3e 0%, #2e8b57 50%, #c4921a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-why-card--3 .home-why-card-icon {
    background: linear-gradient(145deg, #1a5276 0%, #3498db 55%, #1b4d3e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-why-card--4 .home-why-card-icon {
    background: linear-gradient(145deg, #0b3d2e 0%, #1b4d3e 50%, #c4921a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-why-card-icon-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.home-why-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.home-why-card-desc {
    font-size: .82rem;
    line-height: 1.55;
    color: #5a6b63;
    margin: 0;
}

a.home-why-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.home-why-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--home-gold, #c9a227);
    transition: gap .2s ease;
}

.home-why-card:hover .home-why-card-link {
    gap: 10px;
}

@media (max-width: 1024px) {
    .home-why-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .home-why {
        padding: 4px 0 28px;
    }

    .home-why-cards {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }

    .home-why-card {
        border-radius: 22px 10px 22px 10px;
        padding: 24px 16px 20px;
    }
}

/* Content layout */
.home-page {
    padding: 32px 0 48px;
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
}

.home-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.home-section-header {
    margin-bottom: 20px;
}

.section-eyebrow {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--home-gold);
    margin-bottom: 4px;
}

.home-section-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--home-green);
}

.btn-view-all {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    border: 1px solid #c5d5cc;
    color: var(--home-green);
    background: #fff;
}

.btn-view-all:hover {
    border-color: var(--home-green);
    background: var(--home-green);
    color: #fff;
}

.home-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.home-category-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #d8e2dc;
    border-radius: 6px;
    background: #fff;
    color: #4a5f56;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.home-category-tab:hover {
    border-color: rgba(201, 162, 39, .45);
    color: #8a6d00;
}

.home-category-tab.is-active {
    border-color: var(--home-gold);
    color: var(--home-gold);
    background: rgba(201, 162, 39, .06);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .12);
}

.home-products-empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: #7a8f86;
    font-size: .9rem;
    background: #fff;
    border: 1px dashed #d8e2dc;
    border-radius: 12px;
}

.home-product-card[hidden] {
    display: none !important;
}

.home-product-grid {
    gap: 22px;
}

@media (min-width: 993px) {
    .home-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 14px;
    border: 1px solid #e3ebe6;
    background: #fff;
    box-shadow: 0 2px 12px rgba(27, 77, 62, .04);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-product-card:hover {
    border-color: rgba(201, 162, 39, .35);
    box-shadow: 0 14px 36px rgba(27, 77, 62, .1);
    transform: translateY(-4px);
}

.home-product-wishlist {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(27, 77, 62, .08);
}

.home-product-media {
    padding: 24px 20px 18px;
    background: linear-gradient(180deg, #f8f4e8 0%, #fff 72%);
    border-bottom: 1px solid #f0f3f1;
    aspect-ratio: unset;
    min-height: 160px;
    overflow: hidden;
}

.home-product-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .25s ease;
}

.home-product-card:hover .home-product-media img {
    transform: scale(1.03);
}

.home-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 16px 18px 18px;
}

.home-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.home-product-badge,
.home-product-weight,
.home-product-stock {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.home-product-badge {
    background: linear-gradient(135deg, rgba(201, 162, 39, .16), rgba(201, 162, 39, .08));
    color: #8a6d00;
    border: 1px solid rgba(201, 162, 39, .22);
}

.home-product-weight {
    background: #f3f7f5;
    color: #5a7268;
    border: 1px solid #e3ebe6;
}

.home-product-stock--out {
    margin-left: auto;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.home-product-stock--in {
    margin-left: auto;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.home-product-title {
    margin: 0;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.45;
    min-height: 2.9em;
}

.home-product-title a {
    color: #1a2e28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s ease;
}

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

.home-product-pricing {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0 4px;
    margin-top: auto;
    border-top: 1px dashed #e3ebe6;
}

.home-product-price {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--home-green);
    letter-spacing: -.02em;
    line-height: 1.1;
}

.home-product-ppg {
    font-size: .74rem;
    font-weight: 600;
    color: #7a8f86;
    white-space: nowrap;
}

.home-product-actions {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
}

.home-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease, box-shadow .18s ease;
}

.home-product-btn .ri {
    font-size: .95rem;
}

.home-product-btn--detail {
    color: var(--home-green);
    background: #fff;
    border: 1px solid #d5e3db;
}

.home-product-btn--detail:hover {
    background: #f3f8f5;
    border-color: var(--home-green);
    color: var(--home-green);
}

.home-product-btn--cart {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--home-green) 0%, #2a6b55 100%);
    box-shadow: 0 6px 16px rgba(27, 77, 62, .18);
}

.home-product-btn--cart:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(27, 77, 62, .24);
}

.home-product-btn--cart:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
    background: #9eb5a8;
}

.home-product-cart-form {
    margin: 0;
    min-width: 0;
}

/* Gold world chart */
.home-gold-chart {
    background: #fff;
    border: 1px solid #e5ebe8;
    border-radius: 12px;
    padding: 22px 24px 20px;
    box-shadow: 0 4px 20px rgba(27, 77, 62, .05);
}

.home-gold-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}

.home-gold-chart-head h2 {
    font-size: 1.2rem;
    color: var(--home-green);
    margin: 4px 0 6px;
}

.home-gold-chart-sub {
    font-size: .78rem;
    color: #5a7268;
    max-width: 420px;
    line-height: 1.5;
}

.home-gold-chart-link {
    margin: 8px 0 0;
}

.home-gold-chart-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--home-green);
    text-decoration: none;
}

.home-gold-chart-link a:hover {
    text-decoration: underline;
}

.home-gold-chart-spot {
    text-align: right;
    flex-shrink: 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f4faf7, #fff9eb);
    border: 1px solid #e5ebe8;
    border-radius: 10px;
    min-width: 180px;
}

.home-gold-chart-spot-label {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    color: #5a7268;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}

.home-gold-chart-spot strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--home-green);
    line-height: 1.2;
}

.home-gold-chart-spot-unit {
    display: block;
    font-size: .72rem;
    color: #5a7268;
    margin-top: 2px;
}

.home-gold-chart-myr {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--home-gold);
    margin-top: 6px;
}

.home-gold-chart-change {
    display: inline-block;
    margin-top: 6px;
    font-size: .78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.home-gold-chart-change.is-up {
    color: #1B5E20;
    background: #E8F5E9;
}

.home-gold-chart-change.is-down {
    color: #B71C1C;
    background: #FFEBEE;
}

.home-gold-chart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.home-gold-chart-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: #f0f5f2;
    border-radius: 999px;
}

.home-gold-chart-tab {
    border: none;
    background: transparent;
    color: #5a7268;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.home-gold-chart-tab:hover {
    color: var(--home-green);
}

.home-gold-chart-tab.is-active {
    background: var(--home-green);
    color: #fff;
}

.home-gold-chart-updated {
    font-size: .72rem;
    color: #5a7268;
}

.home-gold-chart-canvas-wrap {
    position: relative;
    height: 280px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fafcfb 0%, #fff 100%);
    border: 1px solid #eef3f0;
    padding: 12px 8px 4px;
}

.home-gold-chart-canvas-wrap.is-loading::after {
    content: 'Memuatkan...';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .75);
    font-size: .85rem;
    font-weight: 600;
    color: var(--home-green);
    border-radius: 10px;
}

.gold-history-empty {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7faf8;
    border: 1px dashed #dbe5df;
    font-size: .82rem;
    color: #5a7268;
    text-align: center;
}

/* Latest news — homepage blog strip */
.home-latest-news {
    padding-top: 4px;
}

.home-latest-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.home-latest-news-head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -.01em;
}

.home-latest-news-more {
    flex-shrink: 0;
    font-size: .92rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.home-latest-news-more:hover {
    color: var(--home-green);
    text-decoration: underline;
}

.home-latest-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-latest-news-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.home-latest-news-media {
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f3f3;
    margin-bottom: 14px;
}

.home-latest-news-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .25s ease;
}

.home-latest-news-media:hover img {
    transform: scale(1.03);
}

.home-latest-news-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    color: #b0b0b0;
    font-size: 2.4rem;
    background: linear-gradient(180deg, #f8f8f8, #ececec);
}

.home-latest-news-meta {
    margin: 0 0 10px;
    font-size: .78rem;
    color: #666;
    line-height: 1.4;
}

.home-latest-news-title {
    margin: 0 0 12px;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.home-latest-news-title a {
    color: #111;
    text-decoration: none;
}

.home-latest-news-title a:hover {
    color: var(--home-green);
}

.home-latest-news-read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    font-size: .82rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.home-latest-news-read .ri {
    font-size: .95rem;
    transition: transform .2s ease;
}

.home-latest-news-read:hover {
    color: var(--home-green);
}

.home-latest-news-read:hover .ri {
    transform: translateX(3px);
}

/* Sidebar — voucher promotions */
.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 92px;
}

/* Voucher promo: one slot only — mobile (top) vs desktop (sidebar) */
.home-voucher-mobile-slot {
    display: none;
    padding-top: 18px;
}

aside.home-sidebar.home-voucher-desktop-slot {
    display: flex;
}

@media (max-width: 1100px) {
    .home-voucher-mobile-slot {
        display: block;
    }

    aside.home-sidebar.home-voucher-desktop-slot {
        display: none;
    }
}

.home-sidebar .widget {
    border-radius: 10px;
    padding: 18px;
}

.home-sidebar .widget.home-voucher-widget {
    padding: 0;
    border-radius: 14px;
}

.home-voucher-widget {
    --home-voucher-surface: #fff;
    --home-voucher-line: #ece4cf;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e6dcc4;
    background: var(--home-voucher-surface);
    box-shadow: 0 10px 28px rgba(27, 77, 62, .08);
}

.home-voucher-widget-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 16px;
    overflow: hidden;
    color: #fff;
    text-shadow: 0 1px 2px rgba(61, 46, 8, .22);
    background: linear-gradient(
        125deg,
        #a87f15 0%,
        #c9a227 18%,
        #e8c547 38%,
        #f5e6a8 52%,
        #e8c547 66%,
        #c9a227 82%,
        #b8891d 100%
    );
    background-size: 220% 220%;
    animation: home-voucher-head-gradient 7s ease-in-out infinite;
}

.home-voucher-widget-head::before {
    content: '';
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(
        105deg,
        transparent 36%,
        rgba(255, 255, 255, .08) 42%,
        rgba(255, 255, 255, .42) 50%,
        rgba(255, 248, 220, .55) 52%,
        rgba(255, 255, 255, .24) 58%,
        transparent 64%
    );
    transform: translateX(-55%) rotate(8deg);
    animation: home-voucher-head-shine 3.8s ease-in-out infinite;
    pointer-events: none;
}

.home-voucher-widget-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, transparent 44%, rgba(120, 88, 10, .14) 100%);
    pointer-events: none;
}

.home-voucher-widget-head > * {
    position: relative;
    z-index: 1;
}

@keyframes home-voucher-head-gradient {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes home-voucher-head-shine {
    0%,
    18% {
        transform: translateX(-55%) rotate(8deg);
        opacity: 0;
    }

    28% {
        opacity: 1;
    }

    52%,
    100% {
        transform: translateX(55%) rotate(8deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-voucher-widget-head {
        animation: none;
        background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #b8891d 100%);
    }

    .home-voucher-widget-head::before {
        animation: none;
        opacity: 0;
    }
}

.home-voucher-widget-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.home-voucher-widget-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 1.35rem;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.home-voucher-widget-head h3 {
    margin: 0 0 3px;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
}

.home-voucher-widget-head p {
    margin: 0;
    font-size: .76rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, .78);
}

.home-voucher-widget-badge {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .26);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}

.home-voucher-empty {
    text-align: center;
    padding: 28px 20px 30px;
    margin: 16px;
    border: 1px dashed #dbe5df;
    border-radius: 14px;
    background: linear-gradient(180deg, #fafcfb 0%, #f4f8f6 100%);
}

.home-voucher-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #eef4f1;
    color: #9eb5aa;
    font-size: 1.45rem;
}

.home-voucher-empty strong {
    display: block;
    margin-bottom: 6px;
    font-size: .92rem;
    color: var(--home-green);
}

.home-voucher-empty p {
    margin: 0;
    font-size: .78rem;
    line-height: 1.5;
    color: #7a8f86;
}

.home-voucher-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.home-voucher-card {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 116px;
    border: 1px solid #e4e8ea;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 35, 52, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-voucher-card:hover {
    transform: translateY(-1px);
    border-color: #cfd8dc;
    box-shadow: 0 8px 20px rgba(15, 35, 52, .08);
}

.home-voucher-card-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 96px;
    flex: 0 0 96px;
    padding: 14px 10px 14px 14px;
    text-align: center;
    background: var(--home-voucher-stub-color, #4fb0a7);
    color: #fff;
}

.home-voucher-card-stub-edge {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    background:
        radial-gradient(circle at 0 6px, #fff 5px, transparent 5.5px) 0 0 / 8px 12px repeat-y;
    pointer-events: none;
}

.home-voucher-card-stub-badge {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #fff;
}

.home-voucher-card-stub-amount {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -.02em;
}

.home-voucher-card-stub-suffix {
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .92);
}

.home-voucher-card-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 16px 14px;
}

.home-voucher-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-voucher-card-title {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    letter-spacing: -.01em;
}

.home-voucher-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    font-size: .76rem;
    line-height: 1.4;
    color: #666;
}

.home-voucher-card-meta span {
    color: #888;
}

.home-voucher-card-meta strong {
    color: #333;
    font-weight: 700;
}

.home-voucher-card-code code {
    padding: 1px 6px;
    border-radius: 4px;
    background: #f3f6f5;
    border: 1px solid #dfe7e3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--home-green, #1b4d3e);
}

.home-voucher-card-valid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: .72rem;
    line-height: 1.4;
    color: #999;
}

.home-voucher-card-tc {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: .72rem;
    font-weight: 600;
    color: #3e7bce;
    cursor: pointer;
    text-decoration: none;
}

.home-voucher-card-tc:hover {
    text-decoration: underline;
}

.home-voucher-card-action {
    flex: 0 0 auto;
    margin: 0;
}

.home-voucher-use-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 36px;
    padding: 0 18px;
    border: 1.5px solid rgba(184, 137, 29, .72);
    border-radius: 8px;
    background: linear-gradient(135deg, #f5d04a 0%, #d4af37 38%, #c9a227 62%, #a67c00 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(201, 162, 39, .34);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, border-color .15s ease;
}

.home-voucher-use-btn::before {
    content: '';
    position: absolute;
    inset: -60% -90%;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, .22) 46%,
        rgba(255, 255, 255, .72) 50%,
        rgba(255, 248, 220, .55) 52%,
        rgba(255, 255, 255, .18) 58%,
        transparent 66%
    );
    transform: translateX(-65%) rotate(10deg);
    animation: home-voucher-btn-shine 3s ease-in-out infinite;
    pointer-events: none;
}

.home-voucher-use-btn:hover {
    filter: brightness(1.06);
    border-color: rgba(214, 175, 55, .9);
    box-shadow: 0 6px 18px rgba(201, 162, 39, .42);
    transform: translateY(-1px);
    color: #fff;
}

.home-voucher-use-btn:active {
    transform: translateY(0);
    filter: brightness(.98);
}

@keyframes home-voucher-btn-shine {
    0%,
    100% {
        transform: translateX(-65%) rotate(10deg);
    }

    50% {
        transform: translateX(65%) rotate(10deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-voucher-use-btn::before {
        animation: none;
        opacity: .35;
    }
}

.home-voucher-tc-dialog {
    width: min(92vw, 360px);
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
}

.home-voucher-tc-dialog::backdrop {
    background: rgba(17, 24, 39, .45);
}

.home-voucher-tc-dialog-inner {
    position: relative;
    padding: 20px 18px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 35, 52, .18);
}

.home-voucher-tc-dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #666;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.home-voucher-tc-dialog-title {
    margin: 0 0 12px;
    padding-right: 28px;
    font-size: .92rem;
    font-weight: 800;
    color: #111;
}

.home-voucher-tc-dialog-list {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
}

.home-voucher-tc-dialog-list div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px;
    font-size: .78rem;
}

.home-voucher-tc-dialog-list dt {
    margin: 0;
    font-weight: 700;
    color: #666;
}

.home-voucher-tc-dialog-list dd {
    margin: 0;
    color: #111;
    font-weight: 600;
}

.home-voucher-tc-dialog-summary {
    margin: 0;
    font-size: .76rem;
    line-height: 1.55;
    color: #666;
}

@media (max-width: 768px) {
    .home-voucher-card {
        min-height: 0;
    }

    .home-voucher-card-main {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px;
    }

    .home-voucher-card-action {
        width: 100%;
        align-self: stretch;
        margin-top: 2px;
    }

    .home-voucher-use-btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        height: auto;
        padding: 10px 16px;
        font-size: .84rem;
    }
}

@media (max-width: 520px) {
    .home-voucher-card-stub {
        width: 82px;
        flex-basis: 82px;
        padding-left: 12px;
    }

    .home-voucher-card-stub-amount {
        font-size: .92rem;
    }

    .home-voucher-card-main {
        gap: 10px;
        padding: 12px;
    }
}

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

    .home-sidebar {
        order: 3;
        position: static;
    }
}

@media (max-width: 992px) {
    .home-latest-news-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: #c5d0ca transparent;
        padding-bottom: 6px;
    }

    .home-latest-news-grid::-webkit-scrollbar {
        height: 4px;
    }

    .home-latest-news-grid::-webkit-scrollbar-thumb {
        background: #c5d0ca;
        border-radius: 999px;
    }

    .home-latest-news-card {
        flex: 0 0 min(72vw, 260px);
        scroll-snap-align: start;
    }

    .home-latest-news-media {
        margin-bottom: 12px;
    }

    .home-latest-news-title {
        font-size: .84rem;
    }
}

@media (max-width: 768px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-category-sidebar {
        display: none;
    }

    .home-hero-banner {
        border-left: 1px solid #e4e4e4;
    }

    .hero-slider--compact .slide--theme {
        min-height: 200px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .home-product-body {
        padding: 14px 14px 16px;
    }

    .home-product-price {
        font-size: 1.12rem;
    }

    .home-product-actions {
        grid-template-columns: 1fr;
    }

    .home-gold-chart-head {
        flex-direction: column;
    }

    .home-gold-chart-spot {
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-product-media {
        padding: 16px 12px 12px;
        min-height: 120px;
    }

    .home-product-body {
        padding: 12px 10px 14px;
        gap: 8px;
    }

    .home-product-badge,
    .home-product-weight,
    .home-product-stock {
        font-size: .62rem;
        padding: 3px 7px;
    }

    .home-product-stock--out {
        margin-left: 0;
    }

    .home-product-stock--in {
        margin-left: 0;
    }

    .home-product-title {
        font-size: .82rem;
        min-height: 2.6em;
    }

    .home-product-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 0 2px;
    }

    .home-product-price {
        font-size: 1rem;
    }

    .home-product-ppg {
        font-size: .68rem;
        white-space: normal;
    }

    .home-product-btn {
        min-height: 36px;
        padding: 8px 8px;
        font-size: .72rem;
        gap: 4px;
    }

    .home-product-btn .ri {
        font-size: .85rem;
    }

    .home-products-banner-wrap {
        margin-top: 14px;
    }

    .home-products-banner {
        border-radius: 10px;
    }

    .home-products-banner.hero-slider--compact .slider-dots {
        bottom: 8px;
        gap: 5px;
        padding: 5px 8px;
    }

    .home-products-banner .slider-dots .dot {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 520px) {
    .home-latest-news-head h2 {
        font-size: 1.15rem;
    }

    .home-latest-news-card {
        flex-basis: min(78vw, 240px);
    }
}
