/* ========================================
   NK Original Cosmo
   PINK & OFF-WHITE DESIGN SYSTEM
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #FFF9F6;
    color: #2B2523;
    line-height: 1.6;
}


/* ========================================
   HEADER
======================================== */

header {
    width: 100%;
    height: 76px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 249, 246, 0.96);
    border-bottom: 1px solid #F3D8CC;

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 60px;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #756B67;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover {
    color: #D99F88;
}

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    color: #2B2523;
    font-size: 25px;
    cursor: pointer;
}


/* ========================================
   BRAND
======================================== */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2B2523;
}

.brand img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand span {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}


/* ========================================
   HERO
======================================== */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 100px 7%;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(254, 209, 189, 0.55) 0%,
            #FFF9F6 48%
        );
}

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;

    border: 1px solid #FED1BD;
    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #B87962;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.02;
    letter-spacing: -4px;
    font-weight: 800;
    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: #D99F88;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 38px;

    font-size: 19px;
    color: #756B67;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    padding: 15px 25px;

    border-radius: 8px;

    text-decoration: none;

    border: 1px solid #FED1BD;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;
}

.btn.primary {
    background: #FED1BD;
    color: #2B2523;
}

.btn.primary:hover {
    background: #F8BFA8;
    border-color: #F8BFA8;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: #B87962;
    border-color: #FED1BD;
}

.btn.secondary:hover {
    background: #FFF1EB;
    border-color: #F8BFA8;
    transform: translateY(-2px);
}


/* ========================================
   SECTION HEADING
======================================== */

.section-heading {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading > span {
    display: block;
    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #B87962;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;

    margin-bottom: 18px;
    color: #2B2523;
}

.section-heading p {
    color: #756B67;
    font-size: 17px;
}


/* ========================================
   HOW IT WORKS
======================================== */

.how-it-works {
    padding: 110px 7%;
    background: #FFF1EB;
}

.steps {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.step {
    background: #FFF9F6;
    padding: 40px;

    border: 1px solid #F3D8CC;
    border-radius: 15px;

    transition: 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: #FED1BD;

    box-shadow:
        0 15px 40px rgba(90, 55, 45, 0.10);
}

.step-number {
    font-size: 13px;
    font-weight: 800;
    color: #B87962;
    margin-bottom: 35px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #2B2523;
}

.step p {
    color: #756B67;
    font-size: 15px;
}


/* ========================================
   VERIFY
======================================== */

.verify {
    padding: 120px 7%;

    background:
        linear-gradient(
            135deg,
            #FFF1EB,
            #FFF9F6
        );

    color: #2B2523;
    text-align: center;

    border-top: 1px solid #F3D8CC;
    border-bottom: 1px solid #F3D8CC;
}

.verify-content {
    max-width: 750px;
    margin: auto;
}

.verify-content > span {
    display: block;

    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;

    color: #B87962;
    margin-bottom: 18px;
}

.verify h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.verify p {
    color: #756B67;
    font-size: 17px;
    margin-bottom: 35px;
}


/* ========================================
   GUIDES
======================================== */

.guides {
    padding: 110px 7%;
    background: #FFF9F6;
}


/* ========================================
   FOOTER
======================================== */

footer {
    padding: 60px 7% 35px;

    background: #FFF1EB;
    border-top: 1px solid #F3D8CC;

    text-align: center;
}

.footer-logo {
    font-size: 25px;
    font-weight: 800;

    color: #B87962;
    margin-bottom: 12px;
}

footer p {
    color: #756B67;
    font-size: 14px;
}

.copyright {
    margin-top: 30px;
    font-size: 12px;
    color: #A89B96;
}


/* ========================================
   VERIFY PAGE
======================================== */

.verify-page {
    min-height: 750px;
    padding: 90px 5%;

    background:
        radial-gradient(
            circle at top,
            rgba(254, 209, 189, 0.45),
            #FFF9F6 50%
        );
}

.verify-page-content {
    width: 100%;
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.verify-page h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -3px;

    margin: 20px 0;
    color: #2B2523;
}

.verify-page-content > p {
    color: #756B67;
    font-size: 17px;

    max-width: 600px;
    margin: 0 auto 45px;
}


/* ========================================
   SCANNER / MANUAL BOX
======================================== */

.scanner-box,
.manual-box {
    background: #FFF7F3;

    border: 1px solid #F3D8CC;
    border-radius: 18px;

    padding: 45px;

    box-shadow:
        0 15px 40px rgba(90, 55, 45, 0.08);
}

.scanner-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFF1EB;
    border: 1px solid #FED1BD;
    border-radius: 50%;

    font-size: 30px;
    color: #B87962;
}

.scanner-box h2,
.manual-box h2 {
    font-size: 25px;
    margin-bottom: 10px;
    color: #2B2523;
}

.scanner-box p,
.manual-box p {
    color: #756B67;
    font-size: 15px;
    margin-bottom: 25px;
}


/* ========================================
   DIVIDER
======================================== */

.divider {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 30px 0;

    color: #B87962;
    font-size: 12px;
    font-weight: 700;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    background: #F3D8CC;
    flex: 1;
}


/* ========================================
   MANUAL FORM
======================================== */

.manual-box {
    text-align: left;
}

.manual-box h2,
.manual-box p {
    text-align: center;
}

.manual-box form {
    margin-top: 25px;
}

.manual-box label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 700;
    color: #B87962;
}

