/*
Theme Name: RoyceWorld Theme
Theme URI: https://royceworld.com/
Author: Royce World
Author URI: https://royceworld.com/
Description: A custom-designed premium WooCommerce theme
Template: merto
Version: 1.0
Text Domain: royceworld-theme
*/

























body{
	overflow-x: hidden !important;
}

/* removed the left and right extra space via padding */
@media only screen and (max-width: 1500px) and (min-width: 1201px) {
    :where(body, .layout-fullwidth, .header-fullwidth,.main-content-fullwidth, .footer-fullwidth) .e-con-boxed:not(.e-child) {
/*         --container-default-padding-inline-end: 50px;
        --container-default-padding-inline-start: 50px; */
        --container-default-padding-right: 20px !important;
        --container-default-padding-left: 20px !important;
    }
}

/*  */
.e-con-inner{
	max-width: 1600px !important;
}
.ts-header .header-sticky .container{
	max-width: 1900px !important;
}
.menu {
 
	gap: 0 20px; !important;
}
.menu li {
/*   flex: 0 1 auto !important; */
/* 	width: 40px; */
}
.logo-wrapper .logo a img {
    width: 65px !important;
}
.product-banner-wrapper{
	border: 1px solid #ddd;
	border-radius:10px;
}
.header-bottom{
	border: none;
}

/*  */


/*  alligning the bolt to bottom */
span.price {
    height: 30px !important;
}
h3.heading-title.product-name {
    height: 45px !important;
}
/*  */

/*  */
	
/*  adjusting the product page list heading and view more button */
	.heading-tab .heading-title, .shortcode-heading-wrapper .shortcode-title{
		font-size: 18px;
		font-weight:700;
		font-family: "Roboto", sans-serif;
		margin-top: 15px
	}
	
	.tabs .tab-item{
		display: none;
	}
	
	.shop-more .shop-more-button{
		font-size: 16px;
    text-decoration: none;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 5px;
    color: #002A3A;
    font-weight: 500;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1019607843);
	}
	.shop-more .shop-more-button::before{
/* 		display:none; */
		border: none;
	}
	
	.column-tabs .list-categories, .ts-product-wrapper .shortcode-heading-wrapper{
		margin-bottom: 10px !important;
	}
	
	.vertical-menu-wrapper a:hover{
		color: #fff;
	}
/*  */


/*  */
.logo .mobile-logo {
    width: 60px !important;
	margin-top: -10px !important;
}
.footer-container{
	background-color: #fff !important;
}

.site .ts-header{
	border-bottom: 1px solid #ddd;
}
/*  */
#menu-item-9314{
	display: none !important;
}
/*  */
.header-template .header-middle .container{
	padding-left: 0px;
	padding-right: 0px;
}
.header-middle > .container{
	gap: 0 10px;
}
.header-middle{
	background-color: #fff !important;
	color: #000 !important;
	border: none !important;
}

/*  */
.ts-header .header-sticky .header-bottom .container{
	background-color: #ea1f2b;
	color: #fff;
	padding-left: 0px;
	padding-right: 0px;
}
.header-bottom .ts-menu nav>ul>li>a{
	color: #fff !important; 
}
.vertical-menu-heading:before {content: "\e940";}
/*  */
.header-h1-toolkit-col-4 {
    display: var(--fx)
;
    width: 5%;
    height: auto;
    justify-content: center;
    align-items: center;
}


.header-h1-toolkit-col-4 .header-h1-bar {
    width: 1.1px;
    height: 70%;
    background-color: rgba(112, 112, 112, 0.1725490196);
}
/*  */

/* footer social icon color change */
.elementor-social-icon i{
	color: black !important;
}
/*  */

/* user name  delete it and check on 17th noon time and check*/
.my-account-wrapper .account-control>a{
	display: block;
	font-size: 12px;
}
.my-account-wrapper .account-control > a span {
	font-weight: 300;
}
.ts-tiny-account-wrapper .account-control>a:before {
    content: none;
}


/* username ends */

/* search bar */
.search-field.search-content {
    border: 1px solid #F5F5F5 !important;
    border-radius: 6px;
    background: white;
}
/*  */
.delivery-mode-dropdown .delivery-mode::after{
	content: "\25bc";
}
/* product detail page vendeor panel codes */
.custom-dokan-vendor-box {
    border: 1px solid #ddd;
    padding: 15px;
    font-family: Arial, sans-serif;
    background: #fff;
    border-radius: 8px;
}

.vendor-header {
/*     display: flex;
    align-items: center; */
/*     margin-bottom: 10px; */
}

