/*
 * Amwaj Gates & Merchants - Frontend Styles
 * Version: 2.3.0
 *
 * Gates: plain text only, no boxes
 * Sub-gates: one horizontal line, compact pills
 * No carousel/scroll for gates or sub-gates
 */

/* ========================================
   CSS Variables & Base
   ======================================== */
:root {
    --amwaj-primary: #2C4795;
    --amwaj-accent: #74C3D5;
    --amwaj-bg: #F1EDE5;
    --amwaj-text: #000000;
    --amwaj-text-light: rgba(0,0,0,0.6);
    --amwaj-white: #ffffff;
    --amwaj-gray-100: #f3f4f6;
    --amwaj-gray-200: #e5e7eb;
    --amwaj-gray-300: #d1d5db;
    --amwaj-gray-500: #6b7280;
    --amwaj-radius-sm: 8px;
    --amwaj-radius-md: 12px;
    --amwaj-radius-lg: 16px;
    --amwaj-radius-full: 9999px;
    --amwaj-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --amwaj-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --amwaj-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --amwaj-transition: 200ms ease-in-out;
    --amwaj-font-heading: 'Syne', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --amwaj-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.amwaj-gates-section,
.amwaj-merchants-section {
    --amwaj-primary: var(--amwaj-primary, #2C4795);
    --amwaj-accent: var(--amwaj-accent, #74C3D5);
    --amwaj-bg: var(--amwaj-bg, #F1EDE5);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ========================================
   Community Wrapper
   ======================================== */
.amwaj-community-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px;
    font-family: var(--amwaj-font-body);
}

@media (min-width: 640px) {
    .amwaj-community-wrapper {
        padding: 48px 32px;
    }
}

@media (min-width: 1024px) {
    .amwaj-community-wrapper {
        padding: 48px;
    }
}

.amwaj-no-data {
    text-align: center;
    color: var(--amwaj-gray-500);
    padding: 40px 20px;
    font-family: var(--amwaj-font-body);
    font-size: 16px;
}

/* ========================================
   GATES SECTION
   ======================================== */
.amwaj-gates-section {
    margin-bottom: 24px;
    position: relative;
}

@media (min-width: 640px) {
    .amwaj-gates-section {
        margin-bottom: 32px;
    }
}

/* ========================================
   Gates Grid — wrap, no scroll
   ======================================== */
.amwaj-gates-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

@media (min-width: 640px) {
    .amwaj-gates-grid {
        gap: 8px;
    }
}

/* ========================================
   Gate Card — TEXT ONLY, no background/border
   ======================================== */
.amwaj-gate-card {
    cursor: pointer;
    transition: color var(--amwaj-transition);
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 6px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    min-height: auto;
    width: auto;
    border-radius: 0;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
    .amwaj-gate-card {
        padding: 8px 14px;
        gap: 6px;
    }
}

.amwaj-gate-card:hover {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.amwaj-gate-card:hover .amwaj-gate-name {
    color: var(--amwaj-text);
}

/* Hide image/overlay/placeholder */
.amwaj-gate-img,
.amwaj-gate-overlay,
.amwaj-gate-placeholder,
.amwaj-gate-has-subgate::after {
    display: none !important;
}

/* Gate venue count */
.amwaj-gate-venues {
    font-family: var(--amwaj-font-body);
    font-weight: 500;
    font-size: 10px;
    color: var(--amwaj-text-light);
    background: var(--amwaj-gray-100);
    border-radius: 10px;
    padding: 1px 6px;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .amwaj-gate-venues {
        font-size: 11px;
    }
}

.amwaj-gate-card.amwaj-gate-active .amwaj-gate-venues {
    color: var(--amwaj-primary);
    background: rgba(44, 71, 149, 0.08);
}

/* Gate content */
.amwaj-gate-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
}

@media (min-width: 640px) {
    .amwaj-gate-content {
        gap: 6px;
    }
}

.amwaj-gate-pin {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .amwaj-gate-pin {
        width: 14px;
        height: 14px;
    }
}

.amwaj-gate-name {
    font-family: var(--amwaj-font-body);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0;
    line-height: 1.3;
    white-space: nowrap;
    color: var(--amwaj-text-light);
    border-bottom: 2px solid transparent;
    transition: all var(--amwaj-transition);
}

@media (min-width: 640px) {
    .amwaj-gate-name {
        font-size: 12px;
    }
}

/* Active gate — blue underline */
.amwaj-gate-card.amwaj-gate-active {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.amwaj-gate-card.amwaj-gate-active .amwaj-gate-name {
    color: var(--amwaj-text);
    font-weight: 700;
    border-bottom-color: var(--amwaj-primary);
}

.amwaj-gate-card.amwaj-gate-active .amwaj-gate-pin {
    opacity: 1;
    color: var(--amwaj-primary);
}

/* ========================================
   GATE NAVIGATION — hidden
   ======================================== */
.amwaj-gates-nav {
    display: none !important;
}

.amwaj-gate-scroll-btn {
    display: none !important;
}

/* ========================================
   SUB-GATES PANEL
   ======================================== */
.amwaj-subgates-panel {
    margin-top: 8px;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
    animation: amwajSlideDown 0.3s ease forwards;
}

@keyframes amwajSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.amwaj-subgates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    gap: 8px;
}

.amwaj-subgates-nav {
    display: none !important;
}

.amwaj-subgate-scroll-btn {
    display: none !important;
}

.amwaj-subgates-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--amwaj-primary);
    font-family: var(--amwaj-font-body);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: var(--amwaj-radius-full);
    transition: all var(--amwaj-transition);
    -webkit-tap-highlight-color: transparent;
}

.amwaj-subgates-back:hover {
    background: var(--amwaj-gray-100);
}

.amwaj-subgates-back svg {
    width: 14px;
    height: 14px;
}

.amwaj-subgates-title {
    font-family: var(--amwaj-font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amwaj-text);
}

/* ========================================
   Sub-gates grid — ONE HORIZONTAL LINE
   ======================================== */
.amwaj-subgates-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 4px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.amwaj-subgates-grid::-webkit-scrollbar {
    display: none !important;
}

/* ========================================
   Sub-Gate Cards — compact, one line
   ======================================== */
.amwaj-subgate-card {
    flex-shrink: 0 !important;
    width: auto !important;
    border-radius: var(--amwaj-radius-full);
    cursor: pointer;
    transition: all var(--amwaj-transition);
    border: 1px solid var(--amwaj-gray-200);
    background: var(--amwaj-gray-100);
    padding: 5px 10px;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap !important;
    min-height: 28px;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
    .amwaj-subgate-card {
        padding: 6px 12px;
        gap: 4px;
        min-height: 30px;
    }
}

.amwaj-subgate-card:hover {
    background: var(--amwaj-gray-200);
    border-color: var(--amwaj-gray-300);
}

.amwaj-subgate-card.amwaj-subgate-active {
    background: var(--amwaj-white);
    border-color: var(--amwaj-primary);
    border-width: 2px;
}

.amwaj-subgate-content {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
}

.amwaj-subgate-pin {
    width: 9px;
    height: 9px;
    opacity: 0.4;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .amwaj-subgate-pin {
        width: 10px;
        height: 10px;
    }
}

.amwaj-subgate-name {
    font-family: var(--amwaj-font-body);
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0;
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    color: var(--amwaj-text-light);
}

@media (min-width: 640px) {
    .amwaj-subgate-name {
        font-size: 10px;
        max-width: 120px;
    }
}

/* HIDE venue count completely */
/* Sub-gate venue count */
.amwaj-subgate-venues {
    font-family: var(--amwaj-font-body);
    font-weight: 500;
    font-size: 8px;
    color: var(--amwaj-text-light);
    line-height: 1.2;
}

@media (min-width: 640px) {
    .amwaj-subgate-venues {
        font-size: 9px;
    }
}

.amwaj-subgate-card.amwaj-subgate-active .amwaj-subgate-venues {
    color: var(--amwaj-primary);
}

.amwaj-subgate-all-btn .amwaj-subgate-venues {
    color: rgba(255,255,255,0.8);
}

.amwaj-subgate-card.amwaj-subgate-active .amwaj-subgate-name {
    color: var(--amwaj-text);
    font-weight: 700;
}

.amwaj-subgate-card.amwaj-subgate-active .amwaj-subgate-pin {
    opacity: 1;
    color: var(--amwaj-primary);
}

/* "All" sub-gate button */
.amwaj-subgate-all-btn {
    background: var(--amwaj-primary) !important;
    border-color: var(--amwaj-primary) !important;
}

.amwaj-subgate-all-btn .amwaj-subgate-name {
    color: var(--amwaj-white) !important;
}

.amwaj-subgate-all-btn:hover {
    opacity: 0.9;
}

/* ========================================
   FILTER BAR
   ======================================== */
.amwaj-filter-bar {
    padding: 16px;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .amwaj-filter-bar {
        padding: 16px 24px;
    }
}

.amwaj-filter-label {
    font-family: var(--amwaj-font-body);
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amwaj-gray-500);
    display: block;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .amwaj-filter-label {
        font-size: 12px;
    }
}

.amwaj-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 640px) {
    .amwaj-filter-buttons {
        gap: 10px;
    }
}

