/* ==========================================================
   NOOK
   Global stylesheet
   Premium / Minimal / Hibiscus
   ========================================================== */


/* ==========================================================
   01. VARIABLES
   ========================================================== */

:root {

    /* Brand */
    --white: #ffffff;
    --bg: #fcfbf8;
    --bg-soft: #f5f1ec;
    --bg-warm: #eee8e1;

    --black: #222222;
    --black-soft: #34302e;

    --text: #252220;
    --text-soft: #6f6964;
    --text-light: #99908a;

    /* Hibiscus */
    --burgundy: #711f2b;
    --burgundy-dark: #52151f;
    --burgundy-light: #9b3746;
    --rose: #bc6571;

    /* Borders */
    --border: rgba(34, 34, 34, 0.12);
    --border-dark: rgba(34, 34, 34, 0.22);
    --border-light: rgba(255, 255, 255, 0.22);

    /* Effects */
    --shadow-sm: 0 8px 25px rgba(30, 20, 20, 0.06);
    --shadow-md: 0 20px 55px rgba(30, 20, 20, 0.10);
    --shadow-lg: 0 35px 90px rgba(66, 18, 28, 0.16);

    /* Layout */
    --container: 1240px;
    --container-small: 960px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 26px;
    --radius-xl: 40px;

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition: 0.35s ease;
    --transition-slow: 0.7s cubic-bezier(.2, .8, .2, 1);
}


/* ==========================================================
   02. RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(113, 31, 43, 0.035),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        "Inter",
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

::selection {
    background: var(--burgundy);
    color: var(--white);
}


/* ==========================================================
   03. TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
.brand-font {
    font-family:
        "Fraunces",
        Georgia,
        serif;
}

h1 {
    font-size: clamp(3.7rem, 7.2vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
    font-weight: 500;
}

h2 {
    font-size: clamp(2.5rem, 4.8vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 500;
}

h3 {
    font-size: clamp(1.65rem, 2.5vw, 2.3rem);
    line-height: 1.15;
    font-weight: 500;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    color: var(--text-soft);
}

.text-burgundy {
    color: var(--burgundy);
}

.text-light {
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 24px;

    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    color: var(--burgundy);
}

.eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--burgundy);
}


/* ==========================================================
   04. CONTAINER
   ========================================================== */

.container {
    width: min(calc(100% - 80px), var(--container));
    margin-inline: auto;
}

.container-small {
    width: min(calc(100% - 80px), var(--container-small));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 130px 0;
}

.section-small {
    padding: 90px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-burgundy {
    background: var(--burgundy);
    color: var(--white);
}


/* ==========================================================
   05. HEADER / NAVIGATION
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(252, 251, 248, 0.88);

    border-bottom: 1px solid transparent;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    border-color: var(--border);

    box-shadow:
        0 6px 30px rgba(34, 34, 34, 0.035);
}

.navbar {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: auto;
    height: 43px;
    object-fit: contain;
}

.logo-text {
    font-family: "Fraunces", Georgia, serif;

    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.07em;

    color: var(--black);
}


/* Navigation */

.nav-links {
    display: flex;
    align-items: center;

    gap: 38px;
}

.nav-links a {
    position: relative;

    padding: 32px 0;

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--text-soft);

    transition: color var(--transition);
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 25px;

    width: 0;
    height: 1px;

    background: var(--burgundy);

    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--burgundy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* Header actions */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 11px;
}

.icon-button {
    position: relative;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    background: transparent;
    color: var(--black);

    border: 1px solid transparent;
    border-radius: 50%;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.icon-button:hover {
    background: var(--bg-soft);
    border-color: var(--border);
}

.icon-button svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: 1px;
    right: 0;

    min-width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    border-radius: 100px;

    background: var(--burgundy);
    color: var(--white);

    font-size: 0.61rem;
    font-weight: 700;
}


/* Mobile menu button */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 0;
    background: transparent;
}

.menu-toggle span {
    width: 23px;
    height: 1.5px;

    background: var(--black);

    transition: var(--transition);
}


/* ==========================================================
   06. BUTTONS
   ========================================================== */

.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 54px;

    padding: 0 29px;

    border: 1px solid transparent;
    border-radius: 0;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    overflow: hidden;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
}

.btn-outline {
    color: var(--black);
    background: transparent;

    border-color: var(--border-dark);
}

