@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand-primary: #ec3727;
  --brand-primary-rgb: 236, 55, 39;
  --brand-primary-hover: #d2281b;
  --brand-secondary: #ffb703;
  --brand-dark: #121212;
  --brand-dark-rgb: 18, 18, 18;
  --brand-light: #f8f9fa;
  --brand-success: #2a9d8f;
  --brand-body-bg: #f4f6f9;
  
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --border-radius-lg: 12px;
  --border-radius-md: 8px;
  --border-radius-sm: 4px;
  
  --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --box-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  background-color: var(--brand-body-bg);
  color: #333333;
}

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

a:hover {
  color: var(--brand-primary-hover);
  text-decoration: none;
}

/* Global input focus overrides to prevent blue glow */
.form-control:focus, .form-select:focus {
  border-color: rgba(var(--brand-primary-rgb), 0.5) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.15) !important;
}

/* List group style overrides to prevent blue active background */
.list-group-item {
  color: #4a5568 !important;
  transition: var(--transition-smooth);
}
.list-group-item:hover, .list-group-item-action:hover {
  color: var(--brand-primary) !important;
  background-color: #f8fafc !important;
}
.list-group-item.active {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
}

/* Pagination overrides to prevent blue pagination buttons */
.page-link {
  color: var(--brand-primary) !important;
  transition: var(--transition-smooth);
}
.page-link:hover {
  color: var(--brand-primary-hover) !important;
  background-color: #f1f5f9 !important;
}
.page-item.active .page-link {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
}

/* Outline buttons overrides */
.btn-outline-primary {
  color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: #222222;
  font-weight: 700;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 600;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: #555555;
}

button:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--brand-primary-rgb), 0.15) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  font-weight: 600;
  border-radius: var(--border-radius-md);
  padding: 0.45rem 1.5rem;
  transition: var(--transition-smooth);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--brand-primary-hover) !important;
  border-color: var(--brand-primary-hover) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.25) !important;
}

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

.bg-primary {
  background-color: var(--brand-primary) !important;
}

.btn-light {
  background-color: #ffffff;
  border-color: #dddddd;
  color: #333333;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}
.btn-light:hover {
  background-color: #f0f0f0;
  border-color: #cccccc;
}

/* Container & Content */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}

#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}

#alert {
  z-index: 9999;
  position: fixed;
  top: 15%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--brand-primary-rgb), 0.1);
}

/* Top Navigation Bar */
#top {
  background-color: var(--brand-primary);
  border-bottom: none;
  margin-bottom: 0;
  position: relative;
  padding: 6px 0;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .dropdown-toggle, #top .btn-link {
  font-size: 0.85rem;
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  transition: var(--transition-smooth);
  display: inline-block;
}

#top .list-inline-item > a:hover, #top .list-inline-item .dropdown > a:hover, #top .dropdown-toggle:hover, #top .btn-link:hover {
  color: var(--brand-secondary) !important;
}

#top .dropdown-menu {
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-md);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
}

/* Header */
header {
  background-color: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #eaeaea;
  box-shadow: var(--box-shadow-sm);
}

#logo {
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

#logo h1 {
  margin: 0;
}

#logo h1 a {
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 2.2rem;
  text-decoration: none;
  letter-spacing: -1.5px;
  display: inline-block;
  transition: var(--transition-smooth);
}

#logo h1 a:hover {
  color: var(--brand-primary-hover);
}

#logo img {
  max-width: 200px;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}

/* Search Bar */
#search {
  margin-bottom: 0;
  position: relative;
  width: 100%;
}

#search .form-control-lg {
  height: 44px;
  font-size: 0.9rem;
  padding: 0 45px 0 20px;
  border-radius: 8px;
  border: 1px solid #cccccc;
  background-color: #f7f7f7;
  transition: var(--transition-smooth);
}

#search .form-control-lg:focus {
  border-color: #bbbbbb;
  background-color: #ffffff;
  box-shadow: none;
}

.btn-search-inside {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #555555;
  font-size: 1.1rem;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-search-inside:hover {
  color: var(--brand-primary);
}

/* Shopping Cart (Elegant Badge Style) */
#cart {
  margin-bottom: 0;
  display: flex;
  justify-content: flex-end;
}