.manual-box input {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    border: 1px solid #E5D5CE;
    border-radius: 8px;

    outline: none;

    font-size: 16px;

    margin-bottom: 15px;

    background: #FFF9F6;
    color: #2B2523;

    transition: 0.2s ease;
}

.manual-box input::placeholder {
    color: #A89B96;
}

.manual-box input:focus {
    border-color: #FED1BD;

    box-shadow:
        0 0 0 3px rgba(254, 209, 189, 0.25);
}

.manual-box .btn {
    width: 100%;
}


/* ========================================
   CAMERA SCANNER
======================================== */

.scanner-container {
    display: none;

    margin-top: 30px;

    background: #FFF1EB;

    padding: 20px;

    border: 1px solid #F3D8CC;
    border-radius: 15px;
}

#reader {
    width: 100%;
    max-width: 500px;

    margin: auto;

    overflow: hidden;
    border-radius: 10px;
}

.scanner-container .btn {
    margin-top: 20px;
}

.scan-status {
    margin-top: 15px;
    color: #8C817C;
    font-size: 14px;
}


/* ========================================
   VERIFICATION RESULT
======================================== */

.verification-result {
    display: none;

    margin-top: 35px;
    padding: 40px;

    background: #FFF7F3;

    border: 1px solid #F3D8CC;
    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 15px 45px rgba(90, 55, 45, 0.08);
}

.result-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #FFF1EB;
    border: 1px solid #FED1BD;

    color: #B87962;

    font-size: 30px;
    font-weight: 800;
}

.result-label {
    display: block;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #B87962;
    margin-bottom: 10px;
}

.verification-result h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #2B2523;
}

.verification-result > p {
    max-width: 550px;
    margin: 0 auto 30px;
    color: #756B67;
}


/* ========================================
   RESULT PRODUCT
======================================== */

.result-product {
    max-width: 550px;
    margin: 0 auto 25px;

    border-top: 1px solid #EADBD5;
}

.result-row {
    display: flex;

    justify-content: space-between;
    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #EADBD5;

    text-align: left;
}

.result-row span {
    color: #8C817C;
}

.result-row strong {
    text-align: right;
    word-break: break-word;
    color: #2B2523;
}


/* ========================================
   VERIFICATION NOTICE
======================================== */

.verification-notice {
    max-width: 550px;
    margin: 0 auto 30px;

    padding: 18px;

    background: #FFF1EB;

    border: 1px solid #E8D8D1;
    border-radius: 10px;

    text-align: left;
}

.verification-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #B87962;
}

.verification-notice p {
    color: #8C817C;
    font-size: 13px;
}


/* ========================================
   VERIFICATION CHECKS
======================================== */

.verification-checks {
    max-width: 550px;

    margin: 0 auto 25px;
    padding: 25px;

    background: #FFF1EB;

    border: 1px solid #EADBD5;
    border-radius: 12px;

    text-align: left;
}

.verification-checks h3 {
    font-size: 17px;
    margin-bottom: 18px;
    color: #2B2523;
}

.check-item {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 14px 0;

    border-top: 1px solid #EADBD5;
}

.check-item:first-of-type {
    border-top: none;
}