.amwaj-filter-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: var(--amwaj-radius-full);
    font-family: var(--amwaj-font-body);
    font-weight: 500;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all var(--amwaj-transition);
    background: var(--amwaj-gray-100);
    color: var(--amwaj-gray-500);
    min-height: 44px;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .amwaj-filter-btn {
        font-size: 14px;
    }
}

.amwaj-filter-btn:hover {
    background: var(--amwaj-gray-200);
}

.amwaj-filter-btn.active {
    background: var(--amwaj-primary);
    color: var(--amwaj-white);
}

.amwaj-filter-btn.active:hover {
    opacity: 0.9;
    background: var(--amwaj-primary);
}

.amwaj-filter-icon {
    font-size: 14px;
    line-height: 1;
}

.amwaj-filter-count {
    font-size: 12px;
    opacity: 0.8;
}

/* ========================================
   MERCHANTS CONTAINER
   ======================================== */
.amwaj-merchants-container {
    background: var(--amwaj-white);
    border-radius: var(--amwaj-radius-lg);
    box-shadow: var(--amwaj-shadow-sm);
    border: 1px solid var(--amwaj-gray-200);
    overflow: hidden;
}

.amwaj-merchants-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--amwaj-gray-200);
}

@media (min-width: 640px) {
    .amwaj-merchants-header {
        padding: 16px 24px;
    }
}

