/* 
==========================================================================
   Upanat Studio - Custom Stylesheet
========================================================================== 
*/

:root {
  /* Brand Colors */
  --primary-color: #410505; /* Main Maroon */
  --secondary-color: #f7f5f0; /* Subtle cream for backgrounds */
  --accent-color: #ebe36b; /* Secondary Yellow/Gold */
  --text-dark: #222222;
  --text-light: #666666;
  --border-color: #eaeaea;
  --white: #ffffff;

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Utilities */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* =========================================
   Global Reset & Defaults
   (Leveraging Bootstrap, adding custom tweaks)
========================================= */

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--primary-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================
   Buttons
========================================= */

/* Global Button Enhancements */
.btn {
  transition: all var(--transition-fast);
}

.btn:not(.btn-link):not(.btn-close):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 12px 30px;
  border: 1px solid var(--primary-color);
  border-radius: 0; /* Sharp corners for premium look */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-primary-custom:hover {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--white);
}

.btn-banner {
  background-color: var(--primary-color);
  color: var(--white);
  font-family: var(--font-body);
  border: 1px solid var(--primary-color);
  transition: all var(--transition-fast);
}

@keyframes bannerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn-banner:hover {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
  animation: bannerPulse 1.5s infinite;
}

.btn-cart-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
  transition: all var(--transition-fast);
}

.btn-cart-custom:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 12px 30px;
  border: 1px solid var(--primary-color);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* =========================================
   Helper Classes
========================================= */

.bg-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
}

.bg-primary-custom h1,
.bg-primary-custom h2,
.bg-primary-custom h3,
.bg-primary-custom h4,
.bg-primary-custom h5,
.bg-primary-custom h6,
.bg-primary-custom .font-heading,
.bg-primary-custom a {
  color: var(--white);
}

.bg-primary-custom a:hover {
  color: var(--accent-color) !important;
}

.bg-primary-custom .text-dark,
.bg-primary-custom .text-muted {
  color: var(--secondary-color) !important;
}

.bg-primary-custom .navbar-toggler-icon {
  filter: invert(1);
}

.bg-primary-custom .dropdown-menu a {
  color: var(--text-dark) !important;
}

.bg-primary-custom .dropdown-menu a:hover {
  color: var(--primary-color) !important;
}

.bg-primary-custom .offcanvas {
  color: var(--text-dark) !important;
}

.bg-primary-custom .offcanvas a,
.bg-primary-custom .offcanvas .font-heading {
  color: var(--text-dark);
}

.bg-primary-custom .offcanvas a:hover {
  color: var(--primary-color);
}

.bg-secondary-custom {
  background-color: var(--secondary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color);
}

.section-padding {
  padding: 80px 0;
}

/* =========================================
   Animations & Hover Effects
========================================= */

.transition-fast {
  transition: all var(--transition-fast);
}

.transition-slow {
  transition: all var(--transition-slow);
}

.group:hover .group-hover-scale {
  transform: scale(1.05);
}

.bg-gradient-dark {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.product-card .product-overlay {
  opacity: 0;
  transform: translateY(10px);
}

.product-card:hover .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Slick Slider Customizations
========================================= */

.hero-carousel .slick-slide {
  outline: none;
}

.category-slider .slick-slide {
  outline: none;
  padding: 10px 0;
}

.hero-img {
  height: 65vh;
  min-height: 400px;
  max-height: 600px;
}

/* Arrows */
.slick-prev,
.slick-next {
  z-index: 10;
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
  background-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(65, 5, 5, 0.3);
  outline: none;
}

.slick-prev:before,
.slick-next:before {
  color: var(--text-dark);
  font-family: "bootstrap-icons";
  font-size: 24px;
  opacity: 1;
  line-height: 1;
  display: block;
}

.slick-prev:hover:before,
.slick-next:hover:before,
.slick-prev:focus:before,
.slick-next:focus:before {
  color: var(--white);
}

.slick-prev {
  left: 30px;
}

.slick-next {
  right: 30px;
}

.slick-prev:before {
  content: "\F284"; /* bi-chevron-left */
}

.slick-next:before {
  content: "\F285"; /* bi-chevron-right */
}

/* Category Slider Specific Arrows */
.category-slider {
  padding: 0 50px;
}

.category-slider .slick-prev {
  left: -5px;
}

.category-slider .slick-next {
  right: -5px;
}

/* Testimonial Slider Dots */
.testimonial-slider .slick-dots li button:before {
  color: var(--white);
  opacity: 0.5;
  font-size: 10px;
}

.testimonial-slider .slick-dots li.slick-active button:before {
  color: var(--white);
  opacity: 1;
}

/* =========================================
   Header Customizations
========================================= */

.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.dropdown-menu {
  border-radius: 0;
  margin-top: 0;
  padding: 0.75rem 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
  min-width: 220px;
}

.text-logo {
  letter-spacing: 2px;
  font-size: clamp(1.2rem, 5vw, 40px);
}

.dropdown-item {
  padding: 0.65rem 1.5rem !important;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color) !important;
  padding-left: 1.85rem !important;
}

/* Multi-level Dropdown (Desktop) */
@media (min-width: 992px) {
  .dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: -1px;
  }
  .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
  }
  /* Show dropdown on hover for main nav */
  .navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Accordion Icon Rotation */
.nav-link[data-bs-toggle="collapse"] .bi-chevron-down {
  transition: transform var(--transition-fast);
}
.nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

/* =========================================
   WooCommerce Responsive Cart Tables
========================================= */

