/* ================= HEADER ================= */
.tp-header-main {
    padding: 5px 0;
}

.tp-header-bottom {
    padding: 4px 0;
}

/* ================= MAIN MENU ================= */
.tp-main-menu-content > ul {
    display: flex;
    align-items: center;
    justify-content: center;   /* keep centered */
    gap: 2px;                  /* 🔥 VERY LOW GAP */
    margin: 0;
    padding: 0;
}

/* remove default spacing */
.tp-main-menu-content > ul > li {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

/* 🔥 MAIN FIX: reduce space between menu links */
.tp-main-menu-content > ul > li > a {
    font-size: 13px;
    padding: 5px 6px;          /* 🔥 LOW SPACE BETWEEN MENU */
    display: flex;
    align-items: center;
    gap: 3px;
    color: #010f1c;
}

/* reduce dropdown icon size */
.tp-main-menu-content > ul > li > a svg {
    width: 13px;
    height: 13px;
}

/* ================= SUBMENU ================= */
.tp-main-menu-content ul li .tp-submenu {
    position: absolute;
    background: #fff;
    min-width: 200px;
    padding: 8px 0;
    top: 120%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* force vertical submenu */
.tp-main-menu-content ul li .tp-submenu ul {
    display: block !important;
    margin: 0;
    padding: 0;
}

/* submenu items */
.tp-main-menu-content ul li .tp-submenu ul li {
    display: block;
    width: 100%;
}

/* submenu links */
.tp-main-menu-content ul li .tp-submenu ul li a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: #222;
    white-space: nowrap;
}

/* hover effect */
.tp-main-menu-content ul li .tp-submenu ul li a:hover {
    background: #ec3331;
    color: #fff;
}

/* show submenu */
.tp-main-menu-content ul li:hover > .tp-submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
    transition: 0.3s ease;
}

/* ================= HEADER ROW FIX ================= */
.tp-mega-menu-wrapper .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* keep all in one row */
}
/* =========================
   STICKY HEADER ONLY
========================= */

/* =========================
   HERO SLIDER BASE
========================= */

.vc-hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* =========================
   SLIDE BASE
========================= */

.vc-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 60px;
    opacity: 0;
    animation: vcSlideFade 20s infinite;
}

/* =========================
   BACKGROUND IMAGES - DESKTOP
========================= */

.vc-slide1 {
    background-image: url("https://kcrtextiles.com/storage/kcr-textiles-new-collection-banner.png");
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation-delay: 0s;
}

.vc-slide2 {
    background-image: url("https://kcrtextiles.com/storage/elegant-womens-collection-fashion-banner.png");
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation-delay: 5s;
}

.vc-slide3 {
    background-image: url("https://kcrtextiles.com/storage/kcr-textiles-mens-collection.png");
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation-delay: 10s;
}

.vc-slide4 {
    background-image: url("https://kcrtextiles.com/storage/kcr-textiles-kids-collection-banner.png");
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation-delay: 15s;
}

/* =========================
   DARK OVERLAY
========================= */

.vc-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
    display: none;
}

/* =========================
   CONTENT WRAPPER
========================= */

.vc-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
    display: none;
}

/* =========================
   TEXT STYLE
========================= */

.vc-subtitle {
    display: block;
    font-size: 28px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.vc-title {
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.vc-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.vc-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00A2D1;
    color: #000;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
}

/* =========================
   TEXT ANIMATION
========================= */

.vc-subtitle,
.vc-title,
.vc-text,
.vc-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: vcTextFade 15s infinite;
}

/* SLIDE 1 */

.vc-slide1 .vc-subtitle,
.vc-slide1 .vc-title,
.vc-slide1 .vc-text,
.vc-slide1 .vc-btn {
    animation-delay: 0s;
}

/* SLIDE 2 */

.vc-slide2 .vc-subtitle,
.vc-slide2 .vc-title,
.vc-slide2 .vc-text,
.vc-slide2 .vc-btn {
    animation-delay: 5s;
}

/* SLIDE 3 */

.vc-slide3 .vc-subtitle,
.vc-slide3 .vc-title,
.vc-slide3 .vc-text,
.vc-slide3 .vc-btn {
    animation-delay: 10s;
}

/* SLIDE 4 */

.vc-slide4 .vc-subtitle,
.vc-slide4 .vc-title,
.vc-slide4 .vc-text,
.vc-slide4 .vc-btn {
    animation-delay: 15s;
}

/* =========================
   SLIDE FADE ANIMATION
========================= */

@keyframes vcSlideFade {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    35% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* =========================
   TEXT ANIMATION
========================= */

@keyframes vcTextFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    8% {
        opacity: 1;
        transform: translateY(0);
    }
    28% {
        opacity: 1;
    }
    35% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
    }
}