.check-icon {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #FFF1EB;
    border: 1px solid #FED1BD;

    color: #B87962;

    font-size: 14px;
    font-weight: 800;
}

.check-icon.pending {
    background: #FFF7F3;
    color: #9A8E89;
    border-color: #E5D5CE;
}

.check-item strong {
    display: block;
    margin-bottom: 3px;

    font-size: 14px;
    color: #2B2523;
}

.check-item p {
    margin: 0;

    color: #8C817C;

    font-size: 13px;
    line-height: 1.5;
}


/* ========================================
   PRODUCT PAGE
======================================== */

.product-loading {
    min-height: 50vh;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    color: #B87962;
}


/* ========================================
   PRODUCT DETAILS
======================================== */

.product-details {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 30px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;

    align-items: start;
}


/* ========================================
   PRODUCT IMAGES
   ONLY ONE IMAGE
======================================== */

.product-images {
    width: 100%;
    min-width: 0;
}


/*
   LARGE SINGLE PRODUCT IMAGE
*/

.main-product-image {
    width: 100%;

    height: 560px;
    min-height: 560px;

    border-radius: 24px;

    background: #FFF7F3;

    border: 1px solid #F3D8CC;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    position: relative;
}


/*
   ACTUAL PRODUCT IMAGE
*/

.main-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    object-position: center;

    padding: 35px;

    /*
       If the image fails to load, hide
       the browser's ALT text.
    */
    color: transparent;

    font-size: 0;
}


/*
   HIDE ANY PLACEHOLDER TEXT
*/

.main-product-image span {
    display: none !important;
}


/*
   HIDE IMAGE GALLERY COMPLETELY
   We only want ONE product image.
*/

.product-image-gallery {
    display: none !important;
}

.product-thumbnail {
    display: none !important;
}


/* ========================================
   PRODUCT INFORMATION
======================================== */

.product-information {
    width: 100%;
    min-width: 0;

    padding-top: 10px;
}

.product-category {
    display: inline-block;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    margin-bottom: 16px;

    color: #B87962;
}

.product-information h1 {
    margin: 0;

    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.05;

    letter-spacing: -0.04em;

    color: #2B2523;
}

.product-information h2 {
    margin: 12px 0 20px;

    font-size: 1.15rem;

    font-weight: 500;

    color: #756B67;
}


/* ========================================
   RATING
======================================== */

.product-rating {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 35px;
}

.product-rating span:first-child {
    font-size: 1.25rem;

    letter-spacing: 3px;

    color: #FFD700;
}

.product-rating span:last-child {
    color: #8C817C;
    font-size: 0.9rem;
}


/* ========================================
   DESCRIPTION
======================================== */

.product-description {
    padding: 24px 0;

    border-top: 1px solid #EADBD5;
    border-bottom: 1px solid #EADBD5;
}

.product-description h3 {
    margin: 0 0 10px;

    font-size: 1rem;

    color: #B87962;
}

.product-description p {
    margin: 0;

    line-height: 1.7;

    color: #756B67;
}


/* ========================================
   PRODUCT META
======================================== */

.product-meta {
    display: grid;

    gap: 0;

    margin: 25px 0 30px;
}

.product-meta div {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #EADBD5;
}

.product-meta strong {
    font-size: 0.85rem;
    color: #B87962;
}

.product-meta span {
    color: #756B67;

    text-align: right;

    font-size: 0.85rem;
}


/* ========================================
   AUTHENTICITY GUIDE
======================================== */

.authenticity-guide {
    max-width: 1000px;

    margin: 0 auto;

    padding: 70px 24px;
}

.authenticity-notes {
    margin-top: 35px;

    padding: 30px;

    border-radius: 18px;

    background: #FFF7F3;

    border: 1px solid #F3D8CC;

    line-height: 1.8;

    color: #756B67;
}


/* ========================================
   RATINGS SECTION
======================================== */

.product-ratings {
    max-width: 1000px;

    margin: 0 auto;

    padding: 70px 24px;
}

.rating-summary {
    max-width: 600px;

    margin: 30px auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    padding: 30px;

    background: #FFF7F3;

    border: 1px solid #FED1BD;

    border-radius: 18px;
}

.rating-number {
    font-size: 3rem;

    font-weight: 800;

    color: #B87962;
}

.rating-stars-display {
    font-size: 1.6rem;

    letter-spacing: 4px;

    color: #FFD700;
}