/* Utility Classes Extracted from Inline Styles */
.search-form-topbar {
  max-width: 200px;
}
.search-icon-topbar {
  font-size: 0.8rem;
}
.cart-badge {
  font-size: 0.55rem;
  padding: 0.25em 0.4em;
}
.offcanvas-mobile {
  width: 320px;
}
.search-input-mobile {
  padding-right: 2.5rem;
}
.checkout-sticky-mobile {
  top: 150px;
  z-index: 1;
}
.hero-slide-media {
  height: 100vh;
  min-height: 500px;
}
.category-image-wrapper {
  width: 180px;
  height: 180px;
}
.fs-explore {
  font-size: 0.75rem;
}
.product-img-card {
  height: 320px;
}
.product-cat-label {
  font-size: 0.7rem;
}
.text-accent {
  color: var(--accent-color);
}

/* Checkout Page Styles */

/* Extracted Inline Styles */
.extracted-style-1 {
  height: 250px;
}
.extracted-style-2 {
  color: #ffc107;
}
.extracted-style-3 {
  height: 500px;
}
.extracted-style-4 {
  height: 100px;
}
.extracted-style-5 {
  min-width: 60px;
}
.extracted-style-6 {
  font-size: 0.55rem;
}
.extracted-style-7 {
  width: 80px;
}
.extracted-style-8 {
  background-color: #6a4a4a;
  border-color: #6a4a4a;
}
.extracted-style-9 {
  top: 100px;
  z-index: 1;
}
.extracted-style-10 {
  width: 1.1em;
  height: 1.1em;
}
.extracted-style-11 {
  accent-color: #333;
}
.extracted-style-12 {
  background-color: #333;
  font-size: 0.9rem;
}
.extracted-style-13 {
  font-size: 0.65rem;
  padding: 0.4rem 0.6rem;
  font-weight: 500;
}
.extracted-style-14 {
  height: 300px;
}
.extracted-style-15 {
  height: 500px;
  object-fit: cover;
}
.extracted-style-16 {
  line-height: 1.8;
}
.extracted-style-17 {
  object-fit: cover;
}
.extracted-style-18 {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.extracted-style-19 {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.extracted-style-20 {
  width: 120px;
}

/* ==========================================================================
   WordPress Block Widget Styling (For the New Widget Editor)
   ========================================================================== */

/* Block Titles */
.sidebar .wp-block-heading {
  font-family: var(--font-heading);
  font-size: 1rem; /* h6 equivalent */
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: 1px;
}

/* Block Tag Cloud */
.sidebar .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sidebar .wp-block-tag-cloud a {
  font-size: 0.65rem !important; /* Overrides inline WP styles */
  padding: 0.4rem 0.6rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dark);
  background-color: #f8f9fa;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.sidebar .wp-block-tag-cloud a:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: var(--primary-color);
}

/* Fix spacing between block widgets */
.sidebar .wp-block-woocommerce-filter-wrapper,
.sidebar .wp-block-tag-cloud,
.sidebar .widget {
  margin-bottom: 2rem;
}

/* ==========================================================================
   WooCommerce Sidebar Widget Styling (Matching HTML Design)
   ========================================================================== */

/* Base lists */
.sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .widget ul li {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar .widget ul li a {
  color: var(--text-dark);
  text-decoration: none;
  flex-grow: 1;
}

.sidebar .widget ul li a:hover {
  color: var(--primary-color);
}

.sidebar .widget ul li .count {
  color: #6c757d;
  font-size: 0.8em;
  margin-left: 0.5rem;
}

/* Layered Nav (Attributes like Size) */
.sidebar .widget_layered_nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar .widget_layered_nav ul li {
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  margin-bottom: 0;
  background-color: var(--white);
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.sidebar .widget_layered_nav ul li:hover {
  background-color: #f8f9fa;
}

.sidebar .widget_layered_nav ul li a {
  text-align: center;
  width: 100%;
}

.sidebar .widget_layered_nav ul li .count {
  display: none; /* Keep the size blocks clean */
}

/* Price Filter Widget */
.sidebar .widget_price_filter .price_slider {
  margin-bottom: 1.5rem;
  background: #e9ecef;
  border: none;
  height: 4px;
}

.sidebar .widget_price_filter .ui-slider-range {
  background: #333;
}

.sidebar .widget_price_filter .ui-slider-handle {
  background: var(--white);
  border: 2px solid #333;
  width: 16px;
  height: 16px;
  top: -6px;
  border-radius: 50%;
}

.sidebar .widget_price_filter .price_slider_amount {
  display: flex;
  flex-direction: column-reverse;
}

.sidebar .widget_price_filter .price_label {
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  width: 100%;
  text-align: left;
  color: var(--text-dark);
}

.sidebar .widget_price_filter .button {
  background-color: #333;
  color: var(--white);
  border: none;
  width: 100%;
  border-radius: 0;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.sidebar .widget_price_filter .button:hover {
  background-color: var(--primary-color);
}

/* Product Tag Cloud Widget (Tag Filter) */
.sidebar .widget_product_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sidebar .widget_product_tag_cloud .tagcloud a {
  font-size: 0.65rem !important; /* Overrides inline WP styles */
  padding: 0.4rem 0.6rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dark);
  background-color: #f8f9fa;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.sidebar .widget_product_tag_cloud .tagcloud a:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: var(--primary-color);
}

/* Sorting Dropdown Tweaks */
.woocommerce-ordering select {
  border: none;
  background-color: transparent;
  color: var(--text-dark);
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
  -webkit-appearance: none;
}
.woocommerce-ordering select:focus {
  outline: none;
}

.wc-block-product-filter-price-slider .text input[type="text"] {
  max-width: 70px;
}

/* ==========================================================================
   Shop Page Mobile Improvements
   ========================================================================== */

/* Space above Apply button and below tags in WooCommerce filter overlay */
.wc-block-product-filters .wp-block-button {
  margin-top: 1.5rem;
}

.wc-block-product-filters .wp-block-woocommerce-product-filter-chips {
  margin-bottom: 1rem;
}

/* ==========================================================================
   YITH Wishlist Button Styling (Block-based version)
   ========================================================================== */

/* The block container & anchor wrapper */
.yith-wishlist-custom-wrapper .yith-add-to-wishlist-button-block,
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button-anchor-wrapper {
  display: inline-block;
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Target the actual rendered button/link element */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  background-color: var(--white) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: var(--text-dark) !important;
  font-size: 0 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none !important;
  cursor: pointer;
  line-height: 1 !important;
  overflow: hidden;
  white-space: nowrap !important;
}

/* Icon inside the button (SVG or font icon) */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button
  svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--white);
}

.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button
  i {
  font-size: 16px !important;
}

/* Hover */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button:hover {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: scale(1.1);
}

/* Already in wishlist state */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--added {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
}

/* Hide original outline SVG when added */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--added
  svg,
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--added
  i {
  display: none !important;
}

/* Inject Bootstrap filled heart icon when added */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--added::before {
  content: "\f415"; /* bi-heart-fill */
  font-family: "bootstrap-icons";
  font-size: 16px;
  color: var(--white);
  line-height: 1;
}

/* Hide text labels ONLY for the "Add to wishlist" state (empty heart) */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button:not(
    .yith-wcwl-add-to-wishlist-button--added
  )
  span:not(.yith-wcwl-icon) {
  display: none !important;
}

/* For the added state, show the text and style it */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--added
  span:not(.yith-wcwl-icon) {
  display: inline-block !important;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* When added, the button must expand from a circle to a pill to fit the text */
.yith-wishlist-custom-wrapper
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--added {
  width: auto !important;
  padding: 0 14px !important;
  border-radius: 20px !important;
}

/* Also keep legacy shortcode styles as fallback */
.yith-wishlist-custom-wrapper .yith-wcwl-add-to-wishlist {
  display: inline-block;
}

.yith-wishlist-custom-wrapper .yith-wcwl-add-button a,
.yith-wishlist-custom-wrapper .yith-wcwl-wishlistaddedbrowse a,
.yith-wishlist-custom-wrapper .yith-wcwl-wishlistexistsbrowse a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: var(--text-dark);
  font-size: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.yith-wishlist-custom-wrapper .yith-wcwl-add-button a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

/* WordPress Pagination styles matching Bootstrap */
.pagination {
  margin-top: 2rem;
  margin-bottom: 0;
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.nav-links .page-numbers {
  position: relative;
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  background-color: transparent;
  border: 0;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  padding: 0.375rem 0.75rem;
}
.nav-links .page-numbers.current {
  z-index: 3;
  color: var(--white);
  background-color: var(--text-dark);
  border-color: var(--text-dark);
}
.nav-links .page-numbers:hover:not(.current) {
  z-index: 2;
  color: var(--text-dark);
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.nav-links .page-numbers.dots {
  padding: 0.375rem 0.75rem;
  color: #6c757d;
  pointer-events: none;
}

/* WordPress Comments Styling */
.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"],
.comments-area .comment-form textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--white);
  background-clip: padding-box;
  border: 1px solid #dee2e6;
  border-radius: 0;
  margin-bottom: 1rem;
}
.comments-area .comment-form input[type="submit"] {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 2rem;
  font-size: 1rem;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}
.comments-area .comment-form input[type="submit"]:hover {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
}
.comments-area .comment-list {
  padding-left: 0;
  list-style: none;
}
/* WooCommerce Single Product Custom Layout */
.woocommerce-breadcrumb {
  margin-bottom: 1.5rem !important;
  font-size: 1rem;
  color: #6c757d;
}
.woocommerce-breadcrumb a {
  color: #6c757d;
  text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
  color: var(--primary-color);
}
.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  background-color: var(--secondary-color);
  padding: 1rem;
}
.custom-woo-product-layout .product_title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.custom-woo-product-layout .woocommerce-product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.custom-woo-product-layout .woocommerce-product-rating .star-rating {
  color: #ffc107;
  margin-right: 0.5rem;
}
.custom-woo-product-layout .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
}
.custom-woo-product-layout .woocommerce-product-details__short-description {
  color: #6c757d;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}
.custom-woo-product-layout form.cart {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}
.custom-woo-product-layout .variations {
  width: 100%;
  margin-bottom: 1.5rem;
}
.custom-woo-product-layout .variations th {
  text-align: left;
  font-weight: 700;
  padding: 0.5rem 0;
  width: 80px;
}
.custom-woo-product-layout .variations td select {
  border: 1px solid #6c757d;
  border-radius: 0;
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 200px;
  background-color: transparent;
}
.custom-woo-product-layout .woocommerce-variation-add-to-cart,
.custom-woo-product-layout .single_add_to_cart_button {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.custom-woo-product-layout .quantity .qty {
  border: 1px solid #6c757d;
  border-radius: 0;
  padding: 0.5rem;
  width: 70px;
  height: 46px;
  text-align: center;
}
.custom-woo-product-layout .single_add_to_cart_button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.5rem 2rem !important;
  height: 46px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  transition: all var(--transition-fast) !important;
  flex-grow: 1 !important;
}
.custom-woo-product-layout .single_add_to_cart_button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}
.custom-woo-product-layout .product_meta {
  font-size: 0.875em;
  color: #6c757d;
}
.custom-woo-product-layout .product_meta .sku_wrapper,
.custom-woo-product-layout .product_meta .posted_in {
  display: block;
  margin-bottom: 0.25rem;
}
.custom-woo-product-layout .product_meta span.sku,
.custom-woo-product-layout .product_meta a {
  color: var(--text-dark);
  font-weight: 600;
}
.woocommerce-tabs {
  margin-bottom: 3rem;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  border: none;
}
.woocommerce-tabs ul.tabs li {
  margin: 0 1rem;
}
.woocommerce-tabs ul.tabs li a {
  text-decoration: none;
  color: #6c757d;
  font-size: 1.25rem;
  font-weight: 400;
  border: none;
  background: transparent;
  transition: color var(--transition-fast);
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--text-dark);
  font-weight: 700;
}
.woocommerce-Tabs-panel {
  border-top: 1px solid #dee2e6;
  padding-top: 2rem;
  color: #6c757d;
}
.related.products {
  border-top: 1px solid #dee2e6;
  padding-top: 3rem;
}
.related.products > h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 3rem;
}
.related.products ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.related.products ul.products li.product {
  text-align: center;
  width: calc(25% - 1.5rem);
  min-width: 200px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem;
  transition: transform var(--transition-slow);
}
.related.products ul.products li.product:hover {
  transform: scale(1.02);
}
.related.products ul.products li.product img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 1rem;
}
.related.products ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.related.products ul.products li.product .price {
  font-weight: 700;
  color: var(--text-dark);
}
.related.products ul.products li.product .button {
  display: none;
}
.woocommerce-variation-add-to-cart {
  display: flex !important;
  gap: 10px;
}
.woocommerce-variation-availability {
  display: none !important;
}
/* Custom YITH Wishlist Styling */
.custom-yith-wishlist-wrapper .yith-wcwl-add-to-wishlist {
  margin-top: 0;
}
.custom-yith-wishlist-wrapper .yith-wcwl-add-button a,
.custom-yith-wishlist-wrapper .yith-wcwl-wishlistaddedbrowse a,
.custom-yith-wishlist-wrapper .yith-wcwl-wishlistexistsbrowse a {
  color: #6c757d !important;
  text-decoration: none !important;
  font-size: 0.875em !important;
  display: inline-block !important;
}
.custom-yith-wishlist-wrapper .yith-wcwl-add-button a:hover,
.custom-yith-wishlist-wrapper .yith-wcwl-wishlistaddedbrowse a:hover,
.custom-yith-wishlist-wrapper .yith-wcwl-wishlistexistsbrowse a:hover {
  color: var(--primary-color) !important;
}
.custom-yith-wishlist-wrapper .yith-wcwl-add-to-wishlist i {
  margin-right: 0.25rem;
}

