/* ======================
RESET + BASE
====================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Remove blue tap / click highlight on mobile */
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: opacity 0.4s ease-out;
}

body.page-exit {
    opacity: 0;
}

img {
    max-width: 100%;
    display: block;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Kill default focus outline (mobile blue box) */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: none;
}

/* Extra safety for product cards / images on mobile */
.product-card,
.product-card:focus,
.product-image-wrap,
.product-image-wrap:focus,
.product-image,
.product-image:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* CSS Variables from config will be injected by JS */
:root {
    --bg: #f7f6f3;
    --text: #111;
    --muted: #555;
    --accent: #111;
    --border: #e5e4e0;
    --font-display: 'Arial Black', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-oldenglish: 'Times New Roman', Times, Georgia, serif;
}
/* ======================
HEADER (Centered Logo + Right Vertical Nav)
====================== */
.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 28px 40px 10px;
    position: relative;
    z-index: 100;
}

/* Logo - dead center */
.logo {
    justify-self: center;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 150px;
    width: auto;
    transition: opacity 0.25s ease;
}

.logo:hover img {
    opacity: 0.7;
}

/* Nav - left side, horizontal */
.nav {
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding-top: 6px;
}

.nav a {
    font-family: var(--font-oldenglish);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.25s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--text);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav a:hover::after {
    width: 100%;
}

/* ======================
LANDING
====================== */
.landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px 20px;
    min-height: 0;
    overflow: hidden;
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1.15;   /* fixed container size */
    overflow: hidden;
    background: transparent;
}

.slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;      /* ← zoom out / show full image */
    opacity: 0;
    transition: opacity 0.9s ease;
}

.slideshow img.active {
    opacity: 1;
    z-index: 2;
}

.slideshow img.active {
    opacity: 1;
    z-index: 2;
}

.cta-wrapper {
    margin-top: 40px;     
    text-align: center;
}

.shop-now {
    display: inline-block;
    font-family: var(--font-oldenglish);
    font-size: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 0 10px;
    border: none;
    background: transparent;
    color: #888;
    position: relative;
    transition: color 0.3s ease;
}

.shop-now::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #111;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shop-now:hover {
    color: #111;
    background: none;
}

.shop-now:hover::after {
    transform: scaleX(1);
}

/* ======================
FOOTER
====================== */
.site-footer {
    padding: 20px 40px 28px;
}

.chapters-footer {
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    width: auto;
    background: transparent;
}

.chapters-footer .socials a {
    color: #ffffff;
    mix-blend-mode: difference;
}

.chapters-footer .socials a:hover {
    color: #ffffff;
    opacity: 0.75;
}

.socials {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

.socials a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
}

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

/* ======================
PAGE TRANSITION (smooth)
====================== */
body {
    opacity: 1;
    transition: opacity 0.35s ease;
}

body.fade-out {
    opacity: 0;
}

/* ======================
STORE PAGE
====================== */
.store-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 30px 0;
}
.page-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    margin-bottom: 80px; 
}

.product-card {
    cursor: pointer;
}

.product-info {
    text-align: center;
}

.product-name {
    font-family: var(--font-oldenglish);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-price {
    font-size: 14px;
    color: var(--muted);
}

/* ===== PRODUCT IMAGE HOVER / TAP ===== */
.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 16px;
    background: transparent;
}

.product-image-wrap .product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.product-image-wrap .primary {
    opacity: 1;
    z-index: 1;
}

.product-image-wrap .secondary {
    opacity: 0;
    z-index: 2;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover .product-image-wrap.has-hover .primary {
        opacity: 0;
    }
    .product-card:hover .product-image-wrap.has-hover .secondary {
        opacity: 1;
    }
}

/* Mobile tap */
.product-image-wrap.show-secondary .primary {
    opacity: 0;
}
.product-image-wrap.show-secondary .secondary {
    opacity: 1;
}

/* ======================
MODAL BASE
====================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(18px);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: var(--text);
    z-index: 10;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 0.55;
}

/* ======================
PRODUCT DETAIL MODAL
====================== */
.product-modal {
    width: 100%;
    max-width: 920px;
    padding: 50px 40px 40px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    display: block;
}

.product-detail-info {
    padding-top: 10px;
}

