﻿/* ============================================================
   app.css — globals only
   WebApp.Shared.Components/wwwroot/
   ============================================================ */


/* ============================================================
   GLOBAL / BASE
   ============================================================ */

body {
    font-weight: 400;
    line-height: 1.55;
    color: #1f2937;
}

html {
    overflow-x: clip;
}

.blazor-unhydrated {
    /* Prevents flash of unstyled Blazor content before hydration */
    visibility: hidden;
}

.modal-dialog {
    box-shadow: none !important;
    background: transparent !important;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    outline: none !important;
    box-shadow: none !important;
}

h1 {
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h2 {
    font-weight: 500;
    letter-spacing: 0.02em;
}

h3, h4 {
    font-weight: 500;
}

h5, h6 {
    font-weight: 600;
}

.btn {
    font-weight: 500;
    letter-spacing: 0.04em;
}

.text-decoration-underline {
    text-underline-offset: 10px;
}


/* ============================================================
   ANIMATIONS
   ============================================================
   Three canonical keyframes cover all opacity + translateY needs.
   Component keyframes (cartGradientShift) live in their .razor.css.
   ============================================================ */
.slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-right {
    animation: slideInRight 0.6s ease forwards;
}

.slide-up {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Small lift — fade-in, price animations, cart body/footer */
@keyframes fadeUp6 {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* Medium lift — page enter, product/shop grid cards */
@keyframes fadeUp12 {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Cart item lift */
@keyframes fadeUp8 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* Cart header gradient — must live here, not in CartDrawer.razor.css,
   because Blazor mangles @keyframes names in scoped CSS files. */
@keyframes cartGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Cart item delete spin */
@keyframes spinOnce {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Cart badge pop when item added */
@keyframes badgePop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.5);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* Price scale on variant switch */
@keyframes priceScale {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Checkout button shimmer */
@keyframes shimmer {
    from {
        background-position: -200% center;
    }

    to {
        background-position: 200% center;
    }
}

/* Disabled button shake */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

/* Sale badge pulse */
@keyframes pulseSale {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Thumbnail crossfade */
@keyframes thumbFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeUp6 0.25s ease-in;
}

.page-enter {
    animation: fadeUp12 0.45s ease-out both;
}


/* ============================================================
   INTERACTIONS
   ============================================================ */

.form-control,
.form-check-input,
.btn,
.dropdown-item,
.card {
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.form-switch .form-check-input {
    transition: background-position 0.25s ease, background-color 0.25s ease;
}

.form-switch .form-check-input:checked {
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    cursor: pointer;
    transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.dropdown-item:hover {
    padding-left: 1.25rem;
}

.btn:active {
    transform: scale(0.97);
}


/* ============================================================
   HOME PAGE
   ============================================================ */

.home-page {
    background: #1c1c1c;
    color: #fff;
}

/* ── Eyebrow label ──────────────────────────────────────── */
.home-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #8ca8c0;
}

/* ── Hero ───────────────────────────────────────────────── */
.home-hero {
    position: relative;
    min-height: 88vh;
    padding: 80px 0;
    border-bottom: 1px solid #2a2a2a;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: 0.15;
    z-index: 0;
}

@media (max-width: 768px) {
    .home-hero-bg {
        opacity: 0.2;
        background-position: center center;
    }

    .home-hero {
        min-height: 70vh;
    }
}

/* ── How It Works cards ─────────────────────────────────── */
.home-step-card {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    position: relative;
    transition: border-color 0.2s ease;
}

.home-step-card:hover {
    border-color: #8ca8c0;
}

.home-step-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.1);
}

.home-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(140, 168, 192, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #8ca8c0;
}

/* ── Category cards ─────────────────────────────────────── */
.home-category-card {
    background: #1c1c1c;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.home-category-card:hover {
    cursor: default;
    border-color: #8ca8c0;
    background: #1e1e1e;
}

/* ── CTA section ────────────────────────────────────────── */
.home-cta-section {
    border-top: 1px solid #2a2a2a;
    background: #161616;
}


/* ============================================================
   Home Gallery Section
   ============================================================ */

.home-gallery {
    background: #1c1c1c;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

.home-gallery-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 320px;
}

.home-gallery-card--tall {
    grid-row: 1 / 3;
    min-height: 652px;
}

.home-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.home-gallery-overlay .home-eyebrow {
    display: inline-block;
    background: rgba(140, 168, 192, 0.15);
    border: 1px solid rgba(140, 168, 192, 0.3);
    color: #8ca8c0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
}

.home-gallery-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

@media (max-width: 576px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-gallery-card--tall {
        grid-row: auto;
    }

    .home-gallery-card {
        min-height: 240px;
    }
}


/* ============================================================
   SHOP SIDEBAR NAV
   ============================================================ */

.shop-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.shop-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px;
    font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.shop-nav-link i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.shop-nav-link:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.04);
}

.shop-nav-link.active {
    color: #fff;
    border-left-color: #8ca8c0;
    background: rgba(140, 168, 192, 0.08);
}

/* ============================================================
   SHOP – FILTER SIDEBAR
   ============================================================ */

.shop-sidebar-wrapper {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid #2a2a2a;
}

.shop-sidebar {
    padding: 24px 18px;
}

.shop-sidebar-section {
    margin-bottom: 28px;
}
.shop-sidebar-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
}

.shop-sidebar-opt {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    cursor: pointer;
}

.shop-sidebar-opt input[type="radio"] {
    accent-color: #8ca8c0;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
}

.shop-sidebar-opt span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.shop-sidebar-opt:has(input:checked) span {
    color: #fff;
}

@media (max-width: 991px) {
    .shop-sidebar-wrapper {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
    }

    .shop-sidebar {
        padding: 16px 18px;
    }
}
/* ============================================================
   LOADING STATES
   ============================================================ */
.loading-overlay-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-wrapper {
    position: relative;
    min-height: 500px;
    background: transparent;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.loading-blur {
    filter: blur(2px);
    pointer-events: none;
}


/* ============================================================
   FORMS / SWITCHES
   ============================================================ */

.switch-lg .form-check-input {
    transform: scale(1.3);
    width: 2.2em;
    height: 1.3em;
    border-radius: 1.2em;
    margin-top: 0.2em;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.switch-lg .form-check-label {
    font-size: 1.05em;
    margin-left: 0.5em;
}


/* ============================================================
   RESULT TABLE / PAGINATION
   ============================================================ */

.page-link {
    color: #1e2a38 !important;
    border-color: #dee2e6 !important;
}

    .page-link:hover {
        background-color: #dbe5ee !important;
        color: #1e2a38 !important;
        border-color: #8ca8c0 !important;
    }

.page-item.active .page-link {
    background-color: #1e2a38 !important;
    border-color: #1e2a38 !important;
    color: #fff !important;
}

.page-item.disabled .page-link {
    color: #adb5bd !important;
}


/* ============================================================
   ADMIN SIDEBAR NAV  (admin-nav-* namespace)
   Brand navy #1e2a38 sidebar, #8ca8c0 accent
   ============================================================ */

.admin-nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.admin-nav-link i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.admin-nav-link:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
}

.admin-nav-link.active {
    color: #fff;
    border-left-color: #8ca8c0;
    background: rgba(140, 168, 192, 0.12);
}

.admin-nav-footer {
    margin-top: auto;
    border-top: 1px solid #2e4055;
    padding-top: 8px;
}

.admin-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    text-align: left;
}

.admin-logout-btn:hover {
    color: #e03131;
    background: rgba(224, 49, 49, 0.08);
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

#mobileMenu .nav-link {
    padding: 0.75rem 1.25rem;
}

#mobileMenu.collapsing,
#mobileMenu.collapse.show {
    transition: height 0.25s ease;
}


