/* =========================================================
   PRODUCT PAGE - product.css
   PrestaShop 1.7.x – Arkan Theme
   Mobile-first, fully responsive
   ========================================================= */

/* ---- VARIABLES ---- */
:root {
  --color-primary:    #27AE60;   /* orange brand */
  --color-primary-dk: #27AE60;
  --color-accent:     #e30613;   /* red for promo/badges */
  --color-green:      #27ae60;   /* in stock */
  --color-red:        #e74c3c;   /* out of stock */
  --color-dark:       #1a1a2e;
  --color-text:       #333333;
  --color-muted:      #777777;
  --color-border:     #e5e5e5;
  --color-bg-light:   #f9f9f9;
  --color-white:      #ffffff;
  --color-sidebar-hd: #2c3e50;
  --radius-sm:        4px;
  --radius-md:        8px;
  --radius-lg:        12px;
  --shadow-card:      0 2px 12px rgba(0,0,0,.08);
  --shadow-btn:       0 4px 14px rgba(7, 149, 95, 0.35);
  --transition:       0.22s ease;
  --font-main:        'Segoe UI', Arial, sans-serif;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.product-breadcrumb-wrap {
  padding: 10px 15px 4px;
  font-size: 13px;
  color: var(--color-muted);
}
.product-breadcrumb-wrap a {
  color: var(--color-primary);
  text-decoration: none;
}
.product-breadcrumb-wrap a:hover { text-decoration: underline; }

/* =========================================================
   MAIN CONTAINER
   ========================================================= */
.product-main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

/* =========================================================
   TOP ROW: Images | Info | Sidebar
   ========================================================= */
.product-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 -12px;
}
.product-images-col,
.product-info-col,
.product-sidebar-col {
  padding: 0 12px;
  box-sizing: border-box;
}

/* =========================================================
   LEFT COLUMN – Images
   ========================================================= */
.product-images-wrapper {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.sticky-images {
  position: sticky;
  top: 80px;
}

/* =========================================================
   CENTER COLUMN – Product Info
   ========================================================= */
.product-info-wrapper {
  padding: 6px 0 16px;
}

/* Product Name */
.product-name.h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin: 0 0 6px;
  font-family: var(--font-main);
}

/* Reviews */
.product-reviews-summary {
  margin-bottom: 8px;
}
.review-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 13px;
}
.review-link:hover { text-decoration: underline; }
.give-review { font-size: 13px; }

/* Stock Badge */
.product-stock-label { margin: 8px 0; }
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.stock-badge.in-stock {
  background: #e8f8f0;
  color: var(--color-green);
  border: 1px solid #a8dfc0;
}
.stock-badge.out-of-stock {
  background: #fef0ef;
  color: var(--color-red);
  border: 1px solid #f5bbb8;
}
.stock-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: currentColor;
}

/* Reference */
.product-reference {
  font-size: 12.5px;
  color: var(--color-muted);
  margin: 6px 0 8px;
}
.reference-label { margin-right: 4px; }
.reference-value { font-weight: 600; color: var(--color-text); }

/* Divider */
.product-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 10px 0;
}