#ratingStars {
    font-size: 1.3rem;

    letter-spacing: 3px;

    color: #FFD700;
}

#ratingCount {
    margin-top: 5px;

    color: #8C817C;
}


/* ========================================
   RATING BUTTONS
======================================== */

.rating-choice {
    width: 48px;
    height: 48px;

    border: 1px solid #E5D5CE;

    border-radius: 10px;

    background: #FFF9F6;

    color: #9A8E89;

    font-size: 24px;

    cursor: pointer;

    transition: 0.2s ease;
}

.rating-choice:hover {
    background: #2B2523;

    color: #FFD700;

    border-color: #2B2523;

    transform: translateY(-2px);
}

.rating-choice:active {
    transform: translateY(0);
}


/* ========================================
   USER RATING
======================================== */

.user-rating-box {
    max-width: 600px;

    margin: 30px auto 0;

    padding: 35px;

    text-align: center;

    background: #FFF7F3;

    border: 1px solid #F3D8CC;

    border-radius: 18px;
}

.user-rating-box h3 {
    margin-bottom: 5px;

    color: #2B2523;

    font-size: 20px;
}

.user-rating-box > p {
    color: #8C817C;

    font-size: 14px;

    margin-bottom: 20px;
}


/* ========================================
   CLICKABLE STARS
======================================== */

.user-rating-stars {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin: 15px 0 25px;
}

.user-rating-stars button {
    border: none;

    background: transparent;

    color: #CFC4BF;

    font-size: 38px;

    line-height: 1;

    cursor: pointer;

    padding: 2px;

    transition: 0.2s ease;
}

.user-rating-stars button:hover,
.user-rating-stars button.selected {
    color: #FFD700;

    transform: scale(1.08);
}

.user-rating-stars.rated button {
    cursor: not-allowed;
}

.user-rating-stars.rated button:hover {
    transform: none;
}


/* ========================================
   SUBMIT RATING
======================================== */

.rating-submit {
    min-width: 170px;

    background: #FED1BD !important;

    color: #2B2523 !important;

    border-color: #FED1BD !important;
}

.rating-submit:hover {
    background: #F8BFA8 !important;

    border-color: #F8BFA8 !important;
}


/* ========================================
   RATING MESSAGE
======================================== */

.rating-message {
    min-height: 20px;

    margin-top: 15px !important;

    color: #B87962 !important;

    font-size: 14px;
}


/* ========================================
   COSMETIC DETAILS
======================================== */

.cosmetic-details {
    max-width: 1000px;

    margin: 0 auto;

    padding: 70px 24px;
}

.cosmetic-details-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.cosmetic-detail-card {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 25px;

    background: #141414;

    border: 1px solid rgba(212, 175, 55, 0.18);

    border-radius: 16px;

    transition: 0.25s ease;
}

.cosmetic-detail-card:hover {
    transform: translateY(-3px);

    border-color: rgba(212, 175, 55, 0.45);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.detail-icon {
    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(212, 175, 55, 0.10);

    border: 1px solid rgba(212, 175, 55, 0.22);

    color: #D4AF37;

    font-size: 20px;
    font-weight: 800;
}

.cosmetic-detail-card h3 {
    margin: 0 0 6px;

    font-size: 16px;

    color: #F5F5F5;
}

.cosmetic-detail-card p {
    margin: 0;

    color: #999999;

    font-size: 14px;

    line-height: 1.7;
}

.cosmetic-benefits {
    border-color: rgba(80, 180, 100, 0.20);
}

.cosmetic-benefits .detail-icon {
    color: #6ED081;

    background: rgba(80, 180, 100, 0.10);

    border-color: rgba(80, 180, 100, 0.25);
}

.cosmetic-disadvantages {
    border-color: rgba(220, 150, 60, 0.20);
}

.cosmetic-disadvantages .detail-icon {
    color: #E6A23C;

    background: rgba(220, 150, 60, 0.10);

    border-color: rgba(220, 150, 60, 0.25);
}

.cosmetic-how-to-use {
    grid-column: 1 / -1;
}


/* ========================================
   PRODUCT ACTIONS
======================================== */

.product-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 10px;
}

.product-actions .btn {
    flex: 1;
    min-width: 200px;
}


/* ========================================
   WHATSAPP
======================================== */

