/* ======================================================================
   Base Theme
====================================================================== */

:root {
    --cream: #f7f4ec;
    --soft-cream: #fffdf7;
    --black: #0f0f0f;
    --dark: #191919;
    --muted: #6b665d;
    --gold: #b99b5b;
    --line: rgba(15, 15, 15, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--cream);
}

/* ======================================================================
   Shared Components
====================================================================== */

.btn-main {
    background: var(--black);
    color: #fff;
    border: 1px solid var(--black);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
}

.btn-main:hover {
    background: transparent;
    color: var(--black);
}

.btn-outline-main {
    border: 1px solid var(--black);
    color: var(--black);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
}

.btn-outline-main:hover {
    background: var(--black);
    color: #fff;
}

.btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #111;
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 800;
    font-size: 0.9rem;
}

.btn-gold:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.btn-confidence {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #111;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
}

.btn-confidence:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.btn-small-dark {
    background: #111;
    color: #fff;
    border: 1px solid #111;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 0.9rem;
}

.btn-small-dark:hover {
    background: transparent;
    color: #111;
}

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

.section-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 18px;
}

.section-text {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.brand-fallback {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.55rem;
    letter-spacing: 0.16em;
    color: var(--black);
    font-weight: 700;
}

.db-alert {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 10;
    max-width: 420px;
}

/* ======================================================================
   Navbar
====================================================================== */

.navbar {
    background: rgba(247, 244, 236, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.navbar-brand img {
    width: 120px;
    height: auto;
    border-radius: 6px;
}

.nav-link {
    color: var(--dark);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--black);
    border-radius: 999px;
    padding: 9px 16px !important;
    margin-left: 0.5rem;
}

.cart-pill:hover {
    background: var(--black);
    color: #fff !important;
}

.cart-pill .badge {
    background: var(--gold);
    color: #111;
}

/* ======================================================================
   Intro Animation
====================================================================== */

body.intro-active {
    overflow: hidden;
}

html.intro-seen .site-intro {
    display: none !important;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 253, 247, 0.92) 33%,
            transparent 58%
        ),
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.9),
            transparent 28%
        ),
        linear-gradient(135deg, #fffdf7 0%, #f7f4ec 45%, #e9dfcf 100%);
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.site-intro.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-soft-wave {
    position: absolute;
    left: -12%;
    right: -12%;
    height: 34vh;
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent),
        linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(185, 155, 91, 0.16));
    filter: blur(0.5px);
    opacity: 0.88;
    z-index: -2;
    animation: introWave 7s ease-in-out infinite alternate;
}

.intro-soft-wave.top {
    top: 2%;
    transform: rotate(8deg);
    animation-duration: 8.5s;
}

.intro-soft-wave.bottom {
    bottom: 2%;
    transform: rotate(-7deg);
}

.intro-marquee {
    position: absolute;
    left: -10%;
    right: -10%;
    height: 58px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(15, 15, 15, 0.08);
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
    transform: rotate(-3deg);
}

.intro-marquee.top {
    top: 9%;
}

.intro-marquee.bottom {
    bottom: 10%;
    transform: rotate(3deg);
}

.intro-track {
    display: flex;
    gap: 44px;
    white-space: nowrap;
    animation: introMarquee 18s linear infinite;
}

.intro-marquee.bottom .intro-track {
    animation-direction: reverse;
    animation-duration: 22s;
}

.intro-track span {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    letter-spacing: 0.16em;
    color: rgba(15, 15, 15, 0.7);
}

.intro-track small {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.28em;
    color: var(--gold);
    font-size: 10px;
    margin-left: 8px;
}

.intro-ring {
    position: absolute;
    width: min(56vw, 660px);
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(185, 155, 91, 0.43);
    border-radius: 50%;
    box-shadow: 0 0 55px rgba(255, 255, 255, 0.88);
    animation: introRing 8s linear infinite;
}

.intro-ring::before,
.intro-ring::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 22px #fff, 0 0 36px var(--gold);
}

