/* ============================================================
   Creative Print UAE - Custom Stylesheet
   Primary: #d84c0f | Dark: #1a1a2e | Accent: #e94560 | Light: #f5f5f5
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --cp-primary: #d84c0f;
    --cp-primary-dark: #b83d0a;
    --cp-primary-light: #ff6b2b;
    --cp-dark: #1a1a2e;
    --cp-dark-lighter: #16213e;
    --cp-accent: #e94560;
    --cp-light: #f5f5f5;
    --cp-white: #ffffff;
    --cp-gray: #6c757d;
    --cp-gray-light: #e9ecef;
    --cp-text: #333333;
    --cp-text-light: #777777;
    --cp-gradient: linear-gradient(135deg, #d84c0f 0%, #e94560 100%);
    --cp-gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --cp-gradient-warm: linear-gradient(135deg, #d84c0f 0%, #ff6b2b 50%, #e94560 100%);
    --cp-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --cp-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --cp-shadow-hover: 0 15px 35px rgba(216, 76, 15, 0.2);
    --cp-radius: 8px;
    --cp-radius-lg: 16px;
    --cp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --cp-font: 'Poppins', sans-serif;
}

/* ---------- Global Resets & Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--cp-font);
    color: var(--cp-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--cp-primary);
    color: var(--cp-white);
}

a {
    transition: var(--cp-transition);
}

img {
    max-width: 100%;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--cp-font);
    font-weight: 700;
    color: var(--cp-dark);
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title h1,
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h1::after,
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--cp-gradient);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: var(--cp-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn-cp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--cp-transition);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-cp-primary {
    background: var(--cp-gradient);
    color: var(--cp-white);
    box-shadow: 0 4px 15px rgba(216, 76, 15, 0.3);
}

.btn-cp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 76, 15, 0.4);
    color: var(--cp-white);
    text-decoration: none;
    background: linear-gradient(135deg, #e94560 0%, #d84c0f 100%);
}

.btn-cp-outline {
    background: transparent;
    color: var(--cp-primary);
    border: 2px solid var(--cp-primary);
}

.btn-cp-outline:hover {
    background: var(--cp-primary);
    color: var(--cp-white);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(216, 76, 15, 0.3);
}

.btn-cp-white {
    background: var(--cp-white);
    color: var(--cp-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cp-white:hover {
    background: var(--cp-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--cp-primary);
    text-decoration: none;
}

.btn-cp-dark {
    background: var(--cp-dark);
    color: var(--cp-white);
}

.btn-cp-dark:hover {
    background: var(--cp-dark-lighter);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
    color: var(--cp-white);
    text-decoration: none;
}

/* ---------- MEGA MENU / HEADER ---------- */
.cp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--cp-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--cp-transition);
}

.cp-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.cp-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 75px;
}

.cp-header .logo img {
    max-height: 50px;
    width: auto;
    transition: var(--cp-transition);
}

.cp-header.scrolled .logo img {
    max-height: 42px;
}

/* -- Main Nav -- */
.cp-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.cp-nav > li {
    position: relative;
}

.cp-nav > li > a {
    display: flex;
    align-items: center;
    padding: 26px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cp-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--cp-transition);
    white-space: nowrap;
}

.cp-nav > li > a:hover,
.cp-nav > li:hover > a,
.cp-nav > li.active > a {
    color: var(--cp-primary);
}

.cp-nav > li > a .nav-arrow {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.cp-nav > li:hover > a .nav-arrow {
    transform: rotate(180deg);
}

/* -- Mega Dropdown -- */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    background: var(--cp-white);
    border-radius: 0 0 var(--cp-radius-lg) var(--cp-radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--cp-primary);
}

.cp-nav > li:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown .mega-col {
    padding: 0 15px;
}

.mega-dropdown .mega-col h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cp-gray-light);
    letter-spacing: 0.5px;
}

.mega-dropdown .mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-dropdown .mega-col ul li {
    margin-bottom: 8px;
}

.mega-dropdown .mega-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--cp-text);
    text-decoration: none;
    padding: 5px 0;
    transition: var(--cp-transition);
}

.mega-dropdown .mega-col ul li a:hover {
    color: var(--cp-primary);
    padding-left: 5px;
}

.mega-dropdown .mega-col ul li a i {
    font-size: 11px;
    color: var(--cp-primary);
    width: 16px;
    opacity: 0.7;
}

