/* ========================================
   PAGETURNER BOOKSTORE - MAIN STYLESHEET
   ======================================== */

/* CSS Variables */
:root {
    --ink: #0d0d0d;
    --ink2: #2a2a2a;
    --muted: #6b6b6b;
    --faint: #f0ebe3;
    --warm: #faf6f0;
    --white: #ffffff;
    --gold: #c9962a;
    --gold-l: #f7edd8;
    --gold-d: #9a6f1a;
    --ruby: #b5322e;
    --ruby-l: #faeaea;
    --teal: #1a6b6b;
    --teal-l: #e0f0f0;
    --border: #e5ddd2;
    --radius: 14px;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--warm);
    color: var(--ink);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ========================================
   TOPBAR
   ======================================== */
.topbar {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 9px 20px;
    font-size: 12.5px;
    letter-spacing: .3px;
}

.topbar b {
    color: var(--gold);
    font-weight: 600;
}

/* ========================================
   HEADER
   ======================================== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}

.hdr-main {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--ink);
    line-height: 1;
}

.logo-tag {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Search Wrapper */
.search-wrap {
    flex: 1;
    max-width: 580px;
    display: flex;
    border: 1.5px solid var(--ink);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.search-wrap select {
    border: none;
    outline: none;
    padding: 0 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    background: var(--faint);
    color: var(--ink);
    font-weight: 500;
    cursor: pointer;
    border-right: 1px solid var(--border);
    -webkit-appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b6b6b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    width: 120px;
}

.search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

.search-btn {
    background: var(--ink);
    border: none;
    cursor: pointer;
    padding: 0 22px;
    color: #fff;
    font-size: 17px;
    transition: .2s;
}

.search-btn:hover {
    background: var(--gold-d);
}

/* Header Right Section */
.hdr-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.hbtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--ink);
    transition: .2s;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.hbtn:hover {
    color: var(--gold-d);
}

.hbtn .ic {
    font-size: 22px;
    position: relative;
}

.hbtn .lbl {
    font-size: 10px;
    color: var(--muted);
    font-family: 'Outfit', sans-serif;
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--ruby);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-pill {
    background: var(--gold);
    border: none;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: .2s;
    white-space: nowrap;
    text-decoration: none;
}

.cart-pill:hover {
    background: var(--gold-d);
    color: #fff;
}

.cart-count {
    background: rgba(0, 0, 0, .12);
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 12px;
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    display: flex;
    align-items: center;
    padding: 0 48px;
    background: var(--ink);
    overflow-x: auto;
    gap: 2px;
}

nav::-webkit-scrollbar {
    display: none;
}

nav a {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    font-weight: 400;
    padding: 13px 16px;
    white-space: nowrap;
    transition: .2s;
    border-bottom: 2px solid transparent;
    letter-spacing: .2px;
    text-decoration: none;
}

nav a:hover,
nav a.active {
    color: var(--gold);
    border-color: var(--gold);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    min-height: 500px;
    background: var(--ink);
    gap: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 150, 42, .18) 0%, transparent 65%);
    pointer-events: none;
}

.hero-left {
    padding: 56px 40px 56px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 150, 42, .15);
    border: 1px solid rgba(201, 150, 42, .35);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .6px;
    width: fit-content;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
}

.hero h1 i {
    color: var(--gold);
    font-style: italic;
}

.hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.75;
    max-width: 380px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.btn-gold {
    background: var(--gold);
    color: var(--ink);
    border: none;
    cursor: pointer;
    padding: 13px 30px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: .25s;
    display: inline-block;
    text-decoration: none;
}

.btn-gold:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3);
    cursor: pointer;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: .25s;
    display: inline-block;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: #fff;
}

.hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
}

.trust-item span {
    font-size: 16px;
}

/* Hero Center - Book Showcase */
.hero-center {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-center::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(13, 13, 13, .8), transparent);
    z-index: 1;
}

.hero-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(.85);
}

.hero-center-caption {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 20px;
}

.hero-center-caption h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-center-caption p {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

/* Hero Right - Deals */
.hero-right {
    padding: 32px 48px 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.deal-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    transition: .2s;
}

.deal-card:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateX(-4px);
}