.woocommerce div.product form.cart {
  margin-bottom: 2rem !important;
  border-bottom: 0;
  padding-bottom: 0;
}

/* Custom Selected State for Variation Radio Buttons */
input[type="radio"].custom-variation-radio:checked + label {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
}
input[type="radio"].custom-variation-radio:checked + label span.text-dark,
input[type="radio"].custom-variation-radio:checked + label span.text-danger {
  color: var(--white) !important;
}

/* =========================================
   WooCommerce Cart & Checkout Buttons
========================================= */

/* Proceed to Checkout & Cart Submit Buttons */
.woocommerce-cart .checkout-button,
.wc-block-components-checkout-button,
.wc-block-cart__submit-button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  padding: 1rem !important;
  border: none !important;
}

.woocommerce-cart .checkout-button:hover,
.wc-block-components-checkout-button:hover,
.wc-block-cart__submit-button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* =========================================
   WooCommerce Cart Mobile Edge Cutoff Fix
========================================= */

/* Place Order Button (Checkout Page) */
.wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  padding: 1rem !important;
  border: none !important;
}

.wc-block-checkout__actions_row.wc-block-checkout__actions_row--justify-flex-end {
  justify-content: left;
}

.wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout #place_order:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* =========================================
   WooCommerce Cart Item Mobile Restructure