.btn-outline:hover {
    color: var(--white);

    background: var(--black);
    border-color: var(--black);
}

.btn-light {
    background: var(--white);
    color: var(--burgundy);
}

.btn-light:hover {
    background: var(--bg-soft);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--black-soft);
}

.btn-full {
    width: 100%;
}


/* ==========================================================
   07. HERO
   ========================================================== */

.hero {
    position: relative;

    min-height: calc(100vh - 88px);

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -280px;
    top: -220px;

    border-radius: 50%;

    background: var(--burgundy);

    opacity: 0.035;

    filter: blur(20px);

    pointer-events: none;
}

.hero-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(460px, 1.1fr);

    align-items: center;

    gap: 80px;

    padding: 70px 0 90px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: var(--burgundy);
    font-style: italic;
}

.hero-description {
    max-width: 530px;

    margin: 32px 0 0;

    font-family: "Fraunces", Georgia, serif;

    font-size: clamp(1.1rem, 1.4vw, 1.32rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 42px;
}

.hero-note {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 34px;

    color: var(--text-light);

    font-size: 0.75rem;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-note::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--burgundy);
}


/* Hero product */

.hero-product {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product::before {
    content: "";

    position: absolute;

    width: 490px;
    height: 490px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(113, 31, 43, 0.18) 0%,
            rgba(113, 31, 43, 0.07) 40%,
            rgba(113, 31, 43, 0) 70%
        );

    filter: blur(4px);
}

.hero-product::after {
    content: "";

    position: absolute;

    bottom: 55px;

    width: 330px;
    height: 42px;

    border-radius: 50%;

    background: rgba(35, 19, 20, 0.13);

    filter: blur(15px);
}

.hero-product img {
    position: relative;
    z-index: 2;

    width: min(100%, 520px);
    max-height: 610px;

    object-fit: contain;

    filter:
        drop-shadow(0 35px 35px rgba(42, 22, 25, 0.13));

    animation: productFloat 6s ease-in-out infinite;
}

@keyframes productFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-13px);
    }
}


/* ==========================================================
   08. TRUST STRIP
   ========================================================== */

.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.35);
}

.trust-grid {
    min-height: 88px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 22px;

    border-right: 1px solid var(--border);

    color: var(--text-soft);

    font-size: 0.73rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item svg {
    width: 19px;
    height: 19px;

    stroke: var(--burgundy);
}


/* ==========================================================
   09. SECTION HEADERS
   ========================================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 70px;

    margin-bottom: 65px;
}

.section-header h2 {
    max-width: 720px;
}

.section-header p {
    max-width: 390px;
    margin-bottom: 5px;

    font-size: 1rem;
}


/* ==========================================================
   10. PRODUCT PRESENTATION
   ========================================================== */

.product-story-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 100px;
}

.product-story-image {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--bg-soft);
}

.product-story-image img {
    width: 80%;
    max-height: 590px;

    object-fit: contain;

    transition: transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.product-story-image:hover img {
    transform: scale(1.035);
}

.product-story-content h2 {
    margin-bottom: 28px;
}

.product-story-content > p {
    max-width: 520px;
    font-size: 1.12rem;
}

.product-features {
    margin-top: 50px;

    border-top: 1px solid var(--border);
}

.product-feature {
    display: grid;
    grid-template-columns: 130px 1fr;

    gap: 30px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}

.product-feature strong {
    color: var(--burgundy);

    font-size: 0.71rem;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-feature span {
    color: var(--text-soft);
}


/* ==========================================================
   11. BENEFITS
   ========================================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.benefit {
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 44px 40px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: var(--bg);

    transition:
        background var(--transition),
        transform var(--transition);
}

.benefit:hover {
    background: var(--bg-soft);
}

.benefit-number {
    color: var(--burgundy);

    font-size: 0.72rem;

    letter-spacing: 0.16em;
}

.benefit h3 {
    margin-bottom: 13px;
}

.benefit p {
    margin: 0;
}


/* ==========================================================
   12. HOT / COLD EXPERIENCE
   ========================================================== */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    min-height: 680px;
}

.experience-card {
    position: relative;

    min-height: 680px;

    overflow: hidden;

    color: var(--white);
}

.experience-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.experience-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(20, 12, 12, 0.76),
            rgba(20, 12, 12, 0.04) 65%
        );
}

