/* ShopLoved4u — extracted & adapted from existing storefront design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --accent: #c9a84c;
    --accent-hover: #b8932e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-800);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.header .logo i { color: var(--accent); font-size: 1.6rem; }
.header .logo span { color: var(--accent); }

.header .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header .nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.header .nav-links a:hover { color: var(--accent); }

.header .nav-links .nav-account {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    gap: 0.12rem;
}

.header .nav-links .nav-account-label {
    font-weight: 500;
}

.header .nav-links .nav-account-sub {
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header .nav-links .nav-account:hover .nav-account-sub {
    color: rgba(255, 214, 10, 0.85);
}

.header .nav-links .btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    background: var(--accent);
    color: var(--primary);
    border: none;
}

.header .nav-links .btn:hover {
    background: var(--accent-hover);
    transform: none;
}

.cart-count {
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    margin-left: 0.25rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Filmstrip (categories band) + home hero */
.bg-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

.filmstrip-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background-image: url('../cinemaintro.jpg');
    background-size: cover;
    background-repeat: repeat-x;
    animation: scrollFilm 60s linear infinite;
    z-index: 0;
    opacity: 0.85;
    will-change: transform;
}

@keyframes scrollFilm {
    0% { transform: translateX(0); }
    100% { transform: translateX(-66.666%); }
}

/* Landing: two-column hero — copy left, logo photo right (home ONLY, never shop) */
.home-hero {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(ellipse 70% 80% at 85% 45%, rgba(201, 168, 76, 0.12) 0%, transparent 55%),
        linear-gradient(135deg, #0a0e1a 0%, var(--primary) 48%, #12182b 100%);
}

.home-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem 3.5rem;
    min-height: min(100svh, 720px);
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
}

.home-hero__content {
    flex: 1 1 22rem;
    max-width: 34rem;
    text-align: left;
    opacity: 0;
    transform: translateY(14px);
    animation: homeHeroCopy 0.85s ease-out 0.08s forwards;
}

.home-hero__brand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5.5vw, 3.9rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.08;
    margin-bottom: 0.65rem;
    color: var(--white);
}

.home-hero__brand span {
    color: var(--accent);
}

.home-hero__tagline {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 26rem;
    margin: 0 0 1.65rem;
    line-height: 1.45;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-start;
}

.home-hero__visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    animation: homeHeroPhoto 0.95s ease-out 0.2s forwards;
}

.home-hero__media {
    display: block;
    width: 295px;
    height: 283px;
    max-width: 295px;
    object-fit: contain;
    object-position: center center;
    border-radius: 4px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

@keyframes homeHeroCopy {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeHeroPhoto {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__content,
    .home-hero__visual {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Categories */
.categories {
    position: relative;
    z-index: 1;
    padding: 3rem 0 4rem;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.categories-header {
    margin-bottom: 2rem;
    overflow: hidden;
    white-space: nowrap;
}

.categories-header h2 {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
    animation: slideHeading 12s linear infinite;
}

@keyframes slideHeading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 0.8rem 0.3rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.98);
}

.category-card .icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.2rem;
}

.category-card h4 {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.category-card p {
    color: var(--gray-600);
    font-size: 0.6rem;
    margin: 0;
    line-height: 1.2;
}

/* Catalog / filters */
.catalog {
    padding: 2rem 0 4rem;
    background: var(--gray-100);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 5.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.15rem 1.35rem;
}

.catalog-sidebar-brand {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.2;
    transition: var(--transition);
}

.catalog-sidebar-brand span {
    color: var(--accent);
}

.catalog-sidebar-brand:hover {
    color: var(--primary);
    opacity: 0.85;
}

.catalog-main {
    min-width: 0;
}

.catalog-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.catalog-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
}

.catalog-status {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.filters-panel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: stretch;
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    width: 100%;
}

.filter-field select,
.filter-field input {
    width: 100%;
    min-width: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
    background: var(--white);
    text-transform: none;
    letter-spacing: normal;
}

.filter-category select {
    font-weight: 600;
    border-color: var(--accent);
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    margin-top: 0.15rem;
}

.category-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-900);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: normal;
}

