/* ==========================================================================
   Techmad Custom Theme CSS v1.3 (Logo Palette Match)
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Brand Palette & Color Variables from Logo
   -------------------------------------------------------------------------- */ 
:root {
  --tm-primary: #0c4858;
  --tm-primary-hover: #08333f;
  --tm-primary-light: #e6f0f3;

  --tm-secondary: #2a7b8c;
  --tm-secondary-hover: #1e5c69;
  --tm-secondary-light: #b8d8df;

  --tm-accent-red: #e50914;
  --tm-accent-red-hover: #b80710;

  --tm-dark: #2b2b2b;
  --tm-dark-surface: #1e1e1e;

  --tm-muted: #666666;
  --tm-border-light: #e5e5e5;
  --tm-bg-light: #ffffff;

  --tm-font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --bs-focus-ring-color: rgba(12, 72, 88, 0.25);
}
/* --------------------------------------------------------------------------
   2. Base Reset & Typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--tm-font-sans);
  color: var(--tm-dark);
  background-color: #ffffff;
}
/* Global Link Override */
a {
  color: var(--tm-dark);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
a:hover, a:focus {
  color: var(--tm-primary) !important;
}
/* --------------------------------------------------------------------------
   3. Bootstrap Override
   -------------------------------------------------------------------------- */
.text-primary {
  color: var(--tm-primary) !important;
}
.bg-primary {
  background-color: var(--tm-primary) !important;
}
.border-primary {
  border-color: var(--tm-border-light) !important;
}
/* Form Controls Focus */
.form-control:focus, .form-select:focus, .btn:focus {
  border-color: var(--tm-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 166, 81, 0.2) !important;
}
/* Primary Button (Green Accent) */
.btn-primary {
  background-color: var(--tm-primary);
  border-color: var(--tm-primary);
  color: #ffffff;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--tm-primary-hover) !important;
  border-color: var(--tm-primary-hover) !important;
  color: #ffffff !important;
}
.btn-secondary {
  background-color: var(--tm-secondary);
  border-color: var(--tm-secondary);
  color: #ffffff;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: var(--tm-secondary-hover) !important;
  border-color: var(--tm-secondary-hover) !important;
  color: #ffffff !important;
}


.btn-outline-primary {
  color: var(--tm-primary);
  border-color: var(--tm-primary);
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-check:checked + .btn-outline-primary {
  background-color: var(--tm-primary) !important;
  border-color: var(--tm-primary) !important;
  color: #ffffff !important;
}

.btn-outline-secondary {
  color: var(--tm-secondary);
  border-color: var(--tm-secondary);
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.btn-check:checked + .btn-outline-secondary {
  background-color: var(--tm-secondary) !important;
  border-color: var(--tm-secondary) !important;
  color: #ffffff !important;
}
/* ==========================================
   Fancy Bootstrap Alert Overrides
   ========================================== */
.alert {
  border: none !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.5rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  backdrop-filter: blur(8px);
}
.alert:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08) !important;
}
.alert-info {
  background: linear-gradient(135deg, rgba(13, 202, 240, 0.12) 0%, rgba(13, 202, 240, 0.03) 100%) !important;
  color: #055160 !important;
  border-left: 4px solid #0dcaf0 !important;
}
.alert-success {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.12) 0%, rgba(25, 135, 84, 0.03) 100%) !important;
  color: #0f5132 !important;
  border-left: 4px solid #198754 !important;
}
.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.04) 100%) !important;
  color: #664d03 !important;
  border-left: 4px solid #ffc107 !important;
}
.alert-danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.12) 0%, rgba(220, 53, 69, 0.03) 100%) !important;
  color: #842029 !important;
  border-left: 4px solid #dc3545 !important;
}
.alert-primary {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12) 0%, rgba(13, 110, 253, 0.03) 100%) !important;
  color: #084298 !important;
  border-left: 4px solid #0d6efd !important;
}
.alert .btn-close {
  padding: 1.35rem !important;
  box-shadow: none !important;
  opacity: 0.6;
}
.alert .btn-close:hover {
  opacity: 1;
}
/* ==========================================================================
   Header & Navigation Custom Styles (Woodmart Hover Effects)
   ========================================================================== */
