/*
Theme Name: AI Tools By David Storefront
Template: kadence
Version: 1.
Description: Dark-gold digital products storefront child theme for AI Tools By David.
*/

:root {
    --ait-bg: #a0b10;
    --ait-surface: #12141f;
    --ait-surface-2: #181b2a;
    --ait-border: rgba(255, 255, 255, .9);
    --ait-text: #f5f7ff;
    --ait-muted: #9ea6c2;
    --ait-gold: #f5c84b;
    --ait-accent: #7c5cff;
    --ait-green: #25d366;
}

body {
    background: #0a0b10;
    color: var(--ait-text);
}

.aitools-shell {
    max-width: 1240px;
    margin:  auto;
    padding: 24px 18px 64px;
}

.aitools-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 26px;
    border-radius: 22px;
    background: radial-gradient(circle at top right, rgba(245, 200, 75, .18), transparent 45%), linear-gradient(145deg, #131624, #0d0f18);
    border: 1px solid rgba(245, 200, 75, .22);
    margin-bottom: 20px;
}

.aitools-brand {
    display: flex;
    gap: 16px;
    align-items: center;
}

.aitools-brand img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(245, 200, 75, .4);
}

.aitools-brand h1 {
    margin: ;
    color: #fff;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.aitools-brand p {
    margin: 6px  ;
    color: var(--ait-muted);
}

.aitools-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aitools-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #191d2e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.aitools-btn.primary {
    background: linear-gradient(135deg, #f5c84b, #eab308);
    color: #11131a;
    border-color: transparent;
}

.aitools-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px ;
}

.aitools-search {
    flex: 1 1 260px;
    background: #121522;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 11px 14px;
}

.aitools-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.aitools-chip {
    border: 1px solid rgba(255, 255, 255, .12);
    background: #121522;
    color: var(--ait-muted);
    padding: 8px 13px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.aitools-chip.active {
    background: rgba(245, 200, 75, .16);
    color: var(--ait-gold);
    border-color: rgba(245, 200, 75, .5);
}

.aitools-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.aitools-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #151929, #101320);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    overflow: hidden;
    padding: 14px;
    gap: 12px;
}

.aitools-product-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    background: #0b0d15;
}

.aitools-product-card h3 {
    color: #fff;
    font-size: 1.02rem;
    margin: 8px  4px;
}

.aitools-product-category {
    color: var(--ait-muted);
    font-size: .85rem;
    margin: ;
}

.aitools-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.aitools-price {
    color: var(--ait-gold);
    font-size: 1.15rem;
    font-weight: 800;
}

.aitools-stock {
    font-size: .78rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(37, 211, 102, .14);
    color: #6ee7b7;
}