.deal-book-img {
    width: 52px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.deal-info {
    flex: 1;
    min-width: 0;
}

.deal-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deal-author {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    margin: 2px 0 6px;
}

.deal-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.deal-new {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold);
}

.deal-old {
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
    text-decoration: line-through;
}

.deal-pct {
    font-size: 11px;
    font-weight: 700;
    background: var(--ruby);
    color: #fff;
    padding: 2px 7px;
    border-radius: 5px;
}

/* ========================================
   MARQUEE STRIP
   ======================================== */
.marquee-strip {
    background: var(--gold);
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    gap: 48px;
    animation: marquee 22s linear infinite;
}

.marquee-inner span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-inner span::after {
    content: '◆';
    opacity: .4;
    font-size: 9px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.sec {
    padding: 64px 56px;
}

.sec-alt {
    background: var(--white);
}

.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.sec-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.sec-title em {
    color: var(--gold);
    font-style: italic;
}

.sec-sub {
    font-size: 14px;
    color: var(--muted);
    margin-top: 5px;
}

.see-all {
    font-size: 13.5px;
    color: var(--gold-d);
    font-weight: 600;
    border-bottom: 1.5px solid var(--gold-d);
    transition: .2s;
    white-space: nowrap;
    text-decoration: none;
}

.see-all:hover {
    color: var(--ruby);
    border-color: var(--ruby);
}

/* ========================================
   CATEGORY PILLS
   ======================================== */
.cat-scroll {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: .25s;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.cat-pill .ci {
    font-size: 18px;
}

/* ========================================
   FEATURED GRID (Magazine Layout)
   ======================================== */
.feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.feat-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: .3s;
    background: var(--ink);
}

.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feat-card.big {
    grid-row: span 2;
}

.feat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
    display: block;
}

.feat-card:hover img {
    transform: scale(1.04);
}

.feat-card.big img {
    min-height: 460px;
}

.feat-card:not(.big) img {
    height: 200px;
}

.feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
}

.feat-genre {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.feat-book-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.feat-card.big .feat-book-title {
    font-size: 32px;
}

.feat-author {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 12px;
}

.feat-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-new {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.fp-old {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    text-decoration: line-through;
}

.fp-badge {
    background: var(--ruby);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}

.feat-add {
    margin-top: 12px;
    background: var(--gold);
    color: var(--ink);
    border: none;
    cursor: pointer;
    padding: 9px 20px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
    width: 100%;
}

.feat-add:hover {
    background: #fff;
}

/* ========================================
   BOOKS GRID (Cards)
   ======================================== */
.books-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 22px;
}

.bk {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: .25s;
    position: relative;
}

.bk:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.bk-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--faint);
}

.bk-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.bk:hover .bk-img-wrap img {
    transform: scale(1.06);
}

.bk-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .92);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    opacity: 0;
    transition: .2s;
}

.bk:hover .bk-wish {
    opacity: 1;
}

.bk-wish.on {
    opacity: 1;
    background: var(--ruby-l);
}

.bk-disc {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ruby);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.bk-body {
    padding: 14px;
}

.bk-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bk-auth {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.bk-stars {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1px;
}

.bk-rc {
    font-size: 11px;
    color: var(--muted);
    margin-left: 4px;
}

.bk-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.bk-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

.bk-old {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.bk-add {
    width: 100%;
    margin-top: 11px;
    background: var(--ink);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 9px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
    opacity: 0;
}

.bk:hover .bk-add {
    opacity: 1;
}

.bk-add:hover {
    background: var(--gold);
    color: var(--ink);
}

/* ========================================
   PROMO SPLIT SECTION
   ======================================== */
.promo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 56px 64px;
}

.promo-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 240px;
    transition: .3s;
}

.promo-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    filter: brightness(.45);
}

.promo-content {
    position: relative;
    z-index: 1;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.promo-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.promo-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.promo-p {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
}

.promo-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--ink);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
    transition: .2s;
    text-decoration: none;
}

.promo-cta:hover {
    background: #fff;
}

/* ========================================
   GENRE TILES
   ======================================== */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.genre-tile {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: .3s;
}

.genre-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.genre-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
    filter: brightness(.5);
}