.amwaj-merchants-title {
    font-family: var(--amwaj-font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amwaj-text);
    margin: 0;
}

@media (min-width: 640px) {
    .amwaj-merchants-title {
        font-size: 16px;
    }
}

.amwaj-merchants-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amwaj-scroll-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--amwaj-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amwaj-primary);
    border: none;
    cursor: pointer;
    transition: all var(--amwaj-transition);
    padding: 0;
}

.amwaj-scroll-btn:hover {
    background: var(--amwaj-primary);
    color: var(--amwaj-white);
}

/* ========================================
   MERCHANTS CAROUSEL
   ======================================== */
.amwaj-merchants-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.amwaj-merchants-carousel::-webkit-scrollbar {
    display: none;
}

.amwaj-merchants-carousel .amwaj-merchant-card {
    flex-shrink: 0;
    width: 260px;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .amwaj-merchants-carousel .amwaj-merchant-card {
        width: 280px;
    }
}

/* ========================================
   MERCHANTS GRID
   ======================================== */
.amwaj-merchants-grid {
    display: grid;
    gap: 16px;
    padding: 16px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .amwaj-merchants-grid {
        padding: 24px;
    }
}

@media (min-width: 768px) {
    .amwaj-merchants-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .amwaj-merchants-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.amwaj-merchants-grid .amwaj-merchant-card {
    width: 100%;
}

/* ========================================
   MERCHANT CARD
   ======================================== */
.amwaj-merchant-card {
    background: var(--amwaj-white);
    border-radius: var(--amwaj-radius-md);
    box-shadow: var(--amwaj-shadow-sm);
    overflow: hidden;
    transition: all var(--amwaj-transition);
    border: 1px solid rgba(44, 71, 149, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 640px) {
    .amwaj-merchant-card {
        border-radius: var(--amwaj-radius-lg);
    }
}

.amwaj-merchant-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--amwaj-shadow-md);
}

