/* ==========================================================================
   Yellow Pages - Main Stylesheet
   Direct Implementation of Figma Design (node 4:1972)
   ========================================================================== */

:root {
    --yp-primary: #e5a910;
    --yp-primary-hover: #d09608;
    --yp-primary-light: #fef9c3;
    --yp-primary-dark: #b45309;

    --yp-dark-900: #080d1a;
    --yp-dark-800: #0b1120;
    --yp-dark-700: #0f172a;
    --yp-dark-600: #1e293b;
    --yp-dark-500: #334155;

    --yp-gray-100: #f8fafc;
    --yp-gray-200: #f1f5f9;
    --yp-gray-300: #e2e8f0;
    --yp-gray-400: #cbd5e1;
    --yp-gray-500: #94a3b8;
    --yp-gray-600: #64748b;
    --yp-gray-700: #475569;
    --yp-gray-800: #1e293b;

    --yp-green-bg: #dcfce7;
    --yp-green-text: #166534;
    --yp-green-border: #bbf7d0;

    --yp-radius-sm: 6px;
    --yp-radius-md: 10px;
    --yp-radius-lg: 16px;
    --yp-radius-xl: 20px;
    --yp-radius-full: 9999px;

    --yp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --yp-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
    --yp-shadow-lg: 0 10px 25px -4px rgba(0, 0, 0, 0.08);

    --yp-font-sans:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --yp-font-display: "Inter", sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--yp-font-sans);
    background-color: #ffffff;
    color: var(--yp-dark-700);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select {
    font-family: inherit;
    font-size: inherit;
}

.yp-cta-section .yp-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    z-index: 9999;
}

.yp-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
/* Top Utility Bar */
.yp-logo-img-top {
    width: 11px;
    height: 20px;
    object-fit: contain;
}

.yp-logo-img-top-rating {
    width: 11px;
    height: 20px;
    object-fit: contain;
    padding-left: 2px;
}

.search-icon {
    width: 18px;
    height: 36px;
    object-fit: contain;
}

.yp-topbar {
    background-color: #ffffff;
    color: #475569;
    font-size: 13px;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
}

.yp-topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.yp-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-weight: 500;
}

.yp-topbar-item:hover {
    color: var(--yp-primary-dark);
}

.yp-topbar-item svg {
    color: var(--yp-primary);
}

.yp-badge-free {
    background-color: var(--yp-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--yp-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Main Navigation Bar */
.yp-header {
    background-color: var(--yp-dark-700);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.yp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Logo */
.yp-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.yp-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.yp-logo-text {
    display: flex;
    flex-direction: column;
}

.yp-logo-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: rgba(219, 160, 5, 1);
}

.yp-logo-title span {
    color: rgba(255, 255, 255, 1);
}

.yp-logo-sub {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--yp-gray-400);
    text-transform: uppercase;
}

/* Search Bar (Comprehensive Dual Search) */
.yp-search-bar {
    flex: 1;
    max-width: 680px;
    background-color: #ffffff;
    border-radius: var(--yp-radius-md);
    display: flex;
    align-items: center;
    padding: 0px 0px 0px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.yp-search-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--yp-dark-700);
    font-weight: 600;
    font-size: 14px;
    padding-right: 14px;
    border-right: 1px solid var(--yp-gray-300);
    cursor: pointer;
    white-space: nowrap;
}

.yp-search-location svg {
    color: var(--yp-primary);
}

.yp-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 14px;
    gap: 10px;
}

.yp-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--yp-dark-700);
    background: transparent;
}

.yp-search-input::placeholder {
    color: var(--yp-gray-500);
}

.yp-search-mic-btn {
    background: transparent;
    border: none;
    color: var(--yp-gray-500);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s;
}

.yp-search-mic-btn:hover {
    color: var(--yp-primary);
}

.yp-search-submit-btn {
    background-color: var(--yp-primary);
    color: #ffffff;
    border: none;
    outline: none;
    padding: 14px 22px;
    border-radius: 0px 6px 6px 0px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.yp-search-submit-btn:hover {
    background-color: var(--yp-primary-hover);
}

/* Header User Actions */
.yp-header-user {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: var(--yp-radius-md);
    transition: background-color 0.2s;
}

.yp-header-user:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--yp-primary);
}

.yp-header-user svg {
    color: var(--yp-primary);
}

/* Mobile Toggle */
.yp-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Banner & Tiles)
   ========================================================================== */
.yp-hero-section {
    padding: 28px 0 20px;
}

.yp-hero-grid {
    display: grid;
    /* grid-template-columns: 1fr 480px; */
    grid-template-columns: 1fr 670px;
    gap: 16px;
    align-items: stretch;
}

.yp-hero-main {
    position: relative;
    border-radius: var(--yp-radius-lg);
    overflow: hidden;
    box-shadow: var(--yp-shadow-md);
    /* min-height: 310px; */
    width: 100%;
    background-color: #000000;
}

