/*
Theme Name: Woodmart Child
Theme URI: https://example.com
Description: Child Theme for Woodmart
Author: Arash Dadjoo
Template: woodmart
Version: 1.0
*/

/* css code of button */
.techno-cta {
    direction: rtl;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #0E3F68;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    font-family: inherit;
    margin: 15px 0;
}

.techno-cta-content {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.techno-cta-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.techno-cta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.techno-cta-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.techno-cta-description {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.techno-cta-phone {
    direction: ltr;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-right: 5px;
}

.techno-cta-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    color: #0E3F68 !important;
    padding: 9px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.techno-cta-button:hover {
    background: #f2f5f7;
    color: #0E3F68 !important;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .techno-cta {
        padding: 13px 14px;
        gap: 12px;
    }

    .techno-cta-content {
        gap: 10px;
    }

    .techno-cta-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 18px;
    }

    .techno-cta-title {
        font-size: 14px;
    }

    .techno-cta-description {
        font-size: 11px;
    }

    .techno-cta-phone {
        font-size: 12px;
    }

    .techno-cta-button {
        padding: 8px 12px;
        font-size: 12px;
    }
}


/* product carousel of mainPage */

#main-content .thinzero-carousel .wd-product-wrapper.product-wrapper{
    height: 400px;
}

#main-content .newproduct-carousel .wd-product-wrapper.product-wrapper{
    height: 500px;
}

#main-content .clickable-section {
    position: relative;
}

#main-content .clickable-section .section-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

#main-content .thinzero-carousel .wd-products-with-shadow,
.wd-products-with-shadow .wd-product,
.wd-products-with-shadow .wd-cat {
    --wd-prod-shadow: 0 0px 4px rgba(0, 0, 0, 0.2) !important;
}

/* main header */
.whb-main-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ticketHeader {
  gap: 8px !important;
}

.ticketHeader .wd-btn-icon {
  background-color: white;
  border-radius: 50px;
  padding: 6px 4px;
}

.ticketHeader .wd-btn-icon img {
  width: 26px;
}

.ticketHeader {
    display: flex !important;
    justify-content: space-between !important;
    width: 135px;
    height: 42px;
    padding: 8px !important;
}

.wd-header-cart .wd-tools-inner {
  min-width: 135px;
  justify-content: space-between;
}

.wd-search-form form {
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}






/* remove default padding od main container */

.main-page-wrapper #main-content.container {
  padding-right: 0px;
  padding-left: 0px;
}

.ad-product-slider {
    overflow: hidden;
}

.ad-product-slider .swiper-wrapper {
    display: flex !important;
}

.ad-product-slider .swiper-slide {
    flex-shrink: 0;
}

.ad-product-slider .wd-col,
.ad-product-slider .product-grid-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
}


/* ——— base container ——— */

.container.wd-entry-content p {
    margin-block: unset !important;
}

.unique_dynamic_mega_menu {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

/* ——— MAIN CONTAINER ——— */
.custom-mega-menu {
  display: flex;
  gap: 0;
  padding: 10px;
  margin-block: unset;
  width: 100%;
  background: #fff;
}

/* ——— CATEGORIES SECTION (Right - 25%) ——— */
.mega-menu-right {
  width: 280px;
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 8px;
}


.mega-menu-right::-webkit-scrollbar {
    width: 12px;
    height: 90%;
}

.mega-menu-right::-webkit-scrollbar-thumb {
    background: #ccc;
    border: 3px solid transparent;
    background-clip: content-box;
    border-radius: 20px;
}


.mega-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}


.mega-item-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ——— CATEGORY ITEM WITH IMAGE ——— */
.mega-category-item {
  position: relative;
  margin: 0;
  /* padding: 8px; */
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgb(160, 159, 159);
  /* border-left: 3px solid transparent;
  background: #f9f9f9; */
}


.mega-category-item:hover {
    background-color: #0E3F68;
    a {
        color: white !important;
    }

    img{
        background-color: white;
    }
}