/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 768px) {

    .vc-slide {
        padding: 30px;
    }

    .vc-content {
        position: relative;
        z-index: 2;
        max-width: 600px;
        color: #fff;
    }

    .vc-hero-slider {
        height: 60vh;
    }

    .vc-title {
        font-size: 28px;
    }

    .vc-text {
        font-size: 18px;
    }

    .vc-subtitle {
        font-size: 20px;
    }

    /* MOBILE SLIDE 1 */
    .vc-slide1 {
        background-image: url("https://kcrtextiles.com/storage/kcr-textiles-new-collection-banner-2.png");
        background-position: center center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    /* MOBILE SLIDE 2 */
    .vc-slide2 {
        background-image: url("https://kcrtextiles.com/storage/elegant-womens-collection-fashion-banner-2.png");
        background-position: center center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    /* MOBILE SLIDE 3 */
    .vc-slide3 {
        background-image: url("https://kcrtextiles.com/storage/kcr-textiles-mens-collection-1.png");
        background-position: center center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    /* MOBILE SLIDE 4 */
    .vc-slide4 {
        background-image: url("https://kcrtextiles.com/storage/colorful-kids-collection-poster.png");
        background-position: center center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
}

/* =========================
   UNIQUE LIGHT BLUE SEARCH DESIGN
========================= */

/* =========================
   REMOVE CATEGORY BUTTON
========================= */
.tp-header-category {
    display: none !important;
}

/* =========================
   SHOW CATEGORY INSIDE SEARCH
========================= */
/* =========================
   CATEGORY (MORE SPACE)
========================= */
.tp-header-search-category {
    display: block !important;
    border-left: 1px solid #e6f2ff;
    padding: 0 15px;
    min-width: 120px;           /* 🔥 more space for category */
}

.tp-header-search-category select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #0072ff;
    font-weight: 500;
    cursor: pointer;
}

/* =========================
   SEARCH CONTAINER
========================= */
.tp-header-search {
    position: relative;
    max-width: 650px;
    width: 100%;
}

/* =========================
   WRAPPER
========================= */
.tp-header-search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    background: #f8fcff;
    border-radius: 60px;
    padding: 0;
    overflow: hidden;
    z-index: 1;
  border: 5px solid #07556B;
}



/* =========================
   INPUT (LESS SPACE)
========================= */
.tp-header-search-box {
    flex: 0.7;              /* 🔥 reduce input width */
}

.tp-header-search-box input {
    width: 100%;
    height: 52px;
    border: none;
    outline: none;
    padding: 0 12px;        /* less padding */
    font-size: 13px;
    background: transparent;
    color: #333;
}

/* =========================
   SEARCH BUTTON (MORE SPACE)
========================= */
.tp-header-search-btn {
    margin-left: -2px;
}

.tp-header-search-btn button {
    width: 65px;            /* 🔥 bigger button */
    height: 52px;
    border: none;
    border-radius: 50px;
    background-color: transparent;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔥 bigger icon */
.tp-header-search-btn button svg {
    width: 20px;
    height: 20px;
}

/* hover */
.tp-header-search-btn button:hover {
    transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {

    .tp-header-search {
        max-width: 100%;
        margin: 10px 0;
    }

    .tp-header-search-box {
        flex: 1;
    }

    .tp-header-search-box input {
        height: 45px;
        font-size: 13px;
    }

    .tp-header-search-btn button {
        height: 45px;
        width: 55px;
    }
}

/* =========================
   FORCE VERTICAL MENU
========================= */
.tp-main-menu-mobile .tp-main-menu-content ul {
    display: block !important;
    padding: 0;
    margin: 0;
}

/* Each main item */
.tp-main-menu-mobile .tp-main-menu-content ul li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
}

/* Links */
.tp-main-menu-mobile .tp-main-menu-content ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 15px;
    font-size: 15px;
    color: #222;
    text-decoration: none;
}

/* =========================
   DROPDOWN ICON ALIGN
========================= */
.tp-main-menu-mobile .dropdown-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
}

/* =========================
   SUBMENU (VERTICAL)
========================= */
.tp-main-menu-mobile .tp-submenu {
    display: none;
    background: #f9f9f9;
}

/* Show when active (default script handles toggle) */
.tp-main-menu-mobile .tp-submenu.active {
    display: block;
}

/* Submenu items */
.tp-main-menu-mobile .tp-submenu li {
    border-bottom: none;
}

/* Submenu links */
.tp-main-menu-mobile .tp-submenu li a {
    padding: 12px 25px;
    font-size: 14px;
    color: #555;
}

/* =========================
   HOVER / ACTIVE EFFECT
========================= */
.tp-main-menu-mobile .tp-main-menu-content ul li a:hover {
    background: #ec3331;
    color: #fff;
}

/* Submenu hover */
.tp-main-menu-mobile .tp-submenu li a:hover {
    background: #ec3331;
    color: #fff;
}

/* =========================
   REMOVE DESKTOP STYLES
========================= */
.tp-main-menu-mobile .tp-main-menu-content ul {
    flex-direction: column !important;
}

/* =========================
   ICON SIZE FIX
========================= */
.tp-main-menu-mobile svg {
    width: 18px;
    height: 18px;
}

.xfi_feature_zone{
    width: 100%;
    padding: 60px 20px;
    background: #f8fcfd;
    font-family: Arial, sans-serif;
}

.xfi_feature_wrap{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card */
.xfi_feature_card{
    background: #fff;
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 4px solid rgb(7, 85, 107);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.xfi_feature_card:hover{
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.xfi_feature_card::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(7, 85, 107, 0.06);
    top: -100%;
    left: 0;
    transition: 0.5s;
}

.xfi_feature_card:hover::before{
    top: 0;
}

/* Icon */
.xfi_icon_box{
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: rgb(7, 85, 107);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(7, 85, 107, 0.3);
    transition: 0.4s;
}

.xfi_feature_card:hover .xfi_icon_box{
    transform: rotateY(180deg);
}

/* Text */
.xfi_feature_card h3{
    color: rgb(7, 85, 107);
    margin-bottom: 10px;
    font-size: 18px;
}

.xfi_feature_card p{
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px){
    .xfi_feature_wrap{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px){
    .xfi_feature_wrap{
        grid-template-columns: 1fr;
    }
}

/* Center image inside category box */
.tp-category-main-thumb {
    width: 100%;
    height: 100%; /* adjust if needed */
    background-position: center center !important;
    background-size: cover !important; /* fills box nicely */
    background-repeat: no-repeat;
}

/* Black overlay on image */
.tp-category-main-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* adjust opacity */
    z-index: 1;
}

/* Make sure parent is relative */
.tp-category-main-thumb {
    position: relative;
}

/* Text in white and above overlay */
.tp-category-main-content {
    position: absolute;
    z-index: 2;
}

.tp-category-main-title a,
.tp-category-main-item {
    color: #fff !important;
}

.tp-contact-info-icon {
    
    height: auto; 
   
}
.ck-content img {
    max-width: 100%;
    width: 40px;
}

/* ===================================================
   CONTACT PAGE FULL CSS - TOP BORDER DESIGN
   Contact page only / no effect on other pages
=================================================== */

/* Section */
.tp-contact-area{
    padding:70px 0;
    background:linear-gradient(135deg,#f8fafb,#ffffff);
}

/* Container */
.tp-contact-area .container{
    max-width:1320px;
    margin:auto;
    padding-left:15px;
    padding-right:15px;
}

/* Row */
.tp-contact-area .row{
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
    row-gap:25px;
}

/* Columns */
.tp-contact-area .col-xl-9.col-lg-8{
    width:70%;
    flex:0 0 70%;
    max-width:70%;
}

.tp-contact-area .col-xl-3.col-lg-4{
    width:30%;
    flex:0 0 30%;
    max-width:30%;
}

/* Main Wrapper */
.tp-contact-inner{
    background:#ffffff;
    border-radius:26px;
    padding:40px;
    box-shadow:0 20px 45px rgba(0,0,0,0.06);
    position:relative;
    overflow:hidden;
}

/* Top Border */
.tp-contact-inner::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg,rgb(7,85,107),rgb(14,125,155));
}

/* Left Area */
.tp-contact-wrapper{
    font-size:15px;
    line-height:1.7;
}

/* Title */
.tp-contact-title{
    font-size:22px;
    font-weight:700;
    color:#111;
    margin-bottom:28px;
    line-height:1.4;
}

/* Form Rows */
.tp-contact-form .row{
    display:flex;
    flex-wrap:wrap;
    margin-left:-10px;
    margin-right:-10px;
}

/* 2 Columns */
.tp-contact-form [class*="contact-column-6"]{
    width:50%;
    flex:0 0 50%;
    max-width:50%;
    padding-left:10px;
    padding-right:10px;
}

/* Full Width */
.tp-contact-form [class*="contact-column-12"]{
    width:100%;
    flex:0 0 100%;
    max-width:100%;
    padding-left:10px;
    padding-right:10px;
}

/* Group */
.contact-form-group{
    margin-bottom:18px;
}

/* Labels */
.form-label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:#222;
    margin-bottom:8px;
}

/* Inputs */
.contact-form-input{
    width:100%;
    height:54px;
    border:1px solid #dfe6ea;
    border-radius:14px;
    padding:0 16px;
    background:#fff;
    font-size:15px;
    color:#111;
    transition:all 0.3s ease;
}

.contact-form-input::placeholder{
    color:#9aa4ab;
}

textarea.contact-form-input{
    height:150px;
    padding-top:15px;
    resize:none;
}

/* Focus */
.contact-form-input:focus{
    outline:none;
    border-color:rgb(7,85,107);
    box-shadow:0 0 0 4px rgba(7,85,107,0.08);
}

/* Checkbox */
.form-check{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:10px 0 22px;
}

.form-check-input{
    width:16px;
    height:16px;
    margin-top:4px;
    accent-color:rgb(7,85,107);
}

.form-check-label{
    font-size:13px;
    color:#555;
    line-height:1.6;
}

.form-check-label a{
    color:rgb(7,85,107);
    font-weight:600;
    text-decoration:none;
}

/* Button */
.contact-button{
    width:100%;
    height:56px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,rgb(7,85,107),rgb(10,118,145));
    color:#fff;
    font-size:16px;
    font-weight:700;
    letter-spacing:0.2px;
    cursor:pointer;
    transition:all 0.3s ease;
}

