/* ==========================================================
   Category Grid 15 — Corner Badge
   ========================================================== */
.ahcat15-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1px 16px 64px;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ahcat15-section * { box-sizing: border-box; }

.ahcat15-head { margin-bottom: 36px; text-align: center; }
.ahcat15-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7a7066;
}
.ahcat15-heading {
    margin: 6px 0 8px;
    font-family: inherit;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #1c1917;
}
.ahcat15-intro {
    margin: 0 auto;
    max-width: 460px;
    font-size: 15px;
    line-height: 1.6;
    color: #6b635b;
}

.ahcat15-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ahcat15-card {
    --ahcat15-bg: #F3EEE7;
    --ahcat15-mid: #E4DDD3;
    --ahcat15-acc: #1c1917;
    --ahcat15-ink: #1c1917;
    text-decoration: none;
}
.ahcat15-card:hover,
.ahcat15-card:focus { text-decoration: none; }
.ahcat15-card:focus-visible {
    outline: 3px solid #1c1917;
    outline-offset: 5px;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .ahcat15-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ahcat15-heading { font-size: 26px; }
    .ahcat15-grid { gap: 16px 12px; }
}

.ahcat15-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ece7e1;
    transition: transform .35s ease, box-shadow .35s ease;
}
.ahcat15-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 19px 19px 0 0;
    overflow: hidden;
    background: var(--ahcat15-bg);
}
.ahcat15-section .ahcat15-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform .6s ease;
}
.ahcat15-body {
    position: relative;
    flex: 1;
    padding: 22px 18px 20px;
    border-top: 4px solid var(--ahcat15-acc);
}
.ahcat15-go {
    position: absolute;
    right: 16px;
    top: -30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ahcat15-ink);
    color: #fff;
    font-size: 22px;
    border: 5px solid #fff;
    transition: transform .35s ease, background .35s;
}
.ahcat15-title {
    margin: 0 0 4px;
    font-family: inherit;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: #1c1917;
    padding-right: 50px;
}
.ahcat15-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b635b;
}
.ahcat15-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px -18px rgba(28, 25, 23, .35); }
.ahcat15-section .ahcat15-card:hover .ahcat15-media img { transform: scale(1.07); }
.ahcat15-card:hover .ahcat15-go { transform: rotate(-45deg) scale(1.08); background: var(--ahcat15-acc); }

@media (max-width: 600px) {
    .ahcat15-card { border-radius: 14px; }
    .ahcat15-media { border-radius: 13px 13px 0 0; aspect-ratio: 1; }
    .ahcat15-body { padding: 16px 10px 12px; border-top-width: 3px; }
    .ahcat15-go { width: 40px; height: 40px; font-size: 16px; top: -22px; right: 8px; border-width: 3px; }
    .ahcat15-title { font-size: 15px; padding-right: 0; }
    .ahcat15-desc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ahcat15-card, .ahcat15-media img, .ahcat15-go { transition: none; }
}

/* --- Header alignment helper (set by the Header Alignment control) --- */
.ahcat15-intro { margin-left: var(--ahcat15-intro-l, auto); margin-right: var(--ahcat15-intro-r, auto); }

/* --- Alignment: match plugin containers (Product Card 1–7, Category Grid 1–9): full width, 65px sides, 5px on mobile --- */
.ahcat15-section { max-width: 100%; padding-left: 65px; padding-right: 65px; }
@media (max-width: 768px) {
    .ahcat15-section { padding: 1px; }
}