.mega-category-item img {
    width: 45px;
    height: 45px;
    margin-left: 8px;
    margin-right: 5px;
    padding: 6px 8px 6px 16px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s ease;
}



/* .mega-category-item img {
  width: 75px;
  height: 50px;
  margin-left: 2px;
  margin-right: 1px;
  padding: 2px 4px 2px 8px;
  border-top-left-radius: 32px;
  border-bottom-left-radius: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s ease;
} */

.mega-category-item a {
  display: block;
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #4b4b4b;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* .mega-category-item:hover,
.mega-category-item.active {
  background: #f0f7ff;
  border-left-color: #0171ad;
} */

.mega-category-item:hover a,
.mega-category-item.active a {
  color: #0E3F68;
}

.mega-category-item:hover img {
  transform: scale(1.1);
}

/* ——— CATEGORY IMAGE (BOTTOM LEFT) ——— */
.mega-category-image {
  margin-top: 24px;
  padding-top: 24px;
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 100%;
}

.mega-category-image img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.mega-submenu-section:hover .mega-category-image img {
  transform: scale(1.05);
}

/* ——— SUBMENU SECTION (Left - 75%) ——— */
.mega-menu-left {
  flex: 1;
  overflow: hidden;
  padding: 24px 32px;
  max-height: 520px;
  width: 100%; 
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-right: 2px;
}

.mega-submenu-section {
  display: none;
}

.mega-submenu-section.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ——— CATEGORY HEADER ——— */
.mega-category-header {
  padding: 0 0 16px 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #D3D3D3;
}

.mega-category-header h4 {
  margin: 0;
  font-size: 24px !important;
  font-weight: bold;
  color: #0E3F67;
}

/* ——— GRID LAYOUT ——— */
.mega-submenu-grid {
  display: grid;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column; 
  gap: 4px 8px;
  margin-top: 16px;
}

/* ——— SUBMENU ITEMS ——— */
.mega-submenu-item {
  transition: transform 0.2s ease;
  width: max-content;
}

.mega-submenu-item:hover {
  transform: translateY(-2px);
}

.mega-submenu-item a {
  display: block;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #4B4B4B;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.mega-submenu-item a:hover {
  color: #0E3F68;
}

.mega-submenu-item::marker {
    color:#4B4B4B;
}

.product-count {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  display: block;
}

/* ——— TOGGLE BUTTON ——— */
.mega-menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
}



.mega-menu-trigger .category-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  color: #4b4b4b;
  /* border-left: 2px solid #0E3F68; */
  font-size: 16px;
  font-weight: 700;
  padding: 8px 0px 8px 0px;
  cursor: pointer;
  transition: color 0.2s ease;
}


.mega-menu-trigger .category-toggle .tinyline{
  width: 2px;
  height: 10px;
  background-color: #0E3F68;
  margin-right: 16px;
}

.mega-menu-trigger .category-toggle:hover {
  color: #0E3F68;
  background-color: transparent;
  /* border-left: 2px solid #0E3F68; */
}

/* ——— DROPDOWN CONTAINER ——— */
.category-dropdown {
  display: none;
  position: absolute;
  margin-top: 7px;
  top: calc(100% + 0px);
  right: 0;
  width: 1000px;
  background: #fff;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

/* Keep hover state smooth */
.mega-menu-trigger:hover .category-dropdown,
.category-dropdown:hover,
.category-dropdown.is-open {
  display: flex;
}

/* Prevent closing when moving to dropdown */
.mega-menu-trigger:hover .category-dropdown {
  display: flex;
}

/* ——— SCROLLBAR STYLING ——— */
/* Firefox */
.mega-menu-right,
.mega-menu-left {
    scrollbar-width: thin;
    scrollbar-color: #0E3F67 #f0f0f0;
}

/* Chrome, Edge, Safari */
.mega-menu-right::-webkit-scrollbar,
.mega-menu-left::-webkit-scrollbar {
    width: 8px;
}

.mega-menu-right::-webkit-scrollbar-track,
.mega-menu-left::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
}