.contact-button:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(7,85,107,0.22);
}

/* Success/Error */
.contact-message{
    font-size:14px;
    margin-top:12px;
}

/* Right Contact Info */
.tp-contact-info-wrapper{
    background:#ffffff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 18px 40px rgba(0,0,0,0.05);
    height:100%;
}

/* Items */
.tp-contact-info-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:16px;
    border:1px solid #edf2f5;
    border-radius:18px;
    margin-bottom:16px;
    transition:0.3s ease;
}

.tp-contact-info-item:last-child{
    margin-bottom:0;
}

.tp-contact-info-item:hover{
    transform:translateY(-3px);
    border-color:rgb(7,85,107);
    box-shadow:0 12px 20px rgba(0,0,0,0.04);
}

/* Icon */
/* PHONE ICON FIX ONLY */

/* PHONE ICON FIX - VERSION 2 */

.tp-contact-info-icon{
    flex-shrink:0;
}

.tp-contact-info-icon span{
    width:50px !important;
    height:50px !important;
    border-radius:50% !important;
    background:#ffffff !important;
    border:2px solid rgb(7,85,107) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.tp-contact-info-icon img{
    width:22px !important;
    height:22px !important;
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    object-fit:contain !important;
    filter:none !important;
}
/* Text */
.tp-contact-info-content p{
    margin:0;
    color:#222;
    font-size:14px;
    line-height:1.7;
    font-weight:500;
}

/* Map Section */
.tp-map-area{
    padding-bottom:80px;
}

.tp-map-wrapper{
    overflow:hidden;
    border-radius:24px;
    box-shadow:0 18px 40px rgba(0,0,0,0.06);
}

.tp-map-iframe iframe{
    width:100%;
    border:0;
    min-height:320px;
}

/* Tablet */
@media(max-width:991px){

.tp-contact-area .col-xl-9.col-lg-8,
.tp-contact-area .col-xl-3.col-lg-4{
    width:100%;
    flex:0 0 100%;
    max-width:100%;
}

.tp-contact-info-wrapper{
    margin-top:10px;
}

}

/* Mobile */
@media(max-width:576px){

.tp-contact-area{
    padding:50px 0;
}

.tp-contact-inner{
    padding:22px;
    border-radius:20px;
}

.tp-contact-title{
    font-size:18px;
    margin-bottom:20px;
}

.tp-contact-wrapper{
    font-size:14px;
}

/* Stack Form */
.tp-contact-form [class*="contact-column-6"],
.tp-contact-form [class*="contact-column-12"]{
    width:100%;
    flex:0 0 100%;
    max-width:100%;
}

/* Inputs */
.contact-form-input,
.contact-button{
    height:50px;
    font-size:14px;
}

textarea.contact-form-input{
    height:130px;
}

.tp-contact-info-wrapper{
    padding:20px;
    border-radius:20px;
}

.tp-contact-info-item{
    padding:14px;
}

.tp-map-wrapper{
    border-radius:18px;
}

.tp-map-iframe iframe{
    min-height:260px;
}

}

/* ===== Men Banner New Design ===== */

.vrxMenHeroWrapX9{
    position:relative;
    min-height:500px;
    overflow:hidden;
    display:flex;
    align-items:center;
}

/* Background Image */
.vrxMenHeroBgLayerX9{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1;
}

.vrxMenHeroBgLayerX9 img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Overlay */
.vrxMenHeroOverlayX9{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,0.78),
        rgba(0,0,0,0.35)
    );
    z-index:2;
}

