/* Trendyol-Inspired Product Card Styles */
:root {
    --ty-orange: #f27a1a;
    --ty-orange-light: #fff4eb;
    --ty-orange-dark: #e06c10;
    --ty-green: #0bc15c;
    --ty-green-light: #e8f8ef;
    --ty-red: #f53b57;
    --ty-gray: #999;
    --ty-gray-light: #666;
    --ty-dark: #333;
    --ty-border: #e8e8e8;
    --ty-bg: #fafafa;
    --ty-star: #ffc107;
}

/* ========================================
   GLOBAL PRICE COLOR OVERRIDE - TRENDYOL ORANGE
   ======================================== */

/* Override ALL red price colors to Trendyol Orange */
.text-accent,
.text-accent.text-dark,
.discounted_unit_price,
.product-price .text-accent,
.cart_product .text-accent,
.flash-product-price,
span.text-accent,
.price-range .text-accent,
.customer-profile-wishlist .price-range .discounted_unit_price {
    color: var(--ty-orange) !important;
    font-weight: 700 !important;
}

/* Product detail page prices */
.product-details-content .text-accent,
.product-details-content .discounted_unit_price,
.product__price .text-accent,
.product__price .discounted_unit_price {
    color: var(--ty-orange) !important;
    font-weight: 700 !important;
}

/* Cart and checkout prices */
.cart-total .text-accent,
.checkout-price .text-accent,
.order-summary .text-accent {
    color: var(--ty-orange) !important;
}

/* Flash deal prices */
.flash-deals .text-accent,
.flash-deal-product .text-accent {
    color: var(--ty-orange) !important;
}

/* Sale badges - keep orange theme */
.badge-sale,
.sale-badge {
    background: var(--ty-orange) !important;
}

/* Original/strikethrough prices - gray */
del,
.original-price,
strike,
.text-muted.text-decoration-line-through {
    color: var(--ty-gray) !important;
}

/* ========================================
   HEADER LOGO STYLING - TRENDYOL INSPIRED
   ======================================== */

.ty-brand-logo,
.ty-brand-logo-mobile {
    text-decoration: none !important;
    display: flex !important;
}

.ty-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ty-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ty-brand-logo:hover .ty-logo-img {
    transform: scale(1.05);
}

.ty-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ty-brand-name-primary {
    font-size: 22px;
    font-weight: 800;
    color: var(--ty-orange);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.ty-brand-name-secondary {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Mobile logo adjustments */
.ty-brand-logo-mobile .ty-logo-img {
    height: 32px;
}

.ty-brand-logo-mobile .ty-brand-name-primary {
    font-size: 18px;
}

.ty-brand-logo-mobile .ty-brand-name-secondary {
    font-size: 11px;
    letter-spacing: 1.5px;
}

@media (max-width: 767px) {
    .ty-logo-container {
        gap: 6px;
    }

    .ty-brand-name-primary {
        font-size: 16px;
    }

    .ty-brand-name-secondary {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* ========================================
   ENHANCED PRODUCT CARD FEATURES
   ======================================== */

/* Product Card Container */
.ty-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.ty-product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--ty-border);
    transform: translateY(-2px);
}

/* Image Container */
.ty-product-card .ty-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ty-bg);
}

.ty-product-card .ty-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ty-product-card:hover .ty-image-container img {
    transform: scale(1.08);
}

/* Badges Container */
.ty-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
}

html[dir="rtl"] .ty-badges {
    flex-direction: row-reverse;
}

