/* ============================================
   PRIMARY FONT - VAZIRMATN
   ============================================ */
* {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* ============================================
   PODRA SHOP HEADER
   ============================================ */

.podra-shop-header {
    width: 100% !important;
    height: 72px !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.podra-shop-header-container {
    width: 100% !important;
    max-width: 1200px !important; /* Reduced from 1400px for more compact layout */
    margin: 0 auto !important;
    padding: 0 4rem !important; /* Increased from 2rem for more breathing room */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem !important;
    height: 100% !important;
}

/* ============================================
   LOGO & BRAND AREA (Right for RTL)
   ============================================ */

.podra-shop-header-brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.podra-shop-brand-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
}

.podra-shop-brand-link:hover {
    opacity: 0.8 !important;
}

.podra-shop-logo {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.podra-shop-brand-text {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 21px !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
}

.podra-shop-brand-label {
    color: #6B7280 !important; /* Neutral dark gray */
}

.podra-shop-brand-name {
    color: #6BCB3D !important; /* Brand primary green */
}

/* ============================================
   SEARCH BAR (Center)
   ============================================ */

.podra-shop-header-search {
    flex: 1 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.podra-shop-search-form {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.podra-shop-search-input {
    width: 100% !important;
    height: 44px !important;
    padding: 0 50px 0 16px !important; /* RTL: padding on right for icon */
    border: 1px solid #E5E7EB !important;
    border-radius: 9999px !important; /* Fully rounded */
    background: #FFFFFF !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    color: #1F2937 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    direction: rtl !important;
    text-align: right !important;
}

.podra-shop-search-input::placeholder {
    color: #9CA3AF !important;
}

.podra-shop-search-input:focus {
    border-color: #6BCB3D !important;
    box-shadow: 0 0 0 3px rgba(107, 203, 61, 0.1) !important;
}

.podra-shop-search-button {
    position: absolute !important;
    right: 8px !important; /* RTL: icon on right side */
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    padding: 0 !important;
}

.podra-shop-search-button:hover {
    background: #F3F4F6 !important;
    color: #374151 !important;
}

.podra-shop-search-button svg {
    width: 20px !important;
    height: 20px !important;
}

/* ============================================
   EXTERNAL LINK & ICONS (Right for RTL)
   ============================================ */

.podra-shop-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex-shrink: 0 !important;
    flex-direction: row-reverse !important; /* Reverse order for RTL: icons first, then link */
}

.podra-shop-external-link {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6B7280 !important; /* Medium gray */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.podra-shop-external-link:hover {
    color: #374151 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
}

.podra-shop-icon-button {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: #374151 !important; /* Dark gray */
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    padding: 0 !important;
}

.podra-shop-icon-button:hover {
    background: #F3F4F6 !important;
    opacity: 0.8 !important;
}

.podra-shop-icon-button svg {
    width: 24px !important;
    height: 24px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 992px) {
    .podra-shop-header-container {
        padding: 0 2rem !important; /* Reduced padding on tablets */
        gap: 1.5rem !important;
    }
    
    .podra-shop-header-search {
        max-width: 400px !important;
    }
    
    .podra-shop-brand-text {
        font-size: 20px !important;
    }
    
    .podra-shop-logo {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width: 768px) {
    .podra-shop-header {
        height: 64px !important;
    }
    
    .podra-shop-header-container {
        padding: 0 1rem !important;
        gap: 1rem !important;
    }
    
    .podra-shop-header-search {
        max-width: none !important;
        flex: 1 !important;
    }
    
    .podra-shop-brand-text {
        font-size: 18px !important;
    }
    
    .podra-shop-logo {
        width: 32px !important;
        height: 32px !important;
    }
    
    .podra-shop-external-link {
        font-size: 12px !important;
    }
    
    .podra-shop-icon-button {
        width: 36px !important;
        height: 36px !important;
    }
    
    .podra-shop-icon-button svg {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 480px) {
    .podra-shop-external-link {
        display: none !important; /* Hide external link on very small screens */
    }
    
    .podra-shop-header-actions {
        gap: 0.75rem !important;
    }
}

