@font-face {
    font-family: 'NRT';
    src: url('../fonts/NRT-Reg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'NRT', sans-serif;
}

.datatable-table > thead > tr > th,
.datatable-table > tbody > tr > th,
.datatable-table > tfoot > tr > th,
.datatable-table > thead > tr > td,
.datatable-table > tbody > tr > td,
.datatable-table > tfoot > tr > td {
    text-align: right !important;
}

.datatable-top, .datatable-bottom {
    display: flex;
    justify-content: space-between;
}

.datatable-sorter::before,
.datatable-sorter::after {
    right: auto !important;
    left: 4px !important;
}
.datatable-sorter {
    padding-right: 0 !important;
    padding-left: 20px !important;
}

.ts-control {
    background-color: #f9fafb !important; /* bg-gray-50 */
    border: 1px solid #d1d5db !important; /* border-gray-300 */
    border-radius: 0.5rem !important; /* rounded-lg */
    color: #111827 !important; /* text-gray-900 */
    font-size: 0.875rem !important; /* text-sm */
    min-height: 42px;
    padding: 0.5rem 0.75rem !important;
    box-shadow: none !important;
}


.ts-wrapper.focus .ts-control {
    border-color: #3b82f6 !important; /* focus:border-blue-500 */
    box-shadow: 0 0 0 1px #3b82f6 !important; /* focus:ring-blue-500 */
}

.ts-wrapper.multi .ts-control > div {
    background-color: #e1effe !important; /* bg-blue-100 */
    color: #1e429f !important; /* text-blue-800 */
    border: 1px solid #bfdbfe !important; /* border-blue-200 */
    border-radius: 0.375rem !important; /* rounded-md */
    padding: 2px 8px !important;
    font-weight: 500;
    margin-top: 2px;
}

.ts-dropdown {
    border-radius: 0.5rem !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    font-size: 0.875rem !important;
    color: #111827 !important;
    margin-top: 4px;
}

.ts-dropdown .option:hover,
.ts-dropdown .active {
    background-color: #f3f4f6 !important; /* hover:bg-gray-100 */
    color: #111827 !important;
}


.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-card:hover .img-primary { opacity: 0; }
.product-card:hover .img-secondary { opacity: 1; transform: scale(1.05); }
.filter-chip.active { background: #0f172a; color: white; border-color: #0f172a; }
@keyframes fadeInUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.5s ease both; }
.range-thumb::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #f43f5e; cursor: pointer; border: 3px solid white; box-shadow: 0 0 0 2px #f43f5e; }
.range-thumb { -webkit-appearance: none; width: 100%; height: 4px; background: linear-gradient(to right, #f43f5e 0%, #f43f5e 60%, #e2e8f0 60%); border-radius: 9999px; outline: none; }


/* Shimmer bar animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.bar-animated {
    background: linear-gradient(90deg, #fb923c, #f43f5e, #fb923c);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.bar-animated-amber {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.bar-animated-yellow {
    background: linear-gradient(90deg, #fde047, #facc15, #fde047);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.bar-animated-slate {
    background: #e2e8f0;
}

/* Star rating interactive */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    justify-content: flex-end;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 28px;
    color: #e2e8f0;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #f59e0b;
}

.star-rating-input label:hover {
    transform: scale(1.2);
}

/* Modal backdrop */
.modal-backdrop {
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(12px);
}

/* Card hover */
.review-card-luxury {
    transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.25s ease;
}

.review-card-luxury:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -12px rgba(244, 63, 94, 0.12), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
}

/* Avatar gradient ring */
.avatar-ring {
    background: linear-gradient(135deg, #f43f5e, #fb923c);
    padding: 2px;
    border-radius: 14px;
}

/* Decorative quote mark */
.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 0.6;
    color: #fce7f3;
    font-style: italic;
    user-select: none;
    pointer-events: none;
}

/* Input focus styles */
.luxury-input:focus {
    outline: none;
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1) !important;
}

/* Submit button shine */
@keyframes shine {
    from {
        transform: translateX(-100%) skewX(-15deg);
    }
    to {
        transform: translateX(250%) skewX(-15deg);
    }
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skewX(-15deg);
}

.btn-shine:hover::after {
    animation: shine 0.6s ease forwards;
}

/* Modal card */
.modal-card {
    background: white;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f43f5e, #fb923c, #fbbf24);
}

/* Rating summary card */
.summary-card {
    background: linear-gradient(160deg, #fff5f7 0%, #ffffff 60%);
    border: 1px solid rgba(244, 63, 94, 0.1);
    border-radius: 28px;
}

/* Section divider */
.ornament-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ornament-line::before,
.ornament-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fce7f3, transparent);
}
