/* ================================
   STATIC PAGES
   shop-offline.php, terms.php, privacy.php
================================ */

:root {
    --text:  #1a1a1a;
    --muted: #969784;
    --line:  #e2ddd4;
    --sand:  #e8e2d9;
    --bg:    #f5f2ec;
}

.static-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 100px;
}

/* =============================================
   HERO
============================================= */
.sp-hero {
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 64px;
    max-width: 640px;
}

.sp-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 18px;
}

.sp-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.1;
    margin: 0 0 20px;
}

.sp-subtitle {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

/* =============================================
   SHOP OFFLINE — STORES GRID
============================================= */
.sp-stores { padding-bottom: 40px; }

.stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.store-card {
    background: #fff;
    display: flex;
    flex-direction: column;
}

.store-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--sand);
}

.store-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.store-card:hover .store-img img {
    transform: scale(1.04);
}

.store-body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.store-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 4px;
}

.store-city {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .5px;
    margin: 0;
}

.store-divider {
    height: 1px;
    background: var(--line);
    margin: 18px 0;
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.store-info-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    font-size: 13px;
    line-height: 1.7;
}

.store-info-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 2px;
}

.store-info-val {
    color: var(--text);
}

.store-info-val a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.store-maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--text);
    width: fit-content;
    transition: opacity .2s;
}

.store-maps-btn:hover { opacity: .6; }

/* =============================================
   TERMS & PRIVACY — CONTENT
============================================= */
.sp-content {
    padding-bottom: 40px;
}

.sp-content-inner {
    max-width: 720px;
}

.sp-section {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.sp-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.sp-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.sp-section-body {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
}

.sp-section-body p  { margin: 0 0 16px; }
.sp-section-body ul,
.sp-section-body ol { padding-left: 20px; margin: 0 0 16px; }
.sp-section-body li { margin-bottom: 8px; }
.sp-section-body a  { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.sp-section-body strong { color: var(--text); font-weight: 600; }

.sp-empty {
    padding: 60px 0;
    font-size: 15px;
    color: var(--muted);
    font-style: italic;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
    .static-page  { padding: 0 32px 80px; }
    .sp-title     { font-size: 40px; }
    .stores-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .static-page  { padding: 0 24px 60px; }
    .sp-hero      { padding: 48px 0 40px; margin-bottom: 40px; }
    .sp-title     { font-size: 34px; }
    .stores-grid  { grid-template-columns: 1fr; gap: 2px; }
    .store-img    { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
    .static-page  { padding: 0 20px 60px; }
    .sp-title     { font-size: 28px; }
    .sp-subtitle  { font-size: 15px; }
    .store-body   { padding: 20px 20px 24px; }
    .sp-content-inner { max-width: 100%; }
}

@media (max-width: 540px) {
    .static-page  { padding: 0 16px 48px; }
    .sp-hero      { padding: 32px 0 28px; margin-bottom: 28px; }
    .sp-title     { font-size: 24px; letter-spacing: .5px; }
    .sp-eyebrow   { font-size: 10px; }
    .store-info-row { grid-template-columns: 70px 1fr; }
}