/* -- Header Right Actions -- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--cp-light);
    border-radius: 50%;
    color: var(--cp-dark);
    font-size: 16px;
    cursor: pointer;
    transition: var(--cp-transition);
}

.header-search-btn:hover {
    background: var(--cp-primary);
    color: var(--cp-white);
}

.btn-get-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--cp-gradient);
    color: var(--cp-white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--cp-transition);
    box-shadow: 0 4px 15px rgba(216, 76, 15, 0.3);
}

.btn-get-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 76, 15, 0.4);
    color: var(--cp-white);
    text-decoration: none;
}

/* -- Search Overlay -- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay .search-form {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.search-overlay.active .search-form {
    transform: translateY(0);
}

.search-overlay .search-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--cp-primary);
    font-size: 36px;
    color: var(--cp-white);
    padding: 15px 0;
    outline: none;
    font-family: var(--cp-font);
    font-weight: 300;
}

.search-overlay .search-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-overlay .close-search {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--cp-white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--cp-transition);
}

.search-overlay .close-search:hover {
    border-color: var(--cp-primary);
    background: var(--cp-primary);
}

/* -- Mobile Menu Toggle -- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 100;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--cp-dark);
    transition: var(--cp-transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SECTION ---------- */
.cp-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cp-gradient-dark);
}

.cp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.6) 50%, rgba(216, 76, 15, 0.3) 100%);
    z-index: 1;
}

/* Hero V2 — brighter, more vibrant */
.cp-hero.cp-hero-v2::before {
    background: linear-gradient(135deg, rgba(216, 76, 15, 0.08) 0%, rgba(233, 69, 96, 0.06) 50%, rgba(216, 76, 15, 0.12) 100%);
}

.cp-hero.cp-hero-v2::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.cp-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, #0f0c29 0%, #1a1a3e 35%, #24243e 60%, #302b42 80%, #3d2b1f 100%);
    z-index: 0;
}

.cp-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.cp-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(216, 76, 15, 0.15);
    color: var(--cp-primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(216, 76, 15, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cp-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--cp-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cp-hero h1 .text-gradient {
    background: var(--cp-gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cp-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.cp-hero .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cp-hero .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cp-hero .hero-stats .stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--cp-primary-light);
    margin-bottom: 5px;
}

.cp-hero .hero-stats .stat-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cp-hero .hero-image-col {
    position: relative;
    z-index: 2;
}

.cp-hero .hero-image-wrapper {
    position: relative;
}

.cp-hero .hero-image-wrapper img {
    border-radius: var(--cp-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.hero-float-card {
    position: absolute;
    background: var(--cp-white);
    border-radius: var(--cp-radius);
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 20%;
    right: -20px;
}

.hero-float-card.card-2 {
    bottom: 15%;
    left: -20px;
    animation-delay: 1.5s;
}

.hero-float-card .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(216, 76, 15, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cp-primary);
    font-size: 18px;
}

.hero-float-card h5 {
    font-size: 14px;
    margin: 0 0 3px;
    color: var(--cp-dark);
}

.hero-float-card span {
    font-size: 12px;
    color: var(--cp-text-light);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- CIRCULAR CATEGORY SLIDER ---------- */
.cp-categories-static {
    padding: 80px 0 60px;
    background: var(--cp-white);
}

.cat-static-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 10px 0 20px;
    flex-wrap: wrap;
}

.cat-static-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--cp-transition);
}

.cat-static-item:hover {
    transform: translateY(-8px);
}

.cat-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--cp-gray-light);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--cp-transition);
    margin-bottom: 14px;
}

.cat-static-item:hover .cat-circle {
    border-color: var(--cp-primary);
    box-shadow: 0 10px 30px rgba(216, 76, 15, 0.25);
}

.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-static-item:hover .cat-circle img {
    transform: scale(1.1);
}

.cat-static-item h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--cp-dark);
    text-align: center;
    margin: 0;
    max-width: 150px;
    line-height: 1.3;
    transition: var(--cp-transition);
}

.cat-static-item:hover h5 {
    color: var(--cp-primary);
}

/* ---------- BROWSE BY CATEGORY (Unified Subcategories) ---------- */
.cp-browse-categories {
    padding: 70px 0;
    background: var(--cp-light);
}

.browse-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    text-align: center;
    transition: var(--cp-transition);
    padding: 15px 10px;
    border-radius: var(--cp-radius-lg);
    background: var(--cp-white);
    box-shadow: var(--cp-shadow);
    height: 100%;
}

.browse-cat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--cp-shadow-hover);
}

.browse-cat-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 3px solid var(--cp-gray-light);
    transition: var(--cp-transition);
    flex-shrink: 0;
}

.browse-cat-item:hover .browse-cat-img {
    border-color: var(--cp-primary);
}