.pd-brand {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.pd-name {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    line-height: 1.25;
}

.pd-price {
    font-size: 18px;
    margin-bottom: 22px;
}

.pd-size-wrapper {
    margin-bottom: 18px;
}

.pd-size {
    width: 140px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.pd-add-to-cart {
    display: block;
    width: 100%;
    max-width: 220px;
    padding: 14px 20px;
    background: #111;
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    margin-bottom: 16px;
}

.pd-add-to-cart:hover {
    background: #333;
}

.pd-size-chart-btn {
    display: inline-block;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: underline;
    cursor: pointer;
    color: var(--text);
    margin-bottom: 28px;
    padding: 0;
    transition: opacity 0.2s ease;
}

.pd-size-chart-btn:hover {
    opacity: 0.6;
}

.pd-description {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 320px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ======================
SIZE CHART MODAL
====================== */
.size-modal {
    width: 100%;
    max-width: 560px;
    padding: 40px 32px 32px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 24px;
}

.size-chart-table th,
.size-chart-table td {
    padding: 11px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.size-chart-table th {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 11px;
}

.size-chart-table th:nth-child(2) { color: #c0392b; }
.size-chart-table th:nth-child(3) { color: #2980b9; }
.size-chart-table th:nth-child(4) { color: #27ae60; }

.size-chart-image img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
}

/* ======================
HAMBURGER + MOBILE NAV
====================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 200;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger.active span {
    background: #ffffff;
}

/* Cart icon — top right */
.cart-link {
    position: relative;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    padding-top: 3px;
    transition: opacity 0.25s ease;
}

.cart-link:hover {
    opacity: 0.6;
}

/* Cart badge count */
.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-size: 10px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-count.show {
    display: flex;
}

/* ======================
LANDING PAGE - NO SCROLL
====================== */
.landing-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Right vertical nav */
.side-nav {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    z-index: 100;
}

.side-nav a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.25s ease;
}

.side-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--text);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.side-nav a:hover::after {
    width: 100%;
}

/* Bottom bar */
.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 28px;
    flex-shrink: 0;
}

.bottom-logo {
    display: none;
}

.bottom-logo img {
    height: 36px;
    width: auto;
    transition: opacity 0.25s ease;
}

.bottom-logo:hover img {
    opacity: 0.7;
}

.bottom-bar .socials {
    margin-left: auto;
}

/* ======================
CART DRAWER
====================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 900;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    z-index: 950;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.12em;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    transition: opacity 0.2s ease;
}

.cart-drawer-close:hover {
    opacity: 0.55;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-empty {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 1px solid var(--border);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    padding: 4px 10px;
}

.qty-controls button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: var(--text);
}

.qty-controls span {
    min-width: 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.cart-item-price {
    font-size: 12px;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 11px;
    text-decoration: underline;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: var(--text);
}

.cart-footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.25s ease;
}

.cart-checkout-btn:hover {
    background: #333;
}

/* ======================
CHECKOUT PAGE
====================== */
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
}

.back-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text);
}

.checkout-title {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 34px;
}

.checkout-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 40px 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.co-section {
    margin-bottom: 34px;
}

.co-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.co-input {
    width: 100%;
    padding: 13px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.co-input:focus {
    outline: none;
    border-color: var(--text);
}

.co-input.invalid {
    border-color: #c0392b;
}

.co-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.co-payments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-delivery-banner {
    background: var(--bg-2, #f6f5f2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
}

.co-courier-list {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.co-courier {
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-courier-name {
    font-size: 13px;
    font-weight: 500;
}

.co-delivery-note {
    font-size: 12.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.co-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.co-payment input {
    accent-color: #111;
}

.co-payment.selected {
    border-color: var(--text);
}

.co-payment {
    display: flex;
    align-items: center;
    gap: 10px;
}

.co-payment-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.co-qr-box {
    margin-top: 16px;
    border: 1px solid var(--border);
    padding: 20px;
    text-align: center;
}

.co-qr-image img {
    width: 220px;
    margin: 0 auto 14px;
}

.co-qr-note,
.co-cod-note {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.co-cod-note {
    margin-top: 16px;
}

.co-summary {
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.co-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    max-height: 320px;
    overflow-y: auto;
    padding-top: 10px;
}

.co-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.co-item-img {
    position: relative;
}

.co-item-img img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border: 1px solid var(--border);
}

.co-item-qty {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-item-info {
    flex: 1;
}

.co-item-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.co-item-meta {
    font-size: 11px;
    color: var(--muted);
}

.co-item-price {
    font-size: 12px;
    font-weight: 600;
}

.co-totals {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-bottom: 20px;
}

.co-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.co-total-row.muted {
    color: var(--muted);
    font-size: 12px;
}

.co-total-row.total {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.co-place-order {
    width: 100%;
    padding: 16px 20px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.co-place-order:hover {
    background: #333;
}

/* ======================
CHECKOUT: SUCCESS MODAL
====================== */
.success-modal {
    width: 100%;
    max-width: 480px;
    padding: 50px 36px 36px;
    text-align: center;
}

.success-order-num {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.success-total {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.success-instructions {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
}

.success-qr {
    width: 180px;
    margin: 0 auto 14px;
}

/* Payment proof upload (GCash success modal) */
.proof-upload-box {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--border);
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}
.proof-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.proof-status {
    margin-top: 4px;
}

/* ======================
SUCCESS BACK LINK — BREATHING ARROW ONLY
====================== */
.success-back-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 14px auto 0;
    text-decoration: none;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.25s ease;
}

.success-back-link .back-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.success-back-link .back-line {
    position: relative;
    display: block;
    width: 100%;
    height: 14px;
    margin-top: 2px;
    overflow: hidden;
}

.success-back-link .back-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    animation: backArrowBreathe 2.6s ease-in-out infinite;
    pointer-events: none;
}

.success-back-link:hover {
    color: var(--text);
}

@keyframes backArrowBreathe {
    0%   { left: 0; }
    50%  { left: calc(100% - 12px); }
    100% { left: 0; }
}

/* ======================
TOAST NOTIFICATION
====================== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #111;
    color: #fff;
    padding: 14px 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
    white-space: nowrap;
}

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

/* ======================
GIANT WATERMARK — EVERY PAGE
====================== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("assets/rip1.png") center center no-repeat;
    background-size: min(94vw, 1200px) auto;
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
}

.landing-page .landing,
.landing-page .bottom-bar {
    position: relative;
    z-index: 1;
}

/* ======================
STORE: 
====================== */
.site-header .logo {
    display: none;
}

/* ======================
RESPONSIVE — ALL BREAKPOINTS
====================== */
@media (max-width: 800px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 10px 20px 60px;
    }
    
    .checkout-header {
        padding: 18px 20px;
    }
    
    .co-summary {
        position: static;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-modal {
        padding: 40px 24px 30px;
    }
    
    .pd-add-to-cart {
        max-width: 100%;
    }
}

@media (max-width: 780px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-modal {
        padding: 40px 24px 30px;
    }
    
    .pd-add-to-cart {
        max-width: 100%;
    }
}

/* ======================
IPAD SIZES
====================== */

@media (min-width: 701px) and (max-width: 900px) {
    .landing {
        padding: 300px 20px 20px;
    }
    
    .slideshow {
        max-width: 360px;
    }
    
    .cta-wrapper {
        margin-top: 100px;
    }
}

@media (min-width: 901px) and (max-width: 1024px) {
    .landing {
        padding: 450px 20px 20px;
    }
    
    .slideshow {
        max-width: 400px;
    }
    
    .cta-wrapper {
        margin-top: 150px;
    }
}

@media (max-width: 700px) {
    
    /* Header layout */
    .site-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 18px 20px;
        position: relative;
    }
    
    /* Logo */
    .logo {
        justify-self: center;
        grid-column: unset;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 160px;
    }
    
    .logo img {
        height: 100%;
        width: auto;
        max-height: 160px;
        object-fit: contain;
    }
    
    /* Hamburger */
    .hamburger {
        display: flex;
        position: absolute;
        top: 18px;
        left: 20px;
    }
    
    /* Cart link */
    .cart-link {
        position: absolute;
        top: 18px;
        right: 20px;
    }
    
    /* Mobile dropdown nav */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        max-width: 100%;
        height: 50vh;
        background: #111;
        border-bottom: none;
        padding: 80px 20px 30px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 22px;
        z-index: 150;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
        overflow: hidden;
    }
    
    .nav::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--nav-bg-image, none) center center / cover no-repeat;
        opacity: var(--nav-image-opacity, 1);
        z-index: 0;
        pointer-events: none;
    }
    
    .nav::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, var(--nav-overlay, 0.45));
        z-index: 1;
        pointer-events: none;
    }
    
    .nav a {
        position: relative;
        z-index: 2;
        color: #fff;
        font-size: 15px;
        letter-spacing: 0.12em;
    }
    
    .nav a::after {
        background: #fff;
    }
    
    .nav.open {
        transform: translateY(0);
    }
    
    /* ===== LANDING MOBILE ===== */
    .landing {
        padding: 200px 20px 20px;  
    }
    
    .slideshow {
        max-width: 340px;
        margin-top: 0;
    }
    
    .cta-wrapper {
        margin-top: 150px;
    }
    
    .shop-now {
        font-size: 15px;
        letter-spacing: 0.12em;
        padding: 5px 0 9px;
    }
    
    /* ===== STORE PAGE ===== */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 60px;
    }
    
    .store-page {
        padding: 40px 20px 0;
    }
    
    .page-title {
        font-size: 22px;
        margin-bottom: 36px;
    }
    
    /* Side nav */
    .side-nav {
        top: 24px;
        right: 20px;
        gap: 12px;
    }
    
    .side-nav a {
        font-size: 12px;
    }
    
    /* Bottom bar */
    .bottom-bar {
        padding: 16px 20px 22px;
    }
    
    .bottom-logo img {
        height: 28px;
    }
    
    .socials {
        gap: 16px;
    }
}