.ty-badges-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Discount Badge */
.ty-discount-badge {
    background: var(--ty-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    direction: ltr;
}

/* Free Shipping Badge */
.ty-free-shipping-badge {
    background: var(--ty-green);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ty-free-shipping-badge i {
    font-size: 11px;
}

/* Express Badge */
.ty-express-badge {
    background: var(--ty-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
}

/* Wishlist Heart Button */
.ty-wishlist-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
}

.ty-wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ty-wishlist-btn i {
    font-size: 16px;
    color: var(--ty-gray);
    transition: color 0.2s ease;
}

.ty-wishlist-btn:hover i,
.ty-wishlist-btn.active i {
    color: var(--ty-red);
}

.ty-wishlist-btn.active i::before {
    content: "\f004";
    font-weight: 900;
}

/* Quick View Overlay */
.ty-quick-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.ty-product-card:hover .ty-quick-view-overlay {
    opacity: 1;
    transform: translateY(0);
}

.ty-quick-view-btn {
    width: 100%;
    background: #fff;
    color: var(--ty-dark);
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ty-quick-view-btn:hover {
    background: var(--ty-bg);
}

/* Product Details */
.ty-product-details {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Brand Name */
.ty-brand-name {
    font-size: 11px;
    color: var(--ty-gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.ty-brand-name:hover {
    color: var(--ty-orange);
}

/* Product Title */
.ty-product-title {
    font-size: 13px;
    color: var(--ty-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
}

.ty-product-title:hover {
    color: var(--ty-orange);
}

/* Rating */
.ty-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.ty-rating-stars {
    display: flex;
    gap: 1px;
}

.ty-rating-stars i {
    font-size: 12px;
    color: var(--ty-star);
}

.ty-rating-stars i.empty {
    color: #ddd;
}

.ty-rating-count {
    font-size: 11px;
    color: var(--ty-gray);
}

/* Price Container */
.ty-price-container {
    margin-top: auto;
}

.ty-current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ty-orange);
    display: block;
    line-height: 1.2;
}

.ty-original-price {
    font-size: 13px;
    color: var(--ty-gray);
    text-decoration: line-through;
    margin-inline-start: 0;
    display: inline-block;
}

.ty-discount-percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--ty-green);
    margin-inline-start: 6px;
}

/* Out of Stock Overlay */
.ty-out-of-stock {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.ty-out-of-stock span {
    background: var(--ty-dark);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Product Grid Layout */
.ty-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

@media (max-width: 1199px) {
    .ty-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .ty-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .ty-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ty-product-card {
        border-radius: 6px;
    }

    .ty-product-details {
        padding: 8px;
    }

    .ty-brand-name {
        font-size: 10px;
    }

    .ty-product-title {
        font-size: 12px;
        min-height: 32px;
    }

    .ty-current-price {
        font-size: 15px;
    }

    .ty-original-price {
        font-size: 11px;
    }

    .ty-discount-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .ty-wishlist-btn {
        width: 28px;
        height: 28px;
    }

    .ty-wishlist-btn i {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .ty-product-grid {
        gap: 6px;
    }

    .ty-badges {
        top: 6px;
        left: 6px;
        right: 6px;
    }

    .ty-free-shipping-badge {
        font-size: 9px;
        padding: 2px 4px;
    }

    .ty-rating {
        margin-bottom: 4px;
    }

    .ty-rating-stars i {
        font-size: 10px;
    }

    .ty-rating-count {
        font-size: 10px;
    }
}

/* Seller/Store Badge */
.ty-seller-badge {
    font-size: 10px;
    color: var(--ty-gray);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.ty-seller-badge i {
    font-size: 11px;
}

.ty-seller-badge span:hover {
    color: var(--ty-orange);
}

/* Category Chip */
.ty-category-chip {
    background: var(--ty-bg);
    color: var(--ty-gray);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 4px;
}

/* Loading Skeleton */
.ty-product-card.loading {
    pointer-events: none;
}

.ty-product-card.loading .ty-image-container,
.ty-product-card.loading .ty-brand-name,
.ty-product-card.loading .ty-product-title,
.ty-product-card.loading .ty-current-price {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hover Actions Container */
.ty-hover-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.ty-product-card:hover .ty-hover-actions {
    opacity: 1;
}

.ty-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.ty-action-btn:hover {
    transform: scale(1.1);
    background: var(--ty-orange);
    color: #fff;
}

.ty-action-btn i {
    font-size: 16px;
}

/* Featured Product Card for Carousels */
.ty-featured-card {
    padding: 4px;
}

.ty-featured-card .ty-product-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Flash Deal Timer Badge */
.ty-flash-timer {
    background: var(--ty-red);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ty-flash-timer i {
    font-size: 12px;
}

/* Stock Warning */
.ty-low-stock {
    font-size: 11px;
    color: var(--ty-red);
    font-weight: 500;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ty-low-stock i {
    font-size: 12px;
}

/* Product Card in List View */
.ty-list-view .ty-product-card {
    flex-direction: row;
    max-height: 200px;
}

.ty-list-view .ty-image-container {
    width: 200px;
    min-width: 200px;
    aspect-ratio: auto;
    height: 100%;
}

.ty-list-view .ty-product-details {
    padding: 16px;
}

.ty-list-view .ty-product-title {
    -webkit-line-clamp: 3;
    min-height: auto;
}

@media (max-width: 767px) {
    .ty-list-view .ty-product-card {
        flex-direction: column;
        max-height: none;
    }

    .ty-list-view .ty-image-container {
        width: 100%;
        min-width: auto;
        aspect-ratio: 1;
    }
}

/* Add to Cart Button (visible on hover) */
.ty-add-to-cart {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: var(--ty-orange);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.ty-product-card:hover .ty-add-to-cart {
    opacity: 1;
    transform: translateY(0);
}

.ty-add-to-cart:hover {
    background: var(--ty-orange-dark);
}

/* ========================================
   NEW PRODUCT BADGE
   ======================================== */
.ty-new-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   SOLD COUNT STYLING
   ======================================== */
.ty-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.ty-sold-count {
    font-size: 11px;
    color: var(--ty-gray);
    font-weight: 500;
}

/* ========================================
   PRICE DISCOUNT ROW
   ======================================== */
.ty-price-discount-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.ty-price-discount-row .ty-discount-percent {
    background: var(--ty-orange-light);
    color: var(--ty-orange);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

/* ========================================
   ENHANCED CARD ANIMATIONS
   ======================================== */
.ty-product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ty-product-card:hover {
    box-shadow: 0 12px 40px rgba(242, 122, 26, 0.15);
}

.ty-product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ty-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ty-product-card:hover::after {
    transform: scaleX(1);
}

/* ========================================
   WISHLIST BUTTON ENHANCEMENTS
   ======================================== */
.ty-wishlist-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ty-wishlist-btn:hover {
    background: var(--ty-orange-light);
}

.ty-wishlist-btn.active {
    background: var(--ty-red);
}

.ty-wishlist-btn.active i {
    color: #fff;
}

/* ========================================
   PRODUCT TITLE ENHANCEMENTS
   ======================================== */
.ty-product-title {
    transition: color 0.2s ease;
}

.ty-product-card:hover .ty-product-title {
    color: var(--ty-orange);
}

/* ========================================
   SELLER BADGE ENHANCEMENTS
   ======================================== */
.ty-seller-badge {
    background: var(--ty-bg);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
}

.ty-seller-badge a {
    color: var(--ty-gray-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ty-seller-badge a:hover {
    color: var(--ty-orange);
}

/* ========================================
   RTL SUPPORT ENHANCEMENTS
   ======================================== */
html[dir="rtl"] .ty-add-to-cart i {
    margin-left: 4px;
    margin-right: 0;
}

html[dir="rtl"] .ty-price-discount-row {
    flex-direction: row-reverse;
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */
@media (max-width: 767px) {
    .ty-add-to-cart {
        padding: 8px;
        font-size: 12px;
        bottom: 8px;
        left: 8px;
        right: 8px;
    }

    .ty-rating-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ty-sold-count {
        font-size: 10px;
    }

    .ty-new-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* ========================================
   ENHANCED SEARCH - TRENDYOL STYLE
   ======================================== */

.ty-search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.ty-search-form {
    position: relative;
    width: 100%;
}

.ty-search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--ty-border);
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ty-search-wrapper:focus-within {
    border-color: var(--ty-orange);
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.1);
}

/* Search Icon */
.ty-search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: 44px;
}

.ty-search-icon {
    font-size: 16px;
    color: var(--ty-gray);
    transition: all 0.3s ease;
}

.ty-search-wrapper:focus-within .ty-search-icon {
    color: var(--ty-orange);
    animation: searchPulse 0.5s ease;
}

@keyframes searchPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Search Input */
.ty-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 12px 8px !important;
    font-size: 14px;
    background: transparent !important;
    box-shadow: none !important;
    height: 44px;
}

.ty-search-input::placeholder {
    color: var(--ty-gray);
    font-size: 14px;
}

.ty-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Loading Spinner */
.ty-search-loader {
    padding: 0 12px;
}

.ty-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ty-border);
    border-top-color: var(--ty-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Button */
.ty-search-btn {
    background: var(--ty-orange);
    color: #fff;
    border: none;
    padding: 0 24px;
    height: 44px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ty-search-btn:hover {
    background: var(--ty-orange-dark);
}

/* Search Dropdown */
.ty-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    max-height: 480px;
    overflow: hidden;
    border: 1px solid var(--ty-border);
}

.ty-search-dropdown.active {
    display: block;
    animation: dropdownSlide 0.2s ease;
}

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

/* Trending Section */
.ty-trending-section {
    padding: 16px;
    border-bottom: 1px solid var(--ty-border);
}

.ty-trending-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ty-dark);
}

.ty-trending-header i {
    color: var(--ty-orange);
}

.ty-trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ty-trending-tag {
    background: var(--ty-bg);
    color: var(--ty-gray-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ty-trending-tag:hover {
    background: var(--ty-orange-light);
    color: var(--ty-orange);
    border-color: var(--ty-orange);
}

/* Search Results */
.ty-search-results {
    max-height: 400px;
    overflow-y: auto;
}

.ty-search-results::-webkit-scrollbar {
    width: 6px;
}

.ty-search-results::-webkit-scrollbar-track {
    background: var(--ty-bg);
}

.ty-search-results::-webkit-scrollbar-thumb {
    background: var(--ty-border);
    border-radius: 3px;
}

.ty-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--ty-gray);
}

/* Search Result Item */
.ty-search-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.ty-search-item:hover {
    background: var(--ty-bg);
}

.ty-search-item-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--ty-bg);
}

.ty-search-item-info {
    flex: 1;
    min-width: 0;
}

.ty-search-item-name {
    font-size: 13px;
    color: var(--ty-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ty-search-item-name mark {
    background: var(--ty-orange-light);
    color: var(--ty-orange);
    padding: 0 2px;
    border-radius: 2px;
}

.ty-search-item-category {
    font-size: 11px;
    color: var(--ty-gray);
}

.ty-search-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ty-orange);
    white-space: nowrap;
}

/* No Results */
.ty-no-results {
    padding: 40px 20px;
    text-align: center;
}

.ty-no-results-icon {
    font-size: 48px;
    color: var(--ty-border);
    margin-bottom: 12px;
}

.ty-no-results-text {
    font-size: 14px;
    color: var(--ty-gray);
}

/* View All Results Link */
.ty-view-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    background: var(--ty-bg);
    color: var(--ty-orange);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ty-view-all:hover {
    background: var(--ty-orange-light);
    color: var(--ty-orange);
}

/* Mobile Search Adjustments */
@media (max-width: 991px) {
    .ty-search-container {
        max-width: none;
    }

    .ty-search-btn {
        padding: 0 16px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .ty-search-wrapper {
        border-radius: 6px;
    }

    .ty-search-input {
        font-size: 14px;
    }

    .ty-search-dropdown {
        position: fixed;
        top: 60px;
        left: 8px;
        right: 8px;
        border-radius: 12px;
    }
}

/* RTL Support for Search */
html[dir="rtl"] .ty-search-icon-wrapper {
    padding: 0 12px 0 0;
}

html[dir="rtl"] .ty-search-btn {
    border-radius: 8px 0 0 8px;
}

html[dir="rtl"] .ty-search-item {
    flex-direction: row-reverse;
}