========================================= */

/* =========================================
   WooCommerce Single Product Layout Fixes
========================================= */

/* Remove huge margin below Add to Cart form so the Buy Now button sits closely */
.woocommerce div.product form.cart {
  margin-bottom: 0 !important;
}

/* =========================================
   WooCommerce Reviews Section Enhancement
========================================= */

/* Headings & Text */
#reviews #comments h2.woocommerce-Reviews-title {
  font-family: var(--font-heading) !important;
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem !important;
}

#reviews .woocommerce-noreviews,
#reviews .comment-reply-title {
  font-family: var(--font-heading) !important;
  font-size: 1.5rem !important;
  color: var(--primary-color) !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
  font-weight: 500 !important;
}

#reviews .comment-notes {
  color: var(--text-muted, #6c757d) !important;
  font-size: 0.95rem !important;
  margin-bottom: 2rem !important;
}

/* Rating Stars Wrapper */
#reviews .comment-form-rating {
  margin-bottom: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}
#reviews .comment-form-rating label {
  margin-bottom: 0 !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}
#reviews .comment-form-rating .stars {
  margin: 0 !important;
}
#reviews .comment-form-rating .stars a {
  color: var(--accent-color, #e4a853) !important;
}

/* Form Fields Styling */
#reviews .comment-form-comment,
#reviews .comment-form-author,
#reviews .comment-form-email {
  margin-bottom: 1.5rem !important;
}

#reviews .comment-form label {
  display: block !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  color: var(--text-dark, #212529) !important;
}

#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea {
  width: 100% !important;
  padding: 0.8rem 1rem !important;
  border: 1px solid var(--border-color, #dee2e6) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--text-dark) !important;
  font-family: var(--font-base) !important;
  transition: border-color var(--transition-fast) !important;
}

#reviews .comment-form input[type="text"]:focus,
#reviews .comment-form input[type="email"]:focus,
#reviews .comment-form textarea:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-dropdown-link-active-color) !important;
  background-color: var(--primary-color);
}

.dropdown-item.active .text-muted::before,
.dropdown-item:active .text-muted::before {
  color: var(--white);
}

/* Grid layout for Author and Email on Desktop */