/* ======================
CHAPTERS — FULL-BLEED MOSAIC GALLERY (scrollable)
====================== */
.chapters-page {
    overflow-x: hidden;
}

.chapters-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 100;
}

.chapters-main {
    width: 100%;
    padding: 0;
    overflow: visible;
}

.gallery-mosaic {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(6, 1fr);  
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    gap: 0;
    background: var(--bg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    transform-style: preserve-3d;
    perspective: 800px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    filter 0.35s ease;
    will-change: transform;
}

.gallery-mosaic {
    margin: 0;
    padding: 0;
}

.chapters-media {
    margin: 0;
    padding: 0;
}

/* Size spans */
.gallery-item.size-large {
    grid-column: span 3; 
    grid-row: span 2;     
}
.gallery-item.size-medium {
    grid-column: span 2;
    grid-row: span 2;     
}
.gallery-item.size-small {
    grid-column: span 1;
    grid-row: span 1;    
}

/* Hover tilt */
@media (hover: hover) and (pointer: fine) {
    .gallery-item:hover img {
        filter: brightness(1.05);
    }
    .gallery-item.is-tilting img {
        transition: transform 0.08s ease-out;
    }
}

/* Lightbox */
.gallery-lightbox-modal {
    background: transparent;
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-modal img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}

#gallery-lightbox .modal-close {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    top: 10px;
    right: 14px;
    font-size: 32px;
}

#gallery-lightbox.modal-overlay {
    background: rgba(0, 0, 0, 0.88);
}

/* Black header elements — chapters page only */
.chapters-page .nav a {
    color: #111111;
}
.chapters-page .nav a::after {
    background: #111111;
}

/* Force white when mobile menu is open (chapters page) */
.chapters-page .nav.open a {
    color: #fff;
}
.chapters-page .nav.open a::after {
    background: #fff;
}

.chapters-page .hamburger span {
    background: #111111;
}

.chapters-page .hamburger.active span {
    background: #ffffff;
}