.vendor-icon img {
    width: 20px;
    height: 20px;
/*     margin-right: 10px; */
}
.vendor-info {
    flex: 1;
}

.vendor-info span {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}
.vendor-badges .badge {
   
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 13px;
    color: #fff;
    margin-right: 5px;
}

.badge.green {
    background-color: #4CAF50;
}
.badge.orange {
    background-color: #ff9800;
}
.vendor-metrics {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 15px 0;
}

.vendor-metrics div {
    flex: 1;
}

.vendor-metrics strong {
    font-size: 18px;
    display: block;
    color: #000;
}

.vendor-store-link {
    text-align: center;
    margin-bottom: 15px;
		margin-top: 20px;
}

.vendor-store-link a {
    color: #2196F3;
    text-decoration: none;
}

.meaning-info {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.vendor-policies {
    margin-top: 10px;
}

.policy-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.policy-item img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.policy-item a {
    color: #2196F3;
    font-size: 13px;
    margin-left: 5px;
}

.payment-options {
	display: flex;
    margin-top: 15px;
    font-size: 10px;
	line-height: normal;
}

.payment-options .pay-button {
	height:fit-content;
	
    padding: 3px;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 5px 0 0;
	font-size:8px;
    color: #fff;
}

.pay-button.red {
    background-color: #f44336;
}

.pay-button.yellow {
    background-color: #ffb300;
}

.pay-button.blue {
    background-color: #03a9f4;
}

/*  */
/*  */
.custom-price-box {
    padding: 10px;
/*     background: #fdfdfd; */
/*     border: 1px solid #ddd; */
/*     border-radius: 6px; */
}

.custom-price-box p {
    margin: 4px 0;
}

/*  */
/*  */
.custom-product-banner img {
/*     box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
	border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}
/*  */
/*  */
.entry-summary .price, .entry-summary .ts-discount-number {
	display: none !important;
}

/*  */
/*  */
.assured-section {
    font-family: "Arial", sans-serif;
    font-size: 15px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.bolt-badge-archive {
    position: relative;
    z-index: 9;
    pointer-events: none;
}

.woocommerce ul.products li.product:hover .bolt-badge-archive {
    opacity: 1 !important;
    visibility: visible !important;
}

/*  */
/*  */
.gt_selector{
	background-color: #fff !important;
	border: 1px solid #ddd !important;
    border-radius: 10px !important;
    padding-top: 1px !important;
    padding-bottom: 1px;
}
/*  */
/*  */
.shopping-cart-wrapper .cart-control .cart-number{
	background: #0773ba !important;
}
/*  */

/*  */
@media (max-width: 767px) {
  .mobile-search-bar {
    margin-top:-10px;
  }

  .ts-search-by-category {
    display: block !important;
    position: relative;
    width: 100%;
    background: #fff;
    z-index: 10;
  }

  .ts-search-by-category .search-field input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .ts-search-by-category .search-button input[type="submit"] {
    padding: 10px 15px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    margin-left: 5px;
  }

  .ts-search-by-category select.select-category {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .ts-search-result-container {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
  }
}


/*  */

/* ===========================
   Language Selector Styling
   =========================== */
.header-middle .visible-xs .gtranslate_wrapper .gt_selector {
  border: 1px solid #ddd !important;
  background-color: #fff !important;
  border-radius: 15px !important;
padding-top:3px !important;
	padding-bottom: 3px !important;

}
/*  */
/* Default: Hide mobile-only elements */
.visible-xs,
.mobile-bottom-nav {
  display: none !important;
}

/* ===========================
   MOBILE: For screens ≤ 1200px
   =========================== */
@media screen and (max-width: 1200px) {

  /* Show mobile-only elements */
  .visible-xs {
    display: block !important;
  }

  /* Show hamburger icon */
  .ts-mobile-icon-toggle {
    display: block !important;
    margin-right: 10px;
    z-index: 2;
  }

  /* Flex layout for header */
  .ts-header .header-middle .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    position: relative;
/*     min-height: 80px; */
  }

 .ts-header .logo-wrapper  {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
/*     padding: 10px 0; */
/* 		min-height: 50px */
  }

  /* Logo image size */
/*   .ts-header .logo-wrapper img {
    max-height: 55px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
  } */

  /* Make sure side icons stack properly */
  .ts-header .header-left,
  .ts-header .header-right {
    z-index: 2;
  }

  /* ➤ Show cart icon on mobile */
  .ts-header .shopping-cart-wrapper {
    display: flex !important;
    align-items: center;
    margin-right: 10px;
    z-index: 2;
  }

  .ts-header .shopping-cart-wrapper a {
    position: relative;
    color: #000;
    text-decoration: none;
  }

  .ts-header .shopping-cart-wrapper .cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    padding: 1px 5px;
  }

  /* Hide desktop-only header items */
  .ts-header .header-bottom,
  .ts-header .header-center,
  .ts-header .delivery-mode-dropdown,
  .ts-header .my-account-wrapper,
  .ts-header .my-wishlist-wrapper,
  .ts-header .header-language-currency,
  .ts-header .hidden-xs {
    display: none !important;
  }

  /* Sticky bottom mobile nav */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    justify-content: space-around;
    padding: 6px 0;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.08);
  }

  .mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    text-decoration: none;
    color: #444;
    position: relative;
  }

  .mobile-bottom-nav .nav-item i {
    font-size: 23px;
    margin-bottom: 3px;
  }

  .mobile-bottom-nav .cart-count {
    position: absolute;
    top: -3px;
    right: -15px;
    background: red;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    padding: 0px 7px;
  }
	.logo-wrapper .logo a img{
		margin-top:-15px !important;
		width: 75px !important;
	}
}


