/*
 * Daily Deals accordion (v0.10.70).
 *
 * Banner-styled collapsible section that sits below the main banner
 * carousel on the shop page. Click to expand the rich content.
 *
 * Visual style: deliberately resembles a banner/ad block so it draws
 * attention but doesn't compete visually with vendor banners. Subtle
 * gradient + emoji + title + caret. Expanded panel sits inline (pushes
 * the products grid down rather than overlaying).
 */

.lmgf-deals-tab {
    margin: 0 auto 16px;
    border-radius: var(--lmgf-radius, 8px);
    overflow: hidden;
    /* v0.10.84: palette swap from yellow (#fff8e1 → #ffecb3 / #f1c40f)
       to soft teal centered on user-requested #A1DADF. Light-tint to
       deeper-tint gradient keeps the same banner-like feel without
       competing with vendor banners. */
    background: linear-gradient(135deg, #eaf6f8 0%, #cdebed 100%);
    border: 1px solid #A1DADF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lmgf-deals-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: background 0.15s ease;
}
.lmgf-deals-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
}
.lmgf-deals-toggle:focus-visible {
    outline: 2px solid #A1DADF;
    outline-offset: -2px;
}

.lmgf-deals-toggle-icon {
    font-size: 20px;
    margin-right: 10px;
    line-height: 1;
}
.lmgf-deals-toggle-title {
    flex: 1;
    line-height: 1.3;
}
.lmgf-deals-toggle-caret {
    font-size: 14px;
    transition: transform 0.2s ease;
    margin-left: 10px;
    color: #888;
}
.lmgf-deals-toggle[aria-expanded="true"] .lmgf-deals-toggle-caret {
    transform: rotate(180deg);
}

.lmgf-deals-panel {
    background: #fff;
    border-top: 1px solid #A1DADF;
}
.lmgf-deals-panel[hidden] {
    display: none;
}
.lmgf-deals-content {
    padding: 16px 18px;
    line-height: 1.55;
    color: #333;
}
.lmgf-deals-content :first-child { margin-top: 0; }
.lmgf-deals-content :last-child  { margin-bottom: 0; }
.lmgf-deals-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.lmgf-deals-content a {
    color: #0073aa;
    text-decoration: underline;
}
.lmgf-deals-content a:hover {
    color: #00a0d2;
}

@media (max-width: 600px) {
    .lmgf-deals-toggle {
        padding: 12px 14px;
        font-size: 15px;
    }
    .lmgf-deals-content { padding: 14px; }
}