/* ============================================================
   MANAGE MENU
   ============================================================ */

.manage-menu .list-group-item {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
    transition: all 0.15s ease-in-out;
}

.manage-menu .list-group-item:hover {
    background-color: #f1f3f5;
}

.manage-menu .list-group-item.active {
    background-color: #dbe5ee !important;
    color: #0d6efd !important;
    border-left-color: #0d6efd !important;
    font-weight: 600;
}


/* ============================================================
   ADMIN – STAT CARDS & ORDER TABLE
   ============================================================ */

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.stat-card__icon {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stat-card__value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card__label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.stat-card--online {
    border-top: 3px solid #3b82f6;
}

.stat-card--online .stat-card__icon {
    color: #3b82f6;
}

.stat-card--online .stat-card__value {
    color: #1e40af;
}

.stat-card--invoice {
    border-top: 3px solid #8b5cf6;
}

.stat-card--invoice .stat-card__icon {
    color: #8b5cf6;
}

.stat-card--invoice .stat-card__value {
    color: #5b21b6;
}

.stat-card--paid {
    border-top: 3px solid #22c55e;
}

.stat-card--paid .stat-card__icon {
    color: #22c55e;
}

.stat-card--paid .stat-card__value {
    color: #15803d;
}

.stat-card--pending {
    border-top: 3px solid #f59e0b;
}

.stat-card--pending .stat-card__icon {
    color: #f59e0b;
}

.stat-card--pending .stat-card__value {
    color: #b45309;
}

.orders-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.orders-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.15s ease, border-color 0.15s ease;
    border-radius: 0;
}