.mega-menu-right::-webkit-scrollbar-thumb,
.mega-menu-left::-webkit-scrollbar-thumb {
    background: #0E3F68;
    border-radius: 8px;
    border: 2px solid #f0f0f0; /* Gives a nice inset look */
}

.mega-menu-right::-webkit-scrollbar-thumb:hover,
.mega-menu-left::-webkit-scrollbar-thumb:hover {
    background: #0a3355;
}

/* Hide scrollbar arrows (for older WebKit browsers) */
.mega-menu-right::-webkit-scrollbar-button,
.mega-menu-left::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .category-dropdown {
    width: 850px;
  }
  
  .mega-submenu-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px 24px;
  }
}

@media (max-width: 768px) {
  .custom-mega-menu {
    flex-direction: column;
  }
  
  .mega-menu-right {
    width: 100%;
    max-height: 300px;
    border-right: none;
  }
  
  .mega-menu-left {
    width: 100%;
    max-height: 350px;
    padding: 16px 20px;
  }
  
  .category-dropdown {
    width: 100vw;
    right: auto;
    left: 0;
  }
  
  .mega-submenu-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px 16px;
  }
}

@media (max-width: 480px) {
  .mega-menu-left {
    padding: 12px 16px;
  }
  
  .mega-submenu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .mega-category-header {
    margin-bottom: 12px;
  }
}





/*** THIS IS STYLE OF THE QUANTITY OF PRODUCT SHORTCODE ***/
.low-stock-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    margin: 15px 0;
    background: #F3F8FC;
    border: 1px solid rgba(14, 63, 104, 0.15);
    border-right: 4px solid #0E3F68;
    border-radius: 12px;
    color: #0E3F68;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(14, 63, 104, 0.08);
    transition: all .3s ease;
}

.low-stock-notice:hover {
    box-shadow: 0 12px 32px rgba(14, 63, 104, 0.12);
    transform: translateY(-2px);
}

.low-stock-notice strong {
    font-size: 20px;
    font-weight: 700;
    color: #0E3F68;
}

.low-stock-dot {
    width: 10px;
    height: 10px;
    background: #800b0b;
    border-radius: 50%;
    flex-shrink: 0;
    animation: stockPulse 1.8s infinite;
}

@keyframes stockPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(172, 25, 25, 0.45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(172, 25, 25, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(172, 25, 25, 0);
    }
}



/**
 * نمایش آخرین بروزرسانی قیمت محصول
 */
 .tc-price-update{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 16px;
    border:1px solid rgba(14,63,104,.12);
    border-radius:12px;
    background:#f8fbfd;
    font-size:14px;
    line-height:1.6;
    color:#0e3f68;
    width:fit-content;
}

.tc-price-update-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(14,63,104,.08);
    color:#0e3f68;
    flex-shrink:0;
}

.tc-price-update-label{
    font-weight:600;
    color:#0e3f68;
}

.tc-price-update-date{
    font-weight:500;
    color:#5f6b76;
}

@media(max-width:576px){

    .tc-price-update{
        font-size:13px;
        padding:10px 14px;
        gap:8px;
    }

    .tc-price-update-icon{
        width:30px;
        height:30px;
    }

}








/* ============================================================
   TECHNOCliENT - LATEST ARTICLES
============================================================ */


/* ============================================================
   MAIN SECTION
============================================================ */

.tc-blog-section {
    position: relative;

    width: 100%;
    /* max-width: 520px; */

    margin: 0 auto;

    direction: rtl;

    box-sizing: border-box;
}

.tc-blog-section *,
.tc-blog-section *::before,
.tc-blog-section *::after {
    box-sizing: border-box;
}


/* ============================================================
   HEADER
============================================================ */

.tc-blog-header {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    width: 100%;

    margin-bottom: 8px;
}

.tc-blog-title {
    margin: 0;

    color: #0E3F68;

    font-size: 20px;
    line-height: 1.5;

    font-weight: 800;
}


/* ============================================================
   MAIN WHITE BOX
============================================================ */

