:root {
 --primaryColor: #3D2F81;
--secondaryColor: #3399CC;

  --accent: #3399CC;            /* Darker Red for hover/CTA */
  --text: #2B2B2B;              /* Soft black for perfect readability */
  --bodyBg: #FFF9F1;            /* Slightly warm background */
  --mainGradient: linear-gradient(48deg, var(--primaryColor), var(--accent));
}


.woocommerce-tabs .wc-tabs li a img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    height: 16px;
    width: 16px;
}

.category-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: visible; /* 👈 Allow image overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  position: relative;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease-in-out;
}

/* .category-card:hover .category-card-image img {
  transform: scale(1.05);
} */

.category-card-title {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #222;
  text-align: center;
}

/* Optional Swiper Button Style */
.swiper-btn {
  color: #000;
}

/* 
/* .category-card {
  display: flex;
  width: auto;
  cursor: pointer;
  aspect-ratio: 1050 / 600;
  max-height: 233px;
  background: var(--mainGradient);
  transition: all .3s;
  position: relative;
  overflow: hidden; 

  @media (width<992px) {
    width: 100%;
    height: auto;
  }
}

.category-card-image {
  width: 100%;
  height: auto;

  & img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

.category-card-title {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 100%;
  padding-left: 10px;
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1rem;
  color: var(--text);
  background: var(--secondaryColor);
  box-shadow: -5px 0px 1px var(--primaryColor), -10px 0px 1px var(--accent);
}
 */
/* SVG above the card */
/* ---------- DISCOUNT BADGE ---------- */
.product-discount-percentage {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #6449A4;
  color: #ffffff;
  padding: 6px 10px;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 6px;
}

/* ---------- SKELETON LOADING ---------- */
.skeleton-card {
  animation: shimmer 1.5s infinite linear;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ---------- PRODUCT CARD WRAPPER ---------- */


/* Discount Badge */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
}

<div class="product-buttons">

    <a href="<?= $product->get_permalink(); ?>" class="btn-outline">
        More info
    </a>

    <?php if (!$product->is_type('variable')): ?>
        <a class="btn-primary add_to_cart_button ajax_add_to_cart cart-icon-btn"
            href="/?add-to-cart=<?= $product->get_id(); ?>"
            data-product_id="<?= $product->get_id(); ?>">
            <i class='bx bxs-cart-alt'></i>
        </a>
    <?php endif; ?>

</div>
/* ---------- IMAGE WRAPPER (fixed height / same size) ---------- */
.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5; /* consistent card ratio */
    overflow: hidden;
    background: #f3f3f3;
    display: block;
    position: relative;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* IMPORTANT: removes white space */
    object-position: center;
    display: block;
}
/* ---------- CONTENT ---------- */
.product-content {
    padding: 16px;
    text-align: center;
}

/* Title */
.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

/* Rating */
.product-rating {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 6px;
}

.product-rating .count {
    color: #777;
    font-size: .85rem;
}

/* Price */
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 12px 0;
    color: #111;
}