/* Container */
.vrxMenHeroContainerX9{
    position:relative;
    z-index:3;
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

/* Content */
.vrxMenHeroContentX9{
    max-width:560px;
    color:#fff;
    padding:20px 0;
}

.vrxMenHeroTagX9{
    display:inline-block;
    padding:7px 16px;
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.18);
    border-radius:30px;
    font-size:15px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:14px;
}

h1.vrxMenHeroTitleX9{
    font-size:72px;
    line-height:1.1;
    font-weight:800;
    margin:0 0 12px;
    color:#fff;
}

.vrxMenHeroTextX9{
    margin:0 0 36px;
    font-size:21px;
    line-height:1.7;
    color:rgba(255,255,255,0.92);
}

.vrxMenHeroBreadX9{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.vrxMenHeroBreadX9 a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
  font-size:16px;
}

.vrxMenHeroBreadX9 span{
    color:#fff;
    font-size:16px;
}

/* Tablet */
@media(max-width:991px){

    .vrxMenHeroWrapX9{
        min-height:320px;
    }

    .vrxMenHeroTitleX9{
        font-size:42px;
    }

    .vrxMenHeroTextX9{
        font-size:15px;
    }
}

/* Mobile */
@media(max-width:576px){

    .vrxMenHeroWrapX9{
        min-height:280px;
    }

    .vrxMenHeroContentX9{
        max-width:100%;
        padding:10px 0;
    }

    .vrxMenHeroTagX9{
        font-size:10px;
        padding:6px 12px;
    }

    .vrxMenHeroTitleX9{
        font-size:30px;
    }

    .vrxMenHeroTextX9{
        font-size:13px;
        line-height:1.6;
    }

    .vrxMenHeroBreadX9 span,
    .vrxMenHeroBreadX9 a{
        font-size:12px;
    }
}

.main-menu>nav>ul>li>.tp-submenu li a {
   
    padding: 1px 0;
   
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}




/*ajithwork*/

/* KCR TEXTILES - ROYAL CYAN BLUE SEAMLESS INFINITE ANNOUNCEMENT BAR */

.kcr-royal-announcement {
  --kcr-ra-cyan: #00BCEB;
  --kcr-ra-blue: #008EB8;
  --kcr-ra-navy: #063247;
  --kcr-ra-white: #FFFFFF;
  --kcr-ra-silver: #D7F5FF;

  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  color: var(--kcr-ra-white);

  background: linear-gradient(
    105deg,
    #07556B 0%,
    #07556B 35%,
    #07556B 65%,
    #07556B 100%
  );

  border-top: 1px solid rgba(215,245,255,.45);
  border-bottom: 2px solid var(--kcr-ra-cyan);

  box-shadow:
    0 2px 8px rgba(6,50,71,.12),
    inset 0 1px 0 rgba(255,255,255,.08);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.kcr-royal-announcement,
.kcr-royal-announcement * {
  box-sizing: border-box;
}

.kcr-royal-announcement .kcr-ra-track {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  max-width: none;
  animation: kcrRaScroll 18s linear infinite;
  will-change: transform;
}

.kcr-royal-announcement .kcr-ra-group {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  min-width: 0;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.kcr-royal-announcement .kcr-ra-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  margin: 0;
  padding: 9px 22px;
  color: #FFFFFF;
  white-space: nowrap;
}

.kcr-royal-announcement .kcr-ra-brand {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.kcr-royal-announcement .kcr-ra-icon {
  display: inline-block;
  flex: 0 0 auto;
  color: #D7F5FF;
  font-size: 16px;
  line-height: 1;
}

.kcr-royal-announcement .kcr-ra-offer {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 30px;

  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #E8F9FF 55%,
    #BDEEFF 100%
  );

  color: #063247;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;

  box-shadow:
    0 2px 6px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.kcr-royal-announcement .kcr-ra-divider {
  display: block;
  flex: 0 0 1px;
  width: 1px;
  height: 21px;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,.35);
}

/* Seamless loop: move exactly one group width */
@keyframes kcrRaScroll {
  from {
    transform: translate3d(0,0,0);
  }
  to {
    transform: translate3d(-50%,0,0);
  }
}

@media (hover:hover) {
  .kcr-royal-announcement:hover .kcr-ra-track {
    animation-play-state: paused;
  }
}

/* Tablet */
@media (min-width:601px) and (max-width:1024px) {
  .kcr-royal-announcement {
    font-size: 12px;
  }

  .kcr-royal-announcement .kcr-ra-item {
    padding: 9px 16px;
    gap: 7px;
  }
}

/* Mobile */
@media (max-width:600px) {
  .kcr-royal-announcement {
    font-size: 11px;
  }

  .kcr-royal-announcement .kcr-ra-track {
    animation-duration: 24s;
  }

  .kcr-royal-announcement .kcr-ra-item {
    min-height: 38px;
    gap: 6px;
    padding: 8px 12px;
  }

  .kcr-royal-announcement .kcr-ra-brand {
    font-size: 11px;
    letter-spacing: .7px;
  }

  .kcr-royal-announcement .kcr-ra-icon {
    font-size: 13px;
  }

  .kcr-royal-announcement .kcr-ra-offer {
    padding: 4px 8px;
    font-size: 10px;
  }

  .kcr-royal-announcement .kcr-ra-divider {
    height: 17px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion:reduce) {
  .kcr-royal-announcement .kcr-ra-track {
    animation: none;
    transform: none;
  }
}

/* ==========================================================================
   SECTION 1: TOP CATEGORIES (Matches Reference Image 1)
   Scope: Strictly isolated to Home Page's Top Categories slider section
   ========================================================================== */

/* 1.1 Section Spacing & Background */
body#page-home section.tp-category-area.pb-95.pt-95 {
    background-color: #fdfbf7;
    padding-top: 70px;
    padding-bottom: 75px;
    position: relative;
}

/* 1.2 Category Item Card Container */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-item-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    padding: 10px 15px;
    position: relative;
}

