/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

#header {
  background: red !important;
}

/* WECODE */
#shop-sidebar .widget-categories,
.social-sharing,
.featured-products {
  display: none !important;
}

.navbar-brand,
.navbar-brand img {
  max-width: 150px;
}

/* supprimer logos paypal sur page produit */
#ps_checkout-payment-method-logo-block-container {
  display: none;
}

.navbar-stuck .mb-5 {
  margin-bottom: 0px !important;
}

.linkindescriptionbold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #232323;
}

.linkindescription {
  color: #232323;
}

.bkgguidegrey {
  background-color: #dadada;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.alma-pp-container {
  margin-top: 0.5em;
}

.nav-separator {
  display: block;
  padding: 0.75rem 1.25rem;
}

.font-size-lg-product {
  font-size: 1.75rem !important;
}

.text-accent {
  color: #f24770 !important;
}
a.text-accent:hover,
a.text-accent:focus {
  color: #f24770 !important;
}

.badge {
  display: inline-block;
  padding: 0.5em 0.625em;
  margin-bottom: 0.5em;
  font-size: 100%;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.3125rem;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out,
    border-color 0.25s ease-in-out, box-shadow 0.2s ease-in-out;
}

.badge-accent {
  color: #fff;
  background-color: #2fb5d2;
  visibility: hidden;
  display: none;
}

.pdf-picto {
  margin-right: 0.5em;
}

.savtha {
  font-size: 18px;
  color: #f70c36;
  font-weight: 600;
  text-align: justify;
}

.alert-success {
  color: #2fb5d2;
  background-color: #e2f6fa;
  border-color: #2fb5d2;
}

.bg-darker {
  background-color: #000000 !important;
}

.bg-success {
  background-color: #2fb5d2 !important;
}

.footer i {
  color: #2fb5d2 !important;
}

#custom-text h2 {
  color: #2fb5d2 !important;
}

.alert-info {
  color: #232323;
  background-color: #f2f2f2;
  border-color: #f6f6f6;
}

.vertical-line {
  border-left: 1px solid #000;
  display: inline-block;
  height: 50px;
  margin: 40px 50% 40px;
}

.thintitle {
  font-weight: 300;
  line-height: 1.2;
  color: #000000;
}

.text-dark {
  color: #434343;
}

.bg-dark {
  background-color: #fff !important;
}

.bg-dark-button {
  background-color: #434343;
}

.topbar-dark .topbar-link {
  color: rgba(43, 52, 69);
}

.topbar-dark .topbar-link:hover {
  color: #2fb5d2;
}

.page-title {
  color: #434343 !important;
}

.breadcrumb-item {
  font-size: 0.8125rem;
  font-weight: normal;
}
.breadcrumb-item::before {
  font-family: "cartzilla-icons";
  font-size: 0.9em;
  vertical-align: middle;
}
.breadcrumb-item > a {
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
  color: #4b566b;
}
.breadcrumb-item > a:hover {
  color: #2fb5d2;
  text-decoration: none;
}
.breadcrumb-item > a > i {
  margin-top: -0.175rem;
  margin-right: 0.325rem;
  font-size: 1.05em;
  vertical-align: middle;
}
.breadcrumb-item.active {
  cursor: default;
}
.breadcrumb-light .breadcrumb-item::before {
  color: rgba(67, 67, 67, 0.5);
}
.breadcrumb-light .breadcrumb-item > a {
  color: #434343;
}
.breadcrumb-light .breadcrumb-item > a:hover {
  color: #434343;
}
.breadcrumb-light .breadcrumb-item.active {
  color: rgba(67, 67, 67, 0.6);
}

.widget-light .widget-list-link {
  color: #434343;
}
.widget-light .widget-list-link:hover {
  color: #2fb5d2;
}
.widget-light .active > .widget-list-link {
  color: #434343;
}

.widget-light .widget-list-link {
  color: #434343;
  opacity: 1;
}

.btn-primary,
.cz-slider-content a {
  color: #fff;
  background-color: #434343;
  border-color: #434343;
  box-shadow: none;
}
.btn-primary:hover,
.cz-slider-content a:hover {
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}
.btn-primary:focus,
.cz-slider-content a:focus,
.btn-primary.focus,
.cz-slider-content a.focus {
  color: #fff;
  background-color: #434343;
  border-color: #434343;
  box-shadow: 0 0 0 0 rgba(78, 192, 217, 0.5);
}
.btn-primary.disabled,
.cz-slider-content a.disabled,
.btn-primary:disabled,
.cz-slider-content a:disabled {
  color: #fff;
  background-color: #434343;
  border-color: #434343;
}
.btn-primary:not(:disabled):not(.disabled):active,
.cz-slider-content a:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.cz-slider-content a.active:not(.disabled):not(:disabled),
.show > .btn-primary.dropdown-toggle,
.cz-slider-content .show > a.dropdown-toggle {
  color: #fff;
  background-color: #434343;
  border-color: #434343;
}
.btn-primary.btn-shadow,
.cz-slider-content a.btn-shadow {
  box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(67, 67, 67, 0.9);
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 1.75rem;
  }
}