.chapters-page .cart-link {
    color: #111111;
}

.chapters-page .cart-count {
    background: #111111;
    color: #ffffff;
}

/* ===== Tablet ===== */
@media (max-width: 900px) {
    .gallery-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 160px;
    }
    
    .gallery-item.size-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item.size-medium {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item.size-small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ===== Mobile ===== */
@media (max-width: 500px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 2px;
    }
    
    .gallery-item.size-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item.size-medium,
    .gallery-item.size-small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (min-width: 701px) and (max-width: 1024px) and (orientation: landscape) {
    .chapters-main {
        height: calc(100vh - 90px);
        overflow: hidden;
    }
    .gallery-mosaic {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: minmax(0, 1fr);
        height: 100%;
        gap: 0;
    }
    .gallery-item.size-large {
        grid-column: span 4;
        grid-row: span 3;
    }
    .gallery-item.size-medium {
        grid-column: span 3;
        grid-row: span 2;
    }
    .gallery-item.size-small {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* ======================
CHAPTERS MEDIA — IG REEL + PICTURE
====================== */
.chapters-media {
    display: grid;
    grid-template-columns: 360px 1fr;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: start;         
    background: #000;
    line-height: 0;
}

.chapters-media-reel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.chapters-media-reel .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #000 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.chapters-media-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

.chapters-media-image img {
    position: absolute;
    inset: 0;               
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;  
    display: block;
}

@media (max-width: 700px) {
    .chapters-media {
        grid-template-columns: 1fr;
    }
    .chapters-media-image {
        height: auto !important;  
        min-height: 320px;
    }
}

@media (max-width: 700px) and (max-height: 760px) {
    .landing {
        padding: 180px 20px 20px;
    }
    
    .slideshow {
        max-width: 260px;
    }
    
    .cta-wrapper {
        margin-top: 60px;
    }
}

@media (max-width: 700px) and (min-height: 761px) and (max-height: 900px) {
    .landing {
        padding: 200px 20px 20px;
    }
    
    .slideshow {
        max-width: 300px;
    }
    
    .cta-wrapper {
        margin-top: 90px;
    }
}

/* ======================
CHAPTERS MANIFESTO
====================== */
.chapters-manifesto {
    text-align: center;
    padding: 32px 24px 28px;
    max-width: 640px;
    margin: 0 auto;
}

.chapters-manifesto-title {
    font-family: var(--font-oldenglish);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 20px;
    line-height: 1.2;
}

.chapters-manifesto-text {
    font-family: var(--font-oldenglish);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0;
    text-transform: uppercase;
}

/* ======================
CHAPTERS TIMELINE (Layout A)
====================== */
.chapters-timeline {
    padding: 40px 24px 80px;
    max-width: 480px;
    margin: 0 auto;
}

.chapters-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.chapters-timeline-item {
    display: grid;
    grid-template-columns: 64px 16px 1fr;
    align-items: baseline;
    gap: 0;
}

.chapters-timeline-year {
    font-family: var(--font-oldenglish);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
    text-align: right;
}

.chapters-timeline-dot {
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chapters-timeline-dot::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111;
}

.chapters-timeline-text {
    font-family: var(--font-oldenglish);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ======================
FOOTER THANK YOU (tombstone rubbing)
====================== */
.footer-thanks {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ft-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.78) 100%);
}

.ft-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 40px 20px;
    text-align: center;
}

.ft-hint {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cfcac0;
}

.tombstone {
    position: relative;
    width: 260px;
    height: 320px;
}

.tombstone-face {
    position: absolute;
    inset: 0;
    background: #eae7df;
    border-radius: 130px 130px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 20px;
    text-align: center;
}

.tombstone-cross {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
}

.tombstone-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-title {
    font-family: var(--font-oldenglish);
    font-size: 20px;
    color: #2b2a27;
}

.ft-message {
    font-family: var(--font-oldenglish);
    font-size: 13px;
    color: #4a4842;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-line {
    display: block;
}

.tombstone-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 130px 130px 8px 8px;
    cursor: crosshair;
    touch-action: none;
}

.ft-signature {
    font-size: 12px;
    color: #a29d92;
    margin-top: 4px;
}

/* ==========================================================
TOMBSTONE REVEAL — HIDDEN PHOTO MOSAIC
RESTORED FROM OLD WORKING VERSION
========================================================== */

.footer-thanks.tomb-gone {
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
}

/* Hidden photo grid */
.hidden-mosaic {
    position: absolute;
    inset: 0;
    z-index: 0;
    
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    
    gap: 0;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transform: scale(1.04);
    
    transition:
    opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1.4s ease,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    
    background: #fff;
    
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Once 60% of tomb cover is erased */
.footer-thanks.revealed .hidden-mosaic {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

/* Photo cells */
.hidden-mosaic .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    min-height: 0;
}

.hidden-mosaic .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    transform: scale(1.02);
    
    transition:
    transform 0.35s ease,
    filter 0.3s ease;
}

/* Photo hover */
.hidden-mosaic .gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.08);
}

/* ==========================================================
TOMB SLIDE-DOWN DISMISS (click/tap sa collage after reveal)
========================================================== */
.ft-content {
    transition:
    transform 1s cubic-bezier(0.55, 0, 0.55, 1),
    opacity 0.75s ease,
    visibility 0s linear 1s;
}
.footer-thanks.tomb-gone .ft-content {
    transform: translateY(60vh);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* Fade out ang dim/overlay */
.ft-overlay,
#dim-overlay {
    pointer-events: none;
    transition: opacity 1.1s ease;
}
.footer-thanks.tomb-gone .ft-overlay,
.footer-thanks.tomb-gone #dim-overlay {
    opacity: 0;
}

