/* ===========================
   STOCKIST FINDER — dance line
   File: css/pages/stockists.css
=========================== */

.stk-section {
    background: #f3f0e7;
    color: #18120f;
    font-family: var(--font-heading, 'Special Elite', monospace);
    padding: clamp(2rem, 6vw, 4rem) 1.25rem 3rem;
    min-height: 60vh;
}

.stk-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Back link — a way out of the find-a-retailer page (reached from a dance PDP,
   the nav, or the landing). */
.stk-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 0.4rem;
    font-family: var(--font-heading, 'Special Elite', monospace);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: rgba(24, 18, 15, 0.7);
    text-decoration: none;
}
@media (hover: hover) {
    .stk-back:hover { color: #b9667f; text-decoration: underline; }
}

.stk-head {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 3rem);
}

.stk-overline {
    display: block;
    font-size: clamp(9px, 2vw, 12px);
    letter-spacing: 0.35em;
    text-transform: lowercase;
    color: rgba(24, 18, 15, 0.8);
    margin-bottom: 0.75rem;
}

.stk-title {
    font-family: inherit;
    font-weight: normal;
    font-size: clamp(1.8rem, 7vw, 3rem);
    text-transform: lowercase;
    margin: 0 0 0.75rem;
}

.stk-sub {
    max-width: 540px;
    margin: 0 auto;
    font-size: clamp(0.85rem, 2.8vw, 1rem);
    line-height: 1.6;
    color: rgba(24, 18, 15, 0.8);
}

.stk-group { margin-bottom: clamp(1.75rem, 5vw, 2.5rem); }

.stk-group__title {
    font-family: inherit;
    font-weight: normal;
    font-size: clamp(1rem, 3.4vw, 1.3rem);
    text-transform: lowercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid #e0a0b4;
    display: inline-block;
    padding-bottom: 2px;
    margin: 0 0 1rem;
}

.stk-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media (min-width: 600px) {
    .stk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .stk-grid { grid-template-columns: repeat(3, 1fr); }
}

.stk-card {
    border: 1px solid rgba(24, 18, 15, 0.18);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: #faf8f3;
}

.stk-card__name {
    font-family: inherit;
    font-weight: normal;
    font-size: 1rem;
    text-transform: lowercase;
    margin: 0 0 0.35rem;
}

.stk-card__addr {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(24, 18, 15, 0.8);
    overflow-wrap: break-word;   /* long store name / email can't clip the card */
}

.stk-card__links {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;   /* keep wrapped tel / website links a thumb apart */
}

.stk-card__link {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    min-height: 44px;
    color: #b9667f;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

@media (hover: hover) {
    .stk-card__link:hover { text-decoration: underline; }
}

.stk-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(24, 18, 15, 0.8);
}

.stk-empty a { color: #b9667f; }

/* Become-a-stockist strip */
.stk-retailer {
    margin-top: clamp(2.5rem, 7vw, 4rem);
    padding: clamp(1.5rem, 5vw, 2.25rem);
    background: #18120f;
    border-radius: 12px;
    text-align: center;
}

.stk-retailer__text {
    margin: 0 0 1rem;
    color: #f3f0e7;
    font-size: clamp(0.95rem, 3vw, 1.15rem);
}

.stk-retailer__btn {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.75rem;
    background: #e0a0b4;
    color: #18120f;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    -webkit-transition: background 0.2s ease, -webkit-transform 0.12s ease;
    transition: background 0.2s ease, transform 0.12s ease;
}

@media (hover: hover) {
    .stk-retailer__btn:hover {
        background: #b9667f;
        color: #f3f0e7;
        -webkit-transform: translateY(-1px);
        transform: translateY(-1px);
    }
}