@media (min-width: 992px) {
  .product-card:hover:not(.card-static) {
    border-color: #fff !important;
    box-shadow: 0 0.3rem 1.525rem -0.375rem rgba(0, 0, 0, 0.3);
    z-index: 10;
  }
  .product-card:hover:not(.card-static) .product-card-actions .btn-action {
    opacity: 1;
    visibility: visible;
  }
  .product-card:hover:not(.card-static) .card-body-hidden {
    opacity: 1;
    visibility: visible;
    box-shadow: 0 0.3rem 1.525rem -0.375rem rgba(0, 0, 0, 0.3);
  }
}

/* Custom zoom cursor for product images */
img.cz-image-popup-zoom,
.cz-preview {
  cursor: -moz-zoom-in !important;
  cursor: -webkit-zoom-in !important;
  cursor: url("/themes/child_cartzilla/assets/img/mg.png") 256 256, zoom-in !important;
}

.product-flags .h4 {
  margin-bottom: 8px !important;
}

/* ============================================
   COOKIE MODAL STYLING
   ============================================ */

/* Modal Container */

#cookiesplus-content {
  background: #ffffff;
  padding: 3vw 3vw;
}

#cookiesplus-content .row {
  margin-left: 0;
  margin-right: 0;
  gap: 10px;
}

#cookiesplus-content .cookieplus-finality-container [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cookiesplus-finality-chevron.bottom:before,
.cookiesplus-finality-chevron.up:before,
#cookiesplus-back::before {
  display: none;
}

#cookiesplus-content .row [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

#cookiesplus-modal {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 3rem;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

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

/* Close Buttons */
.cookiesplus-close,
.cookiesplus-close-and-reject {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.cookiesplus-close:hover,
.cookiesplus-close-and-reject:hover {
  color: #333;
}

/* Info Section */
.cookiesplus-info {
  margin-bottom: 10px !important;
}

.cookiesplus-text {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #2b3445;
  text-align: center;
  position: relative;
}

.cookiesplus-text::before {
  content: "🍪";
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  opacity: 0.15;
  pointer-events: none;
}

.cookiesplus-text > div {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cookiesplus-text > div:last-child {
  margin-bottom: 0;
}

/* Finality Containers */
.cookieplus-finality-container {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 0 0 0;
}

#cookiesplus-modal-container .col-xs-12 {
  padding: 0 0 0 0;
}

.cookieplus-finality-container:hover {
  border-color: #2fb5d2;
  box-shadow: 0 4px 12px rgba(47, 181, 210, 0.1);
}

/* Finality Header */
.cookiesplus-finality-header {
  background: #fafafa;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.cookieplus-finality-container:hover .cookiesplus-finality-header {
  background: #f5f5f5;
}

.cookiesplus-finality-title {
  flex: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2b3445;
  user-select: none;
}

.cookiesplus-accept-selected {
  background: grey;
  color: #fff;
  border-color: grey;
  box-shadow: 0 4px 16px rgba(47, 181, 210, 0.35);
  font-weight: 700;
}

.cookiesplus-finality-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 1rem;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  transition: transform 0.3s ease;
}

.cookiesplus-finality-chevron.bottom {
  border-top: 8px solid #2fb5d2;
}

.cookiesplus-finality-chevron.up {
  border-bottom: 8px solid #2fb5d2;
  transform: rotate(180deg);
}

/* Switch Container */
.cookiesplus-finality-switch-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookiesplus-finality-switch-container label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cookiesplus-finality-switch-container label:hover {
  color: #2fb5d2;
}

.cookiesplus-finality-switch-container label.technical {
  color: #2fb5d2;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(47, 181, 210, 0.1);
  border-radius: 6px;
}

/* Custom Toggle Switch */
.cookiesplus-finality-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  background: #ddd;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookiesplus-finality-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="radio"]:checked + .cookiesplus-finality-switch,
input[value="on"]:checked ~ .cookiesplus-finality-switch {
  background: #2fb5d2;
}

input[type="radio"]:checked + .cookiesplus-finality-switch::after,
input[value="on"]:checked ~ .cookiesplus-finality-switch::after {
  transform: translateX(24px);
}

.cookiesplus-finality-checkbox {
  display: none;
}

