/* =========================================================
   index.css
   SEMUA SECTION di index.html
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    border-radius: 0 0 26px 26px;
    overflow: hidden;
    min-height: 100vh;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.18));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1.15rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.25rem;
}

.hero-actions .btn {
    margin: 0 0.3rem;
}

/* Hero Dots*/
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    margin-bottom: 50px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.9;
}

.hero-dot.is-active {
    background: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

/* =========================================================
   VALUE BAR
   ========================================================= */
.valuebar {
    margin-top: -70px;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.value-wrap {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #a02020 100%);
    border-radius: 20px;
    color: #fff;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(139, 30, 30, 0.25);
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item .t {
    font-family: "Calistoga", serif;
    font-size: 1.35rem;
    margin: 0;
    line-height: 1.2;
}

.value-item .d {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.4;
}

.value-icon {
    width: 50px;
    height: 5%;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

/* RESPONSIVE VALUE BAR */
@media (max-width: 992px) {
    .value-wrap {
        padding: 1.25rem;
    }
    .value-item .t {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .valuebar {
        margin-top: -30px;
    }
    .value-item {
        justify-content: flex-start;
    }
    .value-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .value-item .d {
        font-size: 0.75rem;
    }

    .value-item {
        gap: 0.75rem;
    }

    .value-item .t {
        font-size: 1.1rem;
    }

    .value-icon {
        width: 40px;
        height: 40px;
    }

    .value-wrap {
        padding: 1.2rem;
        border-radius: 16px;
    }
}

/* =========================================================
   FEATURED CATEGORIES (SLIDER)
   ========================================================= */
.cat-wrap {
    padding: 0.5rem 0;
    position: relative;
}

.cat-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 15px 1rem 25px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    justify-content: flex-start;
}

.cat-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.cat-item {
    flex: 0 0 auto;
    width: 130px;
    scroll-snap-align: center;
    text-align: center;
}

.cat-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.cat-link:hover {
    transform: translateY(-8px);
}

.cat-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Make it circular for a modern look */
    overflow: hidden;
    margin: 0 auto 0.75rem;
    border: 3px solid #fff;
    box-shadow: 0 8px 15px rgba(139, 30, 30, 0.15);
    background: #fdfdfd;
}

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

.cat-label {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .valuebar {
        margin-top: -70px;
        position: relative;
        z-index: 10;
        padding: 0 1rem;
        display: none;
    }

    .cat-scroll {
        gap: 16px;
        justify-content: flex-start;
    }
    .cat-item {
        width: 100px;
    }
    .cat-thumb {
        width: 80px;
        height: 80px;
    }
    .cat-label {
        font-size: 0.75rem;
    }
}

/* =========================================================
   NEW ARRIVALS
   ========================================================= */
.newarrivals-left h3 {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.8px;
    margin-bottom: 0.25rem;
}

.newarrivals-left p {
    color: var(--muted);
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.product-mini {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    transition: transform 0.2s ease;
}

.product-mini:hover {
    transform: none !important;
    box-shadow: none !important;
}

.product-mini .img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-mini .img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.product-mini .info {
    padding: 0.65rem;
    min-width: 0;
}

.product-mini .name {
    font-size: 0.78rem;
    font-weight: 900;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    max-width: 100%;
}

.product-mini .price {
    font-size: 0.74rem;
    margin: 0;
    color: var(--primary);
    font-weight: 900;
}

.product-link {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
}

.product-link:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.product-link .name,
.product-link .price {
    color: inherit !important;
    text-decoration: none !important;
}

/* =========================================================
   BRING THE SOUL + STATS
   ========================================================= */
.soul-title {
    color: var(--primary);
    font-family: "Calistoga", serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.soul-text {
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 320px;
}

/* cards */
.stat-big,
.stat-small,
.stat-tall {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #111;
    color: #fff;
}

.stat-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(1.05);
    transition:
        transform 0.8s cubic-bezier(0.25, 1, 0.25, 1),
        filter 0.8s;
}

.stat-big:hover .stat-bg,
.stat-small:hover .stat-bg,
.stat-tall:hover .stat-bg {
    transform: scale(1.08);
    filter: saturate(1.15);
}

.stat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.22));
}

.stat-content {
    position: relative;
    height: 100%;
    z-index: 2;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.stat-content .big {
    font-family: "Calistoga", serif;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0.5px;
}

.stat-content .label {
    font-weight: 900;
    font-size: 0.9rem;
    opacity: 0.95;
}

.stat-icon {
    font-size: 2.2rem;
    opacity: 0.95;
}

/* grid layout */
.soul-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.35fr;
    grid-template-rows: 200px 300px;
    gap: 16px;
}

.sg-banner {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.sg-tall {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.sg-left {
    grid-column: 1;
    grid-row: 2;
}

.sg-mid {
    grid-column: 2;
    grid-row: 2;
}

.sg-banner .stat-big,
.sg-left .stat-small,
.sg-mid .stat-small,
.sg-tall .stat-tall {
    height: 100%;
}

.stat-big {
    height: 200px;
}

.stat-small {
    height: 300px;
}

.stat-tall {
    height: calc(200px + 300px + 16px);
}

.sg-banner .stat-content {
    display: flex;
    align-items: flex-end;
}

.sg-banner .stat-icon {
    margin-left: auto;
    align-self: flex-end;
}

/* =========================================================
   BEST SELLER
   ========================================================= */
.best-head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.best-head .explore-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.best-wrap {
    padding: 0.6rem 0;
}

.best-grid {
    display: grid;
    grid-template-columns: var(--arrowSize) minmax(0, 1fr) var(--arrowSize);
    align-items: center;
    column-gap: var(--arrowGap);
}

.best-scroll {
    width: 100%;
    min-width: 0;
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: var(--arrowGap);
    scroll-padding-inline: var(--arrowGap);
    justify-content: flex-start;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.best-scroll::-webkit-scrollbar {
    display: none;
    height: 8px;
}

.best-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
}

.best-card {
    width: 100%;
    min-width: 220px;
    max-width: 220px;
    flex: 0 0 220px;
    scroll-snap-align: start;
    height: auto;
}

.best-card .img {
    width: 100%;
    height: 200px;
    margin: 0 auto 0.6rem;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(139, 30, 30, 0.22);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.best-card .img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.best-card .n {
    font-weight: 900;
    font-size: 0.85rem;
    display: block;
    max-width: 150px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.best-card .c {
    font-size: 0.72rem;
    color: #444;
    margin: 0.15rem 0 0.35rem;
}

.best-card .p {
    font-weight: 900;
    color: var(--primary);
    font-size: 0.8rem;
    margin: 0 0 0.35rem;
}

.best-card .btn {
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    border-radius: 8px;
}

/* =========================================================
   VIDEO
   ========================================================= */
.video-banner {
    height: 500px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    background: #111;
}

.video-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../image/video/ottoman.webp");
    background-size: cover;
    background-position: center;
    filter: contrast(1.05);
    transform: scale(1.02);
}

.video-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(139, 30, 30, 0.72);
}

/* ===== Play Button (Video Banner) ===== */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: 0.2s ease;
    z-index: 3;
    border: none;
}

/* ===== Hover State ===== */
.video-banner:hover .play-btn {
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-banner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 5;
}

/* =========================================================
   BLOG
   ========================================================= */
.blog-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-head .more-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.blog-card {
    border: var(--border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: #fff;
}

.blog-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-card .b {
    padding: 0.85rem 0.95rem 1rem;
}

.blog-card .t {
    color: var(--primary);
    font-weight: 900;
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
}

.blog-card .d {
    color: #222;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.35;
}

.blog-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* =========================================================
   STORIES / IG
   ========================================================= */
.about-stories {
    margin: 0;
    margin-top: var(--section-space);
}

.story-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 9 / 16;
}

.story-card img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ===== Play Button ===== */
.story-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: 0.2s ease;
}

/* ===== Hover State ===== */
.story-card:hover .story-play {
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

/* IG Modal Show */
.ig-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.ig-modal.active {
    opacity: 1;
    visibility: visible;
}

.ig-modal-inner {
    width: 90%;
    max-width: 420px;
    position: relative;
}

.ig-video-wrap iframe {
    width: 100%;
    height: 520px;
    border-radius: 14px;
    border: none;
}

.ig-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

.story-slider {
    width: 100%;
}

.story-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* =========================================================
   CUSTOMERS TESTIMONIAL
   ========================================================= */
.testi-wrap {
    padding: 0.6rem 0;
}

.testi-grid {
    display: grid;
    grid-template-columns: var(--arrowSize) minmax(0, 1fr) var(--arrowSize);
    align-items: center;
    column-gap: var(--arrowGap);
}

/* Scroll */
.testi-scroll {
    width: 100%;
    min-width: 0;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: var(--arrowGap);
    scroll-padding-inline: var(--arrowGap);
    padding-top: 8px;
    padding-bottom: 14px;
    justify-content: center;

    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: flex-start !important;
    scroll-padding-left: var(--arrowGap);
    scroll-padding-right: var(--arrowGap);
}

.testi-scroll::-webkit-scrollbar {
    display: none;
}

.testi-scroll::-webkit-scrollbar {
    height: 8px;
}

.testi-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 999px;
}

.testi-card {
    min-width: 330px;
    max-width: 380px;
    scroll-snap-align: center;
    border: var(--border);
    border-radius: 15px;
    background: #fff;
    box-shadow: none;
    scroll-snap-align: start !important;
    padding: 18px 18px 16px;
}

/* Content */
.testi-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #f5b301;
}