.category-nav-item:hover {
    background: var(--gray-100);
}

.category-nav-item.is-active {
    background: rgba(255, 214, 10, 0.18);
    border-color: var(--accent);
    font-weight: 650;
}

.category-nav-name {
    min-width: 0;
    flex: 1;
}

.category-nav-count {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

.category-nav-item.is-active .category-nav-count {
    background: rgba(26, 26, 46, 0.08);
    color: var(--primary);
}

.filter-search {
    width: 100%;
}

.filter-search input {
    width: 100%;
}

.filter-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.filter-price input {
    width: 100%;
    min-width: 0;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.filter-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
}

.product-card .cat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--gray-600);
}

.product-card .img-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    background: var(--gray-200);
    overflow: hidden;
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filters.filters-panel {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.9rem;
}

.filters input,
.filters select {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--gray-200);
}

.product-card .body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.product-card h3 {
    font-size: 1rem;
    color: var(--primary);
}

.product-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.product-card .price {
    font-weight: 700;
    color: var(--primary);
}

.condition-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
}

.condition-badge.like-new { background: #fde8ec; color: #E60023; }
.condition-badge.gently-loved { background: #ffe8f0; color: #FF5C8A; }
.condition-badge.good { background: #f3e8ff; color: #8B5CF6; }
.condition-badge.well-loved { background: #f3ebe3; color: #8B5A2B; }
.condition-badge.fair { background: #eef0f3; color: #6b7280; }

.page-shell {
    padding-top: 5.5rem;
    min-height: 60vh;
    background: var(--gray-100);
}

.page-shell .container { padding-top: 2rem; padding-bottom: 3rem; }

/* Shop page banner — full artwork, content-width, natural aspect */
.shop-banner {
    width: calc(100% - 40px);
    max-width: 1160px;
    margin: 0.75rem auto 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 0;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(26, 26, 46, 0.1);
}

.shop-banner img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
}

.header-solid {
    background: rgba(26, 26, 46, 0.95);
}

.category-card {
    text-decoration: none;
}

/* eBay-style item page */
.ebay-shell {
    background: #f2f2f2;
}

.ebay-breadcrumb {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.ebay-breadcrumb a { color: #0654ba; }
.ebay-breadcrumb a:hover { text-decoration: underline; }

.ebay-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    align-items: start;
}

.ebay-gallery,
.ebay-buybox,
.ebay-panel {
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem;
}

.ebay-main-image {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
}

.ebay-main-image:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ebay-main-image img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.ebay-main-image img.is-fading {
    opacity: 0;
}

.ebay-expand-hint {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.72);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ebay-main-image:hover .ebay-expand-hint {
    opacity: 1;
    transform: scale(1.06);
}

.ebay-thumbs {
    display: flex !important;
    visibility: visible !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.85rem;
    min-height: 72px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0 0.25rem;
}

.ebay-thumb {
    display: block !important;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.ebay-thumb.active,
.ebay-thumb:hover {
    border-color: var(--accent);
}

.ebay-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product image lightbox */
body.lightbox-open {
    overflow: hidden;
}

.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2400;
    background: rgba(26, 26, 46, 0.94);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.img-lightbox[hidden] {
    display: none !important;
}

.img-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.img-lightbox-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
}

.img-lightbox-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.img-lightbox-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.img-lightbox-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 0.5rem 1rem 1rem;
    cursor: zoom-in;
}

.img-lightbox-stage.is-zoomed {
    cursor: zoom-out;
    align-items: flex-start;
    justify-content: flex-start;
}

.img-lightbox-stage img {
    max-width: min(96vw, 1100px);
    max-height: calc(100vh - 7.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.img-lightbox-stage.is-zoomed img {
    transform-origin: top left;
}

.img-lightbox-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    padding: 0 1rem 1rem;
}

.ebay-condition {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.ebay-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    color: #191919;
    margin-bottom: 1rem;
}

.ebay-price-block {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 0.9rem 0;
    margin-bottom: 1rem;
}

.ebay-price-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.ebay-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b12704;
}

.ebay-was {
    font-size: 1rem;
    color: var(--gray-500);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 500;
}

.ebay-ship {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    display: grid;
    gap: 0.25rem;
}

.ebay-qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ebay-qty-row input {
    width: 70px;
    padding: 0.45rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ebay-stock {
    color: #067d62;
    font-size: 0.9rem;
    font-weight: 600;
}

.ebay-buy-btn {
    width: 100%;
    justify-content: center;
    border-radius: 24px;
    margin-bottom: 0.75rem;
}

.ebay-external {
    display: inline-block;
    color: #0654ba;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ebay-external:hover { text-decoration: underline; }

.ebay-seller {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem;
    background: #f8f8f8;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.ebay-itemno {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.ebay-lower {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.ebay-panel h2 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.product-about {
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.65;
}

.product-about > :first-child {
    margin-top: 0;
}

.product-about-lead {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.85rem;
    line-height: 1.4;
}

.product-about p {
    margin: 0 0 0.85rem;
}

.product-about-empty {
    color: var(--gray-600);
    margin: 0;
}

.product-about-h {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 1.15rem 0 0.45rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--gray-200);
}

.product-about-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0.55rem 0 0.35rem;
    text-transform: none;
    letter-spacing: 0;
}

.product-about ul {
    list-style: disc;
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.product-about li {
    margin: 0.2rem 0;
    padding-left: 0.15rem;
}

.product-about li::marker {
    color: var(--accent);
}

.ebay-specs {
    width: 100%;
    border-collapse: collapse;
}

.ebay-specs th,
.ebay-specs td {
    text-align: left;
    padding: 0.55rem 0.35rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 0.92rem;
}

.ebay-specs th {
    width: 38%;
    color: var(--gray-600);
    font-weight: 600;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.cart-table input[type="number"] {
    width: 70px;
    padding: 0.4rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
}

.checkout-box {
    margin-top: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 480px;
}

.checkout-box label {
    display: block;
    margin: 0.75rem 0 0.3rem;
    font-weight: 500;
}

.checkout-box input,
.checkout-box select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
}

.checkout-box .btn { margin-top: 1rem; }

/* Cart summary + checkout (tax / shipping) */
.cart-summary-box {
    margin-top: 1.5rem;
    max-width: 420px;
    margin-left: auto;
    background: var(--white);
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-summary-box .row,
.order-summary .totals .row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.95rem;
    color: var(--primary);
}

.cart-summary-box .row.total,
.order-summary .totals .row.total {
    font-size: 1.15rem;
    font-weight: 700;
    border-top: 2px solid #eef2f7;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
}

.cart-summary-box .tax-note,
.order-summary .tax-note {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0.5rem 0 1rem;
}

.cart-summary-box .btn {
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
}

.cart-summary-box .btn.disabled,
a.btn.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.checkout-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 2rem;
}

.checkout-page h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.checkout-page .subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.form-section {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #eef2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
}

.form-section h2,
.form-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h2 i,
.form-section h3 i { color: var(--accent); }

.form-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-section .form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.form-group { margin-bottom: 0.75rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.form-group label .required { color: #e74c3c; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.form-group input[readonly] {
    background: #f0f2f5;
    font-weight: 600;
}

.order-summary {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #eef2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 1.25rem;
}

.order-summary h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--accent);
}

.order-summary h2 i { color: var(--accent); margin-right: 0.35rem; }

.order-summary .summary-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f2f5;
    align-items: center;
}

.order-summary .summary-item .image {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f2f5;
    flex-shrink: 0;
}

.order-summary .summary-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary .summary-item .details { flex: 1; min-width: 0; }

.order-summary .summary-item .name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
}

.order-summary .summary-item .meta {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.order-summary .summary-item .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.order-summary .totals { padding-top: 0.75rem; }

.order-summary .btn.full {
    display: block;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.free-ship-note {
    font-size: 0.8rem;
    color: #1a5c38;
    background: #eefaf3;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 0.75rem 0 0.25rem;
}

.free-ship-note.muted {
    color: var(--gray-600);
    background: #f5f7fa;
}

.payment-section { margin-top: 0.25rem; }

.payment-option {
    border: 2px solid #eef2f7;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.65rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafbfc;
}

.payment-option:hover { border-color: #d0d8e3; }
.payment-option.selected {
    border-color: var(--primary);
    background: #f8fafc;
}

.payment-option .option-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.payment-option .radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d0d8e3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-option.selected .radio { border-color: var(--primary); }

.payment-option .radio .inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
}

.payment-option.selected .radio .inner { opacity: 1; }

.payment-option .icon { font-size: 1.35rem; width: 2rem; text-align: center; }
.payment-option .icon.paypal { color: #0070ba; }
.payment-option .icon.ebay { color: #0064d2; }
.payment-option .icon.internal { color: #2a4a3a; }

.payment-option .info h4 {
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    font-size: 0.95rem;
}

.payment-option .info p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
}

.payment-option .option-body {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid #eef2f7;
    display: none;
}

.payment-option.selected .option-body { display: block; }

.pay-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    color: #fff;
}

.pay-btn.paypal { background: #0070ba; }
.pay-btn.paypal:hover { background: #005ea6; }
.pay-btn.ebay { background: #0064d2; }
.pay-btn.ebay:hover { background: #0050a8; }
.pay-btn.internal { background: #2a4a3a; }
.pay-btn.internal:hover { background: #1e3630; }

.payment-option .help {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0.4rem;
}

.checkout-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--gray-600);
}

.checkout-empty i {
    font-size: 2.5rem;
    color: #d0d8e3;
    margin-bottom: 0.75rem;
}

.checkout-empty h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: transform 0.25s, opacity 0.25s;
    max-width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Coupon apply (cart / checkout) */
.coupon-apply-row {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--gray-200, #e9ecef);
}
.coupon-apply-row label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--gray-700, #495057);
}
.coupon-apply-fields {
    display: flex;
    gap: 0.4rem;
}
.coupon-apply-fields input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 0.92rem;
}
.coupon-apply-fields .btn {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
}
.coupon-msg {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
}
.coupon-msg.ok { color: #1e7e34; }
.coupon-msg.err { color: #c0392b; }
.checkout-coupon {
    border-bottom: none;
    padding-bottom: 0.35rem;
}

/* Shop email coupon offer — sits in left filter sidebar under Apply/Clear */
.coupon-offer[hidden] {
    display: none !important;
}
.coupon-offer {
    display: block;
    width: 100%;
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.coupon-offer.is-open {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}
.coupon-offer-card {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background:
      linear-gradient(165deg, #12182b 0%, var(--primary) 48%, #1a2438 100%);
    color: #f8f4ec;
    border-radius: 12px;
    padding: 1rem 0.95rem 0.85rem;
    border: 1px solid rgba(201, 168, 76, 0.55);
    box-shadow:
      0 8px 22px rgba(26, 26, 46, 0.22),
      inset 0 1px 0 rgba(201, 168, 76, 0.18);
}
.coupon-offer-close {
    position: absolute;
    top: 0.35rem;
    right: 0.4rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}
.coupon-offer-close:hover {
    color: var(--accent);
}
.coupon-offer-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.3rem;
    font-weight: 600;
}
.coupon-offer-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    padding-right: 1.25rem;
}
.coupon-offer-card h2 em {
    font-style: italic;
    color: var(--accent);
}
.coupon-offer-copy {
    font-size: 0.82rem;
    color: rgba(248, 244, 236, 0.82);
    margin: 0 0 0.75rem;
    line-height: 1.4;
}
.coupon-offer-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.coupon-offer-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
}
.coupon-offer-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.coupon-offer-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25);
}
.coupon-offer-form .btn {
    width: 100%;
    justify-content: center;
}
.coupon-offer-result {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: #e8d9a8;
    line-height: 1.35;
}
.coupon-offer-skip {
    display: block;
    width: 100%;
    margin: 0.65rem 0 0;
    padding: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
}
.coupon-offer-skip:hover {
    color: rgba(255, 255, 255, 0.85);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-600);
}

/* Newsletter */
.newsletter {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    color: var(--white);
    text-align: center;
}

.newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 2rem;
}

.newsletter form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 50px;
    min-width: 200px;
    font-family: 'Inter', sans-serif;
}

.newsletter .btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
}

.newsletter .btn:hover { background: var(--accent-hover); }

.newsletter-status {
    margin: 1rem auto 0;
    max-width: 520px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-status.is-ok {
    color: #b8f0c8;
}

.newsletter-status.is-err {
    color: #ffb4b4;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
}

.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer .brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer .brand h3 span { color: var(--accent); }

.footer .brand p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer .socials {
    display: flex;
    gap: 1rem;
}

.footer .socials a {
    color: var(--gray-400);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer .socials a:hover { color: var(--accent); }

.footer h4 {
    color: var(--white);
    margin-bottom: 0.8rem;
}

.footer ul li { margin-bottom: 0.4rem; }
.footer ul li a { transition: var(--transition); }
.footer ul li a:hover { color: var(--accent); }

.footer .bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--gray-700);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

@media (max-width: 992px) {
    .header .nav-links { gap: 1rem; }
    .home-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding-top: 5.75rem;
        padding-bottom: 2.75rem;
        gap: 2rem;
    }
    .home-hero__content { max-width: none; }
    .home-hero__visual { width: 100%; justify-content: flex-start; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .catalog-sidebar {
        position: static;
    }
    .coupon-offer {
        margin-top: 1rem;
        /* Stack under filter controls on tablet/mobile — never fixed/off-page */
        width: 100%;
        max-width: 100%;
    }
    .filters.filters-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem 0.75rem;
    }
    .filter-search,
    .filter-category,
    .filter-price-row,
    .filter-actions {
        grid-column: 1 / -1;
    }
    .filter-actions {
        flex-direction: row;
    }
    .filter-actions .btn {
        flex: 1;
        width: auto;
    }
    .ebay-layout,
    .ebay-lower { grid-template-columns: 1fr; }

    .ebay-main-image { min-height: 280px; }
    .ebay-thumbs { min-height: 64px; }
    .ebay-thumb { width: 64px; height: 64px; }
    .img-lightbox-hint { font-size: 0.72rem; }
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .header .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .header .nav-links.open { display: flex; }
    .home-hero__media {
        width: min(295px, 72vw);
        height: auto;
        aspect-ratio: 295 / 283;
        max-width: 100%;
    }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-header h2 { font-size: 1.1rem; }
    .filters.filters-panel {
        grid-template-columns: 1fr;
    }
    .filter-actions {
        flex-direction: column;
    }
    .filter-actions .btn {
        width: 100%;
    }
    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer .socials { justify-content: center; }
}

@media (max-width: 480px) {
    .home-hero__actions { width: 100%; }
    .home-hero__actions .btn { width: 100%; justify-content: center; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .checkout-page { padding: 0 12px 1.5rem; }
    .form-section .form-row,
    .form-section .form-row-3 { grid-template-columns: 1fr; }
    .form-section,
    .order-summary { padding: 0.9rem 1rem; }
}

/* ========== Customer account + favorites ========== */
.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 0 0.35rem;
}
.page-sub {
    color: var(--gray-600);
    margin: 0 0 1.5rem;
}

.product-card .img-wrap {
    position: relative;
}
.product-card .img-wrap > a {
    display: block;
    height: 100%;
}
.fav-heart {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 3;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-700);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.fav-heart:hover {
    transform: scale(1.08);
    color: #c45c6a;
}
.fav-heart.is-saved {
    color: #c45c6a;
}
.fav-heart.is-saved i {
    animation: favPop 0.35s ease;
}
.fav-heart.is-pulse {
    transform: scale(1.18);
}
@keyframes favPop {
    0% { transform: scale(0.7); }
    60% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.ebay-fav-btn {
    width: 100%;
    margin-top: 0.65rem;
    justify-content: center;
    gap: 0.45rem;
}
.ebay-fav-btn.is-saved,
.ebay-fav-btn.is-saved i {
    color: #c45c6a;
}
.ebay-fav-btn.is-saved {
    border-color: #c45c6a;
}

.fav-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%) translateY(120%);
    z-index: 9999;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100vw - 2rem);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.fav-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.fav-toast a {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.account-page {
    max-width: 480px;
}
.account-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.35rem 1.75rem;
}
.account-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    background: var(--gray-100);
    padding: 0.3rem;
    border-radius: 999px;
}
.account-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
}
.account-tab.is-active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.account-form label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-weight: 600;
    font-size: 0.88rem;
}
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="text"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font: inherit;
}
.account-form .btn {
    width: 100%;
    margin-top: 1.15rem;
    justify-content: center;
}
.account-form .hint,
.account-msg .hint {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0.35rem 0 0;
}
.account-form-links {
    margin-top: 0.9rem;
    text-align: center;
}
button.linkish {
    background: none;
    border: none;
    color: var(--accent-hover);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}