.tc-blog-featured-wrapper {
    position: relative;
    width: 100%;
    margin-top: 35px;
    padding: 12px 16px 42px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
    overflow: visible;
    z-index: 1;
}


/* ============================================================
   FEATURED ARTICLE
   TEXT + IMAGE
============================================================ */

.tc-blog-featured {
    position: relative;
    display: flex;
    width: 100%;
    height: 90px;
    margin: 0;
    padding: 0;
    direction: ltr;
    background: transparent;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    overflow: visible;
    cursor: pointer;
}


/* ============================================================
   FEATURED CONTENT
   LEFT SIDE
============================================================ */

.tc-blog-featured-content {
    position: relative;
	top: -50px;
    min-height: 155px;
	right: 35px;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 5px 355px 5px 10px;
    direction: rtl;
    text-align: right;
    z-index: 2;
}


/* ============================================================
   CATEGORY
============================================================ */

.tc-blog-featured-category {
    display: inline-flex;

    align-self: flex-start;

    width: fit-content;

    margin-bottom: 5px;

    padding: 3px 8px;

    border-radius: 6px;

    background: rgba(14, 63, 104, 0.08);

    color: #0E3F68;

    font-size: 7px;

    line-height: 1.5;

    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   FEATURED TITLE
============================================================ */

.tc-blog-featured-title {
    margin: 0 0 5px;

    color: #111827;

    font-size: 22px;

    line-height: 1.65;

    font-weight: 800;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: opacity .2s ease;
}


/* ============================================================
   FEATURED EXCERPT
============================================================ */

.tc-blog-featured-excerpt {
    max-width: 100%;

    margin: 0;

    color: #667085;

    font-size: 16px;

    line-height: 1.85;

    font-weight: 400;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: opacity .2s ease;
}


/* ============================================================
   FEATURED META
============================================================ */

.tc-blog-featured-meta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    width: 100%;

    margin-top: 7px;

    color: #98A2B3;

    font-size: 7px;

    line-height: 1.5;
}


/* DATE */

.tc-blog-featured-date {
    display: inline-flex;

    align-items: center;

    color: #98A2B3;

    white-space: nowrap;
}


/* READ MORE */

.tc-blog-read-more {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    color: #0E3F68;

    font-size: 7px;

    font-weight: 800;

    white-space: nowrap;

    transition:
        color .2s ease,
        gap .2s ease;
}

.tc-blog-featured:hover .tc-blog-read-more {
    gap: 6px;
}


/* ============================================================
   FEATURED IMAGE
   RIGHT SIDE
   PROTRUDES OUTSIDE THE BOX
============================================================ */

.tc-blog-featured-image-wrapper {
    position: absolute;
    top: -100px;
    right: -124px;
    width: 500px;
    height: 300px;
    overflow: hidden;
    background: #eef2f5;
    border-radius: 24px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
    z-index: 5;
    pointer-events: none;
}


/* ============================================================
   FEATURED IMAGE
============================================================ */

.tc-blog-featured-image {
    display: block;

    width: 100%;

    height: 100%;

    min-height: 90px;

    object-fit: cover;

    opacity: 1;

    transition:
        transform .4s ease,
        opacity .2s ease;
}


/* IMAGE HOVER */

.tc-blog-featured:hover .tc-blog-featured-image {
    transform: scale(1.04);
}


/* ============================================================
   IMAGE OVERLAY
============================================================ */

.tc-blog-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(14, 63, 104, 0.03),
            transparent
        );

    pointer-events: none;
}


/* ============================================================
   THUMBNAILS AREA
   INSIDE THE MAIN BOX
============================================================ */

.tc-blog-thumbnails-wrapper {
    position: relative;

    width: 100%;

    margin-top: 125px;

    z-index: 3;
}


/* ============================================================
   THUMBNAIL CONTAINER
============================================================ */

.tc-blog-thumbnails {
    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    overflow-x: auto;

    padding: 2px;

    scroll-behavior: smooth;

    scrollbar-width: none;
}


/* Chrome / Safari */