.experience-card:hover img {
    transform: scale(1.05);
}

.experience-content {
    position: absolute;
    z-index: 2;

    left: 50px;
    right: 50px;
    bottom: 45px;
}

.experience-content .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.experience-content .eyebrow::before {
    background: rgba(255, 255, 255, 0.75);
}

.experience-content h3 {
    color: var(--white);

    font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.experience-content p {
    max-width: 440px;

    color: rgba(255, 255, 255, 0.78);
}


/* ==========================================================
   13. BRAND STATEMENT
   ========================================================== */

.brand-statement {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        ),
        var(--burgundy-dark);

    color: var(--white);

    overflow: hidden;
}

.brand-statement::before {
    content: "NOOK";

    position: absolute;

    right: -60px;
    bottom: -120px;

    color: rgba(255, 255, 255, 0.035);

    font-family: "Fraunces", Georgia, serif;

    font-size: clamp(12rem, 32vw, 35rem);
    font-weight: 700;

    letter-spacing: -0.1em;

    pointer-events: none;
}

.brand-statement-content {
    position: relative;
    z-index: 2;

    max-width: 840px;
}

.brand-statement .eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.brand-statement .eyebrow::before {
    background: rgba(255, 255, 255, 0.65);
}

.brand-statement h2 {
    color: var(--white);
}

.brand-statement p {
    max-width: 610px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1.12rem;
}


/* ==========================================================
   14. SHOP
   ========================================================== */

.page-header {
    padding: 100px 0 70px;

    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(3rem, 6vw, 6rem);
}

.page-header p {
    max-width: 580px;
    margin-top: 25px;

    font-size: 1.08rem;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.shop-count {
    color: var(--text-light);

    font-size: 0.75rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shop-filter {
    padding: 11px 35px 11px 0;

    background: transparent;

    color: var(--text);

    border: 0;
    border-bottom: 1px solid var(--border-dark);

    outline: 0;
}


/* Product grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 55px 28px;
}

.product-card {
    position: relative;
}

.product-card-image {
    position: relative;

    aspect-ratio: 4 / 5;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--bg-soft);
}

.product-card-image img {
    width: 83%;
    height: 83%;

    object-fit: contain;

    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.055);
}

.product-card-overlay {
    position: absolute;
    inset: auto 20px 20px;

    transform: translateY(15px);

    opacity: 0;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.product-card:hover .product-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.product-info {
    padding: 24px 3px 0;
}

.product-meta {
    margin-bottom: 10px;

    color: var(--burgundy);

    font-size: 0.67rem;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-info h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-top: 18px;
}

.product-price {
    color: var(--black);

    font-size: 0.96rem;
    font-weight: 600;
}

.product-size {
    color: var(--text-light);

    font-size: 0.75rem;
}


/* ==========================================================
   15. SINGLE PRODUCT PAGE
   ========================================================== */

.product-page {
    padding: 70px 0 120px;
}

.single-product-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 90px;

    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 120px;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bg-soft);
}

.product-gallery img {
    width: 80%;
    max-height: 610px;

    object-fit: contain;
}

.single-product-info {
    padding-top: 20px;
}