.yp-hero-slider .swiper-wrapper,
.yp-hero-slider .swiper-slide {
    height: 100%;
}

.yp-hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yp-hero-prev,
.yp-hero-next {
    width: 42px;
    height: 42px;
    color: var(--yp-dark-800);
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    box-shadow: var(--yp-shadow-sm);
}

.yp-hero-prev::after,
.yp-hero-next::after {
    font-size: 18px;
}

.yp-hero-pagination {
    bottom: 14px !important;
}

.yp-hero-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.2s;
}

.yp-hero-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 4px;
    background-color: var(--yp-primary);
}

/* Slider Dots */
.yp-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.yp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
    cursor: pointer;
}

.yp-dot.active {
    width: 22px;
    border-radius: 4px;
    background-color: var(--yp-primary);
}

/* Hero Side Banners Grid (4 items) */
.yp-hero-side-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.yp-hero-side-item {
    position: relative;
    border-radius: var(--yp-radius-md);
    overflow: hidden;
    box-shadow: var(--yp-shadow-sm);
    background-color: #0f172a;
    aspect-ratio: 179 / 269;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.yp-hero-side-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--yp-shadow-lg);
}

.yp-hero-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yp-hero-main-plumbing {
    position: relative;
    /* border-radius: var(--yp-radius-lg); */
    overflow: hidden;
    box-shadow: var(--yp-shadow-md);
    /* min-height: 310px; */
    width: 100%;
    background-color: #000000;
}

.yp-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yp-filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    /* Subtle grayish text matching design */
}

.yp-select-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.yp-category-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f9fafb;
    /* Light neutral gray background */
    border: 1px solid #d1d5db;
    /* Soft rounded border */
    border-radius: 10px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    cursor: pointer;
    outline: none;
    min-width: 170px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.yp-category-select:focus {
    border-color: #9ca3af;
    background-color: #ffffff;
}

.yp-select-arrow {
    position: absolute;
    right: 14px;
    pointer-events: none;
    color: #6b7280;
}

/* Container & Resets */
.yp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
}

.yp-business-details-section {
    padding: 30px 0;
    background-color: #ffffff;
}

/* Header Section */
.yp-business-header-card {
    display: flex;
    gap: 24px;
    /* background: #ffffff; */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.yp-business-profile-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
}

.yp-business-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.yp-business-meta-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.yp-rating-badge {
    display: flex;
    background-color: #0b8043;
    color: #ffffff;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.yp-meta-item {
    display: flex;
    border-radius: 4px;
    font-size: 14px;
}

.yp-meta-item img {
    padding-right: 4px;
    width: 14px;
}

.yp-rating-count {
    color: #5f6368;
    font-size: 14px;
}

.yp-badge {
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yp-badge-verified {
    color: #0284c7;
}

.yp-badge-claimed {
    color: #16a34a;
}

.yp-business-meta-details {
    font-size: 14px;
    color: #555555;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yp-status-open {
    color: #16a34a;
    font-weight: 600;
}

/* Action Buttons */
.yp-business-action-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.yp-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.yp-btn-phone {
    background-color: #d97706;
}

.yp-btn-deal {
    background-color: #1e293b;
}

.yp-btn-whatsapp {
    background-color: #15803d;
}

/* Tabs Navigation */
.yp-business-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.yp-tab-item {
    text-decoration: none;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 10px;
    position: relative;
}

.yp-tab-item.active {
    color: #0f172a;
}

.yp-tab-item.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #d97706;
}

/* Main Layout Grid */
.yp-business-layout {
    display: flex;
    gap: 30px;
}

.yp-business-main-content {
    flex: 1;
}

.yp-content-block {
    /* background: #ffffff; */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.yp-block-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.yp-block-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

/* Sidebar & Contact Card */
.yp-business-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.yp-contact-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.yp-contact-card-header {
    background-color: #1e293b;
    color: #ffffff;
    padding: 14px 20px;
}

.yp-contact-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.yp-contact-card-body {
    padding: 20px;
}

.yp-contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
}

.yp-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 16px 0;
}

.yp-contact-address h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.yp-contact-address p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.yp-address-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.yp-action-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.yp-logo-contact-copy {
    width: 17px;
    height: 20px;
    object-fit: contain;
}

.yp-link-blue {
    color: #2563eb;
}

.yp-link-yellow {
    color: #d97706;
}

/* ==========================================================================
   STATS / TRUST BADGES ROW (4 cards)
   ========================================================================== */
.yp-stats-section {
    padding: 12px 0 32px;
}

.yp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.yp-stat-card {
    /* background: linear-gradient(135deg, #FEF9C3 0%, #FEF08A 100%); */
    /* border: 1px solid #FDE047; */
    border-color: #fff2cf;
    background: linear-gradient(90deg, #fff2cf 0%, #e7cd88 100%);
    border-radius: var(--yp-radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(229, 169, 16, 0.12);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.yp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(229, 169, 16, 0.2);
}

.yp-stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--yp-radius-md);
    /* background-color: #f59e0b; */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yp-stat-content {
    display: flex;
    flex-direction: column;
}

.yp-stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--yp-dark-900);
    line-height: 1.2;
}