/* ==========================================================
STAGGERED PHOTO REVEAL
========================================================== */

.footer-thanks.revealed .hidden-mosaic .gallery-item {
    animation:
    gemFadeIn
    0.9s
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(1) {
    animation-delay: 0.05s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(2) {
    animation-delay: 0.08s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(3) {
    animation-delay: 0.11s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(4) {
    animation-delay: 0.14s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(5) {
    animation-delay: 0.17s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(6) {
    animation-delay: 0.20s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(7) {
    animation-delay: 0.23s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(8) {
    animation-delay: 0.26s;
}

.footer-thanks.revealed
.hidden-mosaic
.gallery-item:nth-child(n+9) {
    animation-delay: 0.30s;
}

@keyframes gemFadeIn {
    from {
        opacity: 0;
        transform: scale(1.06);
    }
    
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* After tomb is fully dismissed */
.footer-thanks.tomb-gone .hidden-mosaic {
    position: absolute;
    inset: 0;
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 700px) {
    
    .hidden-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(12, 1fr);
    }
    
}

/* ======================
SCROLL TO TOP BUTTON - CHAPTERS
====================== */
.scroll-top-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.55);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.25s ease;
    z-index: 40;
}

.scroll-top-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-btn-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-top-btn:hover {
        color: #ffffff;
    }
    .scroll-top-btn:hover .scroll-top-btn-label {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
PRODUCT MODAL — DESKTOP SPLIT PANEL
====================== */
@media (min-width: 1025px) {
    #product-modal.modal-overlay {
        justify-content: flex-end;
        padding: 0;
        background: rgba(0, 0, 0, 0.35);
    }
    
    #product-modal.modal-overlay.side-left {
        justify-content: flex-start;
    }
    
    #product-modal .product-modal {
        width: 50vw;
        max-width: 50vw;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        display: flex;
        align-items: center;
        padding: 40px 60px 40px;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    #product-modal .product-modal::-webkit-scrollbar {
        display: none;
    }
    
    #product-modal .product-detail-image img {
        max-height: 42vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
    
    #product-modal.modal-overlay.side-left .product-modal {
        transform: translateX(-100%);
    }
    
    #product-modal.modal-overlay.active .product-modal {
        transform: translateX(0);
    }
    
    #product-modal .product-detail {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
    }
    
    #product-modal .modal-close {
        top: 24px;
        right: 30px;
        font-size: 24px;
        font-weight: 300;
    }
}

/* ======================
PAYMENT SECTION - ICONS
====================== */