.tm-header-logo {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

@media (max-width: 575.98px) {
  .tm-header-logo {
    max-height: 28px;
    max-width: 135px;
  }
  .tm-action-btn {
    padding: 0.2rem !important;
  }
  .tm-action-btn i.fs-5 {
    font-size: 1.05rem !important;
  }
}
.tm-header-logo:hover {
  opacity: 0.85;
}
/* --- Animated Underline Hover Effect for Menu Links --- */
.tm-nav-link {
  position: relative;
  color: var(--tm-dark, #2b2b2b) !important;
  font-size: 0.825rem;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}
.tm-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--tm-primary);
  transition: width 0.3s ease, left 0.3s ease;
}
/* Hover State */
.tm-nav-link:hover {
  color: var(--tm-primary) !important;
}
.tm-nav-link:hover::after {
  width: 80%;
  left: 10%;
}
/* Active State */
.tm-nav-link.active {
  color: var(--tm-primary) !important;
  font-weight: 700 !important;
}
.tm-nav-link.active::after {
  width: 80%;
  left: 10%;
}
/* --- Right Action Buttons Hover Effect --- */
.tm-action-btn {
  transition: transform 0.2s ease, color 0.2s ease;
}
.tm-action-btn:hover {
  color: var(--tm-primary) !important;
  transform: translateY(-1px);
}
/* Quantity Badges Fix */
#basketitemscount, .badge.rounded-circle {
  font-size: 0.65rem !important;
  min-width: 17px;
  height: 17px;
  line-height: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px !important;
}
.dropdown-menu {
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  padding: 0.5rem 0 !important;
  margin-top: 8px !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease-in-out;
}
.dropdown-item {
  padding: 0.6rem 1.25rem !important;
  color: #333333 !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
}
.dropdown-item:hover, .dropdown-item:focus {
  background-color: #f8f9fa !important;
  color: var(--tm-primary)!important;
  padding-left: 1.5rem !important;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--tm-primary)!important;
  color: #ffffff !important;
}
.dropdown-divider {
  border-top: 1px solid #e9ecef !important;
  margin: 0.4rem 0 !important;
}
/* Utility Font Sizes */
.fs-7 {
  font-size: 0.825rem;
}
.fs-8 {
  font-size: 0.65rem;
}
/* ==========================================================================
   Home Categories Section (Woodmart Minimalist Style)
   ========================================================================== */