.orders-tab:hover {
    color: #1e2a38;
}

.orders-tab--active {
    color: #1e2a38;
    border-bottom-color: #8ca8c0;
    font-weight: 600;
}

.orders-tab--active.orders-tab--online {
    border-bottom-color: #3b82f6;
    color: #1e40af;
}

.orders-tab--active.orders-tab--invoice {
    border-bottom-color: #8b5cf6;
    color: #5b21b6;
}

.orders-tab__count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 99px;
}

.orders-tab--active .orders-tab__count {
    background: #dbe5ee;
    color: #1e2a38;
}

.orders-tab--active.orders-tab--online .orders-tab__count {
    background: #dbeafe;
    color: #1e40af;
}

.orders-tab--active.orders-tab--invoice .orders-tab__count {
    background: #ede9fe;
    color: #5b21b6;
}

.order-row:hover td {
    background-color: #f8fafc;
}

.order-id {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.customer-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dbe5ee;
    color: #1e2a38;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.customer-email {
    font-size: 0.875rem;
    color: #334155;
}

.order-total {
    font-weight: 600;
    color: #1e293b;
}


/* ============================================================
   ADMIN – CARD HEADERS
   ============================================================ */

.admin-card-header {
    background: #1e2a38 !important;
    color: #fff !important;
    border-color: #2e4055 !important;
}

    .admin-card-header h5,
    .admin-card-header h6 {
        color: #fff !important;
    }

.admin-btn {
    background: #1e2a38 !important;
    color: #fff !important;
    border-color: #1e2a38 !important;
}

.admin-btn:hover {
    background: #2e4055 !important;
    border-color: #2e4055 !important;
}

/* Admin pages — ensure form controls have visible borders */
main .form-control,
main .form-select,
main .input-group-text {
    border-color: #ced4da !important;
    border-width: 1px !important;
    border-style: solid !important;
}

/* Prevent global h5/h6 uppercase from hitting admin section headings */
.card-body h5,
.card-body h6 {
    text-transform: none;
    letter-spacing: normal;
}

/* Variant card header — sort order badge and text */
.admin-card-header .rounded-start-circle {
    color: #1e2a38 !important;
    background: #fff !important;
}

.admin-card-header strong {
    color: #fff !important;
}

.admin-card-header small {
    color: rgba(255,255,255,0.6) !important;
}


/* ============================================================
   DRAG / SORT (ProductImageList admin component)
   Not scoped — rendered across multiple child components.
   ============================================================ */

.drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: grab;
    color: #6c757d;
    border-radius: 6px;
}

.drag-handle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #212529;
}

.drag-handle:active {
    cursor: grabbing;
    background-color: rgba(0, 0, 0, 0.08);
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 6px;
    border-left: 3px solid #dee2e6;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 600;
}


/* ============================================================
   VARIANT EXPAND / COLLAPSE (ProductVariants admin component)
   Not scoped — classes span multiple child component boundaries.
   ============================================================ */

.variant-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 300ms ease, opacity 150ms ease 50ms;
}

.variant-body.expanded {
    max-height: 2000px;
    opacity: 1;
}

.chevron {
    transition: transform 200ms ease;
}

.chevron.rotated {
    transform: rotate(180deg);
}


/* ============================================================
   SHOP – SHARED PRODUCT IMAGE (CATALOG CARDS / SHARED COMPONENTS)
   Kept here because .product-image-wrapper is used across
   WebApp.Shared.Components, not tied to a single component.
   ============================================================ */

.card {
    overflow: hidden;
}

.product-image-wrapper {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}


/* ============================================================
   SHOP – LEGACY GALLERY (SHARED COMPONENTS)
   Used by shared gallery components; not scoped to one page.
   ============================================================ */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-gallery-main {
    height: 360px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
}