.intro-ring::before {
    top: 12%;
    right: 18%;
}

.intro-ring::after {
    bottom: 13%;
    left: 18%;
}

.intro-center {
    text-align: center;
    perspective: 1100px;
    transform-style: preserve-3d;
    padding: 30px;
    animation: introEnter 1s ease both;
}

.intro-brand {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 8vw, 7.2rem);
    letter-spacing: 0.16em;
    font-weight: 400;
    line-height: 1;
    color: #111;
    text-transform: uppercase;
    text-shadow:
        0 2px 0 rgba(255, 255, 255, 0.86),
        0 22px 50px rgba(0, 0, 0, 0.12);
    animation: introBrandRotate 3.7s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.intro-sub {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(11px, 1.2vw, 17px);
    letter-spacing: 0.42em;
    color: #151515;
    text-transform: uppercase;
}

.intro-sub::before,
.intro-sub::after {
    content: "";
    width: 92px;
    max-width: 16vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, #111, transparent);
}

.intro-loading {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(360px, 56vw);
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.44em;
    font-size: 12px;
    color: #2a2926;
    text-transform: uppercase;
}

.intro-loading-bar {
    margin-top: 15px;
    height: 3px;
    border-radius: 20px;
    background: rgba(15, 15, 15, 0.18);
    overflow: hidden;
}

.intro-loading-bar span {
    display: block;
    width: 46%;
    height: 100%;
    background: linear-gradient(90deg, #111, var(--gold), #111);
    animation: introLoad 2.15s ease-in-out infinite;
}

@keyframes introBrandRotate {
    0%, 15% {
        transform: rotateY(0deg);
    }

    55%, 100% {
        transform: rotateY(360deg);
    }
}

@keyframes introRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes introMarquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes introWave {
    from {
        translate: 0 0;
        scale: 1;
    }

    to {
        translate: 3% -2%;
        scale: 1.04;
    }
}

@keyframes introLoad {
    0% {
        transform: translateX(-110%);
    }

    55% {
        transform: translateX(70%);
    }

    100% {
        transform: translateX(230%);
    }
}

@keyframes introEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ======================================================================
   Hero
====================================================================== */

.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
    background:
        radial-gradient(circle at 15% 20%, rgba(185, 155, 91, 0.2), transparent 28%),
        radial-gradient(circle at 85% 75%, rgba(0, 0, 0, 0.1), transparent 30%),
        linear-gradient(135deg, #fffdf7 0%, #f3eee3 100%);
}

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.8rem, 7vw, 6.4rem);
    letter-spacing: 0.12em;
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 570px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 26px;
    background: var(--soft-cream);
}

.hero-card-fallback {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff, #eee3cf);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: 0.12em;
    color: #111;
}

/* ======================================================================
   About
====================================================================== */

.feature-box {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    transition: 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--black);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

/* ======================================================================
   Products
====================================================================== */

.products-section {
    background: var(--soft-cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.category-list {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    padding: 10px 2px 18px;
    margin-bottom: 28px;
    scrollbar-width: thin;
}

.category-filter {
    min-width: 118px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
    transition: 0.25s ease;
}

.category-filter-image {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(15, 15, 15, 0.08);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

.category-filter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-filter-letter {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.3rem;
    color: var(--gold);
}

.category-filter-name {
    display: block;
    max-width: 130px;
    color: inherit;
    font-size: 1rem;
    line-height: 1.25;
}

.category-filter.active,
.category-filter:hover {
    color: var(--black);
}

.category-filter.active .category-filter-image,
.category-filter:hover .category-filter-image {
    border-color: var(--gold);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.13);
}

.product-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: 0.25s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.1);
}

.product-img-wrap {
    background: #f3efe6;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.product-body {
    padding: 15px;
}

.product-category {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    margin-bottom: 10px;
}

.product-title {
    font-weight: 800;
    margin-bottom: 7px;
    font-size: 1rem;
}

