/* =========================================================
   CUSTOM FONTS
   Folder font:
   Font/
   ========================================================= */

/* -------------------------
   HELVETICA NEUE
   ------------------------- */

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueUltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueRoman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Neue Italic */

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueUltraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueLightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueBoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueHeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('Font/HelveticaNeueBlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* -------------------------
   NEWS701BT
   ------------------------- */

@font-face {
    font-family: 'News701BT';
    src: url('Font/News701BT-BoldA.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* -------------------------
   TIMES
   ------------------------- */

@font-face {
    font-family: 'Times Custom';
    src: url('Font/times.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   FONT UTILITY CLASSES
   Gunakan class ini hanya pada teks yang ingin diganti.
   ========================================================= */

.font-helvetica {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
}

.font-news {
    font-family: 'News701BT', serif !important;
}

.font-times {
    font-family: 'Times Custom', 'Times New Roman', serif !important;
}

.font-thin {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 100 !important;
}

.font-ultralight {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 200 !important;
}

.font-light {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 300 !important;
}

.font-roman {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 400 !important;
}

.font-medium {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 500 !important;
}

.font-bold {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 700 !important;
}

.font-heavy {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 800 !important;
}

.font-black {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-weight: 900 !important;
}

/* Helvetica Neue Italic */

.font-italic {
    font-family: 'Helvetica Neue Custom', sans-serif !important;
    font-style: italic !important;
}

* {
    font-family: "Poppins", sans-serif;
}

.arizona-color {
    color: #780000 !important;
}

.arizona-bg {
    background-color: #780000 !important;
}

.btn-arizona {
    background-color: #780000 !important;
}

.dropdown-menu {
    margin-top: 10px !important;
    width: 95%;
    margin-left: 0px;
    background-color: #fff !important;
    color: #780000 !important;
}

.dropdown-menu a:hover {
    background-color: #fff !important;
    color: #780000 !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a {
    color: #780000;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -8px !important;
    margin-left: 5px;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
    border: none;
}

.dropdown-submenu>.dropdown-toggle::after {
    float: right;
    margin-top: 10px;
    transform: rotate(-90deg);
}

.dropdown-submenu.show>.dropdown-menu {
    display: block;
    border: none;
}

.dropdown-submenu.show>.dropdown-toggle {
    background-color: #fff !important;
    color: #780000 !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

nav {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand img {
    width: 250px;
    margin-left: -12px;
    margin-top: -5px;
}

.navbar-nav {
    margin-right: -12px;
    font-size: 20px;
    border-radius: 100px 0px 0px 100px;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 8px;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active {
    border-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.search-box {
    position: relative;
}

.search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    transition: .4s ease;
}

.search-input.show {
    width: 220px;
    opacity: 1;
    padding: .375rem .75rem;
    margin-right: 10px;
    border: 1px solid #ffffff;
}

.search-btn {
    border: none;
    background: none;
    color: white;
    font-size: 20px;
}

#searchResults {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0;
    width: 300px !important;
}

#searchResults .search-item {
    color: #0d6efd;
    transition: background-color 0.2s ease;
}

#searchResults .search-item:hover {
    background-color: #f0f4f9 !important;
    color: #0a58ca;
}

#searchResults .sku-badge {
    background-color: #e7f1ff !important;
    color: #0d6efd;
    border: 1px solid #b6d4fe !important;
}

.img-hero-section img {
    width: 100%;
}

.title-why h5 {
    font-size: 18px !important;
    color: #780000;
    font-family: "Outfit", sans-serif;
}

.title-why h2 {
    font-size: 24px !important;
    font-family: 'News701BT', serif !important;
}

.title-why p {
    font-size: 12px;
    font-family: "Outfit", sans-serif;
    color: #780000;
}

.title-koleksi h5 {
    font-size: 18px !important;
    color: #780000;
    font-family: "Outfit", sans-serif;
}

.desc-touch {
    position: absolute;
    top: 30% !important;
    left: 5%;
}

.title-inspirasi h5 {
    font-size: 18px !important;
    font-family: "Outfit", sans-serif;
    color: #780000;
}

.title-inspirasi h4 {
    font-size: 20px !important;
    font-family: 'News701BT', serif !important;
}

.title-inspirasi p {
    font-family: "Outfit", sans-serif;
    font-size: 11px !important;
}

/* =========================================================
   FORCE MOBILE LAYOUT ON ALL SCREEN SIZES
   Hanya mengaktifkan tampilan mobile yang sudah ada.
   Tidak mengubah desain/isi elemen lainnya.
   ========================================================= */

/* Jadikan viewport website selebar layar HP */
html {
    background: #222;
}

body {
    width: 100%;
    max-width: 430px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    overflow-x: hidden;
}

/* Navbar tetap mengikuti lebar tampilan HP */
nav.navbar {
    width: 100%;
    max-width: 430px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Bootstrap navbar-expand-lg DIPAKSA tetap mode HP */
.navbar-expand-lg .navbar-toggler {
    display: block !important;
}

.navbar-expand-lg .navbar-collapse {
    display: none !important;
}

.navbar-expand-lg .navbar-collapse.show {
    display: block !important;
}

/* Ukuran dan perilaku navbar sama seperti aturan mobile yang sudah ada */
.navbar-brand img {
    width: 80px;
    margin-left: -12px;
    margin-top: -5px;
}

.navbar-nav {
    width: 100%;
    margin-right: 0;
    font-size: 15px;
    border-radius: 0;
}

/* =========================================================
   APPLY ISI MEDIA MOBILE LAMA KE SEMUA UKURAN LAYAR
   ========================================================= */

nav {
    background-color: #780000;
    z-index: 1050;
}

.navbar-brand img {
    width: 80px;
    margin-left: -12px;
    margin-top: -5px;
}

.img-hero-section {
    position: relative;
}

.img-hero-section img {
    width: 100%;
    margin-top: 2.4rem;
    height: 50vh !important;
    width: 100%;
    object-fit: cover;
    object-position: 100% 50%;
}

.desc-hero-section {
    position: absolute;
    top: 20%;
    right: 5%;
    text-align: end;
}

.desc-hero-section h4 {
    font-size: 20px;
    text-align: end;
    width: 100%;
    text-shadow: 2px 2px 5px #000;
}

.desc-hero-section h5 {
    font-size: 14px;
    text-align: end;
    width: 100%;
    text-shadow: 2px 2px 5px #000;
}

.desc-hero-section p {
    font-size: 9px;
    width: 55%;
    text-align: end;
    width: 100%;
    text-shadow: 2px 2px 5px #000;
}

.logo-arizona-carpet {
    position: absolute;
    bottom: 10%;
    right: 5%;
}

.logo-arizona-carpet img {
    width: 55px !important;
    height: 55px !important;
    max-width: 100%;
}

.button-hero-section {
    position: absolute;
    bottom: 20px;
    right: 7%;
}

.button-hero-section a {
    background:
        radial-gradient(ellipse at 20% 20%,
            rgba(170, 45, 40, 0.8) 0%,
            transparent 60%),
        linear-gradient(115deg,
            #320906 0%,
            #711b17 35%,
            #9a2925 55%,
            #450d09 100%);
    color: white;
    border: 2px solid rgb(251, 198, 23) !important;
    padding: 7px 8px;
    border-radius: 8px;
    transition: 0.3s ease;
    font-size: 10px;
}

.title-collection h5,
.title-motif h5 {
    font-size: 14px;
}

.title-collection p,
.title-motif p {
    font-size: 9px;
}

.card-collection {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
}

.card-collection-track {
    display: flex;
    width: 100%;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center !important;
}

.card-collect {
    min-width: 0;
    box-sizing: border-box;
    border-radius: 8px;
    position: relative;
}

.card-collect img {
    display: block;
    width: 90px !important;
    max-width: 100%;
    height: 15vh !important;
    object-fit: cover;
    object-position: 60% 100%;
    border-radius: 8px;
}

.desc-card-collect p {
    font-size: 9px;
}

.detail-card-collection {
    position: absolute;
    bottom: 13%;
    right: 4%;
    z-index: 1;
}

.detail-card-collection img {
    max-width: 100% !important;
    width: 50px !important;
    height: 50px !important;
    border: 3px solid #FFF;
    border-radius: 100% !important;
}

.list-motif {
    width: 24%;
}

.list-motif img {
    width: 20px;
}

.list-motif h5 {
    font-size: 8px;
}

.icons i {
    font-size: 22px;
    color: #F5ECD3;
}

/* =========================================================
   PERBAIKAN HAMBURGER NAVBAR - MOBILE ONLY
   Tidak mengubah HTML.
   ========================================================= */

/* Bar navbar */
nav.navbar {
    min-height: 58px;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

nav.navbar .container-fluid {
    width: 100%;
    min-height: 58px;
    padding: 0 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
nav.navbar .navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

nav.navbar .navbar-brand img {
    width: 80px !important;
    height: auto;
    margin: 0 !important;
    display: block;
}

/* Tombol hamburger */
nav.navbar .navbar-toggler {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 7px;
    background: transparent;
    flex-shrink: 0;
}

nav.navbar .navbar-toggler:hover,
nav.navbar .navbar-toggler:focus,
nav.navbar .navbar-toggler:focus-visible,
nav.navbar .navbar-toggler:active {
    border-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.20) !important;
}

nav.navbar .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px !important;
    display: block;
}

/* Area menu yang terbuka */
nav.navbar .navbar-collapse {
    position: absolute !important;
    top: 58px;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #780000;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    overflow: visible !important;
}

nav.navbar .navbar-collapse:not(.show) {
    display: none !important;
}

nav.navbar .navbar-collapse.show {
    display: block !important;
}

/* Menu utama */
nav.navbar .navbar-nav {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 12px 12px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-radius: 0 !important;
    background: #780000 !important;
}

/* Link menu */
nav.navbar .navbar-nav>.nav-link,
nav.navbar .navbar-nav>.nav-item>.nav-link {
    width: 100%;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    border-radius: 7px;
    font-size: 14px !important;
    line-height: 1.2;
    white-space: nowrap;
}

nav.navbar .navbar-nav>.nav-link:hover,
nav.navbar .navbar-nav>.nav-link:focus,
nav.navbar .navbar-nav>.nav-item>.nav-link:hover,
nav.navbar .navbar-nav>.nav-item>.nav-link:focus {
    background: rgba(255, 255, 255, 0.10);
}

/* Product dropdown */
nav.navbar .navbar-nav>.nav-item.dropdown {
    width: 100%;
    margin: 0;
    padding: 0;
}

nav.navbar .navbar-nav>.nav-item.dropdown>.dropdown-menu {
    position: static !important;
    float: none;
    width: 100% !important;
    max-width: none;
    margin: 2px 0 4px !important;
    padding: 4px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

/* Item di dropdown */
nav.navbar .dropdown-menu .dropdown-item {
    min-height: 38px;
    padding: 9px 11px !important;
    display: flex;
    align-items: center;
    font-size: 13px !important;
    line-height: 1.2;
    color: #780000 !important;
    border-radius: 5px;
}

/* Submenu Karpet & Sajadah / Aneka Keset
   dibuat turun ke bawah, bukan melebar ke kanan */
nav.navbar .dropdown-submenu>.dropdown-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: calc(100% - 8px) !important;
    margin: 2px 0 4px 8px !important;
    padding: 3px !important;
    border-left: 2px solid rgba(168, 24, 21, 0.15) !important;
    border-radius: 5px !important;
    background: #f8f8f8 !important;
}

nav.navbar .dropdown-submenu>.dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav.navbar .dropdown-submenu>.dropdown-toggle::after {
    margin-top: 0 !important;
    margin-left: auto;
    transform: rotate(90deg);
}

nav.navbar .dropdown-submenu.show>.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Search tetap rapi di bagian bawah menu */
nav.navbar .navbar-nav .search-box {
    width: 100%;
    margin: 4px 0 0 !important;
    padding: 4px 0 0;
    display: flex;
    align-items: center;
}

nav.navbar .navbar-nav .search-input.show {
    width: 100% !important;
    min-width: 0;
    margin-right: 8px !important;
}

nav.navbar .navbar-nav .search-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pastikan menu tidak membuat halaman bergeser ke samping */
html,
body {
    overflow-x: hidden !important;
}

/* =========================================================
   FINAL NAVBAR FIX - HAMBURGER DI KANAN
   ========================================================= */

nav.navbar .container-fluid {
    position: relative !important;
}

nav.navbar .navbar-toggler {
    position: absolute !important;
    right: 10px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

nav.navbar .navbar-brand {
    margin-right: auto !important;
}

.motif-preview {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.motif-preview[hidden] {
    display: none;
}

.motif-preview img {
    width: min(90vw, 380px);
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.download-page-button {
    position: absolute !important;
    right: 56px;
    top: 50%;
    z-index: 1051;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 7px;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-50%);
}

.download-page-button:disabled {
    opacity: 0.8;
}

/* Size */
.table-img-size {
    position: relative;
}

.desc-table {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    bottom: 60px;
}

.desc-table h4, .size-qty h5 {
    font-size: 14px;
}

.title-img-size {
    background: #730f0e;
    background: radial-gradient(circle, rgba(115, 15, 14, 1) 0%, rgba(168, 24, 21, 1) 100%);
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    height: 150px;
}

.title-img-size h5{
    font-size: 12px;
}

.title-img-size h2 {
    font-size: 24px;
}

.title-img-size h4 {
    font-size: 14px;
}

.spec-masterpiece h5 {
    font-size: 12px;
}

.table-img-size {
    height: 130px;
}

.desc-table {
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.line-size {
    height: 1px;
}

.size-abjad h5 {
    font-size: 14px;
}

.size-angka h5 {
    font-size: 10px;
}

.size-angka .line-size {
    width: 97%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.collection, .motif {
    background-color: #F6F0DC !important;
}


/* ---------------------------------------------------------
   SMALL HANDPHONE
   Sampai 359px
   --------------------------------------------------------- */
@media (max-width: 359px) {
    html {
        background: #fff;
    }

    body {
        width: 100%;
        max-width: 100%;
    }

    nav.navbar .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    nav.navbar .navbar-brand img {
        width: 70px !important;
    }

    nav.navbar .navbar-toggler {
        width: 36px;
        height: 36px;
        min-width: 36px;
        right: 8px !important;
    }

    .desc-hero-section {
        right: 5%;
        top: 5% !important;
    }

    .desc-hero-section h4 {
        font-size: 17px;
    }

    .desc-hero-section h5 {
        font-size: 12px;
    }

    .desc-hero-section p {
        font-size: 8px;
    }

    .logo-arizona-carpet img {
        margin: 0;
        width: 48px !important;
        height: 48px !important;
    }

    .card-collection-track {
        gap: 7px;
    }

    .card-collect img {
        width: 60px !important;
        height: 130px !important;
    }

    .detail-card-collection img {
        width: 42px !important;
        height: 42px !important;
    }

    .list-motif {
        min-width: 0;
    }

    .list-motif img {
        width: 18px;
        height: 18px;
    }

    .list-motif h5 {
        font-size: 7px;
    }

    .desc-table {
        width: 94%;
    }
}

@media (min-width: 360px) and (max-width: 768px) {
    nav {
        background-color: #780000;
        z-index: 1050;
    }

    .navbar-brand img {
        width: 80px;
        margin-left: -12px;
        margin-top: -5px;
    }

    .img-hero-section {
        position: relative;
    }

    .img-hero-section img {
        margin-top: 3.7rem !important;
        height: 50vh !important;
        width: 100%;
        object-fit: cover;
        object-position: 50% 100%;
    }

    .logo-arizona-carpet {
        position: absolute;
        bottom: 5%;
        left: 5%;
    }

    .logo-arizona-carpet img {
        width: 70px !important;
        height: 70px !important;
        max-width: 100%;

    }

    .title-why h5 {
        font-size: 12px;
    }

    .title-why h2 {
        font-size: 16px;
    }

    .title-why p {
        font-size: 12px;
    }

    .why {
        background-color: #FFFFF5;
    }

    .card-why img {
        width: 70px;
        border-radius: 10px;
    }

    .title-koleksi h5 {
        font-size: 12px;
    }

    .card-collection {
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .card-collect img {
        width: 100px !important;
        height: 150px !important;
        border-radius: 8px;
    }

    .desc-card-collect h5 {
        font-size: 9px;
    }

    .img-touch {
        position: relative;
    }

    .desc-touch {
        position: absolute;
        top: 20%;
        left: 5%;
    }

    .img-touch img {
        width: 100%;
    }

    .desc-touch h5 {
        font-size: 11px;
    }

    .desc-touch h2 {
        font-size: 15px;
    }

    .desc-touch p {
        font-size: 9px;
    }

    .title-inspirasi h5 {
        font-size: 15px;
    }

    .title-inspirasi h4 {
        font-size: 18px;
    }

    .title-inspirasi p {
        font-size: 11px;
    }

    .card-inspi img {
        width: 100px;
        border-radius: 10px;
    }

    .desc-card-inspi {
        font-size: 7px;
        margin-top: 7px;
    }

    .icons i {
        font-size: 22px;
        color: #F5ECD3;
    }

    .desc-hero-section {
        right: 5%;
        top: 75% !important;
    }

    .size-abjad h5 {
        font-size: 12px;
    }
}

@media print {
    .download-page-button {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html {
        background: #fff;
    }

    body {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        background: #fff;
        overflow-x: hidden;
    }

    nav.navbar {
        width: 100%;
        max-width: none;
        left: 0;
        right: 0;
        transform: none;
        min-height: 64px;
        padding: 0 !important;
    }

    nav.navbar .container-fluid {
        width: 100%;
        min-height: 64px;
        padding: 0 20px !important;
    }

    nav.navbar .navbar-brand img {
        width: 150px !important;
        height: auto;
        margin: 0 !important;
    }

    nav.navbar .navbar-toggler {
        width: 42px;
        height: 42px;
        min-width: 42px;
        right: 20px !important;
    }

    nav.navbar .navbar-collapse {
        top: 64px;
    }

    .download-page-button {
        right: 72px !important;
    }

    .img-hero-section img {
        width: 100%;
        height: 55vh !important;
        margin-top: 0;
        object-fit: cover;
        object-position: center center;
    }

    .desc-hero-section {
        top: 52%;
        right: 6%;
    }

    .desc-hero-section h4 {
        font-size: 30px;
    }

    .desc-hero-section h5 {
        font-size: 22px;
    }

    .desc-hero-section p {
        font-size: 13px;
    }

    .logo-arizona-carpet {
        top: 55%;
        left: 5%;
    }

    .logo-arizona-carpet img {
        width: 85px !important;
        height: 85px !important;
    }

    .title-collection h5,
    .title-motif h5 {
        font-size: 20px;
    }

    .title-collection p,
    .title-motif p {
        font-size: 13px;
    }

    .card-collection {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .card-collection-track {
        width: 100%;
        gap: 18px;
        flex-wrap: nowrap;
        justify-content: center !important;
        transform: none !important;
    }

    .card-collect {
        flex-wrap: wrap;
        max-width: 220px;
    }

    .card-collect img {
        width: 100% !important;
        height: 240px !important;
        object-fit: cover;
        object-position: center;
    }

    .desc-card-collect p {
        font-size: 12px;
    }

    .detail-card-collection img {
        width: 55px !important;
        height: 55px !important;
    }

    .list-motif {
        width: 24%;
    }

    .list-motif h5 {
        font-size: 11px;
    }

    .list-motif img {
        width: 28px;
        height: 28px;
        object-fit: cover;
    }

    .table-img-size {
        height: auto;
    }

    .desc-table {
        width: 80%;
        bottom: 70px;
    }

    .title-img-size {
        height: 170px;
    }

    .title-img-size h5 {
        font-size: 15px;
    }

    .title-img-size h2 {
        font-size: 30px;
    }

    .title-img-size h4 {
        font-size: 16px;
    }

    .desc-table h4,
    .size-qty h5,
    .size-abjad h5 {
        font-size: 16px;
    }

    .size-angka h5 {
        font-size: 13px;
    }

    .icons i {
        font-size: 26px;
    }
}

/* ---------------------------------------------------------
   DESKTOP
   1025px ke atas

   Urutan navbar:
   Logo → Home → Product → Download
   --------------------------------------------------------- */
@media (min-width: 1025px) {
    html {
        background: #fff;
    }

    body {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        background: #fff;
        overflow-x: hidden;
    }

    /* Menu setelah logo */
    nav.navbar .navbar-collapse {
        order: 2 !important;
        margin: 0 0 0 auto !important;
    }

    /* Home & Product */
    nav.navbar .navbar-nav>.nav-link,
    nav.navbar .navbar-nav>.nav-item>.nav-link {
        color: #fff !important;
    }

    nav.navbar .navbar-nav>.nav-item>.nav-link.dropdown-toggle::after {
        border-top-color: #fff !important;
    }

    nav.navbar .navbar-nav>.nav-item.dropdown {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Dropdown Product */
    nav.navbar .navbar-nav>.nav-item.dropdown>.dropdown-menu {
        top: 100% !important;
        left: auto !important;
        width: 220px !important;
        max-width: 220px !important;
        margin: 10px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .12) !important;
    }

    nav.navbar .dropdown-submenu>.dropdown-menu {
        position: absolute !important;
        top: 0 !important;
        left: 100% !important;
        width: max-content !important;
        min-width: 190px !important;
        margin: -8px 0 0 5px !important;
        border-radius: 7px !important;
        background: #fff !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .12) !important;
    }

    /* Download tepat setelah Product */
    nav.navbar .download-page-button {
        align-self: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 0 0 12px !important;
    }

    /* Hero */
    .img-hero-section {
        position: relative !important;
        width: 100%;
    }

    .img-hero-section img {
        height: 100vh !important;
        margin-top: 5rem;
        object-fit: cover;
        object-position: 50% 100%;
    }

    .desc-hero-section {
        position: absolute;
        top: 70%;
        right: 5%;
        transform: none;
    }

    .desc-hero-section h4 {
        font-size: clamp(30px, 3vw, 48px);
        text-align: end;
        width: 100%;
    }

    .desc-hero-section h5 {
        font-size: clamp(22px, 2vw, 32px);
        text-align: end;
        width: 100%;
    }

    .desc-hero-section p {
        font-size: clamp(13px, 1vw, 17px);
        width: 100%;
        text-align: end;
    }

    .logo-arizona-carpet {
        position: absolute;
        top: 70%;
        left: 4%;
    }

    .logo-arizona-carpet img {
        width: 180px !important;
        height: 180px !important;
        max-width: 100%;
    }

    /* Collection */
    .title-collection h5,
    .title-motif h5 {
        font-size: 24px;
    }

    .title-collection p,
    .title-motif p {
        font-size: 14px;
    }

    .card-collection {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .card-collection-track {
        width: 100%;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center !important;
        transform: none !important;
    }

    .card-collect {
        flex: 0 1 273px;
        max-width: 250px;
        padding: 15px;
    }

    .card-collect img {
        width: 100% !important;
        height: 300px !important;
        object-fit: cover;
        object-position: center;
    }

    .desc-card-collect p {
        font-size: 13px;
    }

    .detail-card-collection {
        right: 0;
    }

    .detail-card-collection img {
        width: 90px !important;
        height: 90px !important;
        border: 3px solid #fff;
        border-radius: 100%;
    }

    /* Variant motif */
    .list-motif {
        width: auto;
        min-width: 190px;
    }

    .list-motif img {
        width: 42px;
        height: 42px;
        object-fit: cover;
    }

    .list-motif h5 {
        font-size: 14px;
    }

    /* Size */
    .table-img-size {
        height: auto;
    }

    .title-img-size {
        height: 190px;
    }

    .title-img-size h5 {
        font-size: 17px;
    }

    .title-img-size h2 {
        font-size: 34px;
    }

    .title-img-size h4 {
        font-size: 18px;
    }

    .desc-table {
        width: 70%;
        max-width: 900px;
        bottom: 80px;
    }

    .desc-table h4,
    .size-qty h5,
    .size-abjad h5 {
        font-size: 18px;
    }

    .size-angka h5 {
        font-size: 15px;
    }

    .icons i {
        font-size: 28px;
    }
}

/* ---------------------------------------------------------
   LARGE DESKTOP
   1440px ke atas
   --------------------------------------------------------- */
@media (min-width: 1440px) {
    nav.navbar .container-fluid {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    nav.navbar .navbar-brand img {
        width: 240px !important;
    }

    nav.navbar .navbar-nav>.nav-link,
    nav.navbar .navbar-nav>.nav-item>.nav-link {
        font-size: 20px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .img-hero-section img {
        height: 100vh !important;   
    }

    .card-collect {
        flex-basis: 300px;
        max-width: 300px;
    }

    .card-collect img {
        height: 340px !important;
    }

    .desc-table {
        max-width: 1000px;
    }
}

/* =========================================================
   FINAL DESKTOP NAVBAR — DISESUAIKAN DENGAN style.css
   Hanya berlaku pada layar 1025px ke atas.
   ========================================================= */
@media (min-width: 1025px) {

    nav.navbar {
        width: 100% !important;
        max-width: none !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        min-height: 72px;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    nav.navbar .container-fluid {
        width: 100% !important;
        max-width: none !important;
        min-height: 72px;
        padding: 0 30px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* Logo kiri */
    nav.navbar .navbar-brand {
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    nav.navbar .navbar-brand img {
        width: 210px !important;
        height: auto !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Hamburger hilang desktop */
    nav.navbar .navbar-toggler {
        display: none !important;
    }

    /* Paksa menu tampil desktop */
    nav.navbar .navbar-collapse,
    nav.navbar .navbar-collapse:not(.show),
    nav.navbar .navbar-collapse.show {
        order: 2 !important;
        display: flex !important;
        position: static !important;
        width: auto !important;
        max-width: none !important;
        height: 72px !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        align-items: center !important;
        flex: 0 0 auto !important;
    }

    /* Menu merah */
    nav.navbar .navbar-nav {
        width: auto !important;
        margin: 0 !important;
        padding: 8px 20px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        height: 100% !important;
        border-radius: 100px 0 0 100px !important;
        background: #780000 !important;
    }

    /* Home & Product */
    nav.navbar .navbar-nav>.nav-link,
    nav.navbar .navbar-nav>.nav-item>.nav-link {
        width: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 10px 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 44px !important;
        border-radius: 7px !important;
        font-size: 18px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    nav.navbar .navbar-nav>.nav-item.dropdown {
        position: relative !important;
        align-self: center !important;
    }

    nav.navbar .navbar-nav>.nav-item>.nav-link.dropdown-toggle::after {
        border-top-color: #ffffff !important;
    }

    nav.navbar .navbar-nav>.nav-item.dropdown>.dropdown-menu {
        position: absolute !important;
        transform: translateX(-100px) !important;
        top: 50px;
        bottom: auto !important;
        width: 210px !important;
        margin: 0 !important;
        padding: 4px !important;
        border: 0 !important;
        border-radius: 7px !important;
        background: #ffffff !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;

        z-index: 1 !important;
    }

    /* Submenu buka ke kanan */
    nav.navbar .dropdown-submenu {
        position: relative !important;
    }

    nav.navbar .dropdown-submenu>.dropdown-menu {
        position: relative !important;
        display: none;
        width: 180px !important;
        min-width: 0 !important;
        margin: 3px 0 4px 0 !important;
        padding: 4px !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: translateX(10px) !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: #f8f8f8 !important;
        box-shadow: none !important;
        z-index: 10000 !important;
    }

    /* Saat Karpet & Sajadah dibuka */
    nav.navbar .dropdown-submenu.show>.dropdown-menu {
        display: block !important;
    }

    nav.navbar .dropdown-submenu>.dropdown-toggle::after {
        float: right;
        margin-top: 10px;
        margin-left: 10px;
        transform: rotate(-90deg);
    }

    nav.navbar .dropdown-menu .dropdown-item {
        min-height: auto !important;
        padding: 9px 12px !important;
        display: flex !important;
        align-items: center !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        color: #780000 !important;
        border-radius: 5px;
        white-space: nowrap;
    }

    /* Download button tetap dipertahankan */
    nav.navbar .download-page-button {
        order: 3 !important;
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        margin: 0 12px 0 12px !important;
        transform: none !important;
        flex-shrink: 0 !important;
    }
}

/* Elemen yang tidak perlu masuk ke PDF */
body.pdf-capture .download-page-button,
body.pdf-capture .navbar {
    visibility: hidden !important;
}

/* Hindari kartu terbelah saat proses capture */
body.pdf-capture .card,
body.pdf-capture .product-card,
body.pdf-capture .mmi-product-card,
body.pdf-capture .card-collect,
body.pdf-capture section h2,
body.pdf-capture section h3 {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

/* PDF output layout — active only while generating PDF */
body.pdf-capture {
    width: 430px !important;
    max-width: 430px !important;
    min-width: 430px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    background: #fff !important;
}

body.pdf-capture .container,
body.pdf-capture .container-fluid {
    max-width: 100% !important;
}

body.pdf-capture [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* =========================================================
   MODAL IMAGE ZOOM
   Klik/tap gambar di modal untuk zoom in / zoom out.
   ========================================================= */
.modal-image-zoom-container {
    max-height: 75vh;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal-zoom-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    margin: 0 auto;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transition: width 0.25s ease, max-width 0.25s ease;
    touch-action: pan-x pan-y;
}

.modal-zoom-image.is-zoomed {
    width: 200% !important;
    max-width: none !important;
    cursor: zoom-out;
}

@media (max-width: 768px) {
    .modal-image-zoom-container {
        max-height: 70vh;
    }

    .modal-zoom-image.is-zoomed {
        width: 250% !important;
    }
}
