/* at_movic-style tokens from REA on tuttosport.com.tn — original CSS, not theme files */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --movic-text: #666666;
  --movic-dark: #000000;
  --movic-muted: #333333;
  --movic-navy: #24355b;
  --movic-red: #b7081d;
  --movic-cart: #e0525c;
  --movic-yellow: #fbbc05;
  --movic-line: #e5e5e5;
  --movic-menu-link-h: 80px;
}

body {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--movic-text);
  background: #fff;
}

h1, h2, h3, .h1, .h2, .h3,
.product-title, .products-section-title {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  color: var(--movic-muted);
}

#header {
  background: #fff;
  color: var(--movic-text);
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
#_desktop_logo img,
.logo img {
  max-height: 70px;
  width: auto;
  height: 70px;
  object-fit: contain;
}
@media (max-width: 767px) {
  #header { min-height: 120px; }
  #_mobile_logo img { max-height: 48px; height: 48px; }
  .header-top { min-height: 64px; display: flex; align-items: center; }
}

/* Top utility ~37px — transparent like reference */
.header-nav {
  background: transparent !important;
  border-bottom: 1px solid var(--movic-line);
  min-height: 37px;
  font-size: 13px;
}
.header-nav a { color: var(--movic-muted) !important; }
.header-nav .right-nav { text-align: right; }

.movic-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 13px;
  color: var(--movic-muted);
}
.movic-utility a {
  color: var(--movic-muted);
  text-decoration: none;
}
.movic-utility a:hover { color: var(--movic-red); }
.movic-utility .phone { font-weight: 600; color: var(--movic-navy); }
.movic-utility .rating { color: var(--movic-yellow); font-weight: 600; }

/* Logo + search row — reference header-top ~171px incl. menu */
.header-top {
  background: transparent !important;
  padding: 1.25rem 0 0;
  border-bottom: 0;
}
#_desktop_logo img {
  max-height: 70px;
  width: auto;
}
.movic-header-row { align-items: center; }

.header-top-right .search-widget form {
  border: 1px solid var(--movic-line);
  border-radius: 0;
  background: #f7f7f7;
}
.header-top-right .search-widget input[type="text"] {
  min-height: 44px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  background: transparent;
}

/* Megamenu-like bar: full-width links ~80px tall */
.movic-menu-bar {
  border-top: 1px solid var(--movic-line);
  border-bottom: 1px solid var(--movic-line);
  background: #fff;
}
.movic-menu-bar .top-menu,
.movic-menu-bar #_desktop_top_menu,
.movic-menu-bar .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.movic-menu-bar .top-menu > li > a,
.movic-menu-bar .menu > li > a,
#_desktop_top_menu > li > a {
  display: flex !important;
  align-items: center;
  min-height: var(--movic-menu-link-h);
  padding: 0 1.35rem !important;
  font-family: Poppins, sans-serif;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--movic-dark) !important;
  border-bottom: 2px solid transparent;
}
.movic-menu-bar .top-menu > li > a:hover,
.movic-menu-bar .top-menu > li.current > a,
#_desktop_top_menu > li > a:hover {
  color: var(--movic-red) !important;
  border-bottom-color: var(--movic-red);
}

/* Cart badge — reference rgb(224,82,92) */
.cart-products-count {
  background: var(--movic-cart) !important;
  color: #fff !important;
  font-size: 10px !important;
}

.btn-primary,
.add-to-cart {
  background: var(--movic-red) !important;
  border-color: var(--movic-red) !important;
  border-radius: 0 !important;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-miniature .thumbnail-container {
  border: 1px solid #eee;
  border-radius: 0;
}
.product-miniature .product-title a {
  color: var(--movic-muted);
  font-size: 13px;
  font-weight: 500;
}
.product-miniature .price {
  color: var(--movic-red);
  font-weight: 700;
}

.featured-products .products-section-title,
h2.products-section-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin: 2.5rem 0 1.5rem;
  color: var(--movic-navy);
  font-weight: 600;
}