.co-payment-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.co-payment-icon-fallback {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.co-courier-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ======================
CONFIRMATION MODAL
====================== */
.confirm-modal {
    max-width: 400px;
    padding: 32px;
    text-align: center;
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text, #111111);
    line-height: 1.4;
}

.confirm-message {
    font-size: 14px;
    color: var(--muted, #555555);
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-cancel,
.confirm-proceed {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border, #e5e4e0);
    border-radius: 4px;
    background: white;
    color: var(--text, #111111);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-cancel:hover {
    background: var(--bg, #ffffff);
    border-color: var(--text, #111111);
}

.confirm-proceed {
    background: var(--text, #111111);
    color: white;
    border-color: var(--text, #111111);
}

.confirm-proceed:hover {
    opacity: 0.85;
}

/* ======================
HELP LINK (desktop header, before cart)
====================== */
.help-link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-right: 48px;
    padding-top: 6px;
    font-family: var(--font-oldenglish);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    transition: opacity 0.25s ease;
    z-index: 5;
}

.help-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--text);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.help-link:hover::after {
    width: 100%;
}

/* Hide HELP from left nav on desktop (it lives next to cart instead) */
@media (min-width: 701px) {
    .nav a[href="help.html"] {
        display: none;
    }
}

/* Mobile: hide desktop help-link, HELP stays inside hamburger */
@media (max-width: 700px) {
    .help-link {
        display: none;
    }
}

.chapters-page .help-link {
    color: #111111;
}

/* ======================
HELP PAGE
====================== */
.help-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 28px 100px;
}

.help-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 56px;
}

.help-section {
    margin-bottom: 48px;
}

.help-heading {
    font-family: var(--font-oldenglish);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.help-item {
    margin-bottom: 24px;
}

.help-question {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text);
}

.help-answer {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.help-intro {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 16px;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
}

.help-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text);
}

@media (max-width: 700px) {
    .help-page {
        padding: 24px 20px 80px;
    }
    
    .help-title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    
    .help-section {
        margin-bottom: 40px;
    }
}

/* Critical text (Help page) */
.text-critical {
    color: #c0392b;
    font-weight: 700;
}

/* SOLD OUT badge */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    z-index: 3;
}

.product-card.sold-out {
    opacity: 0.72;
    pointer-events: none; 
}

.product-card.sold-out .product-image-wrap {
    filter: grayscale(0.35);
}

.pd-stock-note {
    font-size: 12px;
    color: #c0392b;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* ======================
TOMBSTONE - Mobile Social Rules
====================== */

/* Mobile only:  */
@media (max-width: 700px) {
    .footer-thanks.revealed .chapters-footer {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
}

/* ======================
LOOKBOOK - STORE PAGE
====================== */
.lookbook {
    display: flex;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 0;
}

.lookbook-hero {
    flex: 0 0 60%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.lookbook-hero.in-view {
    opacity: 1;
    transform: translateX(0);
}

.lookbook-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.lookbook-hero img.active {
    opacity: 1;
}

.lookbook-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 0;
}

.lookbook-cell {
    position: relative;
    overflow: hidden;
}

.lookbook-cell img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile: stack vertically, hero on top */
@media (max-width: 700px) {
    .lookbook {
        flex-direction: column;
        width: 100vw;
        height: auto;
        min-height: 0;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    .lookbook-hero {
        flex: none;
        width: 100%;
        height: 380px;
        transform: translateY(-30px);
    }
    .lookbook-hero.in-view {
        transform: translateY(0);
    }
    .lookbook-grid {
        flex: none;                
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 260px;           
    }
}

/* ======================
STORE FOOTER — COPYRIGHT + SOCIALS
====================== */
.store-page + .site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 26px 40px 30px;
}
.footer-copy {
    grid-column: 2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}
.store-page + .site-footer .socials {
    grid-column: 3;
    justify-self: end;
}

/* Mobile: copyright LEFT, socials RIGHT */
@media (max-width: 700px) {
    .store-page + .site-footer {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 18px 20px 20px;
    }
    .footer-copy {
        grid-column: 1;
        text-align: left;
        font-size: 9px;          
        letter-spacing: 0.06em;  
    }
    .store-page + .site-footer .socials {
        grid-column: 2;
        justify-self: end;
        gap: 14px;
    }
    
    .store-page + .site-footer .socials a svg {
        width: 15px;
        height: 15px;
    }
}

/* ==========================================================
   R.I.PARADISE — SKELETON SKATEBOARDER SEPARATOR
   Tiny retro web easter egg
========================================================== */

.skater-separator {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);

    height: 82px;

    overflow: hidden;

    background: var(--bg);
}


/* ==========================================================
   TRACK
========================================================== */

.skater-track {
    position: absolute;
    left: 0;               
    right: 0;             
    top: 50%;
    height: 30px;
    transform: translateY(-50%);
}


/* ==========================================================
   GROUND LINE
========================================================== */

.skater-track::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 20px;

    height: 1px;

    background: var(--text);

    opacity: 0.7;
}


/* ==========================================================
   SKELETON SKATER CONTAINER
   (skater-bob binago sa skater-motion — 11s na siya ngayon,
   kasabay ng skater-travel, para ma-time natin ang ollie)
========================================================== */

.skater {
    position: absolute;

    left: -50px;
    top: -3px;

    width: 50px;
    height: 36px;

    z-index: 5;

    animation:
        skater-travel 11s linear infinite,
        skater-motion 11s ease-in-out infinite;
}


/* ==========================================================
   SVG
========================================================== */

.skater-svg {
    width: 50px;
    height: 36px;

    overflow: visible;
}


/* ==========================================================
   GLOBAL SKELETON LINE STYLE
========================================================== */

.skater-svg path,
.skater-svg circle {
    fill: none;

    stroke: var(--text);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;

    vector-effect: non-scaling-stroke;
}


/* ==========================================================
   SKULL (di na kailangan galawin, subtle na siya at okay lang
   na iba ang loop niya sa buong body)
========================================================== */

.skeleton-skull {
    transform-box: fill-box;
    transform-origin: center bottom;

    animation:
        skull-bob 1.15s ease-in-out infinite;
}


/* Skull outline */

.skull-shape {
    fill: var(--bg);

    stroke: var(--text);

    stroke-width: 1.8;
}


/* Eye sockets */

.skull-eye {
    fill: var(--text);

    stroke: none;
}


/* Nose */

.skull-nose {
    fill: var(--text);

    stroke: none;
}


/* Jaw */

.skull-jaw {
    stroke-width: 1.3;
}


/* ==========================================================
   SPINE
========================================================== */

.skeleton-spine {
    transform-origin: 36px 25px;

    animation:
        skeleton-body 11s ease-in-out infinite;
}


/* ==========================================================
   RIBS (subtle idle lang pa rin, hindi kailangan i-sync)
========================================================== */

.skeleton-ribs {
    transform-box: fill-box;
    transform-origin: center center;

    animation:
        ribs-movement 1.15s cubic-bezier(.45, 0, .55, 1) infinite;
}


/* ==========================================================
   ARMS
========================================================== */

.skeleton-arm {
    transform-origin: 38px 16px;
}


/* Back arm */

.skeleton-arm-back {
    animation:
        arm-back-swing
        11s
        ease-in-out
        infinite;
}


/* Front arm */

.skeleton-arm-front {
    animation:
        arm-front-swing
        11s
        ease-in-out
        infinite;
}


/* ==========================================================
   LEGS
========================================================== */

.skeleton-leg {
    transform-origin: 36px 25px;
}


/* Back leg */

.skeleton-leg-back {
    animation:
        leg-back-motion
        11s
        ease-in-out
        infinite;
}


/* Front leg */

.skeleton-leg-front {
    animation:
        leg-front-motion
        11s
        ease-in-out
        infinite;
}


/* ==========================================================
   SKATEBOARD
========================================================== */

.skateboard-deck {
    stroke-width: 2.2 !important;

    transform-box: fill-box;
    transform-origin: center center;

    animation:
        board-tilt
        11s
        ease-in-out
        infinite;
}


.skateboard-wheel {
    fill: var(--text) !important;

    stroke: none !important;
}


/* ==========================================================
   SKATER TRAVEL
========================================================== */

@keyframes skater-travel {

    0% {
        left: -50px;
    }

    100% {
        left: calc(100% + 20px);
    }

}


/* ==========================================================
   WHOLE BODY MOTION
   0–80%: subtle idle bob lang (parang naglalayag)
   84–100%: ollie — crouch, pop, peak, land
   (malapit na siya sa RIP sign dito, based sa position mo)
========================================================== */

@keyframes skater-motion {

    0%   { transform: translateY(0); }
    8%   { transform: translateY(-1px); }
    16%  { transform: translateY(0); }
    24%  { transform: translateY(-1px); }
    32%  { transform: translateY(0); }
    40%  { transform: translateY(-1px); }

    /* CROUCH (anticipation) */
    44%  { transform: translateY(2px); }

    /* POP (ollie launch, peak height) */
    48%  { transform: translateY(-14px); }

    /* AIRBORNE, descending */
    52%  { transform: translateY(-8px); }

    /* LANDING (slight compress) */
    56%  { transform: translateY(1px); }

    60%  { transform: translateY(0); }
    68%  { transform: translateY(-1px); }
    76%  { transform: translateY(0); }
    84%  { transform: translateY(-1px); }
    92%  { transform: translateY(0); }
    100% { transform: translateY(0); }

}


/* ==========================================================
   SKULL MICRO MOVEMENT
========================================================== */

@keyframes skull-bob {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    25% {
        transform: translateY(0.4px) rotate(3deg);
    }

    42% {
        transform: translateY(1px) rotate(5deg);
    }

    60% {
        transform: translateY(0) rotate(2deg);
    }

    80% {
        transform: translateY(-0.2px) rotate(0deg);
    }

}


/* ==========================================================
   SPINE / BODY LEAN
   idle lang, tapos konting coil bago mag-pop
========================================================== */

@keyframes skeleton-body {

    0%   { transform: rotate(2deg); }
    10%  { transform: rotate(3deg); }
    20%  { transform: rotate(2deg); }
    30%  { transform: rotate(3deg); }
    40%  { transform: rotate(2deg); }

    /* CROUCH (coiling before pop) */
    44%  { transform: rotate(6deg); }

    /* LAUNCH (extending/straightening) */
    48%  { transform: rotate(-2deg); }

    52%  { transform: rotate(0deg); }

    /* LANDING (absorb) */
    56%  { transform: rotate(4deg); }

    60%  { transform: rotate(2deg); }
    70%  { transform: rotate(3deg); }
    80%  { transform: rotate(2deg); }
    90%  { transform: rotate(3deg); }
    100% { transform: rotate(2deg); }

}


/* ==========================================================
   RIB CAGE MOVEMENT
========================================================== */

@keyframes ribs-movement {

    0%,
    100% {
        transform: rotate(2deg);
    }

    35% {
        transform: rotate(5deg) translateY(0.5px);
    }

    55% {
        transform: rotate(3deg);
    }

    75% {
        transform: rotate(0deg);
    }

}


/* ==========================================================
   BACK LEG
   idle micro-sway lang, tapos tumutuck papataas
   habang naka-ere sa ollie
========================================================== */

@keyframes leg-back-motion {

    0%   { transform: rotate(-3deg); }
    10%  { transform: rotate(1deg); }
    20%  { transform: rotate(-3deg); }
    30%  { transform: rotate(1deg); }
    40%  { transform: rotate(-3deg); }

    /* CROUCH */
    44%  { transform: rotate(8deg); }

    /* TUCK (airborne, knee bent up) */
    48%  { transform: rotate(34deg); }

    52%  { transform: rotate(30deg); }

    /* EXTEND FOR LANDING */
    56%  { transform: rotate(-4deg); }

    60%  { transform: rotate(-3deg); }
    70%  { transform: rotate(1deg); }
    80%  { transform: rotate(-3deg); }
    90%  { transform: rotate(1deg); }
    100% { transform: rotate(-3deg); }

}


/* ==========================================================
   FRONT LEG
========================================================== */

@keyframes leg-front-motion {

    0%   { transform: rotate(2deg); }
    10%  { transform: rotate(-1deg); }
    20%  { transform: rotate(2deg); }
    30%  { transform: rotate(-1deg); }
    40%  { transform: rotate(2deg); }

    44%  { transform: rotate(-6deg); }

    48%  { transform: rotate(-28deg); }

    52%  { transform: rotate(-24deg); }

    56%  { transform: rotate(3deg); }

    60%  { transform: rotate(2deg); }
    70%  { transform: rotate(-1deg); }
    80%  { transform: rotate(2deg); }
    90%  { transform: rotate(-1deg); }
    100% { transform: rotate(2deg); }

}


/* ==========================================================
   BACK ARM
   idle sway, tapos konting balance-raise habang naka-ere
========================================================== */

@keyframes arm-back-swing {

    0%   { transform: rotate(3deg); }
    12%  { transform: rotate(-2deg); }
    24%  { transform: rotate(3deg); }
    36%  { transform: rotate(-2deg); }

    44%  { transform: rotate(-8deg); }

    48%  { transform: rotate(10deg); }

    52%  { transform: rotate(6deg); }

    56%  { transform: rotate(-3deg); }

    68%  { transform: rotate(3deg); }
    80%  { transform: rotate(-2deg); }
    92%  { transform: rotate(3deg); }
    100% { transform: rotate(3deg); }

}


/* ==========================================================
   FRONT ARM
========================================================== */

@keyframes arm-front-swing {

    0%   { transform: rotate(-3deg); }
    12%  { transform: rotate(2deg); }
    24%  { transform: rotate(-3deg); }
    36%  { transform: rotate(2deg); }

    44%  { transform: rotate(8deg); }

    48%  { transform: rotate(-10deg); }

    52%  { transform: rotate(-6deg); }

    56%  { transform: rotate(3deg); }

    68%  { transform: rotate(-3deg); }
    80%  { transform: rotate(2deg); }
    92%  { transform: rotate(-3deg); }
    100% { transform: rotate(-3deg); }

}


/* ==========================================================
   BOARD TILT
   idle lang, tapos "snap" ng nose habang nag-o-ollie
========================================================== */

@keyframes board-tilt {

    0%,
    100% { transform: rotate(0deg); }

    15%  { transform: rotate(-0.5deg); }
    30%  { transform: rotate(0.5deg); }
    40%  { transform: rotate(0deg); }

    /* NOSE DIPS (pre-pop) */
    44%  { transform: rotate(-3deg); }

    /* SNAP (ollie kick) */
    48%  { transform: rotate(4deg); }

    52%  { transform: rotate(2deg); }

    /* SETTLE (landing) */
    56%  { transform: rotate(-2deg); }

    60%  { transform: rotate(0deg); }
    80%  { transform: rotate(0.3deg); }
    100% { transform: rotate(0deg); }

}

/* ----------------------------------------------------------
   RIP + 1210 TRACK SIGNS
---------------------------------------------------------- */

.track-signs {
    position: absolute;
    right: 8%;
    top: -10px;

    width: 58px;
    height: 30px;

    display: flex;
    align-items: flex-start;
    gap: 8px;

    z-index: 3;
}


/* ----------------------------------------------------------
   RIP SIGN
---------------------------------------------------------- */

.rip-sign {
    position: relative;

    width: 24px;
    height: 30px;

    flex-shrink: 0;
}


/* RIP BOARD */

.rip-sign span {
    position: absolute;

    left: 0;
    top: 0;

    width: 22px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--text);
    color: var(--bg);

    font-family: monospace;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: -0.04em;

    line-height: 1;
}


/* RIP POST */

.rip-sign::before {
    content: "";

    position: absolute;

    left: 10px;
    top: 18px;

    width: 1px;
    height: 12px;

    background: var(--text);
}


/* RIP BASE */

.rip-sign::after {
    content: "";

    position: absolute;

    left: 4px;
    bottom: 0;

    width: 13px;
    height: 1px;

    background: var(--text);
}


/* ----------------------------------------------------------
   1210 SIGN
---------------------------------------------------------- */

.sign-1210 {
    position: relative;

    width: 26px;
    height: 30px;

    flex-shrink: 0;
}


/* 1210 BOARD */

.sign-1210 span {
    position: absolute;

    left: 0;
    top: 0;

    width: 25px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--text);
    color: var(--bg);

    border: none;

    font-family: monospace;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: -0.05em;

    line-height: 1;
}