.browse-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.browse-cat-item:hover .browse-cat-img img {
    transform: scale(1.08);
}

.browse-cat-item h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--cp-dark);
    margin: 0;
    line-height: 1.3;
    transition: var(--cp-transition);
}

.browse-cat-item:hover h6 {
    color: var(--cp-primary);
}

/* ---------- WHY CHOOSE US ---------- */
.cp-why-us {
    padding: 80px 0;
    background: var(--cp-light);
    position: relative;
}

.cp-why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cp-gradient);
}

.why-card {
    background: var(--cp-white);
    border-radius: var(--cp-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--cp-shadow);
    transition: var(--cp-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cp-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--cp-shadow-hover);
}

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

.why-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216, 76, 15, 0.1) 0%, rgba(233, 69, 96, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--cp-primary);
    transition: var(--cp-transition);
}

.why-card:hover .icon-wrapper {
    background: var(--cp-gradient);
    color: var(--cp-white);
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--cp-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ---------- PRODUCTS SECTION ---------- */
.cp-products {
    padding: 80px 0;
}

.product-card {
    background: var(--cp-white);
    border-radius: var(--cp-radius-lg);
    overflow: hidden;
    box-shadow: var(--cp-shadow);
    transition: var(--cp-transition);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cp-shadow-hover);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--cp-light);
}

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

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

.product-card .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--cp-gradient);
    color: var(--cp-white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(216, 76, 15, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(216, 76, 15, 0); }
}

.product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--cp-transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .product-overlay a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--cp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cp-dark);
    font-size: 16px;
    text-decoration: none;
    transition: var(--cp-transition);
    transform: translateY(20px);
}

.product-card:hover .product-overlay a {
    transform: translateY(0);
}

.product-card .product-overlay a:hover {
    background: var(--cp-primary);
    color: var(--cp-white);
}

.product-card .product-info {
    padding: 20px;
}

.product-card .product-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card .product-info h5 a {
    color: var(--cp-dark);
    text-decoration: none;
}

.product-card .product-info h5 a:hover {
    color: var(--cp-primary);
}

.product-card .product-info p {
    font-size: 13px;
    color: var(--cp-text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-card .product-info .view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cp-primary);
    text-decoration: none;
    transition: var(--cp-transition);
}

.product-card .product-info .view-link:hover {
    gap: 10px;
    color: var(--cp-accent);
}

/* -- Hot Products Carousel Override -- */
.containerHotProducts .item {
    border-radius: var(--cp-radius-lg);
    overflow: hidden;
    box-shadow: var(--cp-shadow);
    transition: var(--cp-transition);
    background: var(--cp-white);
}

.containerHotProducts .item:hover {
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-5px);
}

.containerHotProducts .item .thumb img {
    transition: transform 0.5s ease;
}

.containerHotProducts .item:hover .thumb img {
    transform: scale(1.05);
}

/* ---------- TESTIMONIALS ---------- */
.cp-testimonials {
    padding: 80px 0;
    background: var(--cp-light);
}

.testimonial-card {
    background: var(--cp-white);
    border-radius: var(--cp-radius-lg);
    padding: 35px;
    box-shadow: var(--cp-shadow);
    transition: var(--cp-transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cp-shadow-lg);
}

.testimonial-card .quote-icon {
    font-size: 40px;
    color: var(--cp-primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--cp-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .testimonial-author .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cp-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cp-white);
    font-size: 18px;
    font-weight: 700;
}

.testimonial-card .testimonial-author h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.testimonial-card .testimonial-author span {
    font-size: 12px;
    color: var(--cp-text-light);
}

.testimonial-card .stars {
    margin-bottom: 15px;
    color: #ffc107;
    font-size: 14px;
}

/* ---------- CTA BANNER ---------- */
.cp-cta {
    padding: 80px 0;
    background: var(--cp-gradient-dark);
    position: relative;
    overflow: hidden;
}

.cp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(216, 76, 15, 0.1);
}

.cp-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.08);
}

.cp-cta .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cp-cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--cp-white);
    margin-bottom: 20px;
}

.cp-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 35px;
}

/* ---------- STATS COUNTER ---------- */
.cp-stats {
    padding: 70px 0;
    background: var(--cp-white);
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
}

.stat-box .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(216, 76, 15, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--cp-primary);
    transition: var(--cp-transition);
}

.stat-box:hover .stat-icon {
    background: var(--cp-gradient);
    color: var(--cp-white);
    transform: scale(1.1);
}

.stat-box h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--cp-dark);
    margin-bottom: 5px;
}