.whatsapp-btn {
    background: #25D366;

    color: #ffffff;

    border-color: #25D366;
}

.whatsapp-btn:hover {
    background: #20bd5a;

    border-color: #20bd5a;

    color: #ffffff;

    transform: translateY(-2px);
}


/* ========================================
   COSMETIC SEARCH
======================================== */

.cosmetic-search {
    width: 100%;

    max-width: 760px;

    margin: 35px auto 0;

    display: flex;

    align-items: center;

    background: #FFF7F3;

    border: 1px solid #F3D8CC;

    border-radius: 14px;

    padding: 6px;

    box-shadow:
        0 10px 30px rgba(90, 55, 45, 0.08);

    transition: 0.25s ease;
}

.cosmetic-search input {
    flex: 1;

    width: 100%;

    height: 52px;

    padding: 0 18px;

    border: none;

    outline: none;

    background: transparent;

    font-size: 16px;

    font-family: inherit;

    color: #2B2523;
}

.cosmetic-search input::placeholder {
    color: #A89B96;
}

.cosmetic-search:focus-within {
    border-color: #FED1BD;

    box-shadow:
        0 12px 35px rgba(254, 209, 189, 0.20);
}

.cosmetic-search button {
    height: 52px;

    padding: 0 28px;

    border: none;

    border-radius: 10px;

    background: #FED1BD;

    color: #2B2523;

    font-size: 15px;

    font-weight: 700;

    font-family: inherit;

    cursor: pointer;

    transition: 0.25s ease;
}

.cosmetic-search button:hover {
    background: #F8BFA8;

    transform: translateY(-1px);
}


/* ========================================
   SEARCH RESULTS
======================================== */

#searchResults {
    width: 100%;

    max-width: 760px;

    margin: 20px auto 50px;
}

.search-result {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px;

    margin-bottom: 12px;

    background: #FFF7F3;

    border: 1px solid #F3D8CC;

    border-radius: 14px;

    text-align: left;

    transition: 0.25s ease;

    cursor: pointer;
}

.search-result:hover {
    border-color: #FED1BD;

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(90, 55, 45, 0.08);
}

.search-result img {
    width: 70px;
    height: 70px;

    object-fit: contain;

    border-radius: 10px;

    background: #FFF1EB;

    border: 1px solid #EADBD5;

    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-info h3 {
    margin: 0 0 4px;

    font-size: 17px;

    color: #2B2523;
}

.search-result-info p {
    margin: 0;

    color: #756B67;

    font-size: 14px;
}

.search-result .view-product,
#searchResults button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 125px;

    height: 42px;

    padding: 0 18px;

    border: 1px solid #FED1BD;

    border-radius: 8px;

    background: transparent;

    color: #B87962;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition: 0.2s ease;
}

.search-result .view-product:hover,
#searchResults button:hover {
    background: #FED1BD;

    color: #2B2523;

    border-color: #FED1BD;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(254, 209, 189, 0.25);
}

.no-search-results {
    padding: 30px;

    text-align: center;

    color: #8C817C;

    background: #FFF7F3;

    border: 1px solid #EADBD5;

    border-radius: 14px;
}


/* ========================================
   PRODUCT ERROR
======================================== */

.product-error {
    max-width: 700px;

    margin: 0 auto;

    padding: 120px 24px;

    text-align: center;
}

.product-error h2 {
    font-size: 2rem;

    margin-bottom: 12px;

    color: #2B2523;
}

.product-error p {
    color: #8C817C;

    margin-bottom: 30px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 900px) {

    .product-details {
        grid-template-columns: 1fr;

        max-width: 700px;

        padding: 55px 25px;

        gap: 45px;
    }

    .product-images {
        width: 100%;
    }

    .main-product-image {
        height: 500px;
        min-height: 500px;
    }

    .product-information {
        padding-top: 0;
    }
}