/* Prices (PrestaShop default override) */
.product-prices .current-price-value,
.product-price .current-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
}
.product-prices .regular-price,
.product-price .regular-price {
  font-size: 1rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.product-prices .discount-percentage {
  background: var(--color-accent);
  color: #fff;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

/* =========================================================
   COUNTDOWN TIMER
   ========================================================= */
.wb_countdown_wrapper {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.wb_product_countdown {
  display: flex;
  gap: 8px;
}
.wb_countdown_item {
  text-align: center;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 54px;
}
.wb_digit {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.wb_countdown_item p {
  font-size: 10px;
  margin: 2px 0 0;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #aaa;
}

/* Short Description */
.product-description-short {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.product-description-short ul,
.product-description-short p { margin-bottom: 6px; }

/* =========================================================
   RIGHT COLUMN – Sidebar
   ========================================================= */
.product-sidebar-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 80px;
}

/* Price Box */
.sidebar-price-box {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-price-current {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}
.sidebar-price-old {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.sidebar-discount-badge {
  text-decoration: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Qty + Buy */
.sidebar-buy-block {
  padding: 14px 20px 16px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-qty-label {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.sidebar-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  background: var(--color-bg-light);
  border: none;
  width: 34px; height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--color-border); }
.qty-input {
  width: 44px; height: 36px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
/* Remove spinner arrows */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-input { -moz-appearance: textfield; }

.sidebar-action-icons {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.btn-wishlist,
.btn-compare {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-muted);
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-wishlist:hover { color: var(--color-accent); border-color: var(--color-accent); }
.btn-compare:hover  { color: var(--color-primary); border-color: var(--color-primary); }

.btn-add-to-cart-sidebar {
  width: 100%;
  padding: 13px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dk));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .5px;
  box-shadow: var(--shadow-btn);
  transition: filter var(--transition), transform var(--transition);
}
.btn-add-to-cart-sidebar:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-add-to-cart-sidebar:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}

/* Sidebar Blocks (Delivery, Payment, Seller) */
.sidebar-block {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-block:last-child { border-bottom: none; }

.sidebar-block-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-sidebar-hd);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Icons (CSS-drawn fallbacks; replace with real icon font if available) */
.sidebar-icon,
.delivery-icon,
.payment-icon,
.trust-icon {
  display: inline-block;
  width: 18px; height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Delivery list */
.sidebar-delivery-list,
.sidebar-payment-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar-delivery-list li,
.sidebar-payment-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: var(--color-text);
  line-height: 1.4;
}
.delivery-detail-link {
  color: var(--color-primary);
  font-size: 12px;
  white-space: nowrap;
  margin-left: 3px;
}
.delivery-detail-link:hover { text-decoration: underline; }

/* Seller */
.seller-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 13px;
}
.seller-label { color: var(--color-muted); }
.seller-name {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.seller-name:hover { text-decoration: underline; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f8f0;
  color: var(--color-green);
  border: 1px solid #a8dfc0;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 7px;
}
.seller-rating-label {
  font-size: 12px;
  color: var(--color-muted);
  display: block;
  margin-bottom: 3px;
}
.seller-stars { font-size: 1rem; }
.star.filled { color: #f4c430; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.product-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 28px 0;
}
.trust-item {
  background: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}
.trust-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
}
.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-text strong {
  font-size: 12.5px;
  color: var(--color-text);
  font-weight: 700;
}
.trust-text span {
  font-size: 11.5px;
  color: var(--color-muted);
}

/* =========================================================
   PRODUCT TABS
   ========================================================= */
.product-tabs-section {
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.product-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
  background: var(--color-bg-light);
  border-bottom: 2px solid var(--color-border);
}
.product-nav-tabs .nav-item { flex-shrink: 0; }
.product-nav-tabs .nav-link {
  display: block;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.product-nav-tabs .nav-link:hover {
  color: var(--color-primary);
}
.product-nav-tabs .nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: var(--color-white);
}

.product-tab-content { padding: 24px 28px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Description content */
.product-description-full {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-text);
}
.product-description-full h2,
.product-description-full h3 {
  color: var(--color-primary);
  margin-top: 18px;
}
.product-description-full ul { padding-left: 18px; }
.product-description-full li { margin-bottom: 5px; }

/* Static tab content */
.tab-static-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}
.tab-static-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.tab-static-content ul { padding-left: 20px; }
.tab-static-content li { margin-bottom: 6px; }

/* =========================================================
   RELATED PRODUCTS / ACCESSORIES
   ========================================================= */
.product-related {
  margin: 12px 0 32px;
}
.section-heading {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  position: relative;
}
.section-heading span {
  background: var(--color-white);
  padding: 0 14px;
  position: relative;
  z-index: 1;
}
.section-heading::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

/* =========================================================
   PRODUCT MINIATURES (card hover)
   ========================================================= */
.product-miniature {
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-miniature:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    transform: translateY(-3px);
    background: #f5f5f5;
    border-radius: 5px;
}
.thumbnail-container.product-ho {
    margin-bottom: 0 !important;
    border: none !important;
}
.elementor-12170101 .elementor-element.elementor-element-d875796 .elementor-image-carousel-wrapper .elementor-image-carousel  img.slick-slide-image {
    height: 150px !important;
    object-fit: contain !important;
}
article.product-miniature {
    transform: scale(0.9);
}
.elementor-slick-slider .slick-next, .elementor-slick-slider .slick-prev {
    background: #282828 !important;
    width: 35px !important;;
    height: 35px !important;
    border-radius: 100% !important;
    color: #fff;
}

.elementor-slick-slider .slick-next:before, .elementor-slick-slider .slick-prev:before {
    color: #fff !important;
    font-size: 25px !important;
    opacity: 1 !important;
}

.elementor-slick-slider .slick-next:focus, .elementor-slick-slider .slick-next:hover, .elementor-slick-slider .slick-prev:focus, .elementor-slick-slider .slick-prev:hover {
    background: #e6181d !important;
}
body#checkout .header-banner {
    display: none !important;
}
.modal-open .modal {
    z-index: 99999 !important;
}
.wb-menu-vertical ul.menu-content a:hover {
    background: #ed171d !important;
    border-radius: 25px;
}

.wb-menu-vertical ul.menu-content a {
    padding: 2px 8px;
}
#search_filters .facet .facet-title {
    width: 100% !important;
    background: #282828 !important;
}

#search_filters .facet .facet-label a, #search_filters_brands .facet .facet-label a, #search_filters_suppliers .facet .facet-label a {
    color: #000 !important;
    opacity: 1;
}

.block-categories .collapse-icons {
    width: 20px !important;
    height: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #20ad64 !important;
    color: #fff !important;
    margin-top: 5px;
}



.wb-product-list div.product-description.wb-product-desc {
    background: transparent !important;
    padding: 0 !important;
}

.wb-product-list  .product-price-and-shipping {
    text-align: left;
}


.wb-product-list .button-group .quick {
    background: #282828 !important;
    display: flex;
}

.wb-product-list .button-group .cartb {
    border: none !important;
}

.wb-product-list  .product-miniature.js-product-miniature {
    border: 1px solid #000;
    border-radius: 25px;
    overflow: hidden;
}

.wb-product-list  .product-miniature .product-title {
    text-align: left;
}
.livraison-page {
    max-width: 100% !important;
}
#cms header.page-header h1 {
    display: none;
}
/* =========================================================
   ADD-TO-CART BUTTON (PrestaShop default override)
   ========================================================= */