.product-description {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 0;
    min-height: 42px;
}

.product-price {
    font-weight: 900;
    margin-top: 10px;
    font-size: 1rem;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.product-actions form {
    margin: 0;
}

.qty-mini {
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    text-align: center;
    font-weight: 800;
}

.no-image-box {
    height: 220px;
    display: grid;
    place-items: center;
    background: #f3efe6;
    color: #7d7567;
    font-weight: 700;
}

.cart-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    min-width: 210px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #111;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.cart-toast.show {
    display: flex;
}


/* ======================================================================
   Product Details Page
====================================================================== */

.product-page {
    padding-top: 155px;
    padding-bottom: 80px;
    background: var(--cream);
    min-height: 100vh;
}

.product-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--black);
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 18px;
}

.product-back-link:hover {
    color: var(--gold);
}

.product-detail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.product-gallery-main,
.product-detail-image {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    background: #f3efe6;
    border-radius: 22px;
    display: block;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.gallery-thumb-btn {
    border: 1px solid var(--line);
    background: #fff;
    padding: 4px;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-thumb-btn:hover {
    border-color: var(--gold);
}

.gallery-thumb {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.no-product-image {
    height: 420px;
    display: grid;
    place-items: center;
    background: #f3efe6;
    border-radius: 22px;
    color: #7d7567;
    font-weight: 800;
}

.product-info-box {
    padding-top: 10px;
}

.product-detail-category {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-detail-title {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 16px;
}

.product-detail-price {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 24px;
}

.product-detail-description {
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-line;
    margin-bottom: 28px;
}

.product-buy-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.product-buy-box label {
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.product-buy-box .btn-gold,
.product-buy-box .btn-confidence {
    width: 100%;
    padding: 14px 22px;
    font-size: 1rem;
    margin-top: 16px;
}

/* Fix Quantity input */
.product-buy-box .form-control,
.product-buy-box input[type="number"],
.product-qty-input {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid rgba(15, 15, 15, 0.22) !important;
    border-radius: 14px;
    height: 52px;
    padding: 10px 14px;
    box-shadow: none !important;
}

.product-buy-box .form-control:focus,
.product-buy-box input[type="number"]:focus,
.product-qty-input:focus {
    background: #fff !important;
    color: #111 !important;
    border-color: var(--gold) !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .product-page {
        padding-top: 125px;
    }

    .product-gallery-main {
        max-height: 430px;
    }
}

@media (max-width: 575px) {
    .product-page {
        padding-top: 115px;
    }

    .product-detail-card {
        padding: 14px;
    }

    .product-gallery-main {
        max-height: 360px;
    }

    .gallery-thumb {
        width: 64px;
        height: 64px;
    }

    .product-buy-box {
        padding: 18px;
    }
}

/* ======================================================================
   Contact
====================================================================== */

.contact-card {
    background: var(--black);
    color: #fff;
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.contact-card .section-text {
    color: rgba(255, 255, 255, 0.72);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 14px;
    word-break: break-word;
}

.contact-link i {
    color: var(--gold);
}

.contact-card .form-control {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.contact-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-card .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: var(--gold);
    box-shadow: none;
}

/* ======================================================================
   Footer & Modal
====================================================================== */

footer {
    background: #0b0b0b;
    color: rgba(255, 255, 255, 0.7);
    padding: 26px 0;
}

.footer-logo {
    width: 110px;
    border-radius: 6px;
    opacity: 0.95;
}

.modal-content {
    border-radius: 24px;
    overflow: hidden;
    border: none;
}

.modal-product-img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #f6f1e8;
}

/* ======================================================================
   Responsive
====================================================================== */

@media (max-width: 991px) {
    .hero {
        padding-top: 105px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .cart-pill {
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        width: 92px;
    }

    .intro-marquee {
        height: 46px;
    }

    .intro-track span {
        font-size: 15px;
    }

    .intro-brand {
        letter-spacing: 0.08em;
    }

    .intro-sub {
        letter-spacing: 0.24em;
    }

    .intro-ring {
        width: 86vw;
    }

    .intro-loading {
        bottom: 7vh;
        width: 70vw;
    }

    .category-list {
        gap: 18px;
    }

    .category-filter {
        min-width: 94px;
    }

    .category-filter-image {
        width: 84px;
        height: 84px;
    }

    .category-filter-name {
        font-size: 0.92rem;
    }

    .product-card img,
    .no-image-box {
        height: 170px;
    }

    .contact-card {
        padding: 28px;
    }

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

/* ======================================================================
   Mobile Cart Always Visible
====================================================================== */

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-cart-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin-left: 0;
}

.desktop-cart-item .cart-pill {
    display: inline-flex;
    align-items: center;
}

.products-top-spacer {
    height: 40px;
}

@media (max-width: 991.98px) {
    .navbar-actions .cart-pill {
        margin-top: 0;
        padding: 8px 12px !important;
        font-size: 0.78rem;
    }

    .navbar-actions .cart-pill .badge {
        min-width: 24px;
    }

    .desktop-cart-item {
        display: none !important;
    }

    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .navbar-nav {
        padding-top: 16px;
    }
}

@media (min-width: 992px) {
    .navbar-actions {
        display: none;
    }
}


/* ======================================================================
   Final Product Page - Isolated Fix
====================================================================== */

.confidence-product-page {
    padding: 55px 0 90px;
    background: var(--cream);
    min-height: 100vh;
}

.confidence-product-page .container {
    max-width: 1240px;
}

.confidence-product-back {
    display: inline-flex;
    align-items: center;
    color: var(--black);
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 32px;
}

.confidence-product-back:hover {
    color: var(--gold);
}

.confidence-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 45px;
    align-items: start;
}

.confidence-product-image-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.confidence-product-main-img {
    width: 100%;
    height: 560px;
    object-fit: contain;
    display: block;
    background: #f3efe6;
    border-radius: 22px;
}

.confidence-product-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.confidence-product-thumb-btn {
    border: 1px solid var(--line);
    background: #fff;
    padding: 4px;
    border-radius: 12px;
    cursor: pointer;
}

.confidence-product-thumb-btn:hover {
    border-color: var(--gold);
}

.confidence-product-thumb-img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.confidence-product-no-image {
    height: 560px;
    display: grid;
    place-items: center;
    background: #f3efe6;
    border-radius: 22px;
    color: #7d7567;
    font-weight: 800;
}

.confidence-product-sticky {
    position: sticky;
    top: 135px;
}

.confidence-product-category {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.confidence-product-title {
    color: #111;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    margin-bottom: 16px;
}

.confidence-product-price {
    color: #111;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 24px;
}

.confidence-product-description {
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-line;
    margin-bottom: 28px;
}

.confidence-product-cart {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.confidence-product-cart label {
    display: block;
    color: #111;
    font-weight: 800;
    margin-bottom: 10px;
}

.confidence-product-qty {
    width: 100%;
    height: 52px;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid rgba(15, 15, 15, 0.22) !important;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: none !important;
    margin-bottom: 16px;
    font-weight: 700;
}

.confidence-product-qty:focus {
    outline: none;
    border-color: var(--gold) !important;
}

.confidence-product-cart .btn-gold {
    padding: 14px 22px;
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .confidence-product-page {
        padding: 35px 0 70px;
    }

    .confidence-product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .confidence-product-sticky {
        position: static;
    }

    .confidence-product-main-img,
    .confidence-product-no-image {
        height: 430px;
    }
}

@media (max-width: 575px) {
    .confidence-product-page {
        padding: 24px 0 60px;
    }

    .confidence-product-image-card {
        padding: 14px;
        border-radius: 22px;
    }

    .confidence-product-main-img,
    .confidence-product-no-image {
        height: 340px;
    }

    .confidence-product-thumb-img {
        width: 62px;
        height: 62px;
    }

    .confidence-product-cart {
        padding: 18px;
    }
}