@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Manrope:wght@400..800&family=Caveat:wght@500..700&display=swap');

:root {
    --ink: #1C1512;
    --cream: #FBF7F0;
    --paper: #F3EBDF;
    --line: #E4D6C3;
    --amber: #A65E2E;
    --amber-light: #C98A54;
    --berry: #7A2140;
    --muted: #6B4A34;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

h1 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.12;
    color: var(--ink);
}

h2 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.2;
    color: var(--ink);
}

h4 {
    font-size: 20px;
    color: var(--ink);
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: var(--muted);
    margin: 15px 0 20px 0;
}

.eyebrow {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 8px;
}

.section-head {
    margin-bottom: 10px;
}

.section-head h2 {
    position: relative;
    padding-bottom: 18px;
}

.section-head h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    background-color: var(--amber);
}

#shop-preview .section-head h2::after,
#insta-banner .section-head h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

button.normal {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 15px 30px;
    color: var(--cream);
    background-color: var(--amber);
    border-radius: 2px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

button.normal:hover {
    background-color: var(--ink);
}

button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.2s;
}

button.white:hover {
    background-color: #fff;
    color: var(--ink);
}

.wig-button {
    border: 1px solid #000;
    padding: 1rem 1.5rem;
    color: #000;
    border-radius: 2rem;
    transition: .5s ease-in-out;
}
.wig-button:hover {
    background-color: #000;
    color: #fff;
}
.get-in-touch-clr {
    color: #fff;
    border-color: #fff;
}
.get-in-touch-clr:hover {
    color: #f3f3f3;
    border-color: #f3f3f3;
    background-color: transparent;
}

body {
    width: 100%;
    background-color: var(--cream);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--ink);
}

.logo-text span {
    color: var(--amber);
}

.logo-text small {
    font-size: 9px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    letter-spacing: 3px;
    color: var(--muted);
    margin-top: 5px;
}

.footer-logo,
.footer-logo span {
    color: var(--cream);
}

.footer-logo small {
    color: var(--line);
}

/* Header Start */

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 80px;
    background-color: rgba(251, 247, 240, 0.55);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(28, 21, 18, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 16px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--ink);
    transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: var(--amber);
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: '';
    width: 60%;
    height: 2px;
    background-color: var(--berry);
    position: absolute;
    bottom: -6px;
    left: 18px;
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

/* Home Page — Hero (original single-block layout, glass text panel) */

#hero {
    position: relative;
    background-image: linear-gradient(0deg, rgba(28, 21, 18, 0.6) 0%, rgba(28, 21, 18, 0.1) 65%), linear-gradient(rgba(166, 94, 46, 0.3), rgba(166, 94, 46, 0.4)), url('https://images.unsplash.com/photo-1762745103094-6760fab8eb50?auto=format&fit=crop&w=1600&h=1000&q=80');
    height: 88vh;
    width: 100%;
    background-size: cover;
    background-position: top center;
    padding: 0 80px 60px 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

#hero .eyebrow,
#hero h1,
#hero p,
#hero .hero-actions {
    position: relative;
    z-index: 1;
}

#hero .eyebrow {
    font-family: "Caveat", cursive;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--amber-light);
}

#hero h1 {
    max-width: 640px;
    color: var(--cream);
}

#hero p {
    max-width: 460px;
    color: var(--line);
}

#hero .hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

#hero .hero-actions a.insta-link {
    color: var(--cream);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--amber-light);
    padding-bottom: 2px;
}

#hero .hero-actions a.insta-link i {
    margin-right: 6px;
    color: var(--amber-light);
}

#feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#feature .fe-box {
    width: 180px;
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    margin: 15px 0;
    transition: 0.2s;
}

#feature .fe-box:hover {
    box-shadow: 0 18px 40px rgba(28, 21, 18, 0.08);
    border-color: var(--amber-light);
    background: rgba(255, 255, 255, 0.6);
}

#feature .fe-box i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--paper);
    color: var(--amber);
    font-size: 18px;
    margin-bottom: 12px;
}

#feature .fe-box h6 {
    display: block;
    line-height: 1.3;
    color: var(--ink);
    font-weight: 700;
    text-transform: none;
    background-color: transparent;
}

#newsletter {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--ink);
}

#newsletter h4 {
    font-family: "Fraunces", serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--cream);
}

#newsletter p {
    font-size: 14px;
    font-weight: 600;
    color: var(--line);
}

#newsletter p span {
    color: var(--amber-light);
}

#newsletter .form {
    display: flex;
    align-items: center;
    gap: 10px;
}