.password-field input {
    padding-right: 4.5rem;
}
.toggle-password {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.25rem 0.45rem;
    line-height: 1;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.toggle-password .eye-label { pointer-events: none; }
.toggle-password svg { pointer-events: none; display: block; }
.toggle-password:hover { color: var(--primary); background: var(--gray-100); }

.account-msg {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.45;
}
.account-msg.ok {
    background: #e8f5e9;
    color: #1b5e20;
}
.account-msg.err {
    background: #fdecea;
    color: #8a1f1f;
}
.account-msg a { font-weight: 600; color: inherit; text-decoration: underline; }
.account-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.1rem;
}
.account-actions .btn { justify-content: center; }

.favorites-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.favorites-disclaimer {
    background: linear-gradient(135deg, #faf6ec 0%, #f3ebe0 100%);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin: 0 0 1.25rem;
}
.favorites-disclaimer p {
    margin: 0;
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.55;
}
.favorites-disclaimer strong {
    color: var(--primary);
    font-weight: 700;
}
.favorites-guest-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff8e8;
    border: 1px solid #edd9a3;
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
}
.favorites-guest-note p {
    margin: 0;
    color: var(--gray-800);
    font-size: 0.95rem;
}

/* Floating WhatsApp CTA (Favorites page) — unmistakable green circle */
a.floating-whatsapp {
    position: fixed !important;
    right: 24px !important;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(37, 211, 102, 0.45) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none !important;
    line-height: 1 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
a.floating-whatsapp:hover {
    background: #1ebe57 !important;
    color: #fff !important;
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), 0 6px 16px rgba(37, 211, 102, 0.5) !important;
}
a.floating-whatsapp:focus-visible {
    outline: 3px solid rgba(18, 140, 126, 0.55);
    outline-offset: 3px;
}
a.floating-whatsapp svg {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    fill: #fff !important;
    flex-shrink: 0;
}
a.floating-whatsapp path {
    fill: #fff !important;
}

@media (max-width: 640px) {
    .favorites-header { align-items: stretch; }
    .favorites-header .btn { width: 100%; justify-content: center; }
    .favorites-guest-note { flex-direction: column; align-items: stretch; }
    .favorites-guest-note .btn { width: 100%; justify-content: center; }
    a.floating-whatsapp {
        right: 20px !important;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
    }
}