.product-category {
    color: var(--burgundy);

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.single-product-info h1 {
    margin: 20px 0;

    font-size: clamp(3rem, 5vw, 5.5rem);
}

.single-price {
    margin: 30px 0;

    color: var(--black);

    font-size: 1.4rem;
}

.single-description {
    max-width: 530px;

    font-family: "Fraunces", Georgia, serif;

    font-size: 1.15rem;
}

.product-option {
    margin-top: 38px;
}

.product-option-title {
    display: block;

    margin-bottom: 13px;

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* Quantity */

.quantity-selector {
    display: inline-grid;
    grid-template-columns: 45px 55px 45px;

    border: 1px solid var(--border-dark);
}

.quantity-selector button,
.quantity-selector span {
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector button {
    border: 0;

    background: transparent;

    color: var(--black);
}

.quantity-selector button:hover {
    background: var(--bg-soft);
}

.add-to-cart {
    margin-top: 35px;
}


/* Accordion */

.product-details {
    margin-top: 55px;

    border-top: 1px solid var(--border);
}

.product-detail {
    border-bottom: 1px solid var(--border);
}

.product-detail summary {
    position: relative;

    padding: 22px 30px 22px 0;

    cursor: pointer;

    font-size: 0.76rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    list-style: none;
}

.product-detail summary::-webkit-details-marker {
    display: none;
}

.product-detail summary::after {
    content: "+";

    position: absolute;
    right: 0;

    font-size: 1.25rem;
    font-weight: 300;
}

.product-detail[open] summary::after {
    content: "−";
}

.product-detail p {
    padding: 0 0 22px;
    margin: 0;
}


/* ==========================================================
   16. CART DRAWER
   ========================================================== */

.cart-backdrop {
    position: fixed;
    inset: 0;

    z-index: 1998;

    background: rgba(20, 15, 15, 0.32);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(4px);

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 1999;

    width: min(480px, 100%);
    height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 35px;

    background: var(--bg);

    box-shadow: -25px 0 70px rgba(20, 15, 15, 0.11);

    transform: translateX(105%);

    transition: transform 0.5s cubic-bezier(.2, .8, .2, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.cart-drawer-header h2 {
    font-size: 2rem;
}

.cart-close {
    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    font-size: 1.5rem;
}

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 20px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 95px 1fr;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bg-soft);
}

.cart-item-image img {
    width: 80%;
    height: 80%;

    object-fit: contain;
}

.cart-item h4 {
    margin-bottom: 4px;

    font-family: "Fraunces", Georgia, serif;

    font-size: 1.15rem;
}

.cart-item-meta {
    color: var(--text-light);

    font-size: 0.78rem;
}

.cart-item-price {
    display: block;

    margin-top: 10px;

    color: var(--black);

    font-weight: 600;
}

.cart-drawer-footer {
    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;

    margin-bottom: 23px;

    font-size: 1.1rem;
}


/* ==========================================================
   17. CART PAGE
   ========================================================== */

.cart-page-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;

    gap: 80px;
}

.cart-table {
    border-top: 1px solid var(--border);
}

.cart-row {
    display: grid;
    grid-template-columns: 115px 1fr auto;

    gap: 25px;

    align-items: center;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}

.cart-row-image {
    aspect-ratio: 1;

    background: var(--bg-soft);
}

.cart-row-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.cart-summary {
    position: sticky;
    top: 120px;

    padding: 35px;

    background: var(--bg-soft);
}

.cart-summary h3 {
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 13px 0;

    color: var(--text-soft);
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 25px;

    border-top: 1px solid var(--border-dark);

    color: var(--black);

    font-weight: 600;
    font-size: 1.08rem;
}


/* ==========================================================
   18. LOGIN / REGISTER
   ========================================================== */

.auth-page {
    min-height: calc(100vh - 88px);

    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-brand {
    position: relative;

    min-height: 750px;

    display: flex;
    align-items: flex-end;

    padding: 80px;

    overflow: hidden;

    background: var(--burgundy-dark);

    color: var(--white);
}

.auth-brand::before {
    content: "NOOK";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: rgba(255, 255, 255, 0.045);

    font-family: "Fraunces", Georgia, serif;

    font-size: 13vw;
    font-weight: 700;

    letter-spacing: -0.09em;
}

.auth-brand-content {
    position: relative;
    z-index: 2;

    max-width: 600px;
}

.auth-brand h1 {
    font-size: clamp(3rem, 5vw, 6rem);
}

.auth-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.auth-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 12%;
}

.auth-form {
    width: 100%;
    max-width: 470px;
}

.auth-form h2 {
    margin-bottom: 15px;

    font-size: 3rem;
}

.auth-intro {
    margin-bottom: 40px;
}


/* ==========================================================
   19. FORMS
   ========================================================== */

.form-group {
    margin-bottom: 27px;
}

.form-label {
    display: block;

    margin-bottom: 9px;

    color: var(--text);

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;

    padding: 15px 0;

    background: transparent;

    color: var(--text);

    border: 0;
    border-bottom: 1px solid var(--border-dark);
    border-radius: 0;

    outline: none;

    transition: border-color var(--transition);
}

.form-control:focus {
    border-color: var(--burgundy);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    min-height: 145px;

    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin: 20px 0 35px;

    font-size: 0.82rem;
}

.form-link {
    color: var(--burgundy);

    border-bottom: 1px solid transparent;

    transition: border-color var(--transition);
}

.form-link:hover {
    border-color: var(--burgundy);
}


/* ==========================================================
   20. CONTACT
   ========================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 120px;
}

.contact-intro {
    position: sticky;
    top: 135px;

    align-self: start;
}

.contact-intro h1 {
    margin-bottom: 30px;

    font-size: clamp(3.5rem, 6vw, 6.4rem);
}

.contact-details {
    margin-top: 50px;

    border-top: 1px solid var(--border);
}

.contact-detail {
    padding: 23px 0;

    border-bottom: 1px solid var(--border);
}

.contact-detail span {
    display: block;

    margin-bottom: 5px;

    color: var(--text-light);

    font-size: 0.67rem;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-detail a {
    font-family: "Fraunces", Georgia, serif;

    font-size: 1.15rem;

    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--burgundy);
}

.contact-form {
    padding: 60px;

    background: var(--bg-soft);
}


/* ==========================================================
   21. NEWSLETTER
   ========================================================== */

.newsletter {
    padding: 95px 0;

    background: var(--black);

    color: var(--white);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 100px;
}

.newsletter h2 {
    color: var(--white);

    font-size: clamp(2.5rem, 4vw, 4.4rem);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-form {
    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.newsletter-form input {
    flex: 1;

    padding: 18px 0;

    background: transparent;
    color: var(--white);

    border: 0;
    outline: 0;

    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 15px;

    background: transparent;
    color: var(--white);

    border: 0;

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* ==========================================================
   22. FOOTER
   ========================================================== */

.site-footer {
    background: #191716;
    color: var(--white);

    padding: 90px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);

    gap: 70px;

    padding-bottom: 70px;
}

.footer-brand img {
    width: auto;
    height: 55px;

    margin-bottom: 25px;

    filter: brightness(0) invert(1);
}

.footer-brand .logo-text {
    color: var(--white);

    font-size: 2.8rem;
}

.footer-brand p {
    max-width: 330px;

    margin-top: 22px;

    color: rgba(255, 255, 255, 0.45);
}

.footer-column h4 {
    margin-bottom: 23px;

    color: rgba(255, 255, 255, 0.42);

    font-family: "Inter", Arial, sans-serif;

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-column ul {
    display: flex;
    flex-direction: column;

    gap: 13px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.68);

    font-size: 0.9rem;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.35);

    font-size: 0.7rem;

    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-legal {
    display: flex;

    gap: 25px;
}

.footer-legal a {
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}


/* ==========================================================
   23. ANIMATIONS
   ========================================================== */

.reveal {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity 0.8s cubic-bezier(.2, .8, .2, 1),
        transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.8s ease both;
}

.slide-up {
    animation: slideUp 0.8s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@keyframes slideUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================================
   24. EMPTY CART / EMPTY STATES
   ========================================================== */

.empty-state {
    max-width: 600px;

    margin: 100px auto;

    text-align: center;
}

.empty-state h2 {
    margin-bottom: 20px;

    font-size: 3.5rem;
}

.empty-state p {
    margin-bottom: 35px;
}


/* ==========================================================
   25. BADGES
   ========================================================== */

.badge {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding: 0 11px;

    background: var(--burgundy);
    color: var(--white);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.badge-light {
    background: var(--bg-soft);
    color: var(--burgundy);
}


/* ==========================================================
   26. PRODUCT CARD BADGE
   ========================================================== */

.product-badge {
    position: absolute;

    top: 17px;
    left: 17px;

    z-index: 2;

    padding: 7px 11px;

    background: var(--burgundy);
    color: var(--white);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ==========================================================
   27. BREADCRUMBS
   ========================================================== */

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 40px;

    color: var(--text-light);

    font-size: 0.71rem;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.breadcrumbs a:hover {
    color: var(--burgundy);
}

.breadcrumbs span:not(:last-child)::after {
    content: "/";
    margin-left: 9px;

    color: var(--border-dark);
}


/* ==========================================================
   28. ALERTS
   ========================================================== */

.alert {
    margin-bottom: 25px;
    padding: 15px 18px;

    border-left: 3px solid;

    font-size: 0.88rem;
}

.alert-success {
    background: rgba(69, 113, 79, 0.08);
    border-color: #45714f;
    color: #34553b;
}

.alert-error {
    background: rgba(113, 31, 43, 0.07);
    border-color: var(--burgundy);
    color: var(--burgundy);
}


/* ==========================================================
   29. SCROLLBAR
   ========================================================== */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: #c9c0ba;

    border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-light);
}


/* ==========================================================
   30. TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .container,
    .container-small {
        width: min(calc(100% - 48px), var(--container));
    }


    /* Header */

    .nav-links {
        gap: 22px;
    }


    /* Hero */

    .hero-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }

    .hero-product {
        min-height: 530px;
    }


    /* Sections */

    .section {
        padding: 100px 0;
    }

    .product-story-grid {
        gap: 55px;
    }

    .product-story-image {
        min-height: 530px;
    }


    /* Shop */

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Product */

    .single-product-grid {
        gap: 50px;
    }


    /* Contact */

    .contact-grid {
        gap: 70px;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1.7fr 1fr 1fr;

        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* ==========================================================
   31. MOBILE
   ========================================================== */

@media (max-width: 800px) {

    .container,
    .container-small {
        width: calc(100% - 36px);
    }


    /* General */

    .section {
        padding: 80px 0;
    }

    .section-small {
        padding: 65px 0;
    }


    /* Header */

    .navbar {
        min-height: 73px;
    }

    .logo img {
        height: 37px;
    }

    .nav-links {
        position: fixed;

        top: 73px;
        left: 0;
        right: 0;

        height: calc(100vh - 73px);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        padding: 35px 24px;

        background: var(--bg);

        transform: translateX(100%);

        transition: transform 0.45s cubic-bezier(.2, .8, .2, 1);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        width: 100%;

        padding: 20px 0;

        border-bottom: 1px solid var(--border);

        font-family: "Fraunces", Georgia, serif;

        font-size: 1.8rem;
        font-weight: 500;

        letter-spacing: -0.02em;
        text-transform: none;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .desktop-account {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: auto;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;

        gap: 30px;

        padding: 70px 0;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-product {
        width: 100%;
        min-height: 470px;

        order: -1;
    }

    .hero-product::before {
        width: 400px;
        height: 400px;
    }

    .hero-product img {
        max-height: 450px;
    }


    /* Trust */

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }


    /* Section header */

    .section-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        margin-bottom: 45px;
    }


    /* Product story */

    .product-story-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .product-story-image {
        min-height: 500px;
    }


    /* Benefits */

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit {
        min-height: 250px;
    }


    /* Experience */

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        min-height: 540px;
    }


    /* Shop */

    .page-header {
        padding: 70px 0 55px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }


    /* Single product */

    .single-product-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: relative;
        top: auto;

        min-height: 510px;
    }


    /* Cart page */

    .cart-page-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .cart-summary {
        position: static;
    }


    /* Authentication */

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        min-height: 440px;

        padding: 45px 25px;
    }

    .auth-brand::before {
        font-size: 35vw;
    }

    .auth-form-wrapper {
        padding: 70px 25px;
    }


    /* Contact */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .contact-intro {
        position: static;
    }

    .contact-form {
        padding: 40px 30px;
    }


    /* Newsletter */

    .newsletter-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* ==========================================================
   32. SMALL MOBILE
   ========================================================== */

@media (max-width: 520px) {

    h1 {
        font-size: clamp(3.2rem, 17vw, 5rem);
    }

    h2 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }


    /* Header */

    .nav-actions {
        gap: 2px;
    }

    .icon-button {
        width: 39px;
        height: 39px;
    }


    /* Hero */

    .hero-grid {
        padding-top: 45px;
    }

    .hero-product {
        min-height: 390px;
    }

    .hero-product img {
        max-height: 375px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }


    /* Trust */

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: flex-start;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }


    /* Product story */

    .product-story-image {
        min-height: 400px;
    }

    .product-feature {
        grid-template-columns: 1fr;

        gap: 7px;
    }


    /* Experiences */

    .experience-card {
        min-height: 440px;
    }

    .experience-content {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }


    /* Products */

    .products-grid {
        grid-template-columns: 1fr;
    }


    /* Form */

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }


    /* Cart */

    .cart-drawer {
        padding: 25px 20px;
    }

    .cart-row {
        grid-template-columns: 85px 1fr;
    }

    .cart-row > :last-child {
        grid-column: 2;
    }


    /* Contact */

    .contact-form {
        padding: 35px 20px;
    }


    /* Footer */

    .site-footer {
        padding-top: 65px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        flex-wrap: wrap;
    }

}


/* ==========================================================
   33. ACCESSIBILITY
   ========================================================== */

:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}