#newsletter .form a.normal {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#newsletter .form a.normal i {
    font-size: 17px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: var(--ink);
    padding: 60px 80px 30px 80px;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .logo {
    margin-bottom: 30px;
}

footer h4 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--cream);
    padding-bottom: 20px;
}

footer p {
    font-size: 13px;
    color: var(--line);
    margin: 0 0 8px 0;
}

footer a {
    font-size: 13px;
    text-decoration: none;
    color: var(--line);
    margin-bottom: 10px;
}

footer .follow {
    margin-top: 20px;
}

footer .follow .icon {
    display: flex;
    gap: 10px;
}

footer .follow .icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(247, 241, 231, 0.25);
    border-radius: 50%;
    margin: 0;
    transition: 0.2s;
}

footer .follow i {
    color: var(--line);
    cursor: pointer;
}

footer .follow .icon a:hover {
    border-color: var(--amber-light);
    background-color: rgba(198, 138, 84, 0.12);
}

footer .follow .icon a:hover i,
footer a:hover {
    color: var(--amber-light);
}

footer .copyright {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(247, 241, 231, 0.12);
    margin-top: 30px;
    padding-top: 20px;
}

footer .copyright p {
    color: var(--line);
    opacity: 0.7;
    font-size: 12px;
}

/* Page Header (shared) */

#page-header {
    position: relative;
    background-image: linear-gradient(0deg, rgba(28, 21, 18, 0.4) 0%, rgba(28, 21, 18, 0.15) 100%), url('https://images.unsplash.com/photo-1724362180927-3e61a44bf175?auto=format&fit=crop&w=900&h=900&q=80');
    width: 100%;
    height: 38vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
    overflow: hidden;
}

#page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28, 21, 18, 0.2);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
}

#page-header .eyebrow,
#page-header h2,
#page-header p {
    position: relative;
    z-index: 1;
}

#page-header .eyebrow {
    color: var(--amber-light);
}

#page-header h2,
#page-header p {
    color: #fff;
}

#page-header.about-header {
    background-image: linear-gradient(0deg, rgba(28, 21, 18, 0.45) 0%, rgba(28, 21, 18, 0.2) 100%), url('https://images.unsplash.com/photo-1700760934268-8aa0ef52ce0a?auto=format&fit=crop&w=1600&h=600&q=80');
}

#page-header.contact-header {
    background-image: linear-gradient(0deg, rgba(28, 21, 18, 0.45) 0%, rgba(28, 21, 18, 0.2) 100%), url('https://images.unsplash.com/photo-1559599101-f09722fb4948?auto=format&fit=crop&w=1600&h=600&q=80');
}

/* About Page */

#about-head {
    display: flex;
    align-items: center;
}

#about-head img {
    width: 50%;
    height: auto;
    border-radius: 6px;
}

#about-head div {
    padding-left: 40px;
}

#about-app {
    text-align: center;
}

#about-app .video {
    width: 70%;
    height: 100%;
    margin: 30px auto 0 auto;
}

#about-app .video video,
#about-app .video img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Contact Page */

#contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details {
    width: 40%;
}

#contact-details .details span,
#form-details form span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--amber);
}

#contact-details .details h2,
#form-details form h2 {
    font-family: "Fraunces", serif;
    font-size: 30px;
    line-height: 1.25;
    padding: 12px 0 20px 0;
}

#contact-details .details h3 {
    font-size: 16px;
    padding-bottom: 15px;
    color: var(--ink);
}

#contact-details .details li {
    list-style: none;
    display: flex;
    padding: 10px 0;
}

#contact-details .details li i {
    font-size: 14px;
    padding-right: 22px;
    color: var(--amber);
    padding-top: 3px;
}

#contact-details .details li p {
    margin: 0;
    font-size: 14px;
}

#contact-details .map {
    width: 55%;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
}

#contact-details .map iframe {
    width: 100%;
    height: 100%;
}

#form-details {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 60px 80px;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
}

#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background-color: var(--cream);
}

#form-details form input:focus,
#form-details form textarea:focus {
    border-color: var(--amber);
}

#form-details form button {
    background-color: var(--amber);
    color: var(--cream);
}

#form-details .people div {
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

#form-details .people div img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

#form-details .people div p {
    margin: 0;
    font-size: 13px;
    line-height: 25px;
}

#form-details .people div p span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

/* ===== Instagram Banner (Home / About) ===== */

#insta-banner {
    background-color: var(--paper);
    text-align: center;
}

#insta-banner h2 {
    margin-bottom: 8px;
}

#insta-banner>p {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.insta-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.insta-grid img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}