.amwaj-merchant-card.amwaj-hidden {
    display: none !important;
}

/* ========================================
   Merchant Cover Image
   ======================================== */
.amwaj-merchant-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amwaj-primary) 0%, var(--amwaj-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .amwaj-merchant-cover {
        aspect-ratio: 16 / 10;
    }
}

.amwaj-merchant-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.amwaj-merchant-card:hover .amwaj-merchant-cover-img {
    transform: scale(1.05);
}

.amwaj-merchant-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.amwaj-merchant-cover-placeholder span {
    font-family: var(--amwaj-font-heading);
    font-weight: 700;
    font-size: 28px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   Merchant Badges
   ======================================== */
.amwaj-merchant-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    z-index: 10;
}

@media (min-width: 640px) {
    .amwaj-merchant-badges {
        top: 12px;
        left: 12px;
    }
}

.amwaj-badge {
    font-family: var(--amwaj-font-body);
    font-weight: 600;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amwaj-white);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (min-width: 640px) {
    .amwaj-badge {
        padding: 4px 10px;
    }
}

.amwaj-badge-new { background: var(--amwaj-accent); }
.amwaj-badge-featured { background: var(--amwaj-primary); }

/* ========================================
   Merchant Logo
   ======================================== */
.amwaj-merchant-logo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--amwaj-white);
    border: 2px solid var(--amwaj-white);
    box-shadow: var(--amwaj-shadow-sm);
    z-index: 10;
}

@media (min-width: 640px) {
    .amwaj-merchant-logo {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
}

.amwaj-merchant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Merchant Info
   ======================================== */
.amwaj-merchant-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .amwaj-merchant-info {
        padding: 16px;
    }
}

