/* Yoanches Woo User Account | scoped styles only */
.ywa-account-dashboard {
    --bd-text: #171717;
    --bd-muted: #666963;
    --bd-border: #e8e7e2;
    --bd-soft: #f7f7f4;
    --bd-accent: #8d6f2d;
    --bd-accent-dark: #70551e;
    --bd-accent-soft: #fbf7ec;
    --bd-success: #248a53;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--bd-text);
    width: 100%;
    max-width: 920px;
}

.ywa-account-dashboard *,
.ywa-account-dashboard *::before,
.ywa-account-dashboard *::after { box-sizing: border-box; }

.ywa-welcome {
    padding: 0 0 28px;
    border-bottom: 1px solid var(--bd-border);
}

.ywa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--bd-accent-dark);
    font-size: 12px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .09em;
}

.ywa-icon,
.ywa-card-icon,
.ywa-button-icon,
.ywa-button-arrow,
.ywa-shortcut-icon,
.ywa-shortcut-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ywa-icon svg,
.ywa-card-icon svg,
.ywa-button-icon svg,
.ywa-button-arrow svg,
.ywa-shortcut-icon svg,
.ywa-shortcut-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ywa-icon--small svg { width: 16px; height: 16px; }

.ywa-welcome h2 {
    margin: 0 0 9px !important;
    max-width: 760px;
    color: var(--bd-text);
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em;
    font-weight: 720 !important;
}

.ywa-welcome p,
.ywa-info-card p,
.ywa-section-heading p,
.ywa-account-footer span {
    color: var(--bd-muted);
}

.ywa-welcome p {
    margin: 0 !important;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.65;
}

.ywa-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 24px 0;
}

.ywa-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 100%;
    padding: 20px;
    border: 1px solid var(--bd-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.02);
}

.ywa-info-card--support {
    background: linear-gradient(145deg, #fff 0%, var(--bd-accent-soft) 150%);
}

.ywa-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bd-soft);
    color: var(--bd-text);
}

.ywa-info-card--support .ywa-card-icon {
    background: var(--bd-accent-soft);
    color: var(--bd-accent-dark);
}

.ywa-info-card h3,
.ywa-section-heading h3 {
    margin: 1px 0 7px !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    letter-spacing: -.015em;
    font-weight: 700 !important;
}

.ywa-info-card p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.6;
}

.ywa-support-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 15px;
    padding: 11px 14px !important;
    border: 1px solid #171717 !important;
    border-radius: 10px !important;
    background: #171717 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ywa-support-button:hover {
    background: #2b2b2b !important;
    border-color: #2b2b2b !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.ywa-button-icon svg,
.ywa-button-arrow svg { width: 17px; height: 17px; }
.ywa-button-arrow { margin-left: auto; }

.ywa-support-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--bd-muted);
    font-size: 11px;
    line-height: 1.45;
}

.ywa-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--bd-success);
    box-shadow: 0 0 0 3px rgba(36,138,83,.10);
}

.ywa-admin-note {
    margin-top: 12px !important;
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--bd-soft);
    font-size: 12px !important;
}

.ywa-shortcuts {
    padding: 4px 0 0;
}

.ywa-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

.ywa-section-heading h3 { margin-bottom: 3px !important; }
.ywa-section-heading p { margin: 0 !important; font-size: 13px; }

.ywa-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ywa-shortcut-card {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px !important;
    border: 1px solid var(--bd-border);
    border-radius: 14px;
    background: #fff;
    color: var(--bd-text) !important;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ywa-shortcut-card:hover {
    border-color: #d7d4ca;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    color: var(--bd-text) !important;
    transform: translateY(-1px);
}

.ywa-shortcut-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--bd-soft);
    color: var(--bd-text);
}

.ywa-shortcut-icon svg { width: 18px; height: 18px; }

.ywa-shortcut-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.ywa-shortcut-copy strong {
    color: var(--bd-text);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.ywa-shortcut-copy small {
    color: var(--bd-muted);
    font-size: 11px;
    line-height: 1.4;
}

.ywa-shortcut-arrow { margin-left: auto; color: #999; }
.ywa-shortcut-arrow svg { width: 16px; height: 16px; }

.ywa-account-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 28px;
    padding: 16px 0 2px;
    border-top: 1px solid var(--bd-border);
    font-size: 11px;
}

.ywa-account-footer strong { color: var(--bd-text); font-weight: 700; }
.ywa-account-footer span::before { content: "•"; margin-right: 10px; color: #bbb; }

/* Fits the existing WooCommerce account layout from Twenty Twenty-Four. */
.woocommerce-account .woocommerce-MyAccount-content > .ywa-account-dashboard:first-child { margin-top: 0; }

@media (max-width: 900px) {
    .ywa-info-grid { grid-template-columns: 1fr; }
    .ywa-shortcut-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .ywa-account-dashboard { max-width: none; }
    .ywa-welcome { padding-bottom: 22px; }
    .ywa-welcome h2 { font-size: 27px !important; }
    .ywa-welcome p { font-size: 15px; }
    .ywa-info-grid { padding: 18px 0; gap: 10px; }
    .ywa-info-card { padding: 16px; border-radius: 14px; }
    .ywa-shortcut-card { min-height: 76px; }
    .ywa-account-footer { align-items: flex-start; flex-direction: column; }
    .ywa-account-footer span::before { display: none; }
}