.product-gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-gallery-placeholder {
    color: #999;
    font-size: 0.9rem;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.product-gallery-thumbs .thumb {
    border: 2px solid transparent;
    padding: 0;
    background: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

.product-gallery-thumbs .thumb img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    background-color: #f8f9fa;
}

.product-gallery-thumbs .thumb.active {
    border-color: #0d6efd;
}

.product-carousel-image {
    max-height: 600px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 6px;
}


/* ============================================================
   CART DRAWER  (cd-* namespace)
   Matches shop dark theme: #1c1c1c bg, #252525 surfaces,
   #8ca8c0 accent, #e03131 sale red.
   ============================================================ */

.cd-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1040;
    animation: fadeUp6 0.2s ease forwards;
}

.cd-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: #1c1c1c;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    border-left: 1px solid #2a2a2a;
    animation: cdSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cdSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Header */
.cd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.cd-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.cd-header-left .fa-bag-shopping {
    font-size: 0.95rem;
}

.cd-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.cd-count {
    background: #e03131;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 3px;
    transition: color 0.15s ease, background 0.15s ease;
}

.cd-close:hover {
    color: #fff;
    background: #2a2a2a;
}

/* Body */
.cd-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.cd-body::-webkit-scrollbar {
    width: 4px;
}

.cd-body::-webkit-scrollbar-track {
    background: transparent;
}

.cd-body::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 2px;
}

/* Empty state */
.cd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 12px;
}

.cd-empty-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.25);
}

.cd-empty-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.cd-empty-link {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8ca8c0;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.cd-empty-link:hover {
    opacity: 0.7;
}

/* Items */
.cd-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #242424;
    animation: fadeUp8 0.3s ease forwards;
}

.cd-item-img-wrapper {
    width: 80px;
    height: 80px;
    background: #252525;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.cd-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cd-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cd-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cd-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

.cd-item-variant {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
}

.cd-item-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 2px 4px;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.cd-item-remove:hover {
    color: #e03131;
    animation: spinOnce 0.4s ease forwards;
}

.cd-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
}

/* Qty controls */
.cd-qty-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: #252525;
    border: 1px solid #333;
    border-radius: 3px;
    overflow: hidden;
}

.cd-qty-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    width: 28px;
    height: 28px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-qty-btn:hover:not(:disabled) {
    background: #2e2e2e;
    color: #fff;
}

.cd-qty-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.cd-qty-value {
    font-size: 0.8rem;
    color: #fff;
    width: 28px;
    text-align: center;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    line-height: 28px;
}

/* Item price */
.cd-item-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.cd-item-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cd-sale-badge {
    background: #e03131;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 2px;
}

.cd-price-was {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    text-decoration: line-through;
}

.cd-price-final {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* Footer */
.cd-footer {
    border-top: 1px solid #2a2a2a;
    flex-shrink: 0;
    background: #181818;
}

.cd-footer-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cd-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cd-summary-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.cd-summary-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.cd-footer-note {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.cd-checkout-btn {
    width: 100%;
    background: #fff;
    color: #1c1c1c;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 4px;
}

.cd-checkout-btn:hover:not(:disabled) {
    background: #8ca8c0;
    color: #fff;
}

.cd-checkout-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* ============================================================
   PRODUCT DETAILS PAGE  (pd-* namespace)
   Matches shop dark theme: #1c1c1c bg, #252525 surfaces,
   #8ca8c0 accent, #e03131 sale red.
   ============================================================ */

.pd-page {
    background: #1c1c1c;
    min-height: 100vh;
    color: #fff;
}

.pd-page .loading-wrapper {
    background: #1c1c1c;
}

.pd-not-found {
    color: rgba(255,255,255,0.4);
    padding: 4rem 2rem;
    text-align: center;
}

/* Top bar */
.pd-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border-bottom: 1px solid #2a2a2a;
}

.pd-back {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease;
}

.pd-back:hover {
    color: #8ca8c0;
}

/* Two-column stage */
.pd-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.pd-gallery-col {
    background: #141414;
    padding: 40px 36px;
    border-right: 1px solid #2a2a2a;
}

.pd-info-col {
    padding: 48px 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Gallery */
.carousel-image-frame {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    animation: thumbFade 0.25s ease;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-top: 12px;
}

    .thumbnail-strip::-webkit-scrollbar {
        display: none;
    }

.thumbnail-button {
    border: 2px solid transparent;
    background: transparent;
    padding: 0;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.15s ease;
    flex-shrink: 0;
}

.thumbnail-button:hover {
    border-color: rgba(140, 168, 192, 0.4);
}

.thumbnail-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.thumbnail-button:hover .thumbnail-image,
.thumbnail-button.active .thumbnail-image {
    opacity: 1;
}

.thumbnail-button.active {
    border-color: #8ca8c0;
}

/* Info col — eyebrow + title */
.pd-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0 0 10px;
}

.pd-title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 28px;
    line-height: 1.2;
}