.testi-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #111;
}

.testi-verify {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #20b15a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.testi-quote {
    margin: 0;
    color: #6b6b6b;
    font-size: 0.92rem;
    line-height: 1.55;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .best-head,
    .blog-head {
        justify-content: space-between;
        padding: 0 0.25rem;
    }

    .best-head .explore-right,
    .blog-head .more-right {
        position: static;
        transform: none;
        margin-left: auto;
    }

    .soul-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .sg-banner,
    .sg-left,
    .sg-mid,
    .sg-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .stat-small {
        height: 180px;
    }

    .stat-big {
        height: 260px;
    }

    .stat-tall {
        height: 220px;
    }

    /* ===== Video Story Ig ===== */
    .story-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .story-track::-webkit-scrollbar {
        display: none;
    }

    .story-item {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }

    .story-card {
        height: auto;
    }
}

@media (max-width: 575px) {
    :root {
        --arrowSize: 38px;
        --arrowGap: 10px;
    }

    /* ===== Video Story Ig ===== */
    .story-item {
        flex: 0 0 150px;
    }

    /* ===== Best Seller: View 1 Card Per Swipe ===== */
    .best-scroll {
        gap: 12px;
        padding-inline: 0;
        scroll-padding-inline: 0;
    }

    .best-card {
        flex: 0 0 80%;
        min-width: 80% !important;
        scroll-snap-align: start;
        height: auto !important;
        margin-bottom:15px;
    }

    /* ===== Testimoni : View 1 Card Per Swipe ===== */
    .testi-scroll {
        gap: 12px;
        padding-inline: 0;
        scroll-padding-inline: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .testi-scroll::-webkit-scrollbar {
        display: none;
    }

    .testi-card {
        flex: 0 0 100%;
        min-width: 100% !important;
        scroll-snap-align: start;
    }

    .testi-card {
        padding: 18px;
        border-radius: 16px;
    }

    /* ===== Blog : View 1 Card Per Swipe ===== */
    .blog-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .blog-track::-webkit-scrollbar {
        display: none;
    }

    .blog-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
}

/* Order Statuses */
.po-status.shipped {
    background: #e1f5fe;
    color: #0288d1;
}

.po-status.processing {
    background: #fff3e0;
    color: #f57c00;
}

.po-status.rejected {
    background: #ffebee;
    color: #d32f2f;
}