.amwaj-merchant-category {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

@media (min-width: 640px) {
    .amwaj-merchant-category { gap: 6px; }
}

.amwaj-cat-icon { font-size: 12px; line-height: 1; }

@media (min-width: 640px) {
    .amwaj-cat-icon { font-size: 14px; }
}

.amwaj-cat-name {
    font-family: var(--amwaj-font-body);
    font-weight: 400;
    font-size: 11px;
    color: var(--amwaj-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .amwaj-cat-name { font-size: 12px; }
}

.amwaj-merchant-name {
    font-family: var(--amwaj-font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--amwaj-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .amwaj-merchant-name { font-size: 16px; }
}

.amwaj-merchant-desc {
    font-family: var(--amwaj-font-body);
    font-weight: 400;
    font-size: 13px;
    color: rgba(0,0,0,0.7);
    margin: 4px 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 640px) {
    .amwaj-merchant-desc { font-size: 14px; margin-top: 6px; }
}

/* ========================================
   Merchant Location
   ======================================== */
.amwaj-merchant-location {
    margin-top: 8px;
    border-radius: var(--amwaj-radius-sm);
    background: rgba(241, 237, 229, 0.7);
    padding: 8px 10px;
    border: 1px solid rgba(44, 71, 149, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--amwaj-primary);
}

@media (min-width: 640px) {
    .amwaj-merchant-location { margin-top: 12px; }
}

.amwaj-location-pin {
    flex-shrink: 0;
    margin-top: 1px;
    width: 14px;
    height: 14px;
}

.amwaj-location-details { min-width: 0; }

.amwaj-location-gate {
    font-family: var(--amwaj-font-body);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    display: block;
}

@media (min-width: 640px) {
    .amwaj-location-gate { font-size: 12px; }
}

.amwaj-location-address {
    font-family: var(--amwaj-font-body);
    font-size: 10px;
    color: var(--amwaj-text-light);
    margin-top: 2px;
    line-height: 1.3;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .amwaj-location-address { font-size: 12px; }
}

/* ========================================
   Merchant Hours
   ======================================== */
.amwaj-merchant-hours {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-top: 1px solid var(--amwaj-gray-200);
    color: var(--amwaj-gray-500);
    font-family: var(--amwaj-font-body);
    font-size: 11px;
}

@media (min-width: 640px) {
    .amwaj-merchant-hours { padding: 8px 16px; font-size: 12px; }
}

.amwaj-merchant-hours svg { flex-shrink: 0; width: 12px; height: 12px; }

@media (min-width: 640px) {
    .amwaj-merchant-hours svg { width: 14px; height: 14px; }
}

/* ========================================
   Merchant Contact Links
   ======================================== */
.amwaj-merchant-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid var(--amwaj-gray-200);
}

.amwaj-contact-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--amwaj-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amwaj-primary);
    text-decoration: none;
    transition: all var(--amwaj-transition);
}

.amwaj-contact-link:hover {
    background: var(--amwaj-primary);
    color: var(--amwaj-white);
}

/* ========================================
   Animations
   ======================================== */
@keyframes amwajFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.amwaj-merchant-card { animation: amwajFadeIn 0.3s ease forwards; }

.amwaj-merchant-card:nth-child(1) { animation-delay: 0ms; }
.amwaj-merchant-card:nth-child(2) { animation-delay: 50ms; }
.amwaj-merchant-card:nth-child(3) { animation-delay: 100ms; }
.amwaj-merchant-card:nth-child(4) { animation-delay: 150ms; }
.amwaj-merchant-card:nth-child(5) { animation-delay: 200ms; }
.amwaj-merchant-card:nth-child(6) { animation-delay: 250ms; }
.amwaj-merchant-card:nth-child(7) { animation-delay: 300ms; }
.amwaj-merchant-card:nth-child(8) { animation-delay: 350ms; }
.amwaj-merchant-card:nth-child(9) { animation-delay: 400ms; }
.amwaj-merchant-card:nth-child(10) { animation-delay: 450ms; }
.amwaj-merchant-card:nth-child(11) { animation-delay: 500ms; }
.amwaj-merchant-card:nth-child(12) { animation-delay: 550ms; }

/* ========================================
   Clickable Merchant Links
   ======================================== */
.amwaj-merchant-cover-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
}

.amwaj-merchant-link {
    color: var(--amwaj-text);
    text-decoration: none;
    transition: color var(--amwaj-transition);
}

.amwaj-merchant-link:hover { color: var(--amwaj-primary); }

.amwaj-merchant-name { position: relative; z-index: 6; }

.amwaj-merchant-name a { color: inherit; text-decoration: none; }
.amwaj-merchant-name a:hover { color: var(--amwaj-primary); }

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .amwaj-filter-bar,
    .amwaj-merchants-nav,
    .amwaj-gates-nav,
    .amwaj-subgates-nav { display: none !important; }
    .amwaj-merchants-carousel { overflow: visible !important; flex-wrap: wrap !important; }
    .amwaj-merchant-card { break-inside: avoid; }
}