/**
 * AllPay - Template Aziende Styles (v2 - Facebook-style profile)
 *
 * @package AllPay
 */

/* ============================================
   CSS VARIABLES (scoped to .az-page)
   ============================================ */
.az-page {
    --az-primary-blue: #1a73e8;
    --az-dark-navy: #1a2332;
    --az-soft-white: #f8f9fa;
    --az-border-light: #e4e6eb;
    --az-text-primary: #1c1e21;
    --az-text-secondary: #65676b;
    --az-accent-gold: #c9a86a;
    --az-shadow-soft: 0 2px 12px rgba(0,0,0,0.08);
    --az-shadow-elevated: 0 4px 24px rgba(0,0,0,0.12);

    /* Skeleton */
    --az-skeleton-base: #e0e0e0;
    --az-skeleton-shimmer: #f5f5f5;
    --az-skeleton-gradient: linear-gradient(90deg, var(--az-skeleton-base) 0%, var(--az-skeleton-shimmer) 50%, var(--az-skeleton-base) 100%);

    /* AllPay brand (for flyer & modal) */
    --allpay-blue: #1E5BA8;
    --allpay-blue-dark: #154684;
    --allpay-green: #1E7A3E;
    --allpay-green-dark: #166130;
    --allpay-gradient: linear-gradient(135deg, var(--allpay-blue) 0%, var(--allpay-green) 100%);
    --allpay-gradient-hover: linear-gradient(135deg, var(--allpay-blue-dark) 0%, var(--allpay-green-dark) 100%);
}

/* ============================================
   SKELETON LOADING ANIMATIONS
   ============================================ */
@keyframes az-shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.az-skeleton {
    background: var(--az-skeleton-gradient);
    background-size: 1000px 100%;
    animation: az-shimmer 2s infinite linear;
    border-radius: 4px;
    display: inline-block;
}

.az-skeleton-text-sm { height: 0.875rem; width: 60%; }
.az-skeleton-text-md { height: 1rem; width: 80%; }
.az-skeleton-text-lg { height: 1.5rem; width: 70%; }
.az-skeleton-text-full { height: 1rem; width: 100%; }

.az-skeleton-circle { width: 40px; height: 40px; border-radius: 50%; }
.az-skeleton-circle-sm { width: 32px; height: 32px; border-radius: 50%; }
.az-skeleton-circle-lg { width: 180px; height: 180px; border-radius: 50%; }

.az-skeleton-offer-image { width: 100%; height: 100%; border-radius: 0; }
.az-skeleton-flyer-page { width: 280px; height: 396px; border-radius: 4px; }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes az-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes az-slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PAGE BASE
   ============================================ */
.az-page {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--az-text-primary);
    line-height: 1.6;
    background: white;
    padding: 0;
    margin-top: 80px;
}

body.admin-bar .az-page {
    margin-top: 112px;
}

/* ============================================
   CONTAINER
   ============================================ */
.az-container {
    width: 100%;
    background: white;
    overflow: hidden;
    animation: az-fadeIn 0.6s ease-out;
}

/* ============================================
   COVER SECTION (immagine copertina Facebook-style)
   ============================================ */
.az-cover-section {
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, var(--az-dark-navy) 0%, #2d3e50 50%, var(--az-dark-navy) 100%);
    overflow: hidden;
}

.az-cover-image-skeleton {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.az-cover-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.az-cashback-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(46,125,50,0.3);
    animation: az-slideUp 0.8s ease-out 0.8s both;
    z-index: 2;
}

.az-badge-icon {
    font-size: 2rem;
}

.az-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================
   PROFILE SECTION
   ============================================ */
.az-profile-section {
    padding: 24px 40px 32px;
    border-bottom: 1px solid var(--az-border-light);
    position: relative;
}

.az-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.az-profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--az-primary-blue) 0%, #1557b0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(26,115,232,0.2);
    margin-top: -90px;
    border: 6px solid white;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.az-profile-pic:hover {
    transform: scale(1.05);
}

.az-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.az-profile-info {
    flex: 1;
    padding-top: 10px;
}

