/* static/css/pages/guide.css */
/* دُرج | راهنمای خرید */

.guide-page {
    min-height: 100vh;
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

.guide-page__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 15% 30%, var(--gold) 0%, transparent 45%),
        radial-gradient(circle at 80% 65%, var(--royal-jade) 0%, transparent 45%);
}

.guide-page__container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.guide-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.guide-header__title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark-jade), var(--royal-jade));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.guide-header__subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Intro ── */
.guide-intro {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(201,162,77,0.1);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-2xl);
}

.guide-intro__icon { font-size: 2rem; display: block; margin-bottom: var(--space-sm); color: var(--gold); }
.guide-intro p { color: #555; line-height: 1.9; max-width: 700px; margin: 0 auto; }

/* ── Section Title ── */
.guide-section__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-jade);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* ── Steps ── */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

/* ── Card ── */
.guide-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(201,162,77,0.08);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.guide-card__num {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--dark-jade);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.guide-card__icon { font-size: 1.8rem; margin-bottom: var(--space-sm); }
.guide-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark-jade); margin-bottom: var(--space-sm); }
.guide-card p { color: #555; line-height: 1.8; font-size: 0.9rem; }
.guide-card strong { color: var(--royal-jade); }
.guide-card__note { display: block; margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px dashed #eee; font-size: 0.8rem; color: var(--gold); }

/* ── Store ── */
.guide-store {
    background: linear-gradient(135deg, rgba(74,120,86,0.04), rgba(201,162,77,0.04));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    border: 1px solid rgba(201,162,77,0.1);
}

.guide-store h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark-jade); margin-bottom: var(--space-sm); }
.guide-store p { color: #555; margin-bottom: var(--space-md); }
.guide-store__address { background: white; border-radius: var(--radius-md); padding: var(--space-md); font-family: monospace; direction: ltr; display: inline-block; color: var(--dark-jade); font-size: 0.9rem; }

/* ── Size Guide ── */
.guide-size {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    border: 1px solid rgba(201,162,77,0.08);
    box-shadow: var(--shadow-sm);
}

.guide-size__methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.guide-size__method {
    background: #f9fafb;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.guide-size__method h4 { font-size: 1rem; font-weight: 700; color: var(--dark-jade); margin-bottom: var(--space-sm); }
.guide-size__method ul { padding-right: 18px; }
.guide-size__method li { margin: 6px 0; color: #555; font-size: 0.9rem; }

.guide-size__tips {
    background: rgba(201,162,77,0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.guide-size__tips h4 { font-size: 1rem; font-weight: 700; color: var(--dark-jade); margin-bottom: var(--space-sm); }
.guide-size__tips ul { padding-right: 18px; }
.guide-size__tips li { margin: 6px 0; color: #555; font-size: 0.9rem; }

.guide-size__bracelet {
    padding-top: var(--space-lg);
    border-top: 2px dashed #eee;
}

.guide-size__bracelet h4 { font-size: 1rem; font-weight: 700; color: var(--dark-jade); margin-bottom: var(--space-sm); }
.guide-size__bracelet ul { padding-right: 18px; margin-bottom: var(--space-sm); }
.guide-size__bracelet li { margin: 6px 0; color: #555; font-size: 0.9rem; }

/* ── Help ── */
.guide-help {
    background: linear-gradient(135deg, var(--dark-jade), var(--royal-jade));
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.guide-help h3 { font-size: 1.3rem; margin-bottom: var(--space-sm); }
.guide-help p { opacity: 0.9; margin-bottom: var(--space-lg); }

.guide-help__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.guide-help__items span {
    background: rgba(255,255,255,0.12);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

/* ── Back ── */
.guide-back { text-align: center; }
.guide-back a {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--royal-jade); color: white;
    padding: 12px 26px; border-radius: var(--radius-full);
    text-decoration: none; font-weight: 600; transition: all 0.3s;
}
.guide-back a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74,120,86,0.3); }

/* ── Responsive ── */
@media (max-width: 767px) {
    .guide-page { padding: var(--space-md) var(--space-sm); }
    .guide-steps { grid-template-columns: 1fr; }
    .guide-size__methods { grid-template-columns: 1fr; }
    .guide-card { padding: var(--space-md); }
}

@media (max-width: 480px) {
    .guide-header__title { font-size: 1.5rem; }
    .guide-section__title { font-size: 1.2rem; }
}