.footer-container {
  background: #1a1a1a;
  color: #bbb;
  margin-top: 2rem;
  font-size: 13px;
}
.footer-container a { color: #ccc; }
.footer-container a:hover { color: #fff; }

/* Kill leftover demo banner if module still injects */
#tajini-demo-banner { display: none !important; }

/* Brand strip under header */
.tutto-brand-strip {
  border-bottom: 1px solid var(--movic-line);
  background: #fafafa;
  padding: 0.85rem 0;
  margin-bottom: 0.5rem;
}
.tutto-brand-strip .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.tutto-brand-strip span {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--movic-dark);
}

.tutto-section {
  margin: 1.5rem 0 2rem;
}
.tutto-section .products-section-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  margin: 2rem 0 1.25rem;
  color: var(--movic-navy);
  font-weight: 600;
}
.tutto-section .all-product-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--movic-dark);
}

/* Denser product cards like reference grid */
#products .product-miniature,
.featured-products .product-miniature {
  margin-bottom: 1.25rem;
}
.product-miniature .thumbnail-container {
  background: #f5f5f5;
}
.product-miniature .product-title {
  text-align: left;
  margin-top: 0.5rem;
  min-height: 2.4em;
}
.product-miniature .product-price-and-shipping {
  text-align: left;
}
.product-miniature .regular-price {
  color: #999;
  font-size: 0.85rem;
}
.product-flags .discount-percentage,
.product-flag.discount {
  background: #ea7f00 !important;
}
.product-flag.new {
  background: var(--movic-navy) !important;
}

/* Slider chrome */
#carousel .carousel-caption,
.carousel .carousel-caption {
  text-align: left;
  font-family: Poppins, sans-serif;
}
#carousel .carousel-caption h2,
#carousel .carousel-caption h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* Search placeholder FR feel */
.ui-autocomplete-input::placeholder,
input[name="s"]::placeholder {
  color: #999;
}

/* Currency / lang compact in header */
.header-nav .language-selector,
.header-nav .currency-selector {
  font-size: 12px;
}

/* —— denser cards —— */
.tutto-card { margin-bottom: 1rem; }
.tutto-card .thumbnail-container { background: #f3f3f3; margin-bottom: 0.5rem; }
.tutto-card .product-title { font-size: 12px; font-weight: 500; min-height: 2.6em; margin: 0 0 0.25rem; }
.tutto-card .price { font-size: 14px; color: var(--movic-red); font-weight: 700; }
.tutto-card .regular-price { font-size: 12px; margin-right: 0.35rem; }

/* PDP size chips */
.product-variants .input-color, .product-variants .color { border-radius: 0; }
.product-variants ul li {
  display: inline-block;
  margin: 0 6px 6px 0;
}
.product-variants .radio-label,
.product-variants span.radio-label,
.product-variants li span {
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--movic-line);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.product-variants input:checked + span,
.product-variants .input-radio:checked + span {
  border-color: var(--movic-dark);
  background: #111;
  color: #fff;
}

#content-wrapper .product-prices .current-price { color: var(--movic-red); font-size: 1.35rem; font-weight: 700; }
.product-information .product-description { font-size: 13px; }

/* Footer columns */
.footer-container {
  background: #111;
  color: #bbb;
  padding-top: 2rem;
}
.footer-container .h3,
.footer-container .block-contact .h4,
.footer-container .h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.tutto-footer-grid ul { list-style: none; padding: 0; }
.tutto-footer-grid a { color: #ccc; font-size: 13px; }

/* Mobile header density */
@media (max-width: 767px) {
  .header-nav { min-height: 44px; }
  .header-top { padding: 0.75rem 0; }
  #_mobile_logo img { max-height: 48px; }
  .movic-menu-bar { display: none; }
}

/* Category listing density */
#products .products .product { margin-bottom: 0.75rem; }
#search_filters .facet { border-bottom: 1px solid var(--movic-line); }

/* Hide Classic wishlist clutter on cards if noisy */
.tutto-card .wishlist-button-add { opacity: 0.35; }