.stat-box h3 .counter-suffix {
    color: var(--cp-primary);
}

.stat-box p {
    font-size: 14px;
    color: var(--cp-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 0;
}

/* ---------- FOOTER ---------- */
.cp-footer {
    background: var(--cp-gradient-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
}

.cp-footer .footer-main {
    padding: 70px 0 40px;
}

.cp-footer .footer-brand {
    margin-bottom: 25px;
}

.cp-footer .footer-brand img {
    max-height: 50px;
    margin-bottom: 20px;
}

.cp-footer .footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.cp-footer .social-links {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    text-decoration: none;
    transition: var(--cp-transition);
}

.cp-footer .social-links a:hover {
    background: var(--cp-primary);
    color: var(--cp-white);
    transform: translateY(-3px);
}

.cp-footer h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--cp-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.cp-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--cp-gradient);
    border-radius: 2px;
}

.cp-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-footer .footer-links li {
    margin-bottom: 12px;
}

.cp-footer .footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: var(--cp-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cp-footer .footer-links li a:hover {
    color: var(--cp-primary);
    padding-left: 5px;
}

.cp-footer .footer-links li a i {
    font-size: 10px;
    color: var(--cp-primary);
}

.cp-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.cp-footer .footer-contact li i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(216, 76, 15, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cp-primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cp-footer .footer-contact li span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cp-footer .footer-contact li span a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--cp-transition);
}

.cp-footer .footer-contact li span a:hover {
    color: var(--cp-primary);
}

/* -- Newsletter -- */
.cp-footer .newsletter-form {
    position: relative;
    margin-top: 20px;
}

.cp-footer .newsletter-form input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: var(--cp-white);
    font-size: 14px;
    outline: none;
    font-family: var(--cp-font);
    transition: var(--cp-transition);
}

.cp-footer .newsletter-form input:focus {
    border-color: var(--cp-primary);
    background: rgba(255, 255, 255, 0.1);
}

.cp-footer .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cp-footer .newsletter-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cp-gradient);
    color: var(--cp-white);
    border: none;
    cursor: pointer;
    transition: var(--cp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cp-footer .newsletter-form button:hover {
    transform: translateY(-50%) scale(1.05);
}

/* -- Footer Bottom Bar -- */
.cp-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.cp-footer .footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cp-footer .payment-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.cp-footer .payment-icons i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--cp-transition);
}

.cp-footer .payment-icons i:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cp-gradient);
    color: var(--cp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--cp-transition);
    box-shadow: 0 5px 20px rgba(216, 76, 15, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(216, 76, 15, 0.4);
}

/* ---------- AOS-STYLE ANIMATIONS ---------- */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}
[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}
[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}
[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}
[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-up"] {
    transform: perspective(600px) rotateX(15deg);
}
[data-aos="flip-up"].aos-animate {
    transform: perspective(600px) rotateX(0);
}

/* ---------- FLOATING BUTTONS OVERRIDE ---------- */
.floating-buttons {
    z-index: 998;
}

.whatsapp-float {
    background-color: #25d366 !important;
}

.whatsapp-float:hover {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.call-float {
    background-color: var(--cp-primary) !important;
}

.call-float:hover {
    box-shadow: 0 5px 20px rgba(216, 76, 15, 0.4);
}

/* ---------- CATEGORY LISTING / SUBCATEGORY SECTION ---------- */
.cp-subcategories {
    padding: 60px 0;
}

.subcat-card {
    background: var(--cp-white);
    border-radius: var(--cp-radius-lg);
    overflow: hidden;
    box-shadow: var(--cp-shadow);
    transition: var(--cp-transition);
    height: 100%;
    text-align: center;
}

.subcat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cp-shadow-hover);
}

.subcat-card .subcat-img {
    height: 200px;
    overflow: hidden;
    background: var(--cp-light);
}

.subcat-card .subcat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.subcat-card:hover .subcat-img img {
    transform: scale(1.08);
}

.subcat-card .subcat-info {
    padding: 20px;
}

.subcat-card .subcat-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.subcat-card .subcat-info h5 a {
    color: var(--cp-dark);
    text-decoration: none;
    transition: var(--cp-transition);
}

.subcat-card .subcat-info h5 a:hover {
    color: var(--cp-primary);
}

/* ---------- BREADCRUMBS OVERRIDE ---------- */
.breadcrumb {
    background: transparent;
    padding: 10px 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--cp-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--cp-text-light);
}

/* ---------- SUBSCRIBE / NEWSLETTER OVERRIDE ---------- */
.subscribe {
    background: var(--cp-gradient-dark) !important;
}