/* Finality Content */
.cookiesplus-finality-content {
  display: none;
  padding: 1.5rem;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.cookiesplus-finality-body {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tables */
.cookiesplus-finality-content table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookiesplus-finality-content thead {
  background: linear-gradient(135deg, #2fb5d2 0%, #25a0bc 100%);
}

.cookiesplus-finality-content thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookiesplus-finality-content tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.cookiesplus-finality-content tbody tr:hover {
  background: #f8f9fa;
}

.cookiesplus-finality-content tbody tr:last-child {
  border-bottom: none;
}

.cookiesplus-finality-content tbody td {
  padding: 1rem;
  font-size: 0.875rem;
  color: #555;
}

.cookiesplus-finality-content tbody td a {
  color: #2fb5d2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookiesplus-finality-content tbody td a:hover {
  color: #25a0bc;
  text-decoration: underline;
}

/* Action Buttons */
.cookiesplus-actions {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
}

.cookiesplus-actions .row {
  gap: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.cookiesplus-btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  text-align: center;
  display: inline-block;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.cookiesplus-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cookiesplus-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cookiesplus-btn span {
  position: relative;
  z-index: 1;
}

.cookiesplus-more-information {
  background: #ffffff;
  color: #666;
  border: 2px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cookiesplus-more-information:hover {
  background: #ffffff;
  border-color: #2fb5d2;
  color: #2fb5d2;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 181, 210, 0.15);
}

.cookiesplus-reject {
  background: #fff;
  color: #f24770;
  border: 2px solid #f24770;
  box-shadow: 0 2px 8px rgba(243, 71, 112, 0.1);
}

.cookiesplus-reject:hover {
  background: #f24770;
  color: #fff;
  border-color: #f24770;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(243, 71, 112, 0.35);
}

.cookiesplus-accept,
.cookiesplus-save:not([disabled]):not(.cookiesplus-accept-selected) {
  background: linear-gradient(135deg, #2fb5d2 0%, #25a0bc 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(47, 181, 210, 0.35);
  font-weight: 700;
}

.cookiesplus-accept:hover,
.cookiesplus-save:hover {
  background: linear-gradient(135deg, #25a0bc 0%, #1e8aa0 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47, 181, 210, 0.45);
}

/* Footer Actions */
.cookiesplus-footer-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.cookiesplus-policy {
  color: #2fb5d2;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.cookiesplus-policy::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2fb5d2;
  transition: width 0.3s ease;
}

.cookiesplus-policy:hover {
  color: #25a0bc;
  text-decoration: none;
}

.cookiesplus-policy:hover::after {
  width: 100%;
}

#cookiesplus-back {
  color: #666;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding-left: 1.5rem;
}

#cookiesplus-back::before {
  content: "←";
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

#cookiesplus-back:hover {
  color: #2fb5d2;
}

#cookiesplus-back:hover::before {
  transform: translateX(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  #cookiesplus-modal {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .cookiesplus-text {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    font-size: 0.95rem;
  }

  .cookiesplus-text::before {
    font-size: 2.5rem;
    top: 1rem;
    right: 1rem;
  }

  .cookiesplus-finality-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookiesplus-finality-switch-container {
    width: 100%;
    justify-content: flex-start;
  }

  .cookiesplus-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .cookiesplus-actions .row {
    gap: 0.75rem;
  }

  .cookiesplus-finality-content table {
    display: block;
    overflow-x: auto;
  }

  .cookiesplus-finality-content thead {
    display: none;
  }

  .cookiesplus-finality-content tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
  }

  .cookiesplus-finality-content tbody td {
    display: block;
    padding: 0.5rem 0;
    border: none;
  }

  .cookiesplus-finality-content tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    color: #2fb5d2;
  }

  #cookiesplus-back {
    padding-left: 1.25rem;
  }
}

/* Scrollbar Styling */
#cookiesplus-modal::-webkit-scrollbar {
  width: 8px;
}

#cookiesplus-modal::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#cookiesplus-modal::-webkit-scrollbar-thumb {
  background: #2fb5d2;
  border-radius: 10px;
}

#cookiesplus-modal::-webkit-scrollbar-thumb:hover {
  background: #25a0bc;
}

/* ============================================
   PRODUCT SPECIFICATION TABLES - MOBILE
   ============================================ */
@media (max-width: 767px) {
  /* Make product specification tables stack vertically on mobile */
  .product-description .table thead,
  .product-description .table tbody,
  .product-description .table tr,
  .product-description .table th,
  .product-description .table td {
    display: block;
    width: 100%;
  }

  /* Style table cells */
  .product-description .table td,
  .product-description .table th {
    text-align: center;
    padding: 15px;
    border: 0;
  }

  /* Make images responsive and centered */
  .product-description .table td img,
  .product-description .table th img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
  }

  /* Add spacing between sections */
  .product-description .table tbody {
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  /* Style text content */
  .product-description .table td p {
    margin-bottom: 8px;
    text-align: center;
  }

  .product-description .table td p:last-child {
    margin-bottom: 0;
  }

  /* Remove all borders */
  .product-description .table,
  .product-description .table thead,
  .product-description .table tbody,
  .product-description .table tr,
  .product-description .table th,
  .product-description .table td {
    border: 0;
  }
}
