/* ═══════════════════════════════════════════════════════════
   page-action.css — /action promo page
   Topmenu offset matches other storefront static pages.
   ═══════════════════════════════════════════════════════════ */

body.action-page {
    margin: 0;
    padding: 0;
    padding-top: 78px;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 1024px) {
    body.action-page { padding-top: 60px; }
}
@media (max-width: 640px) {
    body.action-page { padding-top: 44px; }
}

.action-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ─── Breadcrumb (self-contained, matches quality-page style) ── */
.action-breadcrumb {
    padding: 16px 0 10px;
    font-size: 0.82rem;
    color: #999;
}
.action-breadcrumb a { color: #767676; text-decoration: none; transition: color .2s; }
.action-breadcrumb a:hover { color: #222; }
.action-breadcrumb__sep { margin: 0 6px; color: #ccc; }
.action-breadcrumb__current { color: #555; }

/* ─── Main ─────────────────────────────────────────────────── */
.action-page-main { background:#fff; padding: 4px 0 80px; }

.action-empty { text-align:center; padding:60px 20px; }
.action-empty h1 { font-size:1.6rem; margin-bottom:12px; }

/* Two-column header: hero left (larger), text right (desktop) / stacked (mobile) */
.action-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

.action-hero { min-width:0; }
.action-hero__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.action-content { min-width:0; }
.action-title {
    font-family: Roboto, sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
    color: #222;
    margin: 0 0 10px;
}
.action-subtitle { font-size:1.05rem; color:#666; margin:0 0 14px; }

.action-body { font-size: 0.95rem; line-height: 1.6; color: #333; }
.action-body p { margin: 0 0 12px; }
.action-body p:first-child { margin-top: 0; }

.action-conditions { margin-top: 22px; padding-top: 18px; border-top: 1px solid #eee; font-size: 0.9rem; }
.action-conditions h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; color:#222; }
.action-conditions ul { list-style: disc; padding-left: 20px; margin: 0; }
.action-conditions li { margin-bottom: 6px; line-height: 1.5; color:#555; }

/* ─── Tiles ────────────────────────────────────────────────── */
.action-tiles-section { margin-top: 8px; }
.action-tiles-heading { font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; color:#222; }

.action-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.action-tile {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    overflow: hidden;
    transition: box-shadow .15s, transform .15s;
}
.action-tile:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.action-tile__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #f5f5f5;
}
.action-tile__cell {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.action-tile__cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
.action-tile__name {
    padding: 10px 10px;
    text-align: center;
    font-size: 0.85rem;
    color: #1976d2;
    line-height: 1.3;
}
.action-tile:hover .action-tile__name { text-decoration: underline; }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .action-tiles-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .action-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 24px;
    }
    .action-hero { text-align:center; }
    .action-hero__img { max-width: 520px; margin: 0 auto; }
    .action-title { font-size: 1.4rem; text-align: center; }
    .action-subtitle { text-align: center; font-size: 1rem; }
    .action-tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .action-tile__name { font-size: 0.8rem; padding: 8px 6px; }
}

@media (max-width: 480px) {
    .action-tiles-grid { grid-template-columns: repeat(2, 1fr); }
    .action-tile__name { font-size: 0.75rem; }
}