/* ---------- PAGE SECTION HEADING OVERRIDES ---------- */
.section-heading h1,
.section-heading h2 {
    position: relative;
    display: inline-block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
    .cp-nav > li > a {
        padding: 26px 12px;
        font-size: 13px;
    }

    .mega-dropdown {
        min-width: 500px;
    }
}

@media (max-width: 991px) {
    /* Mobile Menu */
    .mobile-toggle {
        display: flex;
    }

    .cp-nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--cp-white);
        z-index: 9998;
        overflow-y: auto;
        transition: right 0.4s ease;
        padding: 80px 0 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .cp-nav-wrapper.open {
        right: 0;
    }

    .cp-nav {
        flex-direction: column;
        gap: 0;
    }

    .cp-nav > li > a {
        padding: 14px 25px;
        border-bottom: 1px solid var(--cp-gray-light);
        font-size: 14px;
        justify-content: space-between;
    }

    .mega-dropdown {
        position: static;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 15px 25px;
        border-top: none;
        display: none;
        background: var(--cp-light);
    }

    .cp-nav > li.menu-open .mega-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mega-dropdown .row {
        flex-direction: column;
    }

    .mega-dropdown .mega-col {
        padding: 0;
        margin-bottom: 15px;
    }

    .mega-dropdown .mega-col h6 {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9997;
        opacity: 0;
        visibility: hidden;
        transition: var(--cp-transition);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero Mobile */
    .cp-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .cp-hero h1 {
        font-size: 32px;
    }

    .cp-hero .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .cp-hero .hero-stats .stat-item h3 {
        font-size: 24px;
    }

    .cp-hero .hero-image-col {
        display: none;
    }

    .hero-float-card {
        display: none;
    }

    /* Static Categories */
    .cat-static-row {
        gap: 30px;
    }

    .cat-circle {
        width: 120px;
        height: 120px;
    }

    .cat-static-item h5 {
        font-size: 13px;
        max-width: 120px;
    }

    /* Browse by Category */
    .browse-cat-img {
        width: 80px;
        height: 80px;
    }

    /* Stats */
    .stat-box {
        margin-bottom: 20px;
    }

    .stat-box h3 {
        font-size: 32px;
    }

    /* CTA */
    .cp-cta h2 {
        font-size: 28px;
    }

    /* Footer */
    .cp-footer .footer-main .col-lg-3 {
        margin-bottom: 30px;
    }

    .cp-footer .payment-icons {
        justify-content: flex-start;
        margin-top: 10px;
    }

    /* Section title */
    .section-title h1,
    .section-title h2 {
        font-size: 28px;
    }

    /* Get quote button mobile */
    .btn-get-quote {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .cp-hero h1 {
        font-size: 28px;
    }

    .cp-hero p {
        font-size: 15px;
    }

    .cp-hero .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cp-hero .hero-stats {
        gap: 15px;
    }

    .cp-hero .hero-stats .stat-item {
        flex: 1;
    }

    .section-title h1,
    .section-title h2 {
        font-size: 24px;
    }

    .why-card {
        padding: 30px 20px;
    }

    .cp-cta h2 {
        font-size: 24px;
    }

    .cp-cta p {
        font-size: 15px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .back-to-top {
        bottom: 90px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .cat-static-row {
        gap: 20px;
    }

    .cat-circle {
        width: 90px;
        height: 90px;
        border-width: 3px;
    }

    .cat-static-item h5 {
        font-size: 12px;
        max-width: 90px;
    }

    .browse-cat-img {
        width: 70px;
        height: 70px;
    }

    .browse-cat-item {
        padding: 12px 8px;
    }

    .browse-cat-item h6 {
        font-size: 12px;
    }

    .cp-hero h1 {
        font-size: 24px;
    }

    .header-actions .btn-get-quote span.btn-text {
        display: none;
    }

    .header-actions .btn-get-quote {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .stat-box h3 {
        font-size: 28px;
    }

    .cp-browse-categories {
        padding: 50px 0;
    }
}

/* ---------- ADDITIONAL PAGE OVERRIDES ---------- */

/* Override existing HexaShop header to avoid conflicts */
.header-area.header-sticky {
    display: none !important;
}

/* Override the default subscribe section */
.subscribe .section-heading h2 {
    color: var(--cp-white);
}

.subscribe .section-heading span {
    color: rgba(255, 255, 255, 0.7);
}

/* Hide old footer if still rendered */
body > footer:not(.cp-footer) {
    display: none !important;
}

/* Image zoom effect for product pages */
.zoom-on-hover {
    overflow: hidden;
    border-radius: var(--cp-radius);
}

.zoom-on-hover img {
    transition: transform 0.5s ease;
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--cp-radius);
}

/* Print styles */
/* ---------- PAGINATION OVERRIDE ---------- */
.pagination {
    gap: 5px;
}

.pagination .page-item .page-link {
    border: none;
    border-radius: var(--cp-radius);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cp-text);
    background: var(--cp-light);
    transition: var(--cp-transition);
    font-family: var(--cp-font);
}

.pagination .page-item .page-link:hover {
    background: var(--cp-primary);
    color: var(--cp-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 76, 15, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--cp-gradient);
    color: var(--cp-white);
    box-shadow: 0 4px 12px rgba(216, 76, 15, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: var(--cp-gray);
    background: transparent;
}

/* ---------- STICKY BOTTOM BAR ---------- */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cp-dark);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    z-index: 997;
    font-size: 13px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
}

.sticky-bottom-bar .bar-left {
    display: flex;
    gap: 20px;
}

.sticky-bottom-bar .bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sticky-bottom-bar .bar-left span i {
    color: var(--cp-primary);
}

.sticky-bottom-bar .bar-center .quick-inquiry {
    background: var(--cp-gradient);
    color: var(--cp-white);
    padding: 8px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--cp-transition);
    display: inline-block;
}