#insta-banner .insta-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Start Media Query */

@media (max-width: 799px) {
    .section-p1 {
        padding: 40px 40px;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(80vw, 300px);
        background-color: rgb(251, 247, 240);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
        border-left: 1px solid rgba(255, 255, 255, 0.4);
        padding: 80px 0 0 10px;
        transform: translateX(100%);
        transition: transform 0.3s;
    }

    #navbar.active {
        transform: translateX(0);
    }
    #navbar li {
        margin-bottom: 25px;
    }

    #mobile {
        display: flex;
        align-items: center;
    }

    #mobile i {
        color: var(--ink);
        font-size: 24px;
        padding-left: 20px;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: var(--ink);
        font-size: 24px;
    }

    #lg-bag {
        display: none;
    }

    #hero {
        height: 70vh;
        padding: 0 40px 50px 40px;
    }

    #hero::before {
        height: 55%;
    }

    #feature {
        justify-content: center;
    }

    #feature .fe-box {
        margin: 15px 15px;
    }

    #newsletter .form {
        width: 100%;
        justify-content: flex-start;
    }

    footer {
        padding: 50px 40px 30px 40px;
    }

    /* Contact Page */

    #form-details {
        padding: 40px;
    }

    #form-details form {
        width: 50%;
    }
}

@media (max-width: 477px) {
    .section-p1 {
        padding: 20px;
    }

    #header {
        padding: 10px 30px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    #feature {
        justify-content: space-between;
    }

    #feature .fe-box {
        width: 155px;
        margin: 0 0 15px 0;
    }

    #newsletter {
        padding: 40px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    #newsletter .form {
        width: 100%;
    }

    footer {
        padding: 40px 20px 20px 20px;
    }

    footer .copyright {
        text-align: start;
    }

    .insta-grid img {
        width: 47%;
        height: 140px;
    }

    /* About Page */

    #about-head {
        flex-direction: column;
    }

    #about-head img {
        width: 100%;
        margin-bottom: 20px;
    }

    #about-head div {
        padding-left: 0px;
    }

    #about-app .video {
        width: 100%;
    }

    /* Contact Page */

    #contact-details {
        flex-direction: column;
    }

    #contact-details .details {
        width: 100%;
        margin-bottom: 30px;
    }

    #contact-details .map {
        width: 100%;
    }

    #form-details {
        flex-wrap: wrap;
        margin: 10px 0;
        padding: 30px;
        border: 1px solid var(--line);
    }

    #form-details form {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* ===================================================== */
/* ============  AmberHairGame — Shop System CSS  ======= */
/* ===================================================== */

/* Cart icon + badge (header) */

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-size: 18px;
    text-decoration: none;
}

.cart-link:hover,
.cart-link.active {
    color: var(--amber);
}

.cart-count {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -9px;
    right: -11px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    background-color: var(--berry);
    color: var(--cream);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

#mobile .cart-link {
    margin-left: 16px;
    font-size: 20px;
}

/* Page header (shared by shop/cart/checkout, mirrors existing page-header) */

#page-header.shop-header,
#page-header.cart-header,
#page-header.checkout-header {
    background-color: var(--ink);
    background-image: none;
    text-align: center;
    padding: 70px 40px;
}

#page-header.shop-header .eyebrow,
#page-header.cart-header .eyebrow,
#page-header.checkout-header .eyebrow {
    color: var(--amber-light);
}

#page-header.shop-header h2,
#page-header.cart-header h2,
#page-header.checkout-header h2 {
    color: var(--cream);
}

#page-header.shop-header p,
#page-header.cart-header p,
#page-header.checkout-header p {
    color: var(--line);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Category tabs */

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.cat-tab {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid rgba(230, 214, 195, 0.8);
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--muted);
    cursor: pointer;
    transition: 0.2s;
}

.cat-tab:hover {
    border-color: var(--amber-light);
    color: var(--amber);
}

.cat-tab.active {
    background-color: var(--amber);
    border-color: var(--amber);
    color: var(--cream);
}

/* Product grid + cards */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    transition: 0.25s;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(28, 21, 18, 0.08);
    border-color: var(--amber-light);
    transform: translateY(-3px);
}

.product-card-img {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--berry);
    color: var(--cream);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 30px;
}

.product-card-body {
    padding: 18px;
}

.product-category {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 6px;
}

.product-card-body h4 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.product-card-body a {
    text-decoration: none;
}

.product-length {
    font-size: 13px !important;
    margin: 0 0 12px 0 !important;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
}

.add-cart-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: var(--paper);
    color: var(--amber);
    cursor: pointer;
    transition: 0.2s;
}