/* Checkbox Alignment */
#reviews .comment-form-cookies-consent {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 2.5rem !important;
}
#reviews .comment-form-cookies-consent input[type="checkbox"] {
  margin: 0 !important;
  width: 1.1rem !important;
  height: 1.1rem !important;
  cursor: pointer !important;
  border-radius: 0 !important;
}
#reviews .comment-form-cookies-consent label {
  margin: 0 !important;
  font-weight: normal !important;
  color: var(--text-muted, #6c757d) !important;
  cursor: pointer !important;
}

/* Submit Button */
#reviews .form-submit .submit {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1rem 3rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer !important;
  display: inline-block !important;
}
#reviews .form-submit .submit:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* Actual Comments List */
#reviews .commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 3rem 0 !important;
}
#reviews .commentlist li.review {
  border-bottom: 1px solid var(--border-color, #dee2e6) !important;
  padding: 2rem 0 !important;
  margin: 0 !important;
}
#reviews .commentlist li.review:last-child {
  border-bottom: none !important;
}
#reviews .commentlist .comment_container {
  display: flex !important;
  gap: 1.5rem !important;
}
#reviews .commentlist .avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
}
#reviews .commentlist .comment-text {
  flex: 1 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#reviews .commentlist .meta {
  font-size: 0.9rem !important;
  color: var(--text-muted, #6c757d) !important;
  margin-bottom: 0.5rem !important;
}
#reviews .commentlist .meta strong {
  color: var(--primary-color) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-right: 0.5rem !important;
  font-family: var(--font-heading) !important;
}
#reviews .commentlist .star-rating {
  margin-bottom: 1rem !important;
  color: var(--accent-color, #e4a853) !important;
}
#reviews .commentlist .description {
  color: var(--text-dark, #212529) !important;
  line-height: 1.6 !important;
}

/* =========================================
   Wishlist Page Styling (Cart-Match Design)
========================================= */

/* Table Header */
.wishlist_table {
  border: none !important;
}
.wishlist_table thead th {
  background-color: transparent !important;
  border-bottom: 2px solid var(--primary-color) !important;
  font-family: var(--font-heading) !important;
  color: var(--primary-color) !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding-bottom: 1rem !important;
}