.sticky-bottom-bar .bar-center .quick-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 76, 15, 0.4);
}

.sticky-bottom-bar .bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-bottom-bar .bar-right span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sticky-bottom-bar .bar-right a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: var(--cp-transition);
    text-decoration: none;
}

.sticky-bottom-bar .bar-right a:hover {
    color: var(--cp-primary);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .sticky-bottom-bar .bar-left,
    .sticky-bottom-bar .bar-right span {
        display: none;
    }

    .sticky-bottom-bar {
        justify-content: center;
        gap: 15px;
        padding: 8px 15px;
    }

    .sticky-bottom-bar .bar-right {
        gap: 15px;
    }
}

/* ---------- INQUIRY FORM STYLING ---------- */
.order-form {
    background: var(--cp-white);
    border-radius: var(--cp-radius-lg);
    padding: 30px;
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-gray-light);
}

.order-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cp-gray-light);
}

.order-form .form-group {
    margin-bottom: 18px;
}

.order-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--cp-text);
    margin-bottom: 6px;
}

.order-form .form-group input,
.order-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cp-gray-light);
    border-radius: var(--cp-radius);
    font-size: 14px;
    font-family: var(--cp-font);
    transition: var(--cp-transition);
    outline: none;
    background: var(--cp-light);
}

.order-form .form-group input:focus,
.order-form .form-group textarea:focus {
    border-color: var(--cp-primary);
    background: var(--cp-white);
    box-shadow: 0 0 0 3px rgba(216, 76, 15, 0.1);
}

.order-form .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.order-form .product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.order-form .order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--cp-transition);
    text-decoration: none;
    font-family: var(--cp-font);
    background: var(--cp-gradient);
    color: var(--cp-white);
    border: none;
}

.order-form .order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 76, 15, 0.3);
}

/* ---------- BLOG POST HOVER ---------- */
.blog-post-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* ---------- CONTACT PAGE OVERRIDES ---------- */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media print {
    .cp-header,
    .floating-buttons,
    .back-to-top,
    .cp-cta,
    .sticky-bottom-bar {
        display: none !important;
    }
}

/* ==========================================================
   MOBILE RESPONSIVE OVERHAUL
   ========================================================== */

/* --- Horizontal scroll containers (categories & subcategories) --- */
.scroll-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > .scroll-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* --- Category slider on mobile --- */
@media (max-width: 991px) {
    .cp-categories .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding-bottom: 10px;
        scrollbar-width: none;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .cp-categories .row::-webkit-scrollbar { display: none; }
    .cp-categories .row > [class*="col-"] {
        flex: 0 0 260px;
        max-width: 260px;
        scroll-snap-align: start;
        padding: 0;
        margin-bottom: 0;
    }
    .cp-categories .category-card {
        height: 200px;
        margin-bottom: 0;
    }
    .cp-categories .category-card .cat-overlay {
        padding: 20px 15px;
    }
    .cp-categories .category-card .cat-overlay h4 {
        font-size: 16px;
    }
    .cp-categories .category-card .cat-overlay p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .cp-categories .category-card .cat-overlay .cat-link {
        opacity: 1;
        transform: none;
        font-size: 12px;
    }
}