.az-profile-name {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--az-text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.az-verified-badge {
    width: 24px;
    height: 24px;
    background: var(--az-primary-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.az-profile-category {
    color: var(--az-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.az-profile-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.az-profile-contact-item {
    color: var(--az-text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.az-profile-contact-item:hover {
    color: var(--az-primary-blue);
}

.az-profile-contact-item i {
    font-size: 0.8rem;
    color: var(--az-primary-blue);
}

.az-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.az-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.az-btn-primary {
    background: var(--az-primary-blue);
    color: white;
}

.az-btn-primary:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

.az-btn-secondary {
    background: var(--az-soft-white);
    color: var(--az-text-primary);
    border: 1px solid var(--az-border-light);
}

.az-btn-secondary:hover {
    background: #e8e8e8;
}

/* ============================================
   INFO SECTION
   ============================================ */
.az-info-section {
    padding: 32px 40px;
}

.az-section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--az-text-primary);
}

.az-info-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.az-info-title-row .az-section-title {
    margin-bottom: 0;
}

.az-category-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.az-category-badge {
    background: var(--az-soft-white);
    color: var(--az-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--az-border-light);
    white-space: nowrap;
}

.az-welcome-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--az-text-primary);
    margin-bottom: 20px;
}

.az-welcome-text strong {
    color: var(--az-primary-blue);
    font-weight: 600;
}

.az-cashback-highlight {
    background: linear-gradient(135deg, #fef7e6 0%, #fff5db 100%);
    border-left: 4px solid var(--az-accent-gold);
    padding: 20px 24px;
    border-radius: 8px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.az-highlight-icon {
    font-size: 2.5rem;
}

.az-highlight-text {
    flex: 1;
}

.az-social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

.az-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.az-social-icon.globe {
    background: #c1f3f5;
}

.az-social-icon.facebook {
    background: #1877f2;
}

.az-social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.az-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.az-website-link {
    color: var(--az-primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-left: 8px;
    transition: color 0.3s ease;
}

.az-website-link:hover {
    color: #1557b0;
    text-decoration: underline;
}

/* ============================================
   OFFERS SECTION (Prodotti)
   ============================================ */
.az-offers-section {
    padding: 32px 40px;
    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
}

.az-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.az-offer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--az-shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
}

.az-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--az-shadow-elevated);
}

.az-offer-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.az-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.az-offer-card:nth-child(1) .az-offer-image { background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%); }
.az-offer-card:nth-child(2) .az-offer-image { background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%); }
.az-offer-card:nth-child(3) .az-offer-image { background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%); }
.az-offer-card:nth-child(4) .az-offer-image { background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%); }

.az-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    color: var(--az-dark-navy);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.az-offer-content {
    padding: 20px;
}

.az-offer-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--az-text-primary);
    margin-bottom: 8px;
}

.az-offer-description {
    font-size: 0.9rem;
    color: var(--az-text-secondary);
    line-height: 1.5;
}

.az-offer-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.az-offer-original-price {
    font-size: 0.9rem;
    color: var(--az-text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.az-offer-current-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--az-primary-blue);
}


/* ============================================
   FLYER / VOLANTINO SECTION
   ============================================ */
.az-flyer-section {
    padding: 40px 40px 32px;
    background: var(--az-soft-white);
    border-top: 1px solid var(--az-border-light);
}

.az-flyer-header {
    text-align: center;
    margin-bottom: 24px;
}

.az-flyer-header .az-section-title {
    margin-bottom: 8px;
}

.az-flyer-subtitle {
    font-size: 0.95rem;
    color: var(--az-text-secondary);
    margin: 0;
}

.az-flyer-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.az-flyer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.az-flyer-skeleton {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.az-flyer-loading-text {
    margin-top: 20px;
    color: var(--az-text-secondary);
    font-size: 0.9rem;
}

.az-flyer-flipbook {
    display: block;
    margin: 0 auto;
}

.az-flyer-flipbook .flyer-page {
    background: #fff;
    overflow: hidden;
}

.az-flyer-flipbook .flyer-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.az-flyer-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--az-text-secondary);
}

.az-flyer-error i {
    font-size: 2.5rem;
    color: var(--az-primary-blue);
    margin-bottom: 16px;
    opacity: 0.5;
}

.az-flyer-error p {
    font-size: 1rem;
    margin: 0;
}

.az-flyer-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding: 0 16px;
}

.az-flyer-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(26,115,232,0.2);
    background: white;
    color: var(--az-primary-blue);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.az-flyer-nav-btn:hover:not(:disabled) {
    background: var(--az-primary-blue);
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(26,115,232,0.3);
}

.az-flyer-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.az-flyer-page-info {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--az-text-secondary);
    white-space: nowrap;
}

.az-flyer-page-info span {
    color: var(--az-primary-blue);
    font-weight: 700;
}

/* StPageFlip overrides */
.az-flyer-section .stf__parent {
    margin: 0 auto;
}

.az-flyer-section .stf__parent .stf__block {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-radius: 2px;
}

/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */
.az-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.az-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.az-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
}

.az-modal-overlay.active .az-modal-content {
    transform: translateY(0) scale(1);
}