/* Header Decorative Line */
.tm-heading-line {
  width: 50px;
  height: 3px;
  background-color: var(--tm-primary);
  border-radius: 2px;
}
/* Category Card Wrapper */
.tm-cat-card {
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tm-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
/* Image Zoom Effect */
.tm-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.tm-cat-card:hover .tm-cat-img {
  transform: scale(1.08);
}
/* Dark Gradient Overlay for readability */
.tm-cat-overlay {
  background: linear-gradient(to top, rgba(15, 15, 15, 0.82) 0%, rgba(15, 15, 15, 0.35) 50%, rgba(0, 0, 0, 0) 100%);
  transition: background 0.35s ease;
}
.tm-cat-card:hover .tm-cat-overlay {
  background: linear-gradient(to top, rgba(15, 15, 15, 0.92) 0%, rgba(15, 15, 15, 0.45) 60%, rgba(0, 0, 0, 0.1) 100%);
}
/* Category Title Styling */
.tm-cat-title {
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}
/* Button & Hover Effects */
.tm-cat-btn {
  color: var(--tm-dark, #2B2B2B);
  background-color: #ffffff;
  border: none;
  letter-spacing: 0.8px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.tm-cat-card:hover .tm-cat-btn {
  background-color: var(--tm-primary);
  color: #ffffff !important;
}
.tm-cat-btn i {
  transition: transform 0.3s ease;
}
.tm-cat-card:hover .tm-cat-btn i {
  transform: translateX(4px);
}
/* Custom 3:2 Aspect Ratio (за 400x267 снимки) */
.ratio-3x2 {
  --bs-aspect-ratio: 66.75%; /* (267 / 400) * 100 */
}
/* ==========================================================================
   Home Features Section (Centered Vertical Layout)
   ========================================================================== */
/* Larger Circle Icon Container */
.tm-feature-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: var(--tm-primary-light, #e6f6ed);
  color: var(--tm-primary);
  transition: all 0.35s ease;
}
/* Hover Effect on Centered Cards */
.col:hover .tm-feature-icon-wrapper {
  background-color: var(--tm-primary);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 166, 81, 0.25);
}
/* ==========================================================================
   Full-Width Sections & Responsiveness Adjustments
   ========================================================================== */
/* Large Padding utility for Section Spacing */
.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}
/* Large Icon Wrapper for Contact Section */
.tm-contact-icon-lg {
  width: 80px;
  height: 80px;
  background-color: var(--tm-primary-light, #e6f6ed);
  color: var(--tm-primary);
  transition: all 0.35s ease;
}
/* Contact Cards Hover Effects */
.tm-contact-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
a.tm-contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--tm-primary) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
a.tm-contact-card:hover .tm-contact-icon-lg {
  background-color: var(--tm-primary);
  color: #ffffff;
}
/* Typography responsiveness for smaller screens */
@media (max-width: 767.98px) {
  .display-5 {
    font-size: 2rem;
  }
  .fs-md-2 {
    font-size: 1.25rem !important;
  }
}
.hero-banner-wrapper {
  position: relative;
  width: 100%;
}
.hero-img-link {
  display: block;
  width: 100%;
  text-decoration: none;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-caption-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  max-width: 480px;
  z-index: 2;
  text-align: left;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--tm-primary);
  border: 1px solid var(--tm-primary);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(31, 73, 124, 0.25);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
}
.hero-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}
.hero-btn:hover {
  color: #ffffff;
  background-color: #16365d;
  border-color: #16365d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 73, 124, 0.35);
}
.hero-btn:hover svg {
  transform: translateX(4px);
}
@media (max-width: 767.98px) {
  .hero-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: right center;
  }
  .hero-caption-custom {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    max-width: 100% !important;
    width: 100%;
    padding: 1rem 0.85rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 70%, rgba(255, 255, 255, 0));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .hero-caption-text {
    flex: 1;
    min-width: 0;
  }
  .hero-caption-btn {
    flex: 0 0 auto;
  }
  .hero-title {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.2rem !important;
  }
  .hero-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
  }
  .hero-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
}
/* ==========================================================================
   Product Card Styles 
   ========================================================================== */