/* 1.3 Perfectly Circular Thumbnail with Concentric Gold Rings */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-thumb-2 {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    position: relative;
    padding: 5px;
    background: #ffffff;
    box-shadow: 0 0 0 2px #d4a373, 0 0 0 6px #faf5ee, 0 0 0 8px #d4a373, 0 8px 24px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-thumb-2 a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-thumb-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transform: none !important;
    transition: none !important;
}

/* 1.4 Disable Conflicting Hover Zoom & Animations */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-item-2:hover .tp-category-thumb-2 img {
    transform: none !important;
}

/* 1.5 Category Content - Revert Absolute Overlay to Natural Static Layout */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-content-2 {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 2;
}

/* Remove default white mask that covers the image on hover */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-content-2::after {
    display: none !important;
}

/* 1.6 Subtitle / Category Tag (Crispy Favourites, etc.) */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-content-2 span {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    order: 1;
    color: #b07d4b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1.4;
    display: inline-block;
}

/* 1.7 Category Title */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-title-2 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    order: 2;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-title-2 a {
    color: #4a1525;
    text-decoration: none;
    transition: color 0.2s ease;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-title-2 a:hover {
    color: #7b1d38;
}

/* 1.8 Action Link with Arrow ("Shop Now →") */
body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-btn-2 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    order: 3;
    margin-top: 2px;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-btn-2 a.tp-btn {
    background: transparent !important;
    border: none !important;
    color: #591728 !important;
    padding: 0 !important;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: none !important;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-btn-2 a.tp-btn::after {
    content: "→";
    font-size: 15px;
    line-height: 1;
    transition: transform 0.2s ease;
}

body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-btn-2 a.tp-btn:hover::after {
    transform: translateX(4px);
}

/* 1.9 Responsive Category Sizing for Mobile Screens */
@media (max-width: 575px) {
    body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-thumb-2 {
        width: 155px;
        height: 155px;
        box-shadow: 0 0 0 2px #d4a373, 0 0 0 5px #faf5ee, 0 0 0 7px #d4a373;
    }
    body#page-home section.tp-category-area.pb-95.pt-95 .tp-category-title-2 {
        font-size: 16px;
    }
}


/* ==========================================================================
   SECTION 2: OUR BLOG POSTS (Matches Reference Image 2)
   Scope: Strictly isolated to Home Page's Blog Posts section
   ========================================================================== */

/* 2.1 Section Spacing */
body#page-home section.tp-blog-area.pt-110.pb-120 {
    padding-top: 20px;
    padding-bottom: 90px;
}

/* 2.2 Section Header - Left-aligned, Forest Green */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-section-title-wrapper-2 {
    text-align: left !important;
    margin-bottom: 35px;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-section-title-2,
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-section-title-2 span {
    color: #124330 !important;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* 2.3 Blog Item Card */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-item-2 {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 35px;
}

/* 2.4 Rounded Blog Thumbnail (Consistent 16:10 Aspect Ratio) */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-thumb-2 {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background-color: #f3f5f4;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-thumb-2 a {
    display: block;
    width: 100%;
    height: 100%;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-thumb-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transform: none !important;
    transition: transform 0.4s ease;
}

/* Subtle clean hover zoom without tilt/rotation */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-item-2:hover .tp-blog-thumb-2 img {
    transform: scale(1.04) !important;
}

/* 2.5 Clean Image Canvas - Hide Date Badge & Tag Icon from Thumbnail */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-meta-date-2 {
    display: none !important;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-meta-2 {
    display: none !important;
}

/* 2.6 Centered Blog Card Content */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-content-2 {
    padding-top: 18px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
}

/* 2.7 Blog Post Title */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-title-2 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-title-2 a {
    color: #124330 !important;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-title-2 a:hover {
    color: #0b2d20 !important;
    text-decoration: underline;
}

/* 2.8 Blog Post Description (Excerpts) */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-content-2 p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2.9 View All Button */
body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-more-2 .tp-btn {
    border: 1px solid #124330;
    color: #124330;
    border-radius: 6px;
    padding: 7px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
}

body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-more-2 .tp-btn:hover {
    background-color: #124330;
    color: #ffffff;
}

/* 2.10 Mobile Adjustments for Blog Section */
@media (max-width: 767px) {
    body#page-home section.tp-blog-area.pt-110.pb-120 .tp-section-title-2 {
        font-size: 26px;
    }
    body#page-home section.tp-blog-area.pt-110.pb-120 .tp-blog-title-2 {
        font-size: 17px;
    }
}