.add-cart-btn:hover {
    background-color: var(--amber);
    color: var(--cream);
}

/* Product detail page */

.product-detail {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.product-detail-img {
    position: relative;
    flex: 1 1 420px;
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-img img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.product-detail-info {
    flex: 1 1 420px;
}

.back-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 18px;
}

.back-link:hover {
    color: var(--amber);
}

.product-detail-info h1 {
    font-size: 34px;
    margin-bottom: 8px;
}

.product-detail-price {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--amber);
    margin: 6px 0 4px 0;
}

.product-detail-length {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px !important;
}

.product-detail-desc {
    max-width: 460px;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.qty-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--ink);
}

.qty-selector button:hover {
    background-color: var(--paper);
}

.qty-selector span {
    width: 36px;
    text-align: center;
    font-weight: 600;
}

.add-to-cart-main {
    display: block;
    width: 100%;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-confirm {
    display: none;
    color: var(--amber);
    font-weight: 600;
    font-size: 13px;
    margin: 12px 0 0 0 !important;
}

.add-confirm.show {
    display: block;
}

.product-detail-notes {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.product-detail-notes p {
    font-size: 13px;
    margin: 0 0 8px 0 !important;
    color: var(--muted);
}

.product-detail-notes i {
    color: var(--amber);
    margin-right: 6px;
}

/* Cart page */

.cart-page {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.cart-lines {
    flex: 2 1 500px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-line {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px;
}

.cart-line img {
    width: 80px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-line-info h4 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 16px;
}

.cart-line-category {
    font-size: 12px !important;
    color: var(--muted);
    margin: 4px 0 !important;
}

.cart-line-price {
    font-size: 13px !important;
    margin: 0 !important;
    color: var(--ink);
}

.cart-line-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.cart-line-qty button {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
}

.cart-line-qty span {
    width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-line-total {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.line-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
}

.line-remove:hover {
    color: var(--amber);
}

.cart-summary {
    flex: 1 1 280px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(28, 21, 18, 0.05);
    border-radius: 10px;
    padding: 26px;
    position: sticky;
    top: 110px;
}

.cart-summary h3 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.cart-summary-row.total {
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 8px;
}

.checkout-btn {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 16px;
    text-decoration: none;
}

.continue-shopping {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    margin-top: 14px;
}

.continue-shopping:hover {
    color: var(--amber);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.cart-empty i {
    font-size: 40px;
    color: var(--line);
    margin-bottom: 16px;
}

.cart-empty a {
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

/* Checkout page */

.checkout-page {
    display: flex;
    justify-content: center;
}

.checkout-disclaimer {
    font-size: 12px !important;
    color: var(--muted);
    text-align: center;
    margin-top: 14px !important;
}

.checkout-summary {
    flex: 1 1 460px;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(28, 21, 18, 0.05);
    border-radius: 10px;
    padding: 30px;
}

.checkout-summary h3 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 18px;
}

.checkout-summary-line {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-summary-line img {
    width: 46px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
}

.checkout-summary-line .line-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 !important;
}

.checkout-summary-line .line-qty {
    font-size: 12px;
    color: var(--muted);
    margin: 0 !important;
}

.checkout-summary-line span {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    text-decoration: none;
    background-color: #25D366;
    color: #fff;
}

.whatsapp-btn:hover {
    background-color: #1DA851;
}

.whatsapp-btn i {
    font-size: 18px;
}

/* Shop system responsive */

@media (max-width: 799px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .product-detail {
        flex-direction: column;
        gap: 30px;
    }

    .cart-page,
    .checkout-page {
        flex-direction: column;
    }

    .cart-summary,
    .checkout-summary {
        width: 100%;
        position: static;
    }

    .cart-line {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "img info"
            "img qty"
            "img total";
        row-gap: 8px;
    }

    .cart-line img {
        grid-area: img;
    }

    .cart-line-info {
        grid-area: info;
    }

    .cart-line-qty {
        grid-area: qty;
    }

    .cart-line-total {
        grid-area: total;
    }

    .line-remove {
        position: absolute;
        top: 14px;
        right: 14px;
    }

    .cart-line {
        position: relative;
    }
}

@media (max-width: 477px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-tabs {
        gap: 8px;
    }

    .cat-tab {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ===== Shop Preview (Home) ===== */

#shop-preview {
    text-align: center;
}

#shop-preview .section-head p {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

#shop-preview .product-grid {
    text-align: left;
    margin-top: 30px;
}

#shop-preview .insta-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 799px) {
    #shop-preview .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 477px) {
    #shop-preview .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}