/*  */
/*  */
@media screen and (min-width: 767px) and (max-width: 1200px) {
	.logo-wrapper .logo{
		width: 70%;
	}
}
/*  */


/* header hotline codes */
.hotline-number {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    gap: 6px;
}
.hotline-number div {
	background-color: #fff;
	padding: 7px;
	border-radius:20px;
    color: #28a745;
    font-size: 18px;
}
.hotline-number a:hover{
	color: #fff;
}
.hotline-number a {
    text-decoration: none;
    color: inherit;
}

/*  */

/*  */
.swiper-slide {
    margin-right: 0px !important;
}
/*  */


/* removing the margin in product page image bottom */

.gallery-layout-grid .woocommerce-product-gallery{
	margin-bottom:0px !important;
}
/*  */


/* product name spacing */

table.group_table .woocommerce-grouped-product-list-item__label a, .woocommerce ul.cart_list li .product-name a, .woocommerce ul.product_list_widget li .product-name a, .woocommerce ul.product_list_widget li .ts-wg-meta > a, .woocommerce .products .product .product-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
	overflow: hidden !important;
    max-height: calc(2 * 1.42em) !important;
}
/*  */

/*  */
.ts-mobile-icon-toggle .icon {
    font-size: 25px !important;
}
@media only screen and (max-width: 1200px) {
    .search-button.search-icon .icon:before, .my-wishlist-wrapper .tini-wishlist:before, .shopping-cart-wrapper .cart-control .ic-cart:before, .ts-tiny-account-wrapper .account-control > a:before {
        font-size: 30px !important;
    }
}


/*  */


/*  Related product tab*/
/* Responsive More Products Grid */
.more-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 per row desktop */
  gap: 20px; /* adjust spacing */
}

@media (max-width: 1200px) {
  .more-products-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 per row large tablet */
  }
}

@media (max-width: 992px) {
  .more-products-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row tablet */
  }
}

@media (max-width: 768px) {
  .more-products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row mobile landscape */
  }
}

@media (max-width: 480px) {
  .more-products-grid {
    grid-template-columns: 1fr; /* 1 per row small mobile */
  }
}

/*  */


.category-banners {
    display: flex;
/*     flex-wrap: wrap; */
    gap: 15px;
    margin-bottom: 20px;
}
.category-banners .banner-item img {
    max-width: 100%;
    border-radius: 8px;
}
/* Make FBT checkboxes larger and red */
.fbt-checkbox {
    width: 20px;
    height: 20px;
    transform: scale(1.6);
    cursor: pointer;
    accent-color: red; /* Modern browsers */
}

/* For browsers that don’t support accent-color */
.fbt-checkbox:checked {
    background-color: red !important;
    border-color: red !important;
}

/* Desktop (show all banners in grid) */
.rw-category-banners .rw-banners-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.rw-category-banners .rw-banner-item {
    flex: 1 1 calc(20% - 15px); /* 5 per row */
    min-width: 200px;
}
.rw-category-banners .rw-banner-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Tablet & Mobile (scroll) */
@media (max-width: 1024px) {
    .rw-category-banners .rw-banners-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        scroll-snap-type: x mandatory;
    }
    .rw-category-banners .rw-banner-item {
        flex: 0 0 80%; /* make banners big */
        scroll-snap-align: start;
    }
}

/* Hide scrollbar (optional) */
.rw-category-banners .rw-banners-scroll::-webkit-scrollbar {
    display: none;
}
.rw-category-banners .rw-banners-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