.tc-blog-thumbnails::-webkit-scrollbar {
    display: none;
}


/* ============================================================
   THUMBNAIL BUTTON
============================================================ */

.tc-blog-thumbnail {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
    overflow-x: auto;
    padding: 0 !important;
    border: unset !important;
    border-radius: 12px !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    background-color: unset;
}


/* ============================================================
   THUMBNAIL IMAGE
============================================================ */

.tc-blog-thumbnail img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease;
}



/* ============================================================
   THUMBNAIL OVERLAY
============================================================ */

.tc-blog-thumbnail-overlay {
    position: absolute;

    inset: 0;

    background: transparent;

    pointer-events: none;

    transition:
        background .2s ease;
}


.tc-blog-thumbnail.is-active .tc-blog-thumbnail-overlay {
    background: rgba(14, 63, 104, 0.08);
}


.all-blog-btn {
    position: absolute;
    bottom: -64px;
    left: 25px;
    background-color: #0a3355;
    padding: 8px 16px;
    color: white;
    border-radius: 24px;
}

.all-blog-btn:hover {
    color: white;
}



/* =====================================================
   MOBILE SLIDER DOTS
===================================================== */

.tc-blog-mobile-dots {

    display:none;

}



/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .tc-blog-section {
        max-width: 100%;
    }

    .tc-blog-featured-wrapper {
        margin-top: 32px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

/* =========================================================
   MOBILE BLOG SWIPER
========================================================= */

/*
 * Hidden on desktop
 */

.tc-blog-mobile-swiper {
	display: none;
}


/*
 * Mobile
 */

@media (max-width: 600px) {

	/* Hide desktop parts */
	.tc-blog-desktop-featured {
		display: none !important;
	}

	.tc-blog-thumbnails-wrapper {
		display: none !important;
	}

	/* Show mobile swiper */
	.tc-blog-mobile-swiper {
		display: block !important;
		width: 100%;
		overflow: hidden;
		position: relative;
	}

	/* Wrapper – this is the key */
	.tc-blog-mobile-wrapper {
		display: flex !important;
		width: 100%;
		height: auto;
		transition-property: transform;
		box-sizing: content-box;
	}

	/* Each slide */
	.tc-blog-mobile-slide {
		display: flex !important;
		flex-direction: column;
		flex-shrink: 0;
		width: 100%;
		height: auto;
		position: relative;
		transition-property: transform;
		text-decoration: none;
		box-sizing: border-box;
	}

	/* Image */
	.tc-blog-mobile-image-wrapper {
		position: relative;
		width: 100%;
		height: 220px;
		overflow: hidden;
		border-radius: 16px;
		flex-shrink: 0;
	}

	.tc-blog-mobile-image {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* Content */
	.tc-blog-mobile-content {
		width: 100%;
		padding: 15px 5px 0;
		box-sizing: border-box;
		text-align: right;
	}

	.tc-blog-mobile-title {
		margin: 0 0 8px;
		font-size: 18px;
		line-height: 1.8;
		font-weight: 700;
		color: #111;
	}

	.tc-blog-mobile-excerpt {
		margin: 0;
		font-size: 14px;
		line-height: 2;
		color: #666;
	}

	/* Pagination dots */
	.tc-blog-mobile-pagination {
		position: relative !important;
		bottom: auto !important;
		left: auto !important;
		margin-top: 18px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
	}

	.tc-blog-mobile-pagination .swiper-pagination-bullet {
		width: 7px;
		height: 7px;
		margin: 0 !important;
		opacity: 1;
		background: #d5d9df;
		border-radius: 50%;
		transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
	}

	.tc-blog-mobile-pagination .swiper-pagination-bullet-active {
		width: 22px;
		border-radius: 10px;
		background: #0E3F68;
	}
}


/* ============================================================
   ACCESSIBILITY
============================================================ */

.tc-blog-thumbnail:focus-visible {
    outline: 2px solid #0E3F68;

    outline-offset: 2px;
}


/* ============================================================
   REDUCE MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .tc-blog-featured,
    .tc-blog-featured-image,
    .tc-blog-thumbnail,
    .tc-blog-thumbnail img,
    .tc-blog-read-more {
        transition: none;
    }
}




/* set minimum height for the slider*/

@media (min-width: 1025px) {
    #hero-slider .main-page-wrapper .wd-carousel.wd-autoheight {
        height: 400px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #hero-slider .main-page-wrapper .wd-carousel.wd-autoheight {
        height: 330px !important;
    }
}

@media (max-width: 767px) {
    #hero-slider .main-page-wrapper .wd-carousel.wd-autoheight {
        height: 125px !important;
    }
}