.offcanvas__area .tp-main-menu-mobile ul.tp-submenu,
.offcanvas__area .tp-main-menu-mobile .tp-main-menu-content ul li ul.tp-submenu,
.offcanvas__area .tp-category-mobile-menu ul.tp-submenu {
    display: none !important;
    position: static !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    width: 100% !important;
}


.offcanvas__area .tp-main-menu-mobile ul li.has-dropdown.dropdown-opened > ul.tp-submenu,
.offcanvas__area .tp-main-menu-mobile ul.tp-submenu.expanded,
.offcanvas__area .tp-main-menu-mobile ul.tp-submenu.active,
.offcanvas__area .tp-category-mobile-menu ul li.has-dropdown.dropdown-opened > ul.tp-submenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: 3000px !important;
    overflow: visible !important;
    background-color: #f7f8f9 !important;
    padding: 6px 0 !important;
}

/* 3. Dropdown Arrow Icon Styling & Rotation */
.offcanvas__area .tp-main-menu-mobile ul li.has-dropdown > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    width: 100% !important;
    padding: 13px 15px !important;
}

.offcanvas__area .tp-main-menu-mobile ul li.has-dropdown > a .dropdown-toggle-btn {
    pointer-events: none !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.25s ease !important;
}

.offcanvas__area .tp-main-menu-mobile ul li.has-dropdown.dropdown-opened > a .dropdown-toggle-btn {
    transform: rotate(90deg) !important;
    color: #ec3331 !important;
}

/* 4. Submenu Items Link Styling */
.offcanvas__area .tp-main-menu-mobile ul.tp-submenu li a {
    display: block !important;
    padding: 11px 18px 11px 28px !important;
    font-size: 14px !important;
    color: #444 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
}

.offcanvas__area .tp-main-menu-mobile ul.tp-submenu li a:hover {
    background-color: #ec3331 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   PURE CUSTOM CSS: MOBILE & TABLET SEARCH ICON (LEFT OF HAMBURGER MENU)
   ========================================================================== */

/* Show ONLY on Mobile & Tablet (< 992px) */
@media (max-width: 991px) {
    /* 1. Turn the hamburger wrapper into an inline-flex container */
    .tp-header-action .tp-header-action-item.d-lg-none {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        margin-left: 18px !important;
    }

    /* 2. Create the Search Icon via ::before directly to the left of the hamburger */
    .tp-header-action .tp-header-action-item.d-lg-none::before {
        content: "" !important;
        display: inline-block !important;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        margin-right: 18px !important;
        cursor: pointer !important;
        background-color: var(--tp-common-black, #010f1c) !important;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center center / contain !important;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center center / contain !important;
        transition: transform 0.2s ease, background-color 0.2s ease !important;
    }

    /* Fallback for browsers without mask support */
    @supports not (mask: url("")) {
        .tp-header-action .tp-header-action-item.d-lg-none::before {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23010f1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center center / contain !important;
        }
    }

    /* 3. Hover & Touch State */
    .tp-header-action .tp-header-action-item.d-lg-none::before:hover,
    .tp-header-action .tp-header-action-item.d-lg-none::before:active {
        background-color: var(--tp-theme-primary, #ec3331) !important;
        transform: scale(1.08) !important;
    }
}

/* Hide on Desktop (>= 992px) */
@media (min-width: 992px) {
    .tp-header-action .tp-header-action-item.d-lg-none::before {
        display: none !important;
    }
}

/* ==========================================================================
   TOP CATEGORIES REORDERING: WOMEN FIRST, MEN LAST
   Target Section: Only .tp-category-area.pb-95.pt-95 on Home Page
   ========================================================================== */

/* 1. Ensure the Swiper slider track behaves as an active flex container */
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-wrapper {
    display: flex !important;
}

/* 2. Position 1: Move "Women" to the first position */
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:has(a[href*="/women"]),
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:nth-child(5) {
    order: 1 !important;
}

/* 3. Positions 2-4: Maintain original relative order for intermediate categories */
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:has(a[href*="/kids"]),
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:nth-child(2) {
    order: 2 !important;
}

body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:has(a[href*="/home"]),
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:nth-child(3) {
    order: 3 !important;
}

body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:has(a[href*="/accessories"]),
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:nth-child(4) {
    order: 4 !important;
}

/* 4. Position 5: Move "Men" to the last position */
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:has(a[href*="/men"]),
body#page-home section.tp-category-area.pb-95.pt-95 .swiper-slide:nth-child(1) {
    order: 5 !important;
}

/* ==========================================================================
   BLOG CARD IMAGE FIX - SCOPED CUSTOM CSS
   Target Page: https://kcrtextiles.com/our-blog-posts
   ========================================================================== */

/* 1. Blog Grid Image Container - Fixed Aspect Ratio & Uniform Geometry */
section.tp-blog-grid-area .tp-blog-grid-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important; /* Elegant, uniform editorial proportion */
    overflow: hidden !important;
    background-color: #f6f7f9; /* Clean placeholder while lazy loading */
    border-radius: 8px 8px 0 0; /* Clean rounded top corners */
    margin-bottom: 24px !important;
}

/* 2. Anchor Tag - Ensure Full Block Coverage */
section.tp-blog-grid-area .tp-blog-grid-thumb > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* 3. Blog Grid Images - Consistent, Unsquashed, Crisp Crop */
section.tp-blog-grid-area .tp-blog-grid-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important; /* Centered focal point */
    display: block !important;
    transition: transform 0.4s ease;
}