/* Table Rows & Text */
.wishlist_table tbody td {
  border-color: var(--border-color, #dee2e6) !important;
  vertical-align: middle !important;
  padding: 1.5rem 1rem !important;
}
.wishlist_table .product-name a {
  font-family: var(--font-heading) !important;
  color: var(--primary-color) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.wishlist_table .product-price {
  font-weight: 600 !important;
  color: var(--text-dark, #212529) !important;
}

/* Buttons */
.wishlist_table .product-add-to-cart a.button,
.wishlist_table .product-add-to-cart a.add_to_cart_button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  display: block !important;
  text-align: center !important;
  margin-bottom: 0.75rem !important;
  border: none !important;
  transition: all var(--transition-fast) !important;
}
.wishlist_table .product-add-to-cart a.button:hover,
.wishlist_table .product-add-to-cart a.add_to_cart_button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* Secondary Button (Remove) */
.wishlist_table .product-add-to-cart a.remove_from_wishlist {
  background-color: transparent !important;
  color: var(--text-muted, #6c757d) !important;
  border: 1px solid var(--border-color, #dee2e6) !important;
  border-radius: 0 !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  display: block !important;
  text-align: center !important;
  transition: all var(--transition-fast) !important;
}
.wishlist_table .product-add-to-cart a.remove_from_wishlist:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* Red Cross Remove Icon */
.wishlist_table .product-remove a.remove {
  color: var(--primary-color) !important;
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  border: none !important;
  background: transparent !important;
  transition: color var(--transition-fast) !important;
}
.wishlist_table .product-remove a.remove:hover {
  color: var(--accent-color) !important;
}

/* Date Added Text */
.wishlist_table .dateadded {
  display: block !important;
  font-size: 0.85rem !important;
  color: var(--text-muted, #6c757d) !important;
  margin-bottom: 0.75rem !important;
  text-align: center !important;
}

.wishlist-title-container {
  display: none;
}

ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
  padding: 0;
}

/* =========================================
   Order Tracking Page Styling
========================================= */

.woocommerce-form-track-order {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 2rem 0 4rem 0 !important;
}

/* Intro Text */
.woocommerce-form-track-order > p:first-child {
  font-size: 1.1rem !important;
  color: var(--text-muted, #6c757d) !important;
  margin-bottom: 2.5rem !important;
  text-align: center !important;
  line-height: 1.6 !important;
}

/* Labels */
.woocommerce-form-track-order label {
  font-weight: 600 !important;
  color: var(--text-dark, #212529) !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

/* Input Fields */
.woocommerce-form-track-order input.input-text {
  width: 100% !important;
  padding: 0.8rem 1rem !important;
  border: 1px solid var(--border-color, #dee2e6) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  font-family: var(--font-base) !important;
  color: var(--text-dark, #212529) !important;
  transition: border-color var(--transition-fast) !important;
}

.woocommerce-form-track-order input.input-text:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
}

/* Form Row Spacing */
.woocommerce-form-track-order .form-row {
  margin-bottom: 1.5rem !important;
}

/* Track Button */
.woocommerce-form-track-order .button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 1rem 3.5rem !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-fast) !important;
  display: block !important;
  margin: 1.5rem auto 0 auto !important;
  cursor: pointer !important;
}

.woocommerce-form-track-order .button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* Mobile Fixes for Tracking Form */

/* =========================================
   My Account (Login / Register) Styling
========================================= */

#customer_login {
  margin-top: 4rem !important;
  margin-bottom: 6rem !important;
}

/* Form Container Styling */
#customer_login .woocommerce-form {
  border: 1px solid var(--border-color, #e0e0e0) !important;
  border-radius: 0 !important;
  padding: 3rem 2.5rem !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Input Fields */
#customer_login .woocommerce-form input.input-text {
  width: 100% !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid var(--border-color, #dee2e6) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  font-family: var(--font-base) !important;
  color: var(--text-dark, #212529) !important;
  transition: border-color var(--transition-fast) !important;
  margin-bottom: 1rem !important;
}

#customer_login .woocommerce-form input.input-text:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
}

/* Labels */
#customer_login .woocommerce-form label {
  font-weight: 600 !important;
  color: var(--text-dark, #212529) !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

/* Remember Me Checkbox */
#customer_login .woocommerce-form label.woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
  cursor: pointer !important;
}
#customer_login
  .woocommerce-form
  label.woocommerce-form__label-for-checkbox
  input {
  margin-right: 0.5rem !important;
  margin-top: 0 !important;
}

/* Buttons */
#customer_login .woocommerce-form button.button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 1rem 2.5rem !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer !important;
  display: inline-block !important;
  margin-right: 1.5rem !important;
  margin-top: 0.5rem !important;
}

#customer_login .woocommerce-form button.button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* Lost Password Link */
.woocommerce-LostPassword.lost_password {
  margin-top: 1.5rem !important;
  display: block !important;
}
.woocommerce-LostPassword.lost_password a {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.woocommerce-LostPassword.lost_password a:hover {
  color: var(--accent-color) !important;
}

/* Register Text */
.woocommerce-form-register p:not(.form-row) {
  font-size: 0.95rem !important;
  color: var(--text-muted, #6c757d) !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

/* Spacing between columns on desktop */

.woocommerce-variation-price {
  margin-bottom: 1rem;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 18px;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  font-weight: 700;
  font-size: 30px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  div.product
  span.price {
  color: var(--primary-color);
}

/* =========================================
   Floating WhatsApp Button
========================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 14px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================
   My Account Dashboard Styling
========================================= */

/* Navigation Sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
  float: none !important;
  margin-bottom: 2rem !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--border-color, #e0e0e0) !important;
  background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--border-color, #e0e0e0) !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 1rem 1.5rem !important;
  color: var(--text-dark, #212529) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.85rem !important;
  transition: all var(--transition-fast) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
}

/* Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  padding: 2.5rem !important;
  background: #fff;
  border: 1px solid var(--border-color, #e0e0e0) !important;
}

/* Text & Links inside Content */
.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--text-muted, #6c757d) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  transition: color 0.2s !important;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
  color: var(--accent-color) !important;
}

/* Strong Text */
.woocommerce-account .woocommerce-MyAccount-content strong {
  color: var(--text-dark, #212529) !important;
  font-weight: 700 !important;
}

/* Account Content Buttons */
.woocommerce-account .woocommerce-MyAccount-content .button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 1rem 2.5rem !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer !important;
  display: inline-block !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* Fieldset/Legend Resets (Account Details form) */
.woocommerce-account .woocommerce-MyAccount-content fieldset {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  margin-top: 3rem !important;
}
.woocommerce-account .woocommerce-MyAccount-content legend {
  font-family: var(--font-heading) !important;
  font-size: 1.75rem !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid var(--border-color, #e0e0e0) !important;
  padding-bottom: 0.75rem !important;
  width: 100% !important;
  display: block !important;
}

/* Account Form Inputs */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
  border: 1px solid var(--border-color, #e0e0e0) !important;
  border-radius: 0 !important;
  padding: 0.85rem 1rem !important;
  width: 100% !important;
  background-color: #fff !important;
  color: var(--text-dark, #212529) !important;
  font-family: var(--font-base) !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-account
  .woocommerce-MyAccount-content
  input[type="password"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"]:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
  border-color: var(--primary-color) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--primary-color) !important;
}

.woocommerce-account .woocommerce-MyAccount-content label {
  font-weight: 600 !important;
  color: var(--text-dark, #212529) !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

/* =========================================
   WooCommerce Notices & Alerts
========================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: #fff !important;
  border: 1px solid var(--border-color, #e0e0e0) !important;
  border-top: none !important;
  border-left: 4px solid var(--primary-color) !important;
  border-radius: 0 !important;
  color: var(--text-dark, #212529) !important;
  padding: 1.5rem 2rem !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important; /* Clear floats */
  line-height: 1.8 !important;
  font-size: 1.05rem !important;
  outline: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button {
  color: var(--white);
  background-color: var(--primary-color);
  text-transform: uppercase;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button:hover {
  background-color: var(--accent-color);
}

/* Hide default WooCommerce icons */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}

/* Style the button inside notices */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  float: right !important;
  margin-left: 1.5rem !important;
  margin-top: -0.25rem !important; /* Align vertically with text */
  padding: 0.85rem 2rem !important;
}

/* Mobile adjustments */

/* =========================================
   My Account - Orders Table
========================================= */
.woocommerce-orders-table {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

.woocommerce-orders-table th {
  background-color: #f9f9f9 !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 1rem !important;
  border: none !important;
  border-bottom: 2px solid var(--border-color, #e0e0e0) !important;
}

.woocommerce-orders-table td {
  padding: 1.25rem 1rem !important;
  border: none !important;
  border-bottom: 1px solid var(--border-color, #e0e0e0) !important;
  vertical-align: middle !important;
  color: var(--text-dark, #212529) !important;
}

.woocommerce-orders-table .button {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.8rem !important;
}

/* Mobile Orders Table Cards */

/* =========================================
   My Account - Addresses Stacking
========================================= */
.woocommerce-Addresses.addresses {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  margin-top: 1rem !important;
}

/* 1. Shipping Address in row one */
.woocommerce-Addresses.addresses .u-column2 {
  /* order: 1 !important; */
  width: 100% !important;
  float: none !important;
  background: #fff !important;
  border: 1px solid var(--border-color, #e0e0e0) !important;
  padding: 2rem !important;
}

/* 2. Billing address in row two */
.woocommerce-Addresses.addresses .u-column1 {
  /* order: 2 !important; */
  width: 100% !important;
  float: none !important;
  background: #fff !important;
  border: 1px solid var(--border-color, #e0e0e0) !important;
  padding: 2rem !important;
}

/* Clean up title and link alignment */
.woocommerce-Address-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid var(--border-color, #e0e0e0) !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-Address-title h3 {
  margin: 0 !important;
  font-size: 1.4rem !important;
  color: var(--primary-color) !important;
  text-align: left !important;
  flex: 0 0 auto !important; /* Force it to stay on the left */
  width: auto !important;
}

.woocommerce-Address address {
  font-style: normal !important;
  line-height: 1.8 !important;
  color: var(--text-dark, #212529) !important;
  margin: 0 !important;
}

/* =========================================
   Empty Cart Page (Block & Classic)
========================================= */
/* Classic Cart */
.woocommerce-cart .cart-empty {
  font-family: var(--font-heading) !important;
  font-size: 2.5rem !important;
  color: var(--primary-color) !important;
  text-align: center !important;
  margin-top: 4rem !important;
  margin-bottom: 2rem !important;
}

.woocommerce-cart .cart-empty::before {
  display: none !important;
}

/* Block Cart */
.wc-block-cart__empty-cart__title.with-empty-cart-icon {
  font-family: var(--font-heading) !important;
  font-size: 2.5rem !important;
  color: var(--primary-color) !important;
  text-align: center !important;
  margin-top: 4rem !important;
  margin-bottom: 2rem !important;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  display: none !important;
}

/* Classic Cart Return Button */
.woocommerce-cart .return-to-shop {
  text-align: center !important;
  margin-bottom: 5rem !important;
}

.woocommerce-cart .return-to-shop .button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 1rem 3rem !important;
  font-family: var(--font-base) !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  text-decoration: none !important;
  line-height: 1 !important;
  height: auto !important;
}

.woocommerce-cart .return-to-shop .button:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* =========================================
   Make Gutenberg Block Products Match Premium Cards
========================================= */
.wc-block-grid__product {
  background-color: var(--white) !important;
  padding: 1rem !important;
  padding-bottom: 2.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all var(--transition-slow) !important;
}

.wc-block-grid__product:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.wc-block-grid__product-link {
  text-decoration: none !important;
}

.wc-block-grid__product-image {
  overflow: hidden !important;
  position: relative !important;
}

.wc-block-grid__product-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  transition: transform var(--transition-slow) !important;
  margin-bottom: 0 !important;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.05) !important;
}

.wc-block-grid__product-title {
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--text-dark) !important;
  margin-bottom: 0.5rem !important;
  margin-top: 1rem !important;
}

.wc-block-grid__product-price {
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-top: auto !important;
  margin-bottom: 0.5rem !important;
}

/* Hover Add to Cart Button (Bottom Overlay) */
.wc-block-grid__product-add-to-cart {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: all 0.2s ease !important;
  z-index: 2 !important;
}

.wc-block-grid__product:hover .wc-block-grid__product-add-to-cart {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  width: 100% !important;
  padding: 0.6rem !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: 600 !important;
  display: block !important;
  text-align: center !important;
  border: none !important;
  line-height: 1.5 !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

/* Sale Badge styling */
.wc-block-grid__product-onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  z-index: 10 !important;
  border: none !important;
  line-height: 1 !important;
}

/* =========================================
   Client Updates & Fixes
========================================= */

/* Highlight Terms and Conditions on Checkout */
.woocommerce-terms-and-conditions-wrapper {
  background-color: rgba(64, 0, 0, 0.05) !important;
  padding: 15px !important;
  border: 1px dashed var(--primary-color) !important;
  margin-bottom: 20px !important;
  margin-top: 20px !important;
}

.woocommerce-terms-and-conditions-wrapper label {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  accent-color: var(--primary-color) !important;
  transform: scale(1.2) !important;
  margin-right: 8px !important;
}

/* Fix hover/zoom issues on mobile devices */

/* =========================================
   Unified Responsive Overrides
========================================= */

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
  .hero-img {
    height: 50vh;
    min-height: 350px;
  }
  .slick-prev,
  .slick-next {
    width: 40px;
    height: 40px;
  }
  .slick-prev {
    left: 10px;
  }
  .slick-next {
    right: 10px;
  }
  .slick-prev:before,
  .slick-next:before {
    font-size: 20px;
  }
  .category-slider {
    padding: 0 30px;
  }
  .category-slider .slick-prev {
    left: -10px;
  }
  .category-slider .slick-next {
    right: -10px;
  }
  table.shop_table_responsive thead {
    display: none;
  }
  table.shop_table_responsive tbody tr {
    display: block;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  table.shop_table_responsive tbody tr td {
    display: block;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 15px 0 !important;
  }
  table.shop_table_responsive tbody tr td:last-child {
    border-bottom: none !important;
  }
  table.shop_table_responsive tbody tr td::before {
    content: attr(data-title);
    font-weight: bold;
    color: var(--text-dark);
    float: left;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 3px;
  }
  table.shop_table_responsive tbody tr td.product-remove,
  table.shop_table_responsive tbody tr td.product-thumbnail {
    display: block;
    text-align: center;
    border-bottom: none !important;
    padding: 5px 0 !important;
  }
  table.shop_table_responsive tbody tr td.product-remove::before,
  table.shop_table_responsive tbody tr td.product-thumbnail::before {
    display: none;
  }
  table.shop_table_responsive tbody tr td.product-quantity .quantity {
    margin-left: auto;
  }

  /* Cart Actions / Coupon Mobile Fix */
  table.shop_table_responsive tbody tr td.actions {
    text-align: left;
  }
  table.shop_table_responsive tbody tr td.actions::before {
    display: none;
  }
  .woocommerce-cart-form .actions .coupon {
    display: flex !important;
    width: 100%;
    margin-bottom: 15px !important;
  }
  .woocommerce-cart-form .actions .coupon input {
    width: 100% !important;
  }
  .woocommerce-cart-form .actions > button {
    width: 100%;
  }
  /* Prevent prices and buttons from touching the screen edges on mobile */
  .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .wc-block-cart__main,
  .wc-block-cart__sidebar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  /* Hide headers on mobile */
  .wc-block-cart-items thead {
    display: none !important;
  }

  .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
    display: none;
  }

  /* Redefine grid for cart item rows */
  .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 90px 1fr !important;
    grid-template-areas:
      "image product"
      "image quantity"
      "total total" !important;
    column-gap: 1.25rem !important;
    row-gap: 0.75rem !important;
    padding: 1.5rem 0 !important;
    border-bottom: 1px solid var(--border-color, #e0e0e0) !important;
    align-items: start !important;
  }

  .wc-block-cart-item__image {
    grid-area: image !important;
    margin: 0 !important;
  }

  .wc-block-cart-item__product {
    grid-area: product !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .wc-block-cart-item__quantity {
    grid-area: quantity !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Row 2: Total Price spans full width */
  .wc-block-cart-item__total {
    grid-area: total !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 1rem !important;
    margin-top: 0.5rem !important;
    border-top: 1px dashed var(--border-color, #ccc) !important;
  }

  /* Add a "Total" label to the left side of the price for clarity */
  .wc-block-cart-item__total::before {
    content: "Total Price" !important;
    font-size: 0.95rem !important;
    color: var(--text-dark, #333) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
  }

  .wc-block-cart-item__total * {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
  .woocommerce-form-track-order .form-row-first,
  .woocommerce-form-track-order .form-row-last {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce-form-track-order > p:first-child {
    font-size: 1rem !important;
  }
  #customer_login .woocommerce-form {
    padding: 2rem 1.5rem !important;
  }
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 28px;
    bottom: 1.5rem;
    left: 1.5rem;
    border-radius: 12px;
  }

  /* Footer Newsletter Form Mobile Stack */
  .footer-main .wpcf7 form .d-flex {
    flex-direction: column !important;
  }
  .footer-main .wpcf7 form .btn {
    width: 100% !important;
  }
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    padding: 1.25rem !important;
    display: flex !important;
    flex-direction: column-reverse !important; /* Button on bottom */
    gap: 1rem !important;
  }

  .woocommerce-message .button,
  .woocommerce-info .button,
  .woocommerce-error .button {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .woocommerce-orders-table tr {
    display: block !important;
    background: #fff !important;
    border: 1px solid var(--border-color, #e0e0e0) !important;
    margin-bottom: 1.5rem !important;
    padding: 0.5rem 1rem !important;
  }

  .woocommerce-orders-table td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: right !important;
  }

  .woocommerce-orders-table td:last-child {
    border-bottom: none !important;
  }

  .woocommerce-orders-table td::before {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    margin-right: 1rem !important;
  }

  .woocommerce-orders-table .button {
    width: auto !important;
    margin: 0 !important;
    display: inline-block !important;
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  .order-summary-block {
    border-bottom: 0 !important;
    padding-bottom: 1rem !important;
  }
  .payment-options-block {
    border-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 991px) {
  .mobile-contents {
    display: contents !important;
  }
  .checkout-form-flex {
    display: flex !important;
    flex-direction: column !important;
  }
  .order-summary-block {
    order: 1;
    margin-bottom: 2rem;
  }
  .billing-details-block {
    order: 2;
    margin-bottom: 2rem;
  }
  .payment-options-block {
    order: 3;
  }
}

@media (max-width: 600px) {
  /* Remove card wrapper on mobile — keeps it flat and clean */
  #shopFilters .card {
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  /* Style the WooCommerce block filter button as a full-width styled button */
  #shopFilters
    .wc-block-product-filters
    .wc-block-product-filters__open-overlay {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--text-dark);
    background-color: var(--white);
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  #shopFilters
    .wc-block-product-filters
    .wc-block-product-filters__open-overlay:hover {
    background-color: var(--text-dark);
    color: var(--white);
  }

  /* Reduce bottom margin on sidebar column */
  .col-lg-3.mb-5 {
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 768px) {
  #reviews .comment-form {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }
  #reviews .comment-form .comment-form-rating,
  #reviews .comment-form .comment-notes,
  #reviews .comment-form .comment-form-comment,
  #reviews .comment-form .comment-form-cookies-consent,
  #reviews .comment-form .form-submit {
    width: 100% !important;
  }
  #reviews .comment-form .comment-form-author,
  #reviews .comment-form .comment-form-email {
    width: calc(50% - 0.75rem) !important;
  }
  #customer_login .u-column1 {
    padding-right: 2rem !important;
  }
  #customer_login .u-column2 {
    padding-left: 2rem !important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25% !important;
    float: left !important;
    margin-bottom: 0 !important;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 70% !important;
    float: right !important;
  }
}

@media (hover: none) {
  /* Prevent image scaling on touch */
  .group:hover .group-hover-scale,
  .wc-block-grid__product:hover .wc-block-grid__product-image img,
  .related.products ul.products li.product:hover img {
    transform: none !important;
  }

  /* Make overlay buttons always visible since there is no hover */
  .product-overlay,
  .wc-block-grid__product-add-to-cart {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

/* =========================================
   Product Grid Layout Toggles
========================================= */
.product-layout-toggles .toggle-btn {
  padding: 0.25rem 0.6rem;
  border-radius: 0;
  border-color: var(--border-color, #dee2e6);
  background-color: var(--white);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.product-layout-toggles .btn-group {
  border-radius: 0;
}

.product-layout-toggles .toggle-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.product-layout-toggles .toggle-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Ensure smooth transition for columns */
.products .grid-item {
  transition:
    width 0.3s ease,
    flex 0.3s ease,
    max-width 0.3s ease;
}