/* 1210 POST */

.sign-1210::before {
    content: "";

    position: absolute;

    left: 12px;
    top: 18px;

    width: 1px;
    height: 12px;

    background: var(--text);
}


/* 1210 BASE */

.sign-1210::after {
    content: "";

    position: absolute;

    left: 5px;
    bottom: 0;

    width: 13px;
    height: 1px;

    background: var(--text);
}


/* Tiny crooked detail */

.sign-1210 i {
    position: absolute;

    display: none;
}

/* ==========================================================
   GROUND DETAILS
========================================================== */

.ground-dust {
    position: absolute;

    top: 21px;

    height: 1px;

    background: var(--text);

    opacity: 0.35;
}


.dust-1 {
    left: 24%;
    width: 12px;
}


.dust-2 {
    left: 52%;
    width: 5px;
}


.dust-3 {
    left: 73%;
    width: 9px;
}

.dust-1 {
    left: 24%;
    width: 12px;
}


.dust-2 {
    left: 52%;
    width: 5px;
}


.dust-3 {
    left: 73%;
    width: 9px;
}


.dust-4 {
    left: 38%;
    width: 7px;
}


.dust-5 {
    left: 88%;
    width: 6px;
}


/* Tiny pebble dots */

.ground-pebble {
    position: absolute;

    top: 22px;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: var(--text);

    opacity: 0.4;
}


.pebble-1 {
    left: 15%;
}


.pebble-2 {
    left: 63%;
}


/* Small crack in the ground */

.ground-crack {
    position: absolute;

    top: 20px;
    left: 44%;

    width: 10px;
    height: 1px;

    background: var(--text);

    opacity: 0.25;

    transform: rotate(18deg);
}


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

@media (max-width: 700px) {

    .skater-separator {
        height: 62px;
    }

    .skater-track {
        left: 0;          
        right: 0;         
    }

    .skater {
        transform-origin: center;
        transform: scale(0.78);
    }

    .track-signs {
        right: 5%;
        transform: scale(0.85);
        transform-origin: bottom right;
    }

}