/* 4. Smooth, Contained Hover Zoom */
section.tp-blog-grid-area .tp-blog-grid-item:hover .tp-blog-grid-thumb img {
    transform: scale(1.06) !important;
}

/* ==========================================================================
   LIST VIEW SUPPORT (?layout=list)
   ========================================================================== */
section.tp-blog-grid-area .tp-blog-list-thumb {
    position: relative !important;
    width: 360px !important;
    height: 240px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    background-color: #f6f7f9;
    border-radius: 8px 0 0 8px;
}

section.tp-blog-grid-area .tp-blog-list-thumb > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

section.tp-blog-grid-area .tp-blog-list-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease;
}

section.tp-blog-grid-area .tp-blog-list-item:hover .tp-blog-list-thumb img {
    transform: scale(1.06) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
/* Tablet & Medium Screens */
@media (max-width: 991px) {
    section.tp-blog-grid-area .tp-blog-grid-thumb {
        aspect-ratio: 16 / 10 !important;
    }
    section.tp-blog-grid-area .tp-blog-list-thumb {
        width: 100% !important;
        height: 220px !important;
        border-radius: 8px 8px 0 0;
    }
}

/* Mobile Screens */
@media (max-width: 575px) {
    section.tp-blog-grid-area .tp-blog-grid-thumb {
        aspect-ratio: 16 / 10 !important;
        margin-bottom: 18px !important;
    }
    section.tp-blog-grid-area .tp-blog-list-thumb {
        height: 200px !important;
    }
}

/* ==========================================================================
   1. FIX BLOG POST CONTENT IMAGES
   Target Selector: .tp-postbox-details-desc-thumb.text-center
   ========================================================================== */

/* 1.1 Remove restrictive 78px side padding and ensure clean spacing */
.tp-postbox-details-desc-thumb {
    margin-top: 40px !important;
    margin-bottom: 35px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

/* 1.2 Display image at full natural reading width with original aspect ratio */
.tp-postbox-details-desc-thumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 8px !important;
    object-fit: contain !important; 
}

/* 1.3 Clean styling for the image caption */
.tp-postbox-details-desc-thumb-caption {
    display: inline-block !important;
    color: var(--tp-text-body, #818487) !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    font-style: italic !important;
    text-align: center !important;
}


/* ==========================================================================
   2. FIX BLOG SIDEBAR ABOUT IMAGE
   Target Selector: .tp-sidebar-about-thumb.mb-25
   ========================================================================== */

/* 2.1 Center the container and adapt to available sidebar width */
.tp-sidebar-about-thumb {
    width: 100% !important;
    text-align: center !important;
    overflow: hidden !important;
}

.tp-sidebar-about-thumb > a {
    display: block !important;
    width: 100% !important;
}

/* 2.2 Remove 160px fixed circle constraint and allow natural scaling */
.tp-sidebar-about-thumb img {
    width: 100% !important;
    max-width: 260px !important; 
    height: auto !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ==========================================================================
   3. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 767px) {
    .tp-postbox-details-desc-thumb {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
    }
    
    .tp-sidebar-about-thumb img {
        max-width: 220px !important; 
    }
}

/* ==========================================================================
   HOMEPAGE BRAND CATEGORIES - VERTICAL PORTRAIT SHAPE FIX
   Strictly Scoped to .tp-brand-area
   ========================================================================== */

/* 1. Section Spacing & Background */
.tp-brand-area {
    padding-top: 60px !important;
    padding-bottom: 75px !important;
    background-color: #fafbfc !important;
    position: relative !important;
}

/* 2. Grid Optimization: Balanced 3-Column Display */
.tp-brand-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
    row-gap: 30px !important;
}

/* 3 Equal Columns on Desktop */
.tp-brand-area .row > .col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 10px !important;
}

/* 3. The Vertical (Portrait Shape) Card Container */
.tp-brand-area .tp-brand-item {
    position: relative !important;
    width: 100% !important;
    /* Vertical fashion aspect ratio (3:4 ratio: taller than wide) */
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    max-height: 480px !important;
    min-height: unset !important;
    line-height: normal !important;
    padding: 0 !important; /* Zero padding allows the image to fill the card */
    background-color: #ffffff !important;
    border: 1px solid #eef0f2 !important;
    border-radius: 16px !important; /* Premium rounded finish */
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(1, 15, 28, 0.05) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

/* Subtle elevation on hover */
.tp-brand-area .tp-brand-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 36px rgba(1, 15, 28, 0.12) !important;
    border-color: #dbe0e5 !important;
}

/* 4. Link Wrapper: Fills the entire vertical card */
.tp-brand-area .tp-brand-item a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
}

/* 5. Perfect Image Fit: Covers the vertical card completely */
.tp-brand-area .tp-brand-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important; /* Completely fills the card without blank gaps */
    object-position: center top !important; /* Anchors on the model / upper garment */
    opacity: 1 !important; /* Clear, rich contrast replacing faded 0.6 opacity */
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Smooth zoom effect on hover */
.tp-brand-area .tp-brand-item:hover img {
    transform: scale(1.08) !important;
}

/* 6. Title Typography below the Vertical Card */
.tp-brand-area h6 {
    margin-top: 16px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
}

.tp-brand-area h6 a {
    color: #010f1c !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
    display: inline-block !important;
}