.btn-cart-custom {
  background: none;
  border: none;
  color: #333333;
  font-size: 1.4rem;
  position: relative;
  padding: 5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cart-custom:hover {
  color: var(--brand-primary);
  transform: scale(1.05);
}

.btn-cart-custom .cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--brand-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

#cart .dropdown-menu {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
  width: 350px;
  padding: 15px;
  margin-top: 10px;
}

#cart .dropdown-menu li {
  min-width: 100%;
}

/* Navigation Menu */
#menu {
  background-color: #ffffff !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid #eaeaea !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 25px;
  margin-top: 0;
  height: auto;
}

#menu .navbar-collapse {
  justify-content: center;
}

#menu .navbar-nav > li > a {
  color: var(--brand-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: none !important;
  padding: 14px 20px !important;
  transition: var(--transition-smooth);
}

#menu .navbar-nav > li > a:hover, #menu .navbar-nav > li.show > a {
  color: var(--brand-primary-hover) !important;
  background-color: rgba(var(--brand-primary-rgb), 0.05) !important;
  border-radius: var(--border-radius-md);
}

#menu .dropdown-menu {
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 15px;
}

@media (min-width: 992px) {
  #menu {
    position: relative;
  }
  
  #menu .dropdown {
    position: static;
  }
  
  #menu .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  #menu .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
  }
  
  #menu .dropdown-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  #menu .dropdown-inner ul {
    min-width: 160px;
    flex: 1;
    margin-bottom: 0;
  }
  
  #menu .dropdown-menu img {
    transition: var(--transition-smooth);
  }
  
  #menu .dropdown-menu img:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-md) !important;
  }
}

#menu .dropdown-inner ul li a {
  font-size: 0.9rem;
  padding: 6px 12px;
  color: #555555;
  transition: var(--transition-smooth);
}

#menu .dropdown-inner ul li a:hover {
  color: var(--brand-primary);
  background-color: rgba(var(--brand-primary-rgb), 0.03);
  border-radius: var(--border-radius-sm);
}

#category {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  text-shadow: none;
}

#menu .navbar-toggler i {
  color: #333333;
  font-size: 1.1em;
}

/* Required field asterisks */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: var(--brand-primary);
  font-weight: bold;
}

/* Product Cards (Thumbnails) */
.product-thumb {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.product-thumb:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(var(--brand-primary-rgb), 0.25);
}