.yp-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #78350f;
}

/* ==========================================================================
   SECTION HEADER COMMON
   ========================================================================== */
.yp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.yp-section-title-wrap {
    display: flex;
    flex-direction: column;
}

.yp-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--yp-dark-800);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.yp-section-title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 24px;
    background-color: var(--yp-primary);
    border-radius: 4px;
}

.yp-section-subtitle {
    font-size: 14px;
    color: var(--yp-gray-600);
    margin-top: 4px;
}

.yp-section-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--yp-dark-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition:
        color 0.2s,
        transform 0.2s;
}

.yp-section-link:hover {
    color: var(--yp-primary);
    transform: translateX(3px);
}

/* ==========================================================================
   TOP MOST CATEGORIES (12 Tiles)
   ========================================================================== */
.yp-categories-section {
    padding: 10px 0 40px;
}

.yp-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.yp-category-card {
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: var(--yp-radius-md);
    padding: 18px 12px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--yp-shadow-sm);
    cursor: pointer;
    text-decoration: none;
}

.yp-category-card:hover {
    border-color: var(--yp-primary);
    transform: translateY(-5px);
    box-shadow: var(--yp-shadow-lg);
}

.yp-cat-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 22px;
}

.yp-cat-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--yp-dark-800);
    line-height: 1.25;
    margin-bottom: 4px;
}

.yp-cat-count {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--yp-gray-500);
}

/* Category Icon Colors */
.cat-jewel {
    background-color: rgba(243, 232, 255, 1);
    color: #8b5cf6;
}

.cat-electric {
    background-color: #fef9c3;
    color: #ca8a04;
}

.cat-garment {
    background-color: rgba(255, 228, 230, 1);
    color: #db2777;
}

.cat-general {
    background-color: rgba(219, 234, 254, 1);
    color: #2563eb;
}

.cat-wood {
    background-color: rgba(204, 251, 241, 1);
    color: #059669;
}

.cat-footwear {
    background-color: rgba(250, 232, 255, 1);
    color: #7c3aed;
}

.cat-hardware {
    background-color: rgba(255, 237, 213, 1);
    color: #ea580c;
}

.cat-furniture {
    background-color: rgba(224, 242, 254, 1);
    color: #0891b2;
}

.cat-electronics {
    background-color: rgba(224, 231, 255, 1);
    color: #4f46e5;
}

.cat-pipe {
    background-color: rgba(254, 226, 226, 1);
    color: #dc2626;
}

.cat-steel {
    background-color: rgba(241, 245, 249, 1);
    color: #475569;
}

.cat-all {
    background-color: var(--yp-gray-200);
    color: var(--yp-dark-700);
}

/* ==========================================================================
   MANUFACTURER SPOTLIGHT (RSE India Pvt. Ltd.)
   ========================================================================== */
.yp-spotlight-section {
    padding: 10px 0 44px;
}

.yp-spotlight-container {
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: var(--yp-radius-xl);
    padding: 26px;
    box-shadow: var(--yp-shadow-md);
}

/* Spotlight Header */
.yp-spotlight-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--yp-gray-200);
    padding-bottom: 18px;
    gap: 18px;
}

.yp-spotlight-badge-row {
    margin-bottom: 8px;
}

.yp-spotlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--yp-radius-sm);
    text-transform: uppercase;
}

.yp-spotlight-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yp-spotlight-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--yp-dark-900);
}

.yp-gst-badge {
    background-color: var(--yp-green-bg);
    color: var(--yp-green-text);
    border: 1px solid var(--yp-green-border);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--yp-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yp-spotlight-desc {
    font-size: 13.5px;
    color: var(--yp-gray-600);
    margin-top: 4px;
}

/* Spotlight Content Grid: 3 Products + 1 Contact Box */
.yp-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 340px;
    gap: 18px;
}

/* Product Card */
.yp-product-card {
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: var(--yp-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--yp-shadow-sm);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.yp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--yp-shadow-lg);
}

.yp-product-media {
    position: relative;
    aspect-ratio: 246 / 192;
    background-color: var(--yp-gray-200);
    overflow: hidden;
}

.yp-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yp-product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--yp-radius-sm);
    letter-spacing: 0.5px;
}

.yp-tag-bestseller {
    background-color: #1e293b;
    color: #ffffff;
}

.yp-tag-airport {
    background-color: #0284c7;
    color: #ffffff;
}

.yp-tag-oem {
    background-color: #7c3aed;
    color: #ffffff;
}

.yp-product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.yp-product-category {
    font-size: 10.5px;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.yp-product-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--yp-dark-900);
    margin-bottom: 6px;
}

.yp-product-specs-text {
    font-size: 12px;
    color: var(--yp-gray-600);
    line-height: 1.45;
    margin-bottom: 14px;
    flex: 1;
}