/* Variant selector */
.pd-variant-section {
    margin-bottom: 24px;
}

.pd-variant-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 10px;
}

.pd-variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-variant-pill {
    background: #2a2a2a;
    border: 1px solid #333;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pd-variant-pill:hover {
    border-color: #8ca8c0;
    color: #fff;
}

.pd-variant-pill.active {
    background: #1e2e42;
    border-color: #8ca8c0;
    color: #fff;
}

.pd-no-variants {
    color: rgba(255,255,255,0.3);
    font-style: italic;
    font-size: 0.85rem;
}

/* Variant details */
.pd-variant-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.pd-variant-empty {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.25);
    font-style: italic;
    margin-bottom: 28px;
}

.pd-dimensions {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin: 0 0 20px;
}

/* Price */
.pd-price-block {
    margin-bottom: 24px;
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.pd-price-was {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.25);
    text-decoration: line-through;
}

.pd-sale-badge {
    background: #e03131;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
}

.pd-price {
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
    animation: priceScale 200ms ease-out;
}

/* Description */
.pd-description-block {
    border-top: 1px solid #2a2a2a;
    padding-top: 20px;
    margin-top: 4px;
}

.pd-description-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

.pd-description {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    margin: 0;
}

/* Add to cart */
.pd-atc-wrapper {
    margin-top: auto;
    padding-top: 8px;
}

.pd-atc-btn {
    width: 100%;
    background: #fff;
    color: #1c1c1c;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.pd-atc-btn:hover:not(:disabled) {
    background: #8ca8c0;
    color: #fff;
}

.pd-atc-btn.in-cart {
    background: #1e2e42;
    color: #8ca8c0;
    border: 1px solid #2e4055;
    cursor: default;
}

.pd-atc-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pd-atc-btn.shake {
    animation: shake 0.4s ease;
}

/* Sale badge — no pulse animation */
.pd-sale-badge,
.cd-sale-badge,
.shop-card-badge.sale {
    animation: none;
}

.cd-count {
    background: #e03131;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Related products footer */
.pd-footer-section {
    border-top: 1px solid #2a2a2a;
    padding: 40px 28px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .pd-stage {
        grid-template-columns: 1fr;
    }

    .pd-gallery-col {
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
        padding: 24px 20px;
    }

    .pd-info-col {
        padding: 28px 20px;
    }

    .pd-title {
        font-size: 1.3rem;
    }
}

/* ============================================================
    CUSTOM REQUEST
   ============================================================ */
.custom-request-title
{
    color: white;
}

.custom-request-page {
    background: #1c1c1c;
    min-height: 100vh;
    color: #fff;
}

.custom-request-confirmation .confirmation-icon {
    line-height: 1;
}

.custom-request-subtext {
    color: rgba(255, 255, 255, 0.3);
}

.custom-request-confirmation .card {
    border-radius: 0.85rem;
}

/* Subtle animation for the confirmation icon on enter */
.custom-request-confirmation .fa-circle-check {
    animation: pop-in 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.custom-request-send-btn {
    background: #fff;
    color: #1c1c1c;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.custom-request-send-btn:hover:not(:disabled) {
    background: #8ca8c0;
    color: #fff;
}

.custom-request-send-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.custom-request-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 10px;
}

@keyframes pop-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.line-item-label {
    display: none !important;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    margin-bottom: 2px;
}

.invoice-line-items {
    container-type: inline-size;
}

.invoice-line-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.invoice-line-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    margin-bottom: 2px;
}

@container (min-width: 420px) {
    .invoice-line-grid {
        grid-template-columns: 1fr 65px 130px 80px 36px;
        align-items: center;
        gap: 0.4rem;
    }

    .d-container-grid {
        display: grid !important;
    }

    .invoice-line-label {
        display: none !important;
    }
}