/* --- Subcategory slider on mobile --- */
@media (max-width: 991px) {
    .cp-subcategories .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 10px;
        scrollbar-width: none;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .cp-subcategories .row::-webkit-scrollbar { display: none; }
    .cp-subcategories .row > [class*="col-"] {
        flex: 0 0 150px;
        max-width: 150px;
        scroll-snap-align: start;
        padding: 0;
        margin-bottom: 0;
    }
    .cp-subcategories {
        padding: 40px 0;
    }
    .cp-subcategories .subcat-card {
        border-radius: var(--cp-radius);
    }
    .cp-subcategories .subcat-img {
        height: 120px;
    }
    .cp-subcategories .subcat-img img {
        height: 100%;
        object-fit: cover;
    }
    .cp-subcategories .subcat-info h5 {
        font-size: 13px;
        padding: 8px 6px;
    }
    .cp-subcategories .subcat-info h5 a {
        font-size: 13px;
    }
}

/* --- Product grid: 2 columns on phones --- */
@media (max-width: 575px) {
    .cp-products .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px !important;
    }
    .cp-products .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    .product-card {
        border-radius: var(--cp-radius);
    }
    .product-image {
        height: 160px;
    }
    .product-info {
        padding: 10px 10px 14px;
    }
    .product-info h5 {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 4px;
    }
    .product-info h5 a {
        font-size: 13px;
    }
    .product-info p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-info .view-link {
        font-size: 12px;
    }
    .product-badge {
        font-size: 9px;
        padding: 3px 10px;
        top: 8px;
        left: 8px;
    }
    .product-overlay a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* Also for category pages subcategory cards at 575px */
@media (max-width: 575px) {
    section.cp-products .row.mb-5 > [class*="col-"] {
        flex: 0 0 140px;
        max-width: 140px;
    }
    section.cp-products .row.mb-5 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    section.cp-products .row.mb-5::-webkit-scrollbar { display: none; }
    section.cp-products .row.mb-5 > [class*="col-"] {
        scroll-snap-align: start;
        padding: 0;
        margin-bottom: 0 !important;
    }
}

/* --- Hero section mobile polish --- */
@media (max-width: 575px) {
    .cp-hero {
        padding: 40px 0;
    }
    .cp-hero .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 15px;
    }
    .cp-hero h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    .cp-hero p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    .cp-hero .hero-buttons {
        gap: 10px;
    }
    .cp-hero .hero-buttons .btn-cp {
        font-size: 13px;
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
    }
    .cp-hero .hero-stats {
        margin-top: 25px;
        padding-top: 20px;
        gap: 0;
    }
    .cp-hero .hero-stats .stat-item {
        text-align: center;
    }
    .cp-hero .hero-stats .stat-item h3 {
        font-size: 20px;
    }
    .cp-hero .hero-stats .stat-item p {
        font-size: 11px;
    }
}

/* --- Section titles mobile --- */
@media (max-width: 575px) {
    .section-title {
        margin-bottom: 20px;
    }
    .section-title h1,
    .section-title h2 {
        font-size: 20px;
    }
    .section-title p {
        font-size: 13px;
    }
    .cp-categories,
    .cp-why-us,
    .cp-products,
    .cp-testimonials,
    .cp-stats {
        padding: 40px 0;
    }
}

