/*
Theme Name: Custom Theme
Theme URI: https://example.com
Author: Sivaprasad
Author URI: https://example.com
Description: A custom WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-theme
*/
.topbar {
  background: #000;
  color: #fff;
}

.mySwiper {
  max-width: 600px;   /* controls slider width */
}

.swiper-slide {
  font-size: 15px;
  font-weight: 500;
}

/* Arrow styling */
.swiper-button-prev,
.swiper-button-next {
  position: static !important; /* Important for flex layout */
  margin: 0 10px;
  color: #fff;
}

/* Make arrows smaller */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;   /* default is ~44px */
  font-weight: bold;
}

/* Optional: reduce button container size */
.swiper-button-prev,
.swiper-button-next {
  width: 24px;
  height: 24px;
}

/*Top Slider */
/*Header */ 
header {
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

header .form-control {
  border-right: 0;
}

header .btn {
  border-left: 0;
}

header a:hover {
  color: #f0ad4e !important;
}

/*Header */ 
/*Navigation Menu */ 
.menu {
  font-size: 14px;
}

.menu .nav-link {
  color: #fff !important;
  font-weight: 500;
}

.menu .nav-link:hover {
  color: #ffc107 !important;
}

.menu .dropdown-menu {
  border-radius: 6px;
  border: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.menu .dropdown-item:hover {
  background: #f8f9fa;
  color: #000;
}

/*Navigation Menu */ 
/*Header Bottom */
.header_bottom{
  min-height: 100px;
  background: linear-gradient(90deg, rgba(15, 15, 15, 1), rgba(1, 113, 187, 1) 71%);
}
/*Header Bottom */
/*Carousel Style */
/* Common button style */
.custom-carousel-btn {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 30%;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  opacity: 1;
  z-index: 5;
}

/* Move both buttons to right side */
.next-btn {
  right: 20px;
}

.prev-btn {
  right: 80px; /* space between buttons */
}

/* Change arrow color to ORANGE */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60% 60%;
  filter: invert(54%) sepia(92%) saturate(1000%) hue-rotate(0deg) brightness(95%) contrast(95%);
}

/* Hover effect */
.custom-carousel-btn:hover {
  background: #ff6600;
}

.custom-carousel-btn:hover .carousel-control-prev-icon,
.custom-carousel-btn:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1); /* white icon on orange hover */
}

/*Carousel Style */
/*Categiry Section */ 
.category-box {
  background: #fff;
  border-radius: 10px;
  transition: 0.3s ease;
  cursor: pointer;
  border: 1px solid #eee;
}

.category-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.category-box img {
  height: 60px;
  object-fit: contain;
}

/*Category Section */ 
/*Product Card */
.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #eee;
  transition: 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.product-card img {
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Wishlist Heart */
.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}

.wishlist i {
  color: #ff4d4d;
}

/* Discount badge */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
}

/* Sale ribbon */
.sale-ribbon {
  position: absolute;
  background: #ff6600;
  color: #fff;
  padding: 3px 40px;
  font-size: 12px;
  top: 15px;
  left: -35px;
  transform: rotate(-45deg);
  font-weight: bold;
}

/* Price */
.price {
  font-weight: bold;
  color: #ff6600;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 5px;
}

/* Add to cart button */
.add-cart-btn {
  border-radius: 8px;
  font-weight: 600;
}

/* Hover */
.product-card:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

/*Product Card */
/* Typing Text */
.marquee-wrapper {
  background: #111;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-weight: 500;
}

.marquee {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

.marquee span {
  margin-right: 60px;
  font-size: 14px;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/*Typing Text */
/*Branding */
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.promo-banner:hover img {
  transform: scale(1.08);
}

/* Overlay */
.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}

.promo-content {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}

.large-banner {
  height: 320px;
}

.small-banner {
  height: 155px;
}

/*Branding */
/* Whole Sale Section */
section ul li {
  font-size: 1.05rem;
}

section .btn {
  border-radius: 50px;
}

/* Wholesale Section */
/*Brand Slider */

.brand-logo {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}


/* Brand Slider */
/*Full Width Ad */
.fullwidth-ad {
  padding: 60px 0;
  background-color: #0171bb;
}

.features-flex {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 calc(25% - 25px);
}

.icon {
  font-size: 28px;
  color: #0d6efd;
  min-width: 40px;
}

.content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/*Full Width Ad */
/*Footer */
.footer-section {
  font-size: 14px;
}

.footer-section a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-icons i {
  font-size: 16px;
}
.footer-logo {
  max-width: 180px;   /* desktop size */
  width: 100%;
}

@media (max-width: 576px) {
  .footer-logo {
    max-width: 120px; /* mobile size */
    margin: 0 auto;   /* center on mobile */
    display: block;
  }
}

/* Footer */
/*Add to cart Button */
.product-card .add_to_cart_button {
    display: inline-block;
    background-color: #000;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.product-card .add_to_cart_button:hover {
    background-color: #444;
}
/* Add To Cart Button */
/*Cart Page */
.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    float: none !important;
}

.cart_totals {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

/* Reduce single product image size */
.single-product .woocommerce-product-gallery {
    max-width: 320px;
    margin: 0 auto;
}

.single-product .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
}
@media (min-width: 992px) {
    .single-product .col-lg-4 {
        display: flex;
        justify-content: center;
    }
}
/* Fix WooCommerce Tabs Alignment */
.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #eee;
    padding-left: 0;
    margin-bottom: 30px;
    list-style: none;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    border-bottom: 3px solid #000;
    color: #000;
}


/*Related Products */
/* Related Products Section */
.single-product .related.products {
    margin-top: 60px;
}

/* Make product grid responsive */
.single-product .related.products ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 0;
    list-style: none;
}

/* Each product item */
.single-product .related.products ul.products li.product {
    width: 22%;
    min-width: 220px;
    float: none;
    text-align: center;
}

@media (max-width: 992px) {
    .single-product .related.products ul.products li.product {
        width: 45%;
    }
}

@media (max-width: 576px) {
    .single-product .related.products ul.products li.product {
        width: 100%;
    }
}

/* Add to Cart Section */
.single-product form.cart {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Quantity Box */
.single-product .quantity input.qty {
    width: 70px;
    height: 45px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Add to Cart Button */
.single-product .single_add_to_cart_button {
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    transition: 0.3s ease;
}

.single-product .single_add_to_cart_button:hover {
    background-color: #333;
}

/* Cart Table */
.woocommerce-cart table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.woocommerce-cart table.shop_table th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
}

.woocommerce-cart table.shop_table td {
    padding: 20px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}
.woocommerce-cart .product-quantity {
    display: table-cell !important;
}

.woocommerce-cart .quantity {
    display: inline-flex !important;
}
.woocommerce .quantity input.qty {
    width: 70px;
    text-align: center;
}

/* Product Image */
.woocommerce-cart .product-thumbnail img {
    width: 80px;
    height: auto;
    border-radius: 6px;
}

/* Remove Button */
.woocommerce-cart .product-remove a.remove {
    font-size: 20px;
    color: red;
}

/* Quantity */
.woocommerce-cart .quantity input.qty {
    width: 70px;
    text-align: center;
}
/* Checkout Page */
/* Checkout Inputs */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Section Titles */
.woocommerce-checkout h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* Order Summary Card */
.woocommerce-checkout-review-order {
    margin-top: 20px;
}

.woocommerce-checkout #place_order {
    background: #000;
    color: #fff;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    border: none;
}

.woocommerce-checkout #place_order:hover {
    background: #333;
}
/* Checkout Page */