.genre-tile:hover img {
    transform: scale(1.08);
    filter: brightness(.35);
}

.genre-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.genre-icon {
    font-size: 28px;
}

.genre-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
    text-align: center;
}

.genre-count {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
}

/* ========================================
   AUTHORS STRIP
   ======================================== */
.authors-strip {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.authors-strip::-webkit-scrollbar {
    height: 3px;
}

.authors-strip::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.author-card {
    flex-shrink: 0;
    width: 140px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.author-card:hover {
    transform: translateY(-4px);
}

.author-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 3px solid var(--border);
    transition: .2s;
}

.author-card:hover .author-img {
    border-color: var(--gold);
}

.author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.author-genre {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    background: var(--ink);
    padding: 72px 56px;
}

.testimonials .sec-title {
    color: #fff;
}

.testimonials .sec-title em {
    color: var(--gold);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.rev-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 28px;
    transition: .2s;
}

.rev-card:hover {
    background: rgba(255, 255, 255, .08);
}

.rev-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 14px;
}

.rev-text {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 22px;
    font-style: italic;
}

.rev-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rev-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rev-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.rev-loc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .4);
    margin-top: 1px;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
    background: var(--gold-l);
    border-top: 1px solid var(--border);
    padding: 72px 56px;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.newsletter p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.nl-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--ink);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.nl-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 22px;
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
}

.nl-form button {
    background: var(--ink);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.nl-form button:hover {
    background: var(--gold-d);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    padding: 64px 56px 32px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.foot-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
    color: rgba(255, 255, 255, .45);
}

.foot-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.soc-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
    border: 1px solid rgba(255, 255, 255, .1);
}

.soc-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.foot-col h4 {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.foot-col a {
    display: block;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    margin-bottom: 11px;
    transition: .2s;
    text-decoration: none;
}

.foot-col a:hover {
    color: var(--gold);
}

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .3);
}

.pays {
    display: flex;
    gap: 8px;
}

.pay {
    background: rgba(255, 255, 255, .08);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
}

/* ========================================
   TABS
   ======================================== */
.tab-row {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    transition: .2s;
}

.tab:hover,
.tab.on {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ========================================
   AUTHENTICATION FORMS
   ======================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%);
    padding: 20px;
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-mark {
    margin: 0 auto 15px;
}

.auth-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin-bottom: 5px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--gold-d);
    color: white;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer a {
    color: var(--gold);
    text-decoration: none;
}

.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: var(--ruby);
    border: 1px solid var(--ruby);
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

/* ========================================
   MISC & UTILITY CLASSES
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification-content {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.notification-success {
    border-left: 4px solid #4caf50;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification-info {
    border-left: 4px solid #2196f3;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    transition: .2s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

/* Shop Page Layout */
.shop-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 40px 56px;
}

.shop-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.shop-sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.category-list {
    list-style: none;
    margin-bottom: 25px;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 8px 12px;
    color: var(--muted);
    transition: .2s;
    border-radius: 8px;
}

.category-list a:hover,
.category-list a.active {
    background: var(--gold-l);
    color: var(--gold-d);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
}

.shop-header {
    margin-bottom: 30px;
}

.shop-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin-bottom: 5px;
}

.shop-header p {
    color: var(--muted);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1000px) {
    .hdr-main,
    .sec,
    .testimonials,
    .newsletter,
    footer,
    nav,
    .promo-split,
    .shop-container {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-center,
    .hero-right {
        display: none;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .feat-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feat-card.big {
        grid-row: span 1;
    }
    
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-split {
        grid-template-columns: 1fr;
    }
    
    .shop-container {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hdr-main {
        flex-wrap: wrap;
    }
    
    .search-wrap {
        order: 3;
        max-width: 100%;
        margin-top: 10px;
    }
    
    .books-row {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .sec-title {
        font-size: 28px;
    }
    
    .newsletter h2 {
        font-size: 32px;
    }
    
    .promo-h {
        font-size: 24px;
    }
    
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .books-row {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .bk-title {
        font-size: 12px;
    }
    
    .bk-new {
        font-size: 14px;
    }
    
    .sec {
        padding: 40px 20px;
    }
}