/* Buxtons Free Gift Promo - v2.0.0 */

/* ============================================
   Base Notice - Tailwind-like utility approach
   ============================================ */
.bfgp-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    margin: 0.75rem 0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bfgp-notice:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.bfgp-notice__images {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

.bfgp-notice__image {
    flex-shrink: 0;
}

.bfgp-notice__image img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.bfgp-notice__content {
    flex: 1;
    min-width: 0;
}

.bfgp-notice__title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.125rem;
}

.bfgp-notice__text {
    font-size: 0.85rem;
    line-height: 1.4;
}

.bfgp-notice__text a {
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

.bfgp-notice__text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   Theme: Default (Brand Green)
   ============================================ */
.bfgp-notice--default {
    background-color: #f0f7e8;
    border-left-color: #94be57;
    color: #2d3b1a;
}

.bfgp-notice--default .bfgp-notice__icon {
    background-color: #94be57;
    color: #ffffff;
}

.bfgp-notice--default .bfgp-notice__title {
    color: #5a7a2e;
}

.bfgp-notice--default .bfgp-notice__text a {
    color: #5a7a2e;
}

/* ============================================
   Theme: Valentines (Rose / Pink)
   ============================================ */
.bfgp-notice--valentines {
    background: linear-gradient(135deg, #fff0f3 0%, #fce4ec 100%);
    border-left-color: #e91e63;
    color: #4a0e23;
}

.bfgp-notice--valentines .bfgp-notice__icon {
    background-color: #e91e63;
    color: #ffffff;
}

.bfgp-notice--valentines .bfgp-notice__title {
    color: #c2185b;
}

.bfgp-notice--valentines .bfgp-notice__text a {
    color: #c2185b;
}

/* ============================================
   Theme: Easter (Pastel Lavender / Spring)
   ============================================ */
.bfgp-notice--easter {
    background: linear-gradient(135deg, #f3e5f5 0%, #e8f5e9 100%);
    border-left-color: #ab47bc;
    color: #2e1a3b;
}

.bfgp-notice--easter .bfgp-notice__icon {
    background-color: #ab47bc;
    color: #ffffff;
}

.bfgp-notice--easter .bfgp-notice__title {
    color: #7b1fa2;
}

.bfgp-notice--easter .bfgp-notice__text a {
    color: #7b1fa2;
}

/* ============================================
   Theme: Christmas (Red / Green / Gold)
   ============================================ */
.bfgp-notice--christmas {
    background: linear-gradient(135deg, #fdf2f2 0%, #f0fdf0 100%);
    border-left-color: #c62828;
    color: #1b1b1b;
}

.bfgp-notice--christmas .bfgp-notice__icon {
    background-color: #2e7d32;
    color: #ffffff;
}

.bfgp-notice--christmas .bfgp-notice__title {
    color: #c62828;
}

.bfgp-notice--christmas .bfgp-notice__text a {
    color: #2e7d32;
}

/* ============================================
   Theme: Black Friday (Dark / Gold accent)
   ============================================ */
.bfgp-notice--black-friday {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-left-color: #ffc107;
    color: #f5f5f5;
}

.bfgp-notice--black-friday .bfgp-notice__icon {
    background-color: #ffc107;
    color: #1a1a1a;
}

.bfgp-notice--black-friday .bfgp-notice__title {
    color: #ffc107;
}

.bfgp-notice--black-friday .bfgp-notice__text {
    color: #e0e0e0;
}

.bfgp-notice--black-friday .bfgp-notice__text a {
    color: #ffc107;
}

.bfgp-notice--black-friday .bfgp-notice__image img {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Theme: New Year (Navy / Silver / Gold)
   ============================================ */
.bfgp-notice--new-year {
    background: linear-gradient(135deg, #e8eaf6 0%, #fdf6e3 100%);
    border-left-color: #1a237e;
    color: #1a1a2e;
}

.bfgp-notice--new-year .bfgp-notice__icon {
    background-color: #1a237e;
    color: #ffd54f;
}

.bfgp-notice--new-year .bfgp-notice__title {
    color: #1a237e;
}

.bfgp-notice--new-year .bfgp-notice__text a {
    color: #1a237e;
}

/* ============================================
   Admin Theme Previews
   ============================================ */
.bfgp-theme-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.bfgp-theme-preview--default {
    background-color: #f0f7e8;
    color: #5a7a2e;
    border: 1px solid #94be57;
}

.bfgp-theme-preview--valentines {
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #e91e63;
}

.bfgp-theme-preview--easter {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #ab47bc;
}

.bfgp-theme-preview--christmas {
    background-color: #fdf2f2;
    color: #c62828;
    border: 1px solid #c62828;
}

.bfgp-theme-preview--black-friday {
    background-color: #1a1a1a;
    color: #ffc107;
    border: 1px solid #ffc107;
}

.bfgp-theme-preview--new-year {
    background-color: #e8eaf6;
    color: #1a237e;
    border: 1px solid #1a237e;
}

/* Variation Modal Styles */
.bfgp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bfgp-modal {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.bfgp-modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #94be57;
}

.bfgp-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
}

.bfgp-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.bfgp-modal-close:hover {
    color: #333;
}

.bfgp-modal-body {
    margin-bottom: 20px;
}

.bfgp-variation-option {
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bfgp-variation-option:hover {
    border-color: #94be57;
    background: #f9f9f9;
}

.bfgp-variation-option.selected {
    border-color: #94be57;
    background: #f0f7e8;
}

.bfgp-variation-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.bfgp-variation-price {
    color: #666;
    font-size: 14px;
}

.bfgp-variation-price del {
    margin-right: 8px;
}

.bfgp-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.bfgp-btn {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.bfgp-btn-primary {
    background: #94be57;
    color: white;
}

.bfgp-btn-primary:hover {
    background: #7fa647;
}

.bfgp-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.bfgp-btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.bfgp-btn-secondary:hover {
    background: #d0d0d0;
}

/* Loading State */
.bfgp-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .bfgp-modal {
        padding: 20px;
        width: 95%;
    }
    
    .bfgp-modal-header h3 {
        font-size: 18px;
    }
    
    .bfgp-variation-option {
        padding: 12px;
    }
}