.tp-brand-area h6 a:hover {
    color: var(--tp-theme-primary, #b21f2d) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
/* Tablet */
@media (max-width: 991px) {
    .tp-brand-area .row > .col {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .tp-brand-area .tp-brand-item {
        aspect-ratio: 3 / 4 !important;
        border-radius: 14px !important;
    }
    .tp-brand-area h6 {
        font-size: 16px !important;
        margin-top: 12px !important;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 767px) {
    .tp-brand-area .row > .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    /* Centers the 3rd card on 2-column mobile screens */
    .tp-brand-area .row > .col:last-child:nth-child(odd) {
        flex: 0 0 70% !important;
        max-width: 70% !important;
        width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .tp-brand-area .tp-brand-item {
        aspect-ratio: 3 / 4 !important;
    }
}

/* Mobile Phones */
@media (max-width: 575px) {
    .tp-brand-area {
        padding-top: 45px !important;
        padding-bottom: 50px !important;
    }
    .tp-brand-area .row > .col,
    .tp-brand-area .row > .col:last-child:nth-child(odd) {
        flex: 0 0 88% !important;
        max-width: 88% !important;
        width: 88% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .tp-brand-area .tp-brand-item {
        aspect-ratio: 3 / 4 !important;
        border-radius: 14px !important;
    }
    .tp-brand-area h6 {
        font-size: 17px !important;
    }
}

/* ==========================================================================
   KCR TEXTILES: PERFECT 4-COLUMN SINGLE ROW & UNIFORM IMAGE HEIGHT
   Target: "Men's Collection" & "Living Comfort" only
   ========================================================================== */

/* --- 1. DESKTOP (992px and above) --- */
@media (min-width: 992px) {
  section.tp-category-area:has(a[href*="bottom-wear"]),
  section.tp-category-area:has(a[href*="travel-comfort"]) {

    /* Force 4 equal columns in 1 single row */
    .row > .col-lg-4,
    .row > [class*="col-"] {
      flex: 0 0 25% !important;
      max-width: 25% !important;
      width: 25% !important;
      margin-bottom: 0 !important;
    }

    /* Fixed uniform card height - removes bottom grey space completely */
    .tp-category-main-box {
      height: 320px !important;
      min-height: 320px !important;
      max-height: 320px !important;
      position: relative !important;
      overflow: hidden !important;
      border-radius: 8px !important;
    }

    /* Make link and background image fill 100% of card seamlessly */
    .tp-category-main-box > a {
      display: block !important;
      width: 100% !important;
      height: 100% !important;
    }

    .tp-category-main-box .tp-category-main-thumb {
      width: 100% !important;
      height: 100% !important;
      position: absolute !important;
      inset: 0 !important;
      background-position: center center !important;
      background-size: cover !important;
      background-repeat: no-repeat !important;
      transition: transform 0.4s ease !important;
    }

    /* Subtle hover zoom on image */
    .tp-category-main-box:hover .tp-category-main-thumb {
      transform: scale(1.05) !important;
    }

    /* Elegant gradient overlay so white text is crystal clear */
    .tp-category-main-box .tp-category-main-thumb::before {
      content: "" !important;
      position: absolute !important;
      inset: 0 !important;
      background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.75) 100%) !important;
      z-index: 1 !important;
    }

    /* Text overlay aligned cleanly at the bottom center of the image */
    .tp-category-main-box .tp-category-main-content {
      position: absolute !important;
      bottom: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      padding: 18px 14px !important;
      text-align: center !important;
      z-index: 2 !important;
    }

    .tp-category-main-box .tp-category-main-title {
      font-size: 20px !important;
      line-height: 1.25 !important;
      margin-bottom: 4px !important;
      font-weight: 700 !important;
    }

    .tp-category-main-box .tp-category-main-title a {
      color: #ffffff !important;
      text-decoration: none !important;
      text-shadow: 0 2px 4px rgba(0,0,0,0.6) !important;
    }

    .tp-category-main-box .tp-category-main-item {
      color: rgba(255, 255, 255, 0.9) !important;
      font-size: 13px !important;
      display: block !important;
      text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
    }
  }
}

/* --- 2. TABLET (576px - 991px): Balanced 2x2 Grid --- */
@media (min-width: 576px) and (max-width: 991px) {
  section.tp-category-area:has(a[href*="bottom-wear"]),
  section.tp-category-area:has(a[href*="travel-comfort"]) {
    .row > .col-lg-4,
    .row > [class*="col-"] {
      flex: 0 0 50% !important;
      max-width: 50% !important;
      width: 50% !important;
      margin-bottom: 24px !important;
    }

    .tp-category-main-box {
      height: 290px !important;
      min-height: 290px !important;
      position: relative !important;
      overflow: hidden !important;
      border-radius: 8px !important;
    }

    .tp-category-main-box .tp-category-main-thumb {
      height: 100% !important;
      position: absolute !important;
      inset: 0 !important;
      background-size: cover !important;
    }
  }
}

/* --- 3. MOBILE (< 576px): Clean 1-Column Stack --- */
@media (max-width: 575px) {
  section.tp-category-area:has(a[href*="bottom-wear"]),
  section.tp-category-area:has(a[href*="travel-comfort"]) {
    .row > .col-lg-4,
    .row > [class*="col-"] {
      flex: 0 0 100% !important;
      max-width: 100% !important;
      width: 100% !important;
      margin-bottom: 20px !important;
    }

    .tp-category-main-box {
      height: 260px !important;
      min-height: 260px !important;
      position: relative !important;
      overflow: hidden !important;
      border-radius: 8px !important;
    }

    .tp-category-main-box .tp-category-main-thumb {
      height: 100% !important;
      position: absolute !important;
      inset: 0 !important;
      background-size: cover !important;
    }
  }
}