/* Card Wrapper Base & Hover Transition */
.tm-product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
/* Fixed Height Image Area with Centered Product */
.tm-product-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tm-product-img {
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
/* Primary vs Hover Image Logic */
.tm-img-primary {
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tm-img-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
/* Hover States for Images */
.tm-product-card:hover .tm-img-primary {
  transform: scale(1.05);
}
/* If secondary image exists, hide primary and show secondary on hover */
.tm-product-card:hover .tm-img-primary:has(~ .tm-img-hover), .tm-product-card:hover picture.tm-img-primary:has(~ picture.tm-img-hover) {
  opacity: 0;
}
.tm-product-card:hover .tm-img-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}
/* Floating Hover Buttons Overlay */
.tm-product-actions {
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3;
}
.tm-product-card:hover .tm-product-actions {
  opacity: 1 !important;
  transform: translate(-50%, -5px) !important;
}
/* Hover Action Button Styling */
.tm-action-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.tm-action-icon:hover {
  transform: scale(1.1);
}
/* Product Title Styling with Multi-line Ellipsis */
.tm-product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.tm-product-title:hover {
  color: var(--tm-primary) !important;
}
/* ==========================================================================
   Footer Styling (
   ========================================================================== */
/* Dark Background Override */
.tm-footer {
  background-color: #111827 !important; /* Premium Dark Navy/Charcoal */
}
/* Hover Transitions for Footer Links */
.hover-white {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.hover-white:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}
.hover-primary-light {
  transition: color 0.2s ease;
}
.hover-primary-light:hover {
  color: var(--bs-primary-bg-subtle, #a5c2f0) !important;
}
/* Icon Color inside Footer */
.tm-footer i.text-primary {
  color: #3b82f6 !important;
}
/* Letter Spacing */
.tracking-wider {
  letter-spacing: 0.05em;
}
/* Footer Font Sizes */
.fs-7 {
  font-size: 0.825rem;
}
.fs-8 {
  font-size: 0.75rem;
}
/* Social Media Boxed Icons (Matching Design Reference) */
.tm-social-box {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.tm-social-box:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
/* ==========================================================================
   CMS Content & Custom List Styles
   ========================================================================== */
.tm-section-heading .tm-subtitle {
  color: var(--tm-primary);
  font-size: 0.75rem; /* ~12px */
  letter-spacing: 0.12em; /* tracking-wider */
}
.tm-section-heading .tm-title {
  color: #111827;
  font-size: 3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
/* Short Centered Accent Line */
.tm-title-divider {
  width: 40px;
  height: 3px;
  background-color: var(--tm-primary);
  border-radius: 2px;
}

.tm-cms-content {
  line-height: 1.6;
  color: #374151;
}
.tm-cms-content p {
  margin-bottom: 1rem;
  color: #374151;
}
.tm-cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}
.tm-cms-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.tm-cms-content ul li {
  margin-bottom: 0.35rem;
  color: #374151;
}


/* ==========================================================================
   Techmad Series & Subcategories Grid Styling
   ========================================================================== */
/* Subcategory Card Styling */
.tm-subcat-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 6px;
}
.tm-subcat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}
.tm-subcat-card:hover .tm-subcat-img {
  transform: scale(1.05);
}
.tm-subcat-card:hover .tm-subcat-title {
  color: var(--tm-primary) !important;
}
/* Fix BB Code Rendered Elements inside Cards & Tables */
.tm-parsed-bb p {
  margin-bottom: 0.35rem;
}
.tm-parsed-bb p:last-child {
  margin-bottom: 0;
}
.tm-parsed-bb ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.tm-parsed-bb li {
  margin-bottom: 0.2rem;
}
/* Products Table Customization */
.products-list-table-wrapper table tbody tr {
  transition: background-color 0.15s ease-in-out;
}
.products-list-table-wrapper table tbody tr:hover {
  background-color: #f8fafc;
}
.fs-8 {
  font-size: 0.75rem;
}
/*    --------------------------------------------------
	:: Basket Table Reponsive 
	-------------------------------------------------- */
.basket-thumb {
  max-width: 90px;
  height: auto;
  object-fit: contain;
}
.basket-item-card {
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.2s ease-in-out;
}
.basket-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.midprice {
  font-size: 1.15rem;
  font-weight: 700;
  color: #45aba9;
  white-space: nowrap;
}
.totalprice {
  font-size: 2rem;
  font-weight: 700;
  color: #45aba9;
  white-space: nowrap;
}
.baskettitle {
  font-weight: 600;
  background: #f8f9fa;
  color: #6c757d;
  letter-spacing: 0.5px;
}
.card-summary {
  border-radius: 8px;
}
.btn {
  border-radius: 0;
}
.btn-remove-basket {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #dc3545;
  border: 1px solid #f8d7da;
  background-color: #fff;
  transition: all 0.2s ease;
}
.btn-remove-basket:hover {
  background-color: #dc3545;
  color: #fff;
  border-color: #dc3545;
}
@media (max-width: 767.98px) {
  .midprice {
    font-size: 1.25rem;
  }
  .totalprice {
    font-size: 1.6rem;
  }
}
/*    --------------------------------------------------
	:: Product details 
	-------------------------------------------------- */
.subproduct-card {
  transition: all 0.2s ease-in-out;
  border-width: 2px !important;
  background-color: #fff;
  user-select: none;
}
.subproduct-card:hover {
  border-color: #0d6efd !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.subproduct-card.active, .subproduct-card.subpactive {
  border-color: #0d6efd !important;
  background-color: #f8f9fa !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
.subproduct-card.subpnoactive {
  border-color: #dee2e6 !important;
  opacity: 0.8;
}
.stickers img, .stickers picture {
  max-width: 40px;
  height: auto;
  display: block;
}
.sale {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  font-size: 1.1rem;
  line-height: 1;
}
.product-description {
  line-height: 1.7;
  color: #495057;
}
.product-description img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.375rem;
}
/* Custom Subproducts Container & Cards Layout */
.subproducts-list-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.subproduct-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
}
.subproduct-card:hover {
  border-color: #b3d7ff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  background-color: #f8f9fa;
}
.subproduct-card.subproduct-active {
  background-color: #f0f7ff;
  border: 2px solid #0d6efd;
  box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.15);
}
.subproduct-card.subproduct-active .subp-title {
  color: #0d6efd;
  font-weight: 700;
}
.subproduct-card.subproduct-active .sku-badge {
  background-color: #0d6efd !important;
  color: #ffffff !important;
}
.subp-label {
  font-size: 0.6875rem;
  letter-spacing: 0.5px;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 0.15rem;
  display: block;
}
.sku-badge {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  font-weight: 600;
}
#productAccordion .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: #000000;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}
#productAccordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, .125);
}
.hover-shadow:hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  background-color: #f8f9fa !important;
}
.ratio-9x6 {
  --bs-aspect-ratio: 66.66667%;
}
.gallery-thumbnails {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}
.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.gallery-thumb-btn {
  transition: all 0.2s ease-in-out;
  opacity: 0.75;
}
.gallery-thumb-btn:hover, .gallery-thumb-btn.active-thumb {
  opacity: 1;
  transform: translateY(-2px);
}
.max-h-90vh {
  max-height: 85vh;
  object-fit: contain;
}
/* News */
.news-empty-state {
  background-color: #f8f9fa;
  border: 1px dashed #dee2e6;
  border-radius: 0.75rem;
}
.hover-shadow {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-shadow:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}
.text-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-detail-title {
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.news-gallery .carousel-item {
  background-color: #f8f9fa;
  border-radius: 0.75rem;
  overflow: hidden;
}
.news-gallery img, .news-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 0.75rem;
}
.news-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b2f33;
}
.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}
.news-content p {
  margin-bottom: 1.25rem;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
}
/* paymentmethodmask */
.payment-option-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.payment-option-card:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}
.payment-option-card .form-check-input {
  float: none;
  margin-top: 0;
  margin-right: 0.75rem;
  flex-shrink: 0;
  cursor: pointer;
}
.payment-option-card .form-check-label {
  cursor: pointer;
  font-weight: 500;
  color: #334155;
  margin: 0;
  width: 100%;
  user-select: none;
}
.payment-option-card:has(.form-check-input:checked) {
  border-color: #1d4ed8;
  background-color: #f0f6ff;
  box-shadow: 0 0 0 1px #1d4ed8;
}
.payment-option-card:has(.form-check-input:checked) .form-check-label {
  color: #0f172a;
  font-weight: 600;
}
.registration-success-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 3rem 2rem;
}
.icon-circle-success {
  width: 80px;
  height: 80px;
  background-color: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}
/* favourites */
.empty-favourites-card {
  background-color: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  padding: 3.5rem 2rem;
  transition: all 0.2s ease-in-out;
}
.empty-favourites-icon-wrapper {
  width: 84px;
  height: 84px;
  background-color: #fef2f2;
  color: #ef4444;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.error-card {
  background-color: #ffffff;
  border: 1px solid #fee2e2;
  border-radius: 1rem;
  padding: 3.5rem 2rem;
}
.error-icon-wrapper {
  width: 84px;
  height: 84px;
  background-color: #fef2f2;
  color: #dc2626;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.error-code-badge {
  background-color: #f3f4f6;
  color: #374151;
  font-family: monospace;
  font-size: 0.95rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  display: inline-block;
}


#tm-cookie-banner {
    z-index: 1090; 
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}


@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-display: swap;
}