.product-thumb .image {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.product-thumb .image a {
  display: inline-block;
}

.product-thumb .image img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-thumb:hover .image img {
  transform: scale(1.04);
}

.product-thumb .content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-thumb .description {
  padding: 0;
  margin-bottom: 12px;
  flex-grow: 1;
}

.product-thumb .description h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product-thumb .description h4 a {
  color: #2d3748;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.product-thumb .description h4 a:hover {
  color: var(--brand-primary);
}

.product-thumb .description p {
  font-size: 0.8rem;
  color: #718096;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Floating overlay buttons for Wishlist/Compare */
.product-thumb .wishlist-btn, .product-thumb .compare-btn {
  position: absolute;
  top: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
  z-index: 10;
  cursor: pointer;
  padding: 0;
}

.product-thumb .wishlist-btn {
  right: 15px;
}

.product-thumb .compare-btn {
  right: 56px;
}

.product-thumb .wishlist-btn:hover, .product-thumb .compare-btn:hover {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: scale(1.1);
}

/* Single Add to Cart Button at footer of card */
.product-thumb .btn-add-cart {
  width: 100%;
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 0;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.product-thumb .btn-add-cart:hover {
  background-color: var(--brand-primary-hover);
  color: #ffffff;
}

.product-thumb .button {
  display: none; /* Hide old three-button footer row if any */
}

/* Rating styling */
.rating .fa-star {
  color: var(--brand-secondary);
  font-size: 0.8rem;
  margin-right: 2px;
}

/* Pricing Section */
.price {
  margin-bottom: 8px;
}

.price-new {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.price-old {
  font-size: 0.85rem;
  color: #a0aec0;
  text-decoration: line-through;
  margin-left: 6px;
}

.price-tax {
  color: #718096;
  font-size: 0.75rem;
  display: block;
  margin-top: 2px;
}

/* Breadcrumbs styling */
.breadcrumb {
  margin: 0 0 25px 0;
  padding: 12px 20px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  background-color: #ffffff;
  box-shadow: var(--box-shadow-sm);
}

.breadcrumb i {
  font-size: 14px;
}

.breadcrumb > li.breadcrumb-item {
  font-size: 0.9rem;
  padding: 0;
  position: relative;
  white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.breadcrumb > li.breadcrumb-item > a:hover {
  color: var(--brand-primary);
}

.breadcrumb > li.breadcrumb-item:after {
  display: none !important;
}

.breadcrumb > li.breadcrumb-item + li:before {
  content: "/" !important;
  color: #cbd5e0;
  padding: 0 8px;
}

/* Footer Section */
footer {
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 25px;
  background-color: var(--brand-dark);
  border-top: 4px solid var(--brand-primary);
  color: #a0aec0;
}

footer h5 {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--brand-primary);
  padding-left: 4px;
}

footer hr {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 25px;
  margin-bottom: 25px;
}

footer p {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 0;
}

footer .payment-methods i {
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
}

footer .payment-methods i:hover {
  color: var(--brand-primary);
}

/* Carousel controls / indicators overrides */
.carousel-inner {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--brand-primary) !important;
  opacity: 0.4;
}

.carousel-indicators .active {
  width: 24px;
  border-radius: 5px;
  opacity: 1;
}

.carousel-control-prev, .carousel-control-next {
  width: 45px;
  height: 45px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: var(--box-shadow-md);
  opacity: 0.9;
  transition: var(--transition-smooth);
  color: #333333;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
  background-color: var(--brand-primary);
  color: #ffffff;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.carousel-control-prev span, .carousel-control-next span {
  font-size: 1.1rem;
}

/* Cookie Policy Alert */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 80px;
  z-index: 9999;
  opacity: 0.98;
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  border-top: 2px solid var(--brand-primary);
  padding: 15px 0;
}

#cookie div {
  font-size: 14px;
  color: #ffffff;
}

/* Full width banner breakout */
.carousel-banner-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  margin-bottom: 30px;
}

.carousel-banner-full-width .carousel-inner {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.carousel-banner-full-width img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-banner-full-width img {
    max-height: 250px;
  }
}

/* If a breakout banner is placed inside a sidebar (left or right column), disable the breakout styles */
#column-left .carousel-banner-full-width,
#column-right .carousel-banner-full-width {
  width: 100% !important;
  position: static !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px;
}

#column-left .carousel-banner-full-width .carousel-inner,
#column-right .carousel-banner-full-width .carousel-inner {
  border-radius: var(--border-radius-md) !important;
  box-shadow: var(--box-shadow-sm) !important;
}

#column-left .carousel-banner-full-width img,
#column-right .carousel-banner-full-width img {
  max-height: none !important;
  object-fit: contain !important;
}

/* Trust Badges Bar */
.trust-badges-bar {
  background-color: #f8f9fa;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-sm);
  padding: 18px 25px;
}

.trust-badges-bar .badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #0f7c53;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f7c53;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.trust-badges-bar .badge-item:hover .badge-icon {
  background-color: #0f7c53;
  color: #ffffff;
  transform: scale(1.08);
}

.trust-badges-bar h6 {
  font-size: 0.9rem;
  color: #2d3748;
  margin-bottom: 2px;
}

.trust-badges-bar small {
  font-size: 0.78rem;
  color: #718096;
}

/* Border separators on larger screens */
@media (min-width: 768px) {
  .border-start-md {
    border-left: 1px solid #ddd !important;
    padding-left: 20px;
  }
}

/* Category header banner styling */
.category-header-banner {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.category-image img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-sm);
}

.category-description {
  background-color: #ffffff;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  margin-top: 15px;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
}

/* Brands section styling */
.brand-section-title {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  color: #121212;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 12px;
}

.carousel-brands-section {
  padding: 10px 0;
}

.carousel-brands-section .carousel-item .row > div {
  padding: 8px;
}

.carousel-brands-section .carousel-item img {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 12px 20px;
  height: 75px;
  width: 100%;
  object-fit: contain;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.carousel-brands-section .carousel-item img:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(var(--brand-primary-rgb), 0.3);
}

.carousel-brands-section .carousel-indicators {
  bottom: -40px;
}