/* ============================================================
   CART – ICON BUTTON (SHARED HEADER TRIGGER)
   Kept global — CartHeaderButton is rendered in the shop layout,
   not inside CartDrawer, so scoping would break it.
   ============================================================ */
.cart-header-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-header-btn > span {
    font-size: 2em;
}

.cart-header-btn:hover {
    background-color: #f8f9fa !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.12);
}

.fa-layers-counter {
    background: var(--bs-danger);
    color: #fff;
    font-size: 0.55em;
}

.fa-layers-bottom-right {
    transform: translate(35%, 35%);
}

.icon-circle {
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-circle i {
    font-size: 18px;
    line-height: 1;
}

.icon-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}


/* ============================================================
   PRODUCT DETAILS – RELATED PRODUCTS FOOTER
   Kept global — ProductDetailsFooter is a shared component
   used across both apps.
   ============================================================ */

.related-products-section {
    padding-bottom: 2.5rem;
}

.pdf-divider {
    border-top: 1px solid #e9ecef;
}

.pdf-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}


/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

@media (min-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .cart-header-btn {
        color: #b5b5b5 !important;
    }

    .cart-header-btn:hover {
        background-color: transparent !important;
    }

    table thead {
        display: none;
    }

    table tbody tr {
        display: block;
        margin-bottom: 1rem;
        background: white;
        border-radius: 0.5rem;
        padding: 0.75rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }

    table tbody td {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
    }

    table tbody td:last-child {
        border-bottom: none;
    }

    table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        display: block;
        margin-bottom: 2px;
    }

    table tbody td .badge {
        align-self: flex-start;
    }
}




/* ============================================================
   CHECKOUT PAGES — Success & Failed
   ============================================================ */

.checkout-page {
    background: #1c1c1c;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeUp12 0.45s ease-out both;
}

.checkout-card {
    background: #252525;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.checkout-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.checkout-icon.success {
    background: rgba(140, 168, 192, 0.12);
    color: #8ca8c0;
    border: 1px solid rgba(140, 168, 192, 0.2);
}

.checkout-icon.failed {
    background: rgba(224, 49, 49, 0.12);
    color: #e03131;
    border: 1px solid rgba(224, 49, 49, 0.2);
}

.checkout-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.checkout-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #fff;
    margin: 0;
}

.checkout-sub {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin: 0;
    max-width: 400px;
}

.checkout-reason {
    background: rgba(224, 49, 49, 0.1);
    border: 1px solid rgba(224, 49, 49, 0.2);
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    padding: 10px 16px;
    border-radius: 3px;
    width: 100%;
    text-align: left;
}

.checkout-reason .fa-triangle-exclamation {
    color: #e03131;
    margin-right: 6px;
}

.checkout-session-id {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    margin: 0;
}

.checkout-session-id code {
    color: rgba(255,255,255,0.4);
    background: #1c1c1c;
    padding: 2px 6px;
    border-radius: 3px;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}

.checkout-btn {
    width: 100%;
    background: #fff;
    color: #1c1c1c;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    margin-top: 4px;
}

.checkout-btn:hover {
    background: #8ca8c0;
    color: #fff;
}

.checkout-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

.checkout-link {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.15s ease;
}

.checkout-link:hover {
    color: #8ca8c0;
}

/* ============================================================
   LEGAL PAGES — Privacy & Terms
   ============================================================ */

.privacy-page {
    background: #1c1c1c;
    min-height: 100vh;
    color: #fff;
    padding: 48px 20px;
}

.privacy-container {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #2a2a2a;
}

.privacy-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin: 0 0 12px;
}

.privacy-title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 12px;
}

.privacy-effective {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.privacy-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.privacy-section {
    padding: 28px 0;
    border-bottom: 1px solid #2a2a2a;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8ca8c0;
    margin: 0 0 14px;
}

.privacy-section p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin: 0 0 12px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    margin: 0 0 12px;
    padding-left: 1.25rem;
}

.privacy-section ul li {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
}

.privacy-section strong {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.privacy-section a {
    color: #8ca8c0;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.privacy-section a:hover {
    opacity: 0.75;
}

.privacy-contact {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    background: #252525;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 16px 20px;
    display: inline-block;
    margin-top: 8px;
}