/* snapp pay*/

.snapppay-widget{
    width: 45% !important;
}

@media (max-width: 768px) {
    .snapppay-widget{
        width: 100% !important;
    }
}



/* Archive Shop*/


.archive-product-category .wd-widget.widget {
    margin-bottom: 30px;
    border-bottom: unset; 
    background-color: #fff;
    padding: 8px 5px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}



.main-page-wrapper .widget-area .widget,.archive-product-category .widget-area .widget{
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius:12px;
}

.woocommerce-page .products {
    border-radius:24px !important;
    /*padding:10px !important;*/
    padding:unset !important;
    box-shadow:unset !important;
}

.shop-loop-head {
    border-top-right-radius: 24px !important;
    border-top-left-radius: 24px !important;
    border-bottom-right-radius:unset !important;
    border-bottom-left-radius: unset !important;
    margin-bottom:12px !important;
    background-color:white;
}

nav[class*=-pagination] li .page-numbers.current{
    background-color: #0e3f68;
}


.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
    max-width:250px !important;
}

.products-bordered-grid:where(.wd-loop-builder-off).elements-grid>.wd-col{
    padding:unset !important;
    border-top: unset !important;
    border-inline-end: unset !important;
}

.woocommerce-page .products .wd-product-wrapper {
    border-radius:unset !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce-page .products .wd-product-wrapper:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.woocommerce-page .wd-products-element {
    box-shadow: 0 0 14px -4px rgb(33 33 33 / .2);
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    padding-bottom: 24px;
}


/* discription of archive category(read more)*/
.tc-readmore-dynamic {
  position: relative;
}

.tc-readmore-dynamic .elementor-widget-container {
  position: relative;
}

.tc-readmore-dynamic .tc-rm-content {
  line-height: 1.9;
}

.tc-readmore-dynamic .tc-rm-content.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--az-rm-lines, 4);
  overflow: hidden;
}

.tc-readmore-toggle {
    margin: auto !important;
    left: 0;
    right: 0;
    position: absolute !important;
    width: max-content;
    bottom: -20px;
    background: white;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #0E3F68 !important;
    border-radius: 16px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5) !important;
}

.tc-readmore-toggle:hover {
  text-decoration: underline;
}


/* shoertcode for showing banner of category in top of the archive page*/
.AD-category-banner {
    position: relative;
    width: 100%;
    height: clamp(160px, 25vw, 320px);
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    border-radius: 24px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 24px;
    display: flex;
    align-items: center;
    background-repeat:no-repeat;
}

.AD-category-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.AD-category-banner.no-image .AD-category-banner__overlay {
    background: none;
}

.AD-category-banner__title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0 1rem;
}

.AD-category-banner.no-image .AD-category-banner__title {
    color: #1a1a1a;
    text-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
    .AD-category-banner {
        transition: box-shadow 0.2s ease;
    }
}


/* style of the showing subcategory in archive category*/
.AD-category-tags {
    display: flex;
    flex-direction: column;
    padding-bottom: 32px;
    gap: 10px;
    border-bottom: 2px solid #0E3F68;
}

.widget-area.elementor-widget{
    margin-top:12px;
}

.AD-category-tag {
    display: inline-flex;
    align-items: center;
    color: #0E3F68 !important;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3) !important;
    text-decoration: none !important;
    color: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    background-color: #fff;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.AD-category-tag:hover {
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.AD-category-tag__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
}