/* ---------- BUTTONS ---------- */
.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.product-buttons a {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Outline Button (More info) */
.btn-outline {
    border: 2px solid #3D2F81;
    color: #3D2F81;
    background: transparent;
    transition: .3s ease;
}

.btn-outline:hover {
    background: #3D2F81;
    color: white;
}

/* Primary Button (Add to Cart) */
.btn-primary {
    background: #3a3183;
    color: white;
    transition: .3s ease;
}

.btn-primary:hover {
    background: #ffff;
}
/* Add to Cart Icon Button */
.cart-icon-btn {
    width: 48px;
    padding: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #3D2F81;
    color: #fff;
    border-radius: 8px;
    font-size: 1.4rem;
}

.cart-icon-btn:hover {
    background: #ffff;
	 border: 2px solid #3D2F81;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
    .product-content {
        padding: 12px;
    }
    .product-buttons a {
        height: 38px;
        font-size: .9rem;
    }
}

/*---------------------------- animation ---------------------------------*/

.custom-shopping-cart{
  position:fixed;
  top:10%;
  right:00%;
   width:100px;
  height:100px;
	translate:100%;
  border:0px solid red;
}

.card-moving{
  position:fixed;
  transition:all 2s cubic-bezier(.86,.2,.03,.97);
  top:calc(var(--top) * 1px );
  left:calc(var(--left) * 1px );
  scale:var(--scalex,1) var(--scaley,1);
  transform-origin:top left;
  width:369px;
  height:549px;
  background:white;
	z-index:1000000;
	pointer-events:none;
  & img{
    width:100%;
	  z-index:1000000;
  }
}

 /* Style for the sales popup */
    .popup-flex{
      display:flex;
	flex-direction:row;
    }
    .popup {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: #fff;
      color: #000;
      padding-right: 5px;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      border-radius:10px;
      overflow:clip;
      z-index:1000;
      
      @media (width < 992px){
        display:none;
      }
    }
    
.buy-now-btn {
    background: #000 !important;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
.buy-now-btn:hover {
    background: #3A3A3A !important;
}

.shipping-info {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.shipping-info ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.shipping-info li {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.shipping-info li i {
    font-size: 24px;
    color: #333;
    margin-right: 10px;
}

.shipping-info li span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.shipping-info hr {
    border: none;
    border-top: 2px solid #000;
    margin: 0;
}
.review-slider-wrapper {
    margin: 40px 0;
    padding: 0 20px;
}

.custom-review-card {
    background-color: #fff;
    border-radius: 20px;
	 border: 2px solid #000;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-review-stars {
    margin-bottom: 10px;
    font-size: 18px;
}

.custom-review-text {
    font-style: italic;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.custom-review-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-review-icon {
    font-size: 40px;
    color: #9c27b0;
    background-color: #f0f0f0;
    border-radius: 50%;
    padding: 8px;
}

.custom-review-author {
    font-weight: bold;
    color: #111;
}

.custom-review-location {
    font-size: 14px;
    color: #777;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #999;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #333;
}


.trending-blogs-section {
    text-align: center;
    padding: 40px 20px;
}

.trending-blog-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trending-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trending-blog-card {
    background-color: #fff;
    border-radius: 12px;
	 border: 2px solid #000;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.trending-blog-card:hover {
    transform: translateY(-5px);
}

.trending-blog-image {
    width: 100%;
    height: auto;
    display: block;
}

.trending-blog-content {
    padding: 15px;
    text-align: left;
}

.trending-blog-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #222;
}

.trending-blog-author {
    font-size: 14px;
    color: #888;
    margin: 0;
}
.product-card {
    position: relative; /* Make the card a positioning context */
}

.product-tags {
    position: absolute; /* Position it absolutely within the parent container */
    top: 10px; /* Distance from the top of the card */
    right: 10px; /* Distance from the right of the card */
    display: flex;
    gap: 8px;
    z-index: 10; /* Ensure it stays on top of other elements */
}

.product-tag {
    background-color: #f7f7f7;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

.product-tag.trending {
    background-color: #ff7f00;
    color: #fff;
}

.product-tag.new-launch {
    background-color: #00aaff;
    color: #fff;
}

.product-tag.best-seller {
    background-color: #ff4c4c;
    color: #fff;
}
/* ===== Woocommerce Cart / Checkout Page Layout Fix ===== */

/* Make sure cart table is full width and responsive */
.woocommerce-cart .shop_table,
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse;
}

/* Fix the container of cart content (center it) */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: auto;
  padding: 20px 15px;
}

/* Style cart table rows */
.woocommerce-cart .shop_table td,
.woocommerce-cart .shop_table th {
  vertical-align: middle;
  padding: 10px 8px;
}

/* Fix thumbnail size in cart */
.woocommerce-cart .shop_table img {
  max-width: 80px;
  height: auto;
}

/* Quantity input box style */
.woocommerce-cart .qty {
  width: 60px !important;
  padding: 6px;
  text-align: center;
}

/* Style cart buttons */
.woocommerce-cart .button,
.woocommerce-cart .checkout-button {
  padding: 10px 20px !important;
  height: auto !important;
}

/* Align cart item content better */
.woocommerce-cart .cart_item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* On checkout page, fix the review-order table layout */
.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td {
  padding: 12px 8px;
}

/* Make sure checkout table is more compact */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin-bottom: 30px;
}

/* Adjust mobile view for cart table */
@media (max-width: 768px) {
  .woocommerce-cart .shop_table,
  .woocommerce-checkout .woocommerce-checkout-review-order-table {
    display: block;
    overflow-x: auto;
  }
  .woocommerce-cart .shop_table td,
  .woocommerce-cart .shop_table th,
  .woocommerce-checkout .woocommerce-checkout-review-order-table td,
  .woocommerce-checkout .woocommerce-checkout-review-order-table th {
    display: block;
    width: 100%;
  }
}
.woocommerce-checkout .col-1 {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-checkout .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 30px;
}
@media(min-width: 768px) {
    .woocommerce-checkout .col-1 {
        width: 60% !important;
        float: left;
    }

    .woocommerce-checkout .col-2 {
        width: 40% !important;
        float: right;
    }
}
/* .woocommerce-tabs .reviews_tab,
.woocommerce-Tabs-panel--reviews {
    display: block !important;
} */
/* review style */
/* .cr-review-box-wrapper {
    max-width: 900px;    
    margin: 50px auto;   
    padding: 25px;
    background: #ffffff; 
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.08); 
}
 */
/* body .search .container.
body .search .content-area,
body .search #primary,
body .search #main {
	max-width: 100% !important;
	width : 100% !important;
} */
/* PRODUCT PAGE DESC SIDE  */
/* Hide default WooCommerce Description & Additional Info */
.woocommerce-Tabs-panel--description,
.woocommerce-Tabs-panel--additional_information,
.woocommerce-tabs {
    display: none !important;
}
.product-accordion {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-item + .accordion-item {
    border-top: 1px solid #ddd;
}

.accordion-button {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: #f9f9f9;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
}

.accordion-icon {
    margin-right: 10px;
    display: inline-flex;
}

.accordion-arrow {
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    padding: 12px 16px;
    background: #fff;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

/* =========================
   VIDEO SECTION MAIN
========================= */

.custom-video-section {
    background: #b7deff;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 40px;
}

/* Container */
.video-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* =========================
   LEFT TEXT CONTENT
========================= */

.video-left {
    flex: 1;
}

.video-left h2 {
    font-size: 38px;
    color: #244a7c;
    font-weight: 700;
    margin-bottom: 20px;
}

.video-left p {
    font-size: 20px;
    color: #244a7c;
    line-height: 28px;
}

/* =========================
   RIGHT VIDEO CONTAINER
========================= */

.video-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ===== VIDEO BOX COMMON ===== */
.video-box {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 35px rgba(0,0,0,0.2);
}

/* ===== Horizontal Video (YouTube 16:9) ===== */
.video-box.horizontal {
    aspect-ratio: 16 / 9;
    max-width: 650px;
}

/* ===== Vertical Reel (Instagram 9:16) ===== */
.video-box.vertical {
    aspect-ratio: 9 / 16;
    max-width: 360px;
}

/* Video / iframe Fit */
.video-box iframe,
.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}


/* =========================
   TABLET RESPONSIVE
========================= */
@media (max-width: 1024px) {

    .video-container {
        gap: 30px;
    }

    .video-left h2 {
        font-size: 32px;
    }

    .video-left p {
        font-size: 18px;
    }

    .video-box.horizontal {
        max-width: 100%;
    }

    .video-box.vertical {
        max-width: 300px;
    }
}


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

@media (max-width: 768px) {

    .custom-video-section {
        padding: 40px 15px;
        border-radius: 16px;
    }

    .video-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .video-left h2 {
        font-size: 26px;
    }

    .video-left p {
        font-size: 16px;
    }

    .video-box.vertical {
        max-width: 260px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .video-left h2 {
        font-size: 22px;
    }

    .video-left p {
        font-size: 15px;
    }

}

/* style code for Product Specifications
 */
/* Full-width specifications section */
.custom-spec-section {
    width: 100%;
    background: #f9f9f9;
    padding: 50px 20px;
    box-sizing: border-box;
    text-align: center;
}

.custom-spec-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #222;
    font-weight: 600;
}

.custom-spec-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.custom-spec-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    flex: 1 1 200px;
    max-width: 220px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-spec-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.custom-spec-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.custom-spec-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}


/* ===== SMALLER ARROWS + CUSTOM COLOR ===== */

.swiper-button-next,
.swiper-button-prev {
    width: 35px !important;       /* smaller size */
    height: 35px !important;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
}

/* Arrow icon size */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;   /* smaller arrow */
    font-weight: bold;
    color: #1299ed !important;    /* your blue color */
}

/* Hover effect (optional premium look) */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #1299ed;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #ffffff !important;
}