.carousel-brands-section .carousel-control-prev,
.carousel-brands-section .carousel-control-next {
  display: none; /* Hide side arrows for brand logos as indicators are cleaner */
}

/* --- Modern Product Page Details --- */

.product-gallery-wrapper {
  background-color: #ffffff;
  padding: 20px;
  border-radius: var(--border-radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--box-shadow-sm);
}

.product-thumbnails-gallery {
  max-height: 480px;
  scrollbar-width: thin;
}

.product-thumb-item {
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 5px;
  background-color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
}

.product-thumb-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.product-thumb-item.active {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 1px var(--brand-primary);
}

.product-main-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--border-radius-md);
  background-color: #ffffff;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-main-image-wrapper img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  transition: transform 0.2s ease-out;
  transform-origin: center center;
}

.product-main-image-wrapper.zoomed {
  cursor: zoom-out;
}

/* Right Column Details Card */
.product-meta-card {
  border: 1px solid #e2e8f0;
  box-shadow: var(--box-shadow-md);
  background-color: #ffffff;
}

.product-meta-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.btn-back {
  font-size: 0.85rem;
  color: #718096;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.btn-back:hover {
  color: var(--brand-primary) !important;
}

.breadcrumb-separator {
  font-size: 0.85rem;
}

.product-breadcrumb-wrapper .breadcrumb-item {
  font-size: 0.82rem;
  color: #718096;
}

.product-breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 4px;
  color: #a0aec0;
}

.btn-wishlist-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  color: #718096;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-wishlist-round:hover {
  background-color: #fee2e2;
  color: var(--brand-primary);
  border-color: #fca5a5;
  transform: scale(1.05);
}

.product-title {
  color: #121212;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 5px;
}

.product-seller {
  font-size: 0.9rem;
  color: #4a5568;
}

/* Custom Rating Stars */
.product-rating-stars i {
  font-size: 0.9rem;
}

/* Price block */
.product-price-block {
  background-color: #f8fafc !important;
  border: 1px dashed #cbd5e1;
}

.price-main-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a202c;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.price-old-val {
  font-size: 0.95rem;
  color: #a0aec0;
}

.price-installment {
  font-size: 0.88rem;
  color: #4a5568;
  font-weight: 500;
}

/* Custom form options buttons (radio/checkbox) */
.form-check-button .btn-check:checked + .btn-outline-secondary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.form-check-button .btn-outline-secondary {
  border-color: #cbd5e1;
  color: #4a5568;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.form-check-button .btn-outline-secondary:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #1a202c;
}

/* Quantity Input Style */
.quantity-selector-wrapper {
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  max-width: 130px;
  background-color: #ffffff;
}

.quantity-selector-wrapper button {
  width: 36px;
  height: 36px;
  border: none;
  background-color: #f1f5f9;
  color: #4a5568;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector-wrapper button:hover {
  background-color: #cbd5e1;
  color: #1a202c;
}

.form-qty-input {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  font-weight: 600;
  color: #1a202c;
  font-size: 1rem;
}

/* Actions buttons custom greens */
.btn-buy-now {
  background-color: #007a41 !important;
  border-color: #007a41 !important;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 122, 65, 0.2);
}

.btn-buy-now:hover, .btn-buy-now:focus, .btn-buy-now:active {
  background-color: #006033 !important;
  border-color: #006033 !important;
  box-shadow: 0 6px 16px rgba(0, 122, 65, 0.3) !important;
  transform: translateY(-1px);
}

.btn-add-to-cart-outline {
  background-color: transparent !important;
  border: 2px solid #007a41 !important;
  color: #007a41 !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.btn-add-to-cart-outline:hover, .btn-add-to-cart-outline:focus, .btn-add-to-cart-outline:active {
  background-color: rgba(0, 122, 65, 0.05) !important;
  border-color: #007a41 !important;
  color: #007a41 !important;
  transform: translateY(-1px);
}

/* Mobile responsive fixes */
@media (max-width: 767px) {
  .product-thumbnails-gallery {
    max-height: none;
    padding-bottom: 5px;
  }
  
  .product-thumb-item {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  
  .product-main-image-wrapper {
    min-height: 250px;
  }
  
  .product-main-image-wrapper img {
    max-height: 280px;
  }
  
  .price-main-val {
    font-size: 1.8rem;
  }
}