.yp-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--yp-gray-200);
    padding-top: 12px;
}

.yp-moq-badge {
    /* background-color: #fffbeb; */
    /* color: #b45309; */
    background-color: rgba(219, 160, 5, 1);
    color: #ffffff;
    border: 1px solid #fde68a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--yp-radius-sm);
}

.yp-product-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yp-product-link:hover {
    text-decoration: underline;
}

/* Direct Factory Contacts Card (Dark Blue Box) */
.yp-contacts-card {
    background-color: var(--yp-dark-800);
    border-radius: var(--yp-radius-lg);
    padding: 22px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--yp-shadow-md);
    position: relative;
    overflow: hidden;
}

.yp-contacts-header {
    margin-bottom: 16px;
}

.yp-contacts-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: var(--yp-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.yp-contacts-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 6px;
}

.yp-contacts-sub {
    font-size: 11.5px;
    color: var(--yp-gray-400);
    line-height: 1.4;
}

.yp-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 16px;
}

.yp-contact-row {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--yp-radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yp-contact-person {
    display: flex;
    flex-direction: column;
}

.yp-contact-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
}

.yp-contact-role {
    font-size: 10px;
    color: rgba(252, 211, 77, 1);
}

.yp-contact-phone {
    font-size: 12px;
    font-weight: 700;
    color: var(--yp-primary);
    text-decoration: none;
    background: rgb(255 193 33 / 32%);
    padding: 3px 7px 3px 8px;
    border-radius: 9px;
    border: solid 1px;
}

.yp-contacts-cta-btn {
    background-color: var(--yp-primary);
    color: rgba(255, 255, 255, 1);
    border: none;
    border-radius: var(--yp-radius-md);
    padding: 12px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    display: block;
    text-decoration: none;
}

.yp-contacts-cta-btn:hover {
    background-color: var(--yp-primary-hover);
}

/* ==========================================================================
   VERIFIED STOCKISTS & AUTHORIZED DEALERS (4 Cards)
   ========================================================================== */
.yp-dealers-section {
    padding: 10px 0 44px;
}

.yp-dealers-badge-row {
    margin-bottom: 6px;
}

.yp-dealers-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    color: #c2410c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--yp-radius-sm);
    text-transform: uppercase;
}

.yp-dealers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.yp-dealer-card {
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: var(--yp-radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--yp-shadow-sm);
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}

.yp-dealer-card:hover {
    border-color: var(--yp-primary);
    transform: translateY(-4px);
    box-shadow: var(--yp-shadow-lg);
}

.yp-dealer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.yp-dealer-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--yp-dark-800);
}

.yp-dealer-rating svg {
    color: #f59e0b;
}

.yp-dealer-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--yp-dark-900);
    margin-bottom: 8px;
}

.yp-dealer-desc {
    font-size: 12px;
    color: var(--yp-gray-600);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.yp-dealer-brands-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--yp-gray-500);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.yp-dealer-brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.yp-brand-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--yp-radius-sm);
    border: 1px solid var(--yp-gray-300);
    background-color: var(--yp-gray-100);
    color: var(--yp-dark-700);
}

.brand-rr {
    color: #dc2626;
    border-color: #fecaca;
    background-color: #fef2f2;
}

.brand-polycab {
    color: #2563eb;
    border-color: #bfdbfe;
    background-color: #eff6ff;
}

.brand-finolex {
    color: #059669;
    border-color: #a7f3d0;
    background-color: #ecfdf5;
}

.brand-kei {
    color: #7c3aed;
    border-color: #ddd6fe;
    background-color: #f5f3ff;
}

.brand-honeywell {
    color: #ea580c;
    border-color: #fed7aa;
    background-color: #fff7ed;
}

.yp-dealer-location {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11.5px;
    color: var(--yp-gray-600);
    margin-bottom: 16px;
    line-height: 1.4;
}