.az-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--az-text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.az-modal-close-btn:hover {
    background: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.az-modal-body {
    display: flex;
    flex-direction: row;
}

.az-modal-product-image {
    flex: 0 0 45%;
    position: relative;
    background: var(--az-soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.az-modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-modal-cashback-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--allpay-gradient);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(30,91,168,0.4);
}

.az-modal-product-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.az-modal-product-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(26,115,232,0.1);
    border-radius: 50px;
    color: var(--az-primary-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    align-self: flex-start;
}

.az-modal-product-name {
    font-family: 'Crimson Pro', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--az-text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.az-modal-description-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--az-border-light);
}

.az-modal-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--az-primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.az-modal-section-title i {
    font-size: 0.8rem;
    color: var(--allpay-green);
}

.az-modal-product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--az-text-secondary);
    margin-bottom: 0;
}

.az-modal-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: auto;
}

.az-detail-item {
    background: var(--az-soft-white);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid var(--az-border-light);
}

.az-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--az-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.az-detail-label i {
    color: var(--az-primary-blue);
    margin-right: 4px;
}

.az-detail-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--az-text-primary);
}

.az-detail-value-highlight {
    color: var(--az-primary-blue);
}

.az-modal-original-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.5;
    margin-right: 4px;
    color: var(--az-text-secondary);
}

/* Cashback conditions section */
.az-modal-cashback-conditions {
    margin-top: 1.5rem;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26,115,232,0.05) 0%, rgba(30,122,62,0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(26,115,232,0.1);
}

.az-cashback-conditions-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.az-cashback-condition-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--az-text-secondary);
}

.az-cashback-condition-item i {
    color: var(--allpay-green);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.az-cashback-condition-item strong {
    color: var(--az-primary-blue);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE - 991px
   ============================================ */
@media (max-width: 991px) {
    .az-modal-content {
        max-width: 600px;
    }

    .az-modal-body {
        flex-direction: column;
    }

    .az-modal-product-image {
        flex: none;
        min-height: 250px;
        border-radius: 16px 16px 0 0;
    }

    .az-modal-product-info {
        padding: 30px;
    }

    .az-modal-product-name {
        font-size: 1.5rem;
    }

    .az-skeleton-flyer-page {
        width: 220px;
        height: 311px;
    }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
    .az-cover-section {
        height: auto;
        min-height: 200px;
    }

    .az-profile-section,
    .az-info-section,
    .az-offers-section {
        padding: 24px 20px;
    }

    .az-profile-pic {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
        margin-top: -60px;
    }

    .az-skeleton-circle-lg {
        width: 120px;
        height: 120px;
    }

    .az-profile-name {
        font-size: 1.5rem;
    }

    .az-cashback-badge {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        gap: 6px;
        border-radius: 8px;
    }

    .az-badge-icon {
        font-size: 1.2rem;
    }

    .az-badge-text {
        font-size: 0.7rem;
    }

    .az-offers-grid {
        grid-template-columns: 1fr;
    }

    .az-flyer-section {
        padding: 30px 20px;
    }

    .az-flyer-skeleton {
        flex-direction: column;
        align-items: center;
    }

    .az-skeleton-flyer-page {
        width: 240px;
        height: 340px;
    }

    .az-skeleton-flyer-page:nth-child(2) {
        display: none;
    }

    .az-flyer-controls {
        gap: 16px;
        margin-top: 20px;
    }

    .az-flyer-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .az-flyer-page-info {
        font-size: 0.85rem;
    }

    /* Modal 768 */
    .az-modal-overlay {
        padding: 16px;
    }

    .az-modal-content {
        max-height: 85vh;
    }

    .az-modal-product-image {
        min-height: 200px;
    }

    .az-modal-product-info {
        padding: 24px;
    }

    .az-modal-product-name {
        font-size: 1.25rem;
    }

    .az-modal-details-grid {
        gap: 12px;
    }

    .az-detail-value {
        font-size: 1.25rem;
    }

    .az-modal-cashback-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
}

/* ============================================
   RESPONSIVE - 575px
   ============================================ */
@media (max-width: 575px) {
    .az-cover-section {
        height: auto;
        min-height: 160px;
    }

    .az-skeleton-flyer-page {
        width: 200px;
        height: 283px;
    }

    .az-modal-overlay {
        padding: 8px;
    }

    .az-modal-content {
        border-radius: 16px;
        max-height: 90vh;
    }

    .az-modal-product-image {
        min-height: 180px;
        border-radius: 16px 16px 0 0;
    }

    .az-modal-product-info {
        padding: 20px;
    }

    .az-modal-product-name {
        font-size: 1.125rem;
    }

    .az-modal-product-description {
        font-size: 0.9rem;
    }

    .az-modal-details-grid {
        grid-template-columns: 1fr;
    }

    .az-modal-close-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .az-modal-cashback-conditions {
        padding: 16px;
        margin-top: 1rem;
    }

    .az-modal-section-title {
        font-size: 0.8rem;
    }

    .az-cashback-condition-item {
        font-size: 0.85rem;
    }
}