.product-add-to-cart .btn-primary,
#add-to-cart {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dk));
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: filter var(--transition), transform var(--transition);
}
.product-add-to-cart .btn-primary:hover,
#add-to-cart:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* =========================================================
   SCROLL ARROWS
   ========================================================= */
.scroll-box-arrows {
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* =========================================================
   RESPONSIVE – TABLET  (max 991px)
   ========================================================= */
@media (max-width: 991px) {
  .product-top-row { flex-direction: column; }

  .product-images-col,
  .product-info-col,
  .product-sidebar-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .sticky-images,
  .product-sidebar-wrapper { position: static; }

  .product-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-nav-tabs .nav-link {
    padding: 11px 14px;
    font-size: 12px;
  }

  .sidebar-price-current { font-size: 1.6rem; }
  .category-cover.hidden-md-down {
    display: none !important;
}
}

/* =========================================================
   RESPONSIVE – MOBILE  (max 575px)
   ========================================================= */
@media (max-width: 575px) {
  .product-main-container { padding: 0 10px 30px; }

  .product-name.h1 { font-size: 1.15rem; }

  .product-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    font-size: 11px;
  }
  .trust-item { padding: 10px 10px; gap: 7px; }
  .trust-icon { width: 24px; height: 24px; font-size: 1.2rem; }
  .trust-text strong { font-size: 11px; }
  .trust-text span { font-size: 10px; }

  .product-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .product-nav-tabs .nav-link {
    padding: 10px 12px;
    font-size: 11.5px;
  }
  .product-tab-content { padding: 16px 14px; }

  .sidebar-price-current { font-size: 1.4rem; }
  .sidebar-buy-block { padding: 12px 14px 14px; }
  .sidebar-block { padding: 12px 14px; }

  .wb_product_countdown { gap: 5px; }
  .wb_countdown_item { padding: 5px 8px; min-width: 46px; }
  .wb_digit { font-size: 1.2rem; }

  .product-description-full { font-size: 13.5px; }
  button.quick-view.quick svg {
    fill: #fff !important;
}
}

/* =========================================================
   RESPONSIVE – SMALL MOBILE  (max 380px)
   ========================================================= */
@media (max-width: 380px) {
  .product-trust-bar { grid-template-columns: 1fr 1fr; }
  .sidebar-price-current { font-size: 1.25rem; }
  .product-name.h1 { font-size: 1rem; }
}

/* =========================================================
   UTILITY / ANIMATION
   ========================================================= */
.fade { opacity: 0; transition: opacity .15s linear; }
.fade.show { opacity: 1; }

/* Smooth tab switch */
.tab-pane.active {
  animation: tabIn .2s ease forwards;
}
@keyframes tabIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