.yp-dealer-location svg {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.yp-dealer-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yp-dealer-inquiry-btn-view {
    background-color: rgba(30, 41, 59, 1);
    /* color: var(--yp-dark-900); */
    color: #ffffff;
    border: none;
    border-radius: var(--yp-radius-md);
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    text-decoration: none;
}

.yp-dealer-inquiry-btn {
    background-color: var(--yp-primary);
    /* color: var(--yp-dark-900); */
    color: #ffffff;
    border: none;
    border-radius: var(--yp-radius-md);
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    text-decoration: none;
}

.yp-dealer-inquiry-btn:hover {
    background-color: var(--yp-primary-hover);
}

/* ==========================================================================
   PROMOTIONAL FURNITURE BANNER
   ========================================================================== */
.yp-promo-section {
    padding: 10px 0 44px;
}

.yp-promo-card {
    position: relative;
    border-radius: var(--yp-radius-xl);
    overflow: hidden;
    box-shadow: var(--yp-shadow-md);
    background-color: #ffffff;
}

.yp-promo-slider {
    width: 100%;
    padding-bottom: 34px;
    overflow: hidden;
}

.yp-promo-slider .swiper-slide {
    height: auto;
}

.yp-promo-img {
    width: 100%;
    height: auto;
    display: block;
}

.yp-promo-dots {
    position: relative;
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.yp-promo-prev,
.yp-promo-next {
    width: 42px;
    height: 42px;
    color: var(--yp-dark-800);
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: 50%;
    box-shadow: var(--yp-shadow-sm);
}

.yp-promo-prev::after,
.yp-promo-next::after {
    font-size: 18px;
}

.yp-promo-pagination {
    bottom: 0 !important;
}

.yp-promo-pagination .swiper-pagination-bullet {
    background-color: var(--yp-gray-500);
    opacity: 0.45;
}

.yp-promo-pagination .swiper-pagination-bullet-active {
    background-color: var(--yp-primary);
    opacity: 1;
}

/* ==========================================================================
   TESTIMONIALS SECTION (What our client say)
   ========================================================================== */
.yp-testimonials-section {
    padding: 20px 0 48px;
}

.yp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.yp-testimonials-slider {
    width: 100%;
    margin-top: 36px;
    padding: 34px 44px 46px;
    overflow: hidden;
}

.yp-testimonials-slider .swiper-slide {
    height: auto;
    display: flex;
}

.yp-testimonial-card {
    background-color: var(--yp-dark-800);
    border-radius: var(--yp-radius-md);
    padding: 48px 24px 24px;
    color: #ffffff;
    position: relative;
    box-shadow: var(--yp-shadow-md);
    display: flex;
    flex-direction: column;
}

.yp-testimonials-slider .yp-testimonial-card {
    width: 100%;
    height: 100%;
}

.yp-testimonials-prev,
.yp-testimonials-next {
    width: 42px;
    height: 42px;
    color: var(--yp-dark-800);
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: 50%;
    box-shadow: var(--yp-shadow-sm);
}

.yp-testimonials-prev::after,
.yp-testimonials-next::after {
    font-size: 18px;
}

.yp-testimonials-pagination {
    bottom: 5px !important;
}

.yp-testimonials-pagination .swiper-pagination-bullet {
    background-color: var(--yp-gray-500);
    opacity: 0.45;
}

.yp-testimonials-pagination .swiper-pagination-bullet-active {
    background-color: var(--yp-primary);
    opacity: 1;
}

/* Gold Header Tab */
.yp-testimonial-tab {
    position: absolute;
    top: -22px;
    left: 18px;
    width: min(250px, calc(100% - 32px));
    height: 62px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 2;
}

.yp-testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    background-color: #334155;
    position: relative;
    z-index: 2;
}

.yp-testimonial-author-box {
    background-color: var(--yp-primary);
    color: var(--yp-dark-900);
    min-width: 170px;
    height: 50px;
    margin-left: -20px;
    padding: 8px 34px 8px 30px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yp-testimonial-author-name {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.yp-testimonial-author-role {
    font-size: 10.5px;
    font-weight: 600;
    color: #ffffff;
}

.yp-testimonial-body {
    font-size: 12.5px;
    color: #e2e8f0;
    line-height: 1.55;
    margin-top: 0;
    margin-bottom: 18px;
    flex: 1;
}

.yp-testimonial-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--yp-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yp-testimonial-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   GROW YOUR BUSINESS CTA BANNER
   ========================================================================== */
.yp-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 96px;
    padding: 0px 0 20px;
    z-index: 99;
}

.yp-cta-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.yp-cta-banner {
    background: linear-gradient(90deg, #e5a910 0%, #f59e0b 100%);
    border-radius: var(--yp-radius-xl);
    padding: 24px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    gap: 24px;
    max-width: 1170px;
    margin: 0 auto;
    width: 100%;
}

.yp-cta-content {
    display: flex;
    flex-direction: column;
}

.yp-cta-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--yp-dark-900);
    line-height: 1.2;
}

.yp-cta-subtitle {
    font-size: 14.5px;
    font-weight: 600;
    color: #000000;
    margin-top: 4px;
}

.yp-cta-btn {
    background-color: var(--yp-dark-900);
    color: #ffffff;
    border-radius: var(--yp-radius-md);
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition:
        transform 0.2s,
        background-color 0.2s;
    text-decoration: none;
}

.yp-cta-btn:hover {
    background-color: var(--yp-dark-700);
    transform: scale(1.02);
}

.yp-cta-btn svg {
    color: var(--yp-primary);
}

/* Card Container */
.yp-testimonial-card-detail {
    position: relative;
    padding-top: 28px;
}

/* Tab Wrapper (Avatar + Gold Badge) */
.yp-testimonial-tab-detail {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: -15px;
    padding-left: 10px;
}

/* Avatar Wrap & Image */
.yp-testimonial-avatar-wrap-detail {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.yp-testimonial-avatar-detail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slanted Yellow Badge */
.yp-testimonial-badge-detail {
    background-color: #d99200;
    color: #ffffff;
    padding: 8px 80px 8px 25px;
    margin-left: -20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
    border-top-right-radius: 4px;
}

.yp-testimonial-author-name-detail {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.yp-testimonial-author-role-detail {
    font-size: 12px;
    opacity: 0.9;
}

/* Card Content Body */
.yp-testimonial-content-detail {
    background-color: #0d1527;
    color: #e2e8f0;
    padding: 35px 20px 20px 20px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.yp-testimonial-body-detail {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.yp-testimonial-link-detail {
    color: #d99200;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.yp-testimonial-link-detail:hover {
    color: #f59e0b;
}

.yp-testimonials-pagination-detail .swiper-pagination-bullet {
    background-color: var(--yp-gray-500);
    opacity: 0.45;
}

.yp-testimonials-pagination-detail .swiper-pagination-bullet-active {
    background-color: var(--yp-primary);
    opacity: 1;
}

.yp-section-header-detail {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    /* margin-bottom: 22px; */
}

.yp-contact-phone-detail {
    display: flex;
    font-size: 12px;
    font-weight: 700;
    /* color: var(--yp-primary); */
    text-decoration: none;
    /* background: rgb(255 193 33 / 32%); */
    padding: 3px 7px 3px 8px;
    /* border-radius: 9px;
    border: solid 1px; */
}

.yp-video-thumb {
    position: relative;
    cursor: pointer;
}

.yp-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.yp-video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yp-video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.yp-video-modal-content {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 900px;

    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.yp-video-modal-content video {
    display: block;
    width: 100%;
    max-height: 80vh;
}

.yp-video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;

    z-index: 10;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.7);
    color: white;

    font-size: 20px;

    cursor: pointer;
}

.yp-video-modal-close:hover {
    background: #000;
}

.yp-link-more-detail {
    display: flex;
    align-items: center;
    gap: 6px;
}

.yp-link-more-detail img {
    flex-shrink: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.yp-footer {
    position: relative;
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0px 30px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yp-footer-grid {
    display: grid;
    grid-template-columns: 280px repeat(3, 1fr) 240px;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yp-footer-col {
    display: flex;
    flex-direction: column;
}

.yp-footer-about-text {
    font-size: 12.5px;
    line-height: 1.6;
    margin-top: 14px;
    color: var(--yp-gray-400);
}

.yp-footer-heading {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.yp-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yp-footer-link {
    font-size: 12.5px;
    color: var(--yp-gray-400);
    text-decoration: none;
    transition:
        color 0.2s,
        transform 0.2s;
}

.yp-footer-link:hover {
    color: var(--yp-primary);
    transform: translateX(2px);
}

/* Contact in Footer */
.yp-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #e2e8f0;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.yp-footer-social-heading {
    margin-top: 14px;
    margin-bottom: 8px;
}

.yp-footer-contact-item svg {
    color: var(--yp-primary);
    flex-shrink: 0;
}

.yp-social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.yp-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.yp-social-icon:hover {
    background-color: var(--yp-primary);
    color: var(--yp-dark-900);
}

/* Bottom Copyright Bar */
.yp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 12px;
    color: var(--yp-gray-500);
}

.yp-footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.yp-footer-legal-link {
    color: var(--yp-gray-500);
}

.yp-footer-legal-link:hover {
    color: var(--yp-primary);
}

/*
**** 
Slider Dots for Hero & Promo Banners 
******/

.yp-product-slider {
    grid-column: span 3;
    min-width: 0;
    width: 100%;
    padding: 10px 44px 46px;
    overflow: hidden;
}

.yp-product-slider .swiper-slide {
    height: auto;
    display: flex;
}

.yp-product-card {
    width: 100%;
    height: 100%;
}

.yp-product-media {
    position: relative;
    overflow: hidden;
}

.yp-product-media img {
    width: 100%;
    display: block;
}

.yp-product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.yp-product-prev,
.yp-product-next {
    width: 42px;
    height: 42px;
    color: var(--yp-dark-800);
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: 50%;
    box-shadow: var(--yp-shadow-sm);
}

.yp-product-prev::after,
.yp-product-next::after {
    font-size: 18px;
}

.yp-product-pagination {
    bottom: 5px !important;
}

.yp-product-pagination .swiper-pagination-bullet {
    background-color: var(--yp-gray-500);
    opacity: 0.45;
}

.yp-product-pagination .swiper-pagination-bullet-active {
    background-color: var(--yp-primary);
    opacity: 1;
}

.yp-dealers-slider {
    width: 100%;
    padding: 8px 44px 46px;
    overflow: hidden;
}

.yp-dealers-slider .swiper-slide {
    height: auto;
    display: flex;
}

.yp-dealers-slider .yp-dealer-card {
    width: 100%;
    height: 100%;
}

.yp-dealers-prev,
.yp-dealers-next {
    width: 42px;
    height: 42px;
    color: var(--yp-dark-800);
    background-color: #ffffff;
    border: 1px solid var(--yp-gray-300);
    border-radius: 50%;
    box-shadow: var(--yp-shadow-sm);
}

.yp-dealers-prev::after,
.yp-dealers-next::after {
    font-size: 18px;
}

.yp-dealers-pagination {
    bottom: 5px !important;
}

.yp-dealers-pagination .swiper-pagination-bullet {
    background-color: var(--yp-gray-500);
    opacity: 0.45;
}

.yp-dealers-pagination .swiper-pagination-bullet-active {
    background-color: var(--yp-primary);
    opacity: 1;
}

.yp-media-section {
    padding: 20px 0;
    background-color: #ffffff;
}

.yp-media-layout {
    display: flex;
    gap: 30px;
}

.yp-media-main-content {
    flex: 1;
}

.yp-media-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Section Header */
.yp-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.yp-block-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.yp-link-more {
    /* color: #e6a100; */
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* Photo & Video Grids */
.yp-media-block {
    margin-bottom: 32px;
}

.yp-photo-grid,
.yp-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.yp-grid-item,
.yp-video-card {
    border-radius: 10px;
    overflow: hidden;
    height: 150px;
    position: relative;
    background-color: #e2e8f0;
}

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

/* Upload Box Style */
.yp-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fafafa;
    padding: 12px;
}

.yp-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.yp-upload-icon {
    font-size: 22px;
    color: #475569;
    margin-bottom: 4px;
}

.yp-upload-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.yp-upload-subtext {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

/* Video Player Custom Overlay */
.yp-video-thumb {
    position: relative;
    height: calc(100% - 24px);
}

.yp-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.yp-video-player-bar {
    height: 24px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
}

.yp-player-controls {
    font-size: 10px;
    color: #475569;
    display: flex;
    gap: 6px;
}

.yp-progress-bar {
    flex: 1;
    height: 3px;
    background-color: #cbd5e1;
    border-radius: 2px;
}

.yp-progress-fill {
    width: 30%;
    height: 100%;
    background-color: #dc2626;
}

/* Sidebar Categories */
.yp-categories-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.yp-card-header {
    background-color: #1e293b;
    color: #ffffff;
    padding: 14px 20px;
}

.yp-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.yp-card-body {
    padding: 16px;
}

.yp-category-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yp-tag {
    display: block;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: background-color 0.2s;
}

.yp-tag:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.yp-btn-more-tags {
    display: inline-block;
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 1200px and down (Laptops / Small Desktops) */
@media (max-width: 1200px) {
    .yp-hero-grid {
        grid-template-columns: 1fr;
    }

    .yp-hero-side-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-spotlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .yp-product-slider {
        grid-column: 1 / -1;
    }

    .yp-contacts-card {
        grid-column: 1 / -1;
    }

    .yp-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .yp-spotlight-top {
        flex-wrap: wrap;
    }
}

/* 992px and down (Tablets Landscape) */
@media (max-width: 992px) {
    .yp-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .yp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-dealers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .yp-cta-section {
        min-height: 190px;
    }

    .yp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px and down (Tablets Portrait & Large Phones) */
@media (max-width: 768px) {
    .yp-topbar {
        display: none;
    }

    .yp-header-inner {
        flex-wrap: wrap;
    }

    .yp-mobile-toggle {
        display: block;
    }

    .yp-search-bar {
        order: 3;
        max-width: 100%;
        margin-top: 10px;
        width: 100%;
    }

    .yp-hero-side-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .yp-spotlight-grid {
        grid-template-columns: 1fr;
    }

    .yp-product-slider {
        grid-column: 1;
        padding: 8px 0 42px;
    }

    .yp-dealers-slider {
        padding: 8px 0 42px;
    }

    .yp-dealers-grid {
        grid-template-columns: 1fr;
    }

    .yp-testimonials-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 36px;
    }

    .yp-footer-grid {
        grid-template-columns: 1fr;
    }

    .yp-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .yp-footer-legal-links {
        justify-content: center;
    }

    .yp-spotlight-container {
        padding: 20px 16px;
    }

    .yp-spotlight-title-row {
        flex-wrap: wrap;
    }
}

/* 480px and down (Mobile Phones) */
@media (max-width: 480px) {
    .yp-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-stats-grid {
        grid-template-columns: 1fr;
    }

    .yp-search-location {
        display: none;
    }

    .yp-search-submit-btn {
        padding: 8px 14px;
    }

    .yp-cta-title {
        font-size: 20px;
    }

    .yp-cta-banner {
        padding: 20px;
    }

    .yp-cta-section {
        min-height: 224px;
        padding-top: 32px;
        z-index: 99;
    }

    .yp-cta-inner {
        top: 82px;
    }

    .yp-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .yp-footer {
        padding-top: 80px;
    }

    .yp-footer-grid {
        gap: 26px;
        padding-bottom: 28px;
    }

    .yp-footer-legal-links {
        gap: 10px 16px;
    }

    .yp-section-header {
        display: unset;
        align-items: unset;
    }

    .yp-filter-wrapper {
        margin: 10px 0px 10px 0px;
    }

    .yp-section-title {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .yp-business-layout {
        flex-direction: column;
    }

    .yp-business-sidebar {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .yp-business-header-card {
        flex-direction: column;
    }

    .yp-business-profile-img {
        width: 100%;
        height: 200px;
    }

    .yp-section-header {
        display: unset;
        align-items: unset;
    }

    .yp-section-title {
        font-size: 18px;
    }

    .yp-filter-wrapper {
        margin: 10px 0px 10px 0px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .yp-media-layout {
        flex-direction: column;
    }

    .yp-media-sidebar {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .yp-photo-grid,
    .yp-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yp-section-header {
        display: unset;
        align-items: unset;
    }

    .yp-filter-wrapper {
        margin: 10px 0px 10px 0px;
    }

    .yp-section-title {
        font-size: 18px;
    }
}

/* Final responsive layout safeguards */
@media (max-width: 768px) {
    .yp-container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .yp-header {
        padding: 10px 0;
    }

    .yp-header-inner {
        gap: 12px;
    }

    .yp-logo-img {
        width: 34px;
        height: 34px;
    }

    .yp-logo-title {
        font-size: 19px;
    }

    .yp-logo-sub {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .yp-header-user {
        margin-left: auto;
        padding: 6px;
    }

    .yp-header-user span {
        display: none;
    }

    .yp-search-bar {
        display: none;
        margin-top: 4px;
    }

    .yp-search-bar.active {
        display: flex;
    }

    .yp-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
    }

    .yp-hero-section,
    .yp-business-details-section,
    .yp-media-section {
        padding-top: 20px;
    }

    .yp-hero-main,
    .yp-hero-main-plumbing {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .yp-business-header-card {
        padding: 0;
        gap: 16px;
    }

    .yp-business-title {
        font-size: 24px;
    }

    .yp-business-meta-badges,
    .yp-business-meta-details {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .yp-business-tabs {
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .yp-business-tabs::-webkit-scrollbar {
        display: none;
    }

    .yp-tab-item {
        flex: 0 0 auto;
        padding: 0 14px 10px;
    }

    .yp-business-layout,
    .yp-media-layout {
        gap: 20px;
    }

    .yp-block-header {
        align-items: flex-start;
        gap: 12px;
    }

    .yp-link-more {
        flex: 0 0 auto;
        text-align: right;
    }

    .yp-cta-section .yp-container {
        position: static;
    }

    .yp-cta-inner {
        top: 70px;
    }
}

@media (max-width: 576px) {
    .yp-search-bar {
        padding-left: 10px;
    }

    .yp-search-input-wrap {
        padding-left: 8px;
        gap: 4px;
    }

    .yp-search-submit-btn {
        padding: 12px 13px;
        font-size: 13px;
    }

    .yp-business-profile-img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .yp-business-action-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .yp-business-action-btns .yp-btn:first-child {
        grid-column: 1 / -1;
    }

    .yp-business-action-btns .yp-btn {
        justify-content: center;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .yp-photo-grid,
    .yp-video-grid {
        grid-template-columns: 1fr;
    }

    .yp-grid-item,
    .yp-video-card,
    .yp-upload-box {
        height: auto;
        min-height: 180px;
    }

    .yp-video-card {
        min-height: 210px;
    }

    .yp-block-header {
        flex-wrap: wrap;
    }

    .yp-link-more {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .yp-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .yp-logo-sub {
        display: none;
    }

    .yp-hero-side-grid {
        gap: 8px;
    }

    .yp-hero-side-item {
        aspect-ratio: 1 / 1.35;
    }

    .yp-business-title {
        font-size: 21px;
    }

    .yp-content-block,
    .yp-contact-card-body,
    .yp-card-body {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================================================
   YELLOW PAGES CUSTOM PAGINATION DESIGN
   ========================================================================== */
.yp-pagination-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 36px 0 20px;
    width: 100%;
}

.yp-pagination-summary {
    font-size: 13.5px;
    color: var(--yp-gray-600);
    font-weight: 500;
}

.yp-pagination-summary span {
    font-weight: 700;
    color: var(--yp-dark-900);
}

.yp-pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.yp-page-item {
    display: inline-block;
}

.yp-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--yp-gray-300);
    background-color: #ffffff;
    color: var(--yp-dark-700);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.yp-page-link:hover {
    background-color: var(--yp-gray-100);
    border-color: #cbd5e1;
    color: var(--yp-dark-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.yp-page-item.active .yp-page-link {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #d97706;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
    cursor: default;
    transform: none;
}

.yp-page-item.disabled .yp-page-link {
    background-color: #f8fafc;
    border-color: var(--yp-gray-200);
    color: var(--yp-gray-400);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.yp-page-dots {
    border: none;
    background: transparent;
    box-shadow: none;
    min-width: 24px;
    color: var(--yp-gray-400);
}

.yp-page-prev,
.yp-page-next {
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
}