@media (max-width: 768px) {

    header {
        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .menu-btn {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 45px;
        height: 45px;

        border: 1px solid #FED1BD;

        border-radius: 10px;

        background: #FFF7F3;

        color: #B87962;

        font-size: 24px;

        cursor: pointer;

        z-index: 1001;
    }

    header nav.mobile-open {
        display: flex;

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 10px 5%;

        background: #FFF9F6;

        border-bottom: 1px solid #F3D8CC;

        box-shadow:
            0 10px 25px rgba(90, 55, 45, 0.10);
    }

    header nav.mobile-open a {
        width: 100%;

        padding: 14px 0;

        color: #2B2523;

        border-bottom: 1px solid #F3D8CC;
    }

    header nav.mobile-open a:hover {
        color: #B87962;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        height: 58px;
    }

    .brand span {
        font-size: 17px;
    }

    .logo img {
        height: 58px;
    }

    .hero {
        min-height: 600px;

        padding: 80px 5%;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 17px;
    }

    .how-it-works,
    .guides {
        padding: 80px 5%;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 30px;
    }

    .verify {
        padding: 90px 5%;
    }

    footer {
        padding: 50px 5% 30px;
    }

    .cosmetic-details {
        padding: 50px 20px;
    }

    .cosmetic-details-grid {
        grid-template-columns: 1fr;
    }

    .cosmetic-how-to-use {
        grid-column: auto;
    }

    .cosmetic-detail-card {
        padding: 20px;
    }
}


@media (max-width: 600px) {

    .verify-page {
        padding: 65px 5%;
    }

    .verify-page h1 {
        letter-spacing: -2px;
    }

    .scanner-box,
    .manual-box {
        padding: 30px 20px;
    }

    .verification-result {
        padding: 30px 20px;
    }

    .result-row {
        flex-direction: column;

        gap: 4px;
    }

    .result-row strong {
        text-align: left;
    }

    .cosmetic-search {
        flex-direction: column;

        padding: 8px;

        border-radius: 14px;
    }

    .cosmetic-search input {
        height: 50px;

        width: 100%;
    }

    .cosmetic-search button {
        width: 100%;

        height: 50px;
    }

    .search-result {
        align-items: flex-start;

        flex-wrap: wrap;

        padding: 15px;
    }

    .search-result img {
        width: 60px;
        height: 60px;
    }

    .search-result-info {
        min-width: calc(100% - 80px);
    }

    .search-result .view-product,
    #searchResults button {
        width: 100%;

        margin-top: 10px;
    }

    .rating-summary {
        padding: 25px 15px;

        gap: 15px;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .rating-stars-display {
        font-size: 1.3rem;
    }

    .user-rating-box {
        padding: 30px 20px;
    }

    .user-rating-stars button {
        font-size: 32px;
    }

    .product-details {
        padding: 40px 18px;

        gap: 35px;
    }

    /*
       SINGLE IMAGE ON MOBILE
    */

    .main-product-image {
        height: 400px;
        min-height: 400px;

        border-radius: 18px;
    }

    .main-product-image img {
        padding: 25px;

        width: 100%;
        height: 100%;

        object-fit: contain;

        color: transparent;
        font-size: 0;
    }

    .product-information h1 {
        font-size: 2.3rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        min-width: 100%;
    }

    .cosmetic-detail-row {
        flex-direction: column;

        gap: 5px;
    }

    .cosmetic-detail-row span {
        text-align: left;
    }
}


/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #FFF1EB;
}

::-webkit-scrollbar-thumb {
    background: #E8B9A6;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FED1BD;
}


/* ========================================
   TEXT SELECTION
======================================== */

::selection {
    background: #FED1BD;
    color: #2B2523;
}
/* ========================================
   PACKAGES MENU
======================================== */

.packages-menu {
    position: relative;
    display: inline-block;
}

.packages-btn {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 8px 0;
}

.packages-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    min-width: 220px;

    background: white;

    border-radius: 12px;

    padding: 8px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    display: none;

    z-index: 1000;
}

.packages-menu:hover .packages-dropdown {
    display: block;
}

.packages-dropdown a {
    display: block;

    padding: 11px 14px;

    color: #222;

    text-decoration: none;

    border-radius: 8px;

    white-space: nowrap;

    transition: background 0.2s ease;
}

.packages-dropdown a:hover {
    background: #f3f3f3;
}


/* ========================================
   MOBILE PACKAGES
======================================== */

@media (max-width: 768px) {

    .packages-menu {
        width: 100%;
    }

    .packages-btn {
        width: 100%;
        text-align: left;
    }

    .packages-dropdown {
        position: static;

        transform: none;

        width: 100%;

        box-shadow: none;

        margin-top: 5px;

        display: block;

        background: transparent;
    }

    .packages-dropdown a {
        color: inherit;
        padding-left: 25px;
    }

}