/* --- Why Choose Us: 2 columns on mobile --- */
@media (max-width: 575px) {
    .cp-why-us .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }
    .cp-why-us .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    .why-card {
        padding: 20px 12px;
        text-align: center;
    }
    .why-card .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto 12px;
    }
    .why-card h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .why-card p {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* --- CTA sections mobile --- */
@media (max-width: 575px) {
    .cp-cta {
        padding: 40px 0;
    }
    .cp-cta .cta-content {
        padding: 0 10px;
    }
    .cp-cta h2 {
        font-size: 20px;
    }
    .cp-cta p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .cp-cta .btn-cp {
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* --- Testimonials: horizontal scroll on mobile --- */
@media (max-width: 767px) {
    .cp-testimonials .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding-bottom: 10px;
        scrollbar-width: none;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .cp-testimonials .row::-webkit-scrollbar { display: none; }
    .cp-testimonials .row > [class*="col-"] {
        flex: 0 0 280px;
        max-width: 280px;
        scroll-snap-align: start;
        padding: 0;
        margin-bottom: 0;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-card p {
        font-size: 13px;
        line-height: 1.6;
    }
    .testimonial-card .testimonial-author h6 {
        font-size: 13px;
    }
    .testimonial-card .testimonial-author span {
        font-size: 11px;
    }
    .testimonial-card .author-avatar {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

/* --- Stats 2x2 grid on small phones --- */
@media (max-width: 575px) {
    .cp-stats {
        padding: 30px 0;
    }
    .stat-box {
        padding: 15px 10px;
        margin-bottom: 10px;
    }
    .stat-box .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    .stat-box h3 {
        font-size: 22px;
    }
    .stat-box p {
        font-size: 12px;
    }
}

/* --- Footer mobile --- */
@media (max-width: 575px) {
    .cp-footer .footer-main {
        padding: 40px 0 20px;
    }
    .cp-footer h5 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .cp-footer .footer-brand p {
        font-size: 13px;
    }
    .cp-footer .footer-links li {
        margin-bottom: 8px;
    }
    .cp-footer .footer-links li a {
        font-size: 13px;
    }
    .cp-footer .footer-contact li {
        margin-bottom: 14px;
    }
    .cp-footer .footer-contact li i {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .cp-footer .social-links a {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .cp-footer .newsletter-form input {
        padding: 12px 45px 12px 15px;
        font-size: 13px;
    }
    .cp-footer .newsletter-form button {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    .cp-footer .footer-bottom {
        padding: 15px 0;
        text-align: center;
    }
    .cp-footer .footer-bottom .row {
        flex-direction: column;
        gap: 10px;
    }
    .cp-footer .payment-icons {
        justify-content: center;
    }
}

/* --- Sticky bottom bar mobile --- */
@media (max-width: 575px) {
    .sticky-bottom-bar {
        padding: 6px 10px;
        font-size: 12px;
    }
    .sticky-bottom-bar .bar-center .quick-inquiry {
        padding: 6px 18px;
        font-size: 12px;
    }
    .sticky-bottom-bar .bar-right a {
        font-size: 14px;
    }
}

/* --- Floating action buttons mobile --- */
@media (max-width: 575px) {
    .floating-buttons {
        bottom: 70px;
    }
    .floating-buttons a {
        width: 44px;
        height: 44px;
    }
    .floating-buttons a img {
        width: 24px;
        height: 24px;
    }
    .back-to-top {
        bottom: 70px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* --- Blog page mobile --- */
@media (max-width: 575px) {
    .blog-post-item {
        border-radius: var(--cp-radius) !important;
    }
    .blog-post-item img {
        max-height: 180px !important;
    }
}

/* --- Product detail page mobile --- */
@media (max-width: 767px) {
    .product-details-wrapper {
        flex-direction: column;
    }
    .product-gallery {
        width: 100%;
    }
    .product-info {
        width: 100%;
        padding: 20px 0 0;
    }
    .product-details-section {
        padding: 20px 0 40px;
    }
    .main-image-container img {
        max-height: 300px;
        object-fit: contain;
    }
    .thumbnail-gallery {
        margin-top: 10px;
    }
    .thumbnail-container {
        gap: 8px;
    }
    .thumbnail {
        width: 55px;
        height: 55px;
    }
}

/* --- Contact page mobile --- */
@media (max-width: 767px) {
    .contact-page-grid {
        flex-direction: column;
    }
}

/* --- Breadcrumb mobile --- */
@media (max-width: 575px) {
    nav[aria-label="breadcrumb"] {
        font-size: 12px;
        padding: 8px 0;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        font-size: 10px;
    }
}

/* --- Search bar mobile --- */
@media (max-width: 575px) {
    .cp-products form input[type="text"] {
        font-size: 14px !important;
        padding: 12px 45px 12px 16px !important;
    }
}

/* --- Pagination mobile --- */
@media (max-width: 575px) {
    .pagination {
        gap: 3px;
    }
    .pagination .page-item .page-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* --- Category page banner mobile --- */
@media (max-width: 575px) {
    [style*="padding:80px 0"] {
        padding: 50px 0 !important;
    }
    [style*="font-size:36px"] {
        font-size: 24px !important;
    }
}

/* --- General mobile body padding for sticky bar --- */
@media (max-width: 991px) {
    body {
        padding-bottom: 50px;
    }
}

/* --- Ensure tap targets are large enough --- */
@media (max-width: 575px) {
    .product-overlay a {
        min-width: 36px;
        min-height: 36px;
    }
    a, button {
        min-height: 36px;
    }
}

/* --- Scroll hint indicator for sliders --- */
@media (max-width: 991px) {
    .cp-categories .section-title::after,
    .cp-subcategories .section-title::after,
    .cp-testimonials .section-title::after {
        content: 'Swipe \2192';
        display: block;
        font-size: 12px;
        color: var(--cp-primary);
        font-weight: 500;
        margin-top: 5px;
        opacity: 0.7;
    }
}
