/* ══════════════════════════════════════════════════════════════════════
   Shared Policy Page Styles
   Used by: return-policy, refund-policy, shipping-info,
            privacy-policy, terms-of-service
   ══════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.pol-hero {
    background: linear-gradient(135deg, #001f16 0%, #003527 55%, #005a42 100%);
    padding: 88px 2rem 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pol-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.pol-hero-icon {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.pol-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.pol-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Breadcrumb ───────────────────────────────────────────────────────── */
.pol-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 11px 2rem;
}
.pol-breadcrumb-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    color: #999;
}
.pol-breadcrumb a { color: #003527; font-weight: 600; text-decoration: none; transition: opacity 0.15s; }
.pol-breadcrumb a:hover { opacity: 0.7; text-decoration: underline; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.pol-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 56px 2rem 80px;
    align-items: start;
}
@media (max-width: 860px) {
    .pol-layout { grid-template-columns: 1fr; padding: 40px 1.25rem 56px; gap: 32px; }
    .pol-sidebar { position: static; order: -1; }
}
@media (max-width: 560px) {
    .pol-hero { padding: 56px 1.25rem 48px; }
    .pol-breadcrumb { padding: 10px 1.25rem; }
}

/* ── Article typography ──────────────────────────────────────────────── */
.pol-article { min-width: 0; }
.pol-article h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #003527;
    margin: 40px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5f0;
    display: flex;
    align-items: center;
    gap: 10px;
    scroll-margin-top: 96px;
}
.pol-article h2:first-child { margin-top: 0; }
.pol-article h2 i { font-size: 0.95rem; opacity: 0.65; }
.pol-article p { font-size: 0.96rem; color: #3d3d3d; line-height: 1.8; margin-bottom: 16px; }
.pol-article ul, .pol-article ol {
    padding-left: 1.3rem;
    margin-bottom: 18px;
}
.pol-article ul { list-style: none; padding-left: 0; }
.pol-article ul li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-size: 0.94rem;
    color: #3d3d3d;
    line-height: 1.7;
}
.pol-article ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 13px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #003527;
    opacity: 0.5;
}
.pol-article ol li { font-size: 0.94rem; color: #3d3d3d; line-height: 1.7; margin-bottom: 6px; }
.pol-article a { color: #003527; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s; }
.pol-article a:hover { color: #005a42; }
.pol-article strong { color: #1a1a1a; font-weight: 700; }

/* ── Tables ───────────────────────────────────────────────────────────── */
.pol-article table, .pol-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 26px;
    font-size: 0.88rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pol-article table th, .pol-table thead th {
    background: #003527;
    color: #fff;
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.pol-article table td, .pol-table tbody td {
    padding: 12px 16px;
    color: #333;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
.pol-article table tr:last-child td, .pol-table tbody tr:last-child td { border-bottom: none; }
.pol-article table tbody tr, .pol-table tbody tr { transition: background 0.15s; }
.pol-article table tbody tr:hover, .pol-table tbody tr:hover { background: #f9fffe; }
.pol-table .free-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 100px;
    margin-left: 6px;
}
@media (max-width: 560px) {
    .pol-article table, .pol-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ── Info callout boxes ───────────────────────────────────────────────── */
.pol-callout {
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.65;
}
.pol-callout.green { background: #edfaf3; border: 1px solid #a7f3d0; color: #065f46; }
.pol-callout.blue  { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.pol-callout.amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.pol-callout i { margin-top: 2px; flex-shrink: 0; }

/* ── Numbered step list ───────────────────────────────────────────────── */
.pol-steps { counter-reset: steps; list-style: none; padding: 0; margin: 0 0 20px; }
.pol-steps li {
    counter-increment: steps;
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.94rem;
    color: #3d3d3d;
    line-height: 1.65;
}
.pol-steps li:last-child { border: none; }
.pol-steps li::before {
    content: counter(steps);
    min-width: 30px; height: 30px;
    background: #003527;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── CTA box ──────────────────────────────────────────────────────────── */
.pol-cta {
    background: linear-gradient(135deg, #003527, #005a42);
    border-radius: 14px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,53,39,0.18);
}
.pol-cta h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.pol-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.pol-cta a {
    display: inline-block;
    background: #fff;
    color: #003527;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 11px 26px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.pol-cta a:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Sidebar ──────────────────────────────────────────────────────────── */
.pol-sidebar { position: sticky; top: 96px; }
.pol-sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}
.pol-sidebar-box:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.pol-sidebar-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #003527;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.pol-toc a {
    display: block;
    padding: 7px 0;
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f7f7f7;
    transition: color 0.15s, padding-left 0.15s;
}
.pol-toc a:hover { color: #003527; padding-left: 5px; }
.pol-toc a:last-child { border: none; }
.pol-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f7f7f7;
    transition: color 0.15s, gap 0.15s;
}
.pol-sidebar-links a:hover { color: #003527; }
.pol-sidebar-links a:last-child { border: none; }
.pol-sidebar-links i { width: 14px; text-align: center; color: #003527; opacity: 0.7; }
.pol-contact-box {
    background: #f9fffe;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 0.82rem;
    color: #333;
    line-height: 1.7;
}
.pol-contact-box .label { font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #003527; margin-bottom: 10px; }

/* ── Accessibility ────────────────────────────────────────────────────── */
.pol-article a:focus-visible,
.pol-breadcrumb a:focus-visible,
.pol-toc a:focus-visible,
.pol-sidebar-links a:focus-visible,
.pol-cta a:focus-visible {
    outline: 2px solid #005a42;
    outline-offset: 2px;
    border-radius: 3px;
}
