/* ==========================================================
   MAKTOUM SEAFOOD — BOUTIQUE
   Feuille dédiée à boutique.html. À charger APRÈS style.css.
   ========================================================== */

.boutique-page {
  --shop-navy: #063b52;
  --shop-blue: #087d9c;
  --shop-cyan: #2bc4d7;
  --shop-ice: #edf8fa;
  --shop-ink: #153443;
  --shop-muted: #667d88;
  --shop-line: #dce9ed;
  background: #fff;
  color: var(--shop-ink);
  overflow-x: hidden;
}

.boutique-page button,
.boutique-page input,
.boutique-page select,
.boutique-page textarea { font: inherit; }
.boutique-page button { cursor: pointer; }
.boutique-page .container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* Barre de contact */
.boutique-page .topline {
  background: #052f43;
  color: #e7f8fb;
  font-size: 11px;
}
.boutique-page .topline-inner {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.boutique-page .top-contacts,
.boutique-page .social-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.boutique-page .top-contacts a { color: #e7f8fb; }
.boutique-page .top-contacts a:hover,
.boutique-page .social-top a:hover { color: var(--shop-cyan); }
.boutique-page .social-top a { color: #e7f8fb; font-weight: 700; }

/* En-tête et navigation */
.boutique-page .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--shop-line);
  box-shadow: 0 5px 18px rgba(4,48,69,.045);
}
.boutique-page .header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.boutique-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--shop-navy);
  font: 800 16px/1.1 Manrope, sans-serif;
  white-space: nowrap;
}
.boutique-page .brand img { width: 54px; height: 54px; object-fit: contain; }
.boutique-page .brand small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 3px; font-weight: 600; }
.boutique-page #mainNav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.35vw, 19px);
  min-width: 0;
}
.boutique-page #mainNav a {
  color: #254654;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}
.boutique-page #mainNav a:hover,
.boutique-page #mainNav a.active { color: var(--shop-blue); }
.boutique-page #mainNav a.active { position: relative; }
.boutique-page #mainNav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: var(--shop-cyan);
}
.boutique-page .mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--shop-line);
  border-radius: 9px;
  background: var(--shop-ice);
  color: var(--shop-navy);
  font-size: 21px;
}
.boutique-page .cart-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: var(--shop-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.boutique-page .cart-top:hover { background: var(--shop-blue); transform: translateY(-1px); }
.boutique-page .cart-top b {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--shop-cyan);
  color: #033348;
  font-size: 10px;
}

/* Bannière boutique */
.boutique-page .shop-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(43,196,215,.24), transparent 28%),
    linear-gradient(115deg, #042f43 0%, #07536c 58%, #087d9c 100%);
}
.boutique-page .shop-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -245px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 75px rgba(255,255,255,.025);
  pointer-events: none;
}
.boutique-page .hero-inner {
  position: relative;
  z-index: 1;
  min-height: 315px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 48px;
}
.boutique-page .shop-hero .eyebrow { color: #75e3eb; }
.boutique-page .shop-hero h1 {
  max-width: 690px;
  margin: 0 0 17px;
  color: #fff;
  font: 800 clamp(34px, 5vw, 58px)/1.08 Manrope, sans-serif;
  letter-spacing: -1.8px;
}
.boutique-page .shop-hero h1 em { color: #65dbe5; font-style: normal; }
.boutique-page .shop-hero p { max-width: 590px; margin: 0; color: #d9edf2; font-size: 14px; line-height: 1.75; }
.boutique-page .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 40px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.boutique-page .hero-pill:first-letter { font-size: 20px; }

/* Zone catalogue, recherche et filtres */
.boutique-page .shop-content { padding-top: 66px; padding-bottom: 28px; }
.boutique-page .shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.boutique-page .eyebrow.dark { color: var(--shop-blue); }
.boutique-page .shop-heading h2 {
  margin: 0 0 10px;
  color: var(--shop-navy);
  font: 800 clamp(28px, 3.5vw, 41px)/1.15 Manrope, sans-serif;
  letter-spacing: -1px;
}
.boutique-page .shop-heading h2 em { color: var(--shop-blue); font-style: normal; }
.boutique-page .shop-heading p { margin: 0; color: var(--shop-muted); font-size: 12px; }
.boutique-page .searchbox {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(360px, 100%);
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--shop-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(4,48,69,.045);
}
.boutique-page .searchbox:focus-within { border-color: #65cbd7; box-shadow: 0 0 0 3px rgba(43,196,215,.13); }
.boutique-page .searchbox > span { color: var(--shop-blue); font-size: 24px; line-height: 1; }
.boutique-page .searchbox input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--shop-ink); font-size: 12px; }
.boutique-page .searchbox button { border: 0; background: transparent; color: #78909a; font-size: 22px; line-height: 1; }
.boutique-page .category-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; }
.boutique-page .cat-tab {
  min-height: 39px;
  padding: 8px 15px;
  border: 1px solid var(--shop-line);
  border-radius: 30px;
  background: #fff;
  color: #45616d;
  font-size: 11px;
  font-weight: 700;
  transition: .2s ease;
}
.boutique-page .cat-tab:hover { border-color: #8bd9e1; color: var(--shop-blue); }
.boutique-page .cat-tab.active { border-color: var(--shop-navy); background: var(--shop-navy); color: #fff; }
.boutique-page .result-line { display: flex; justify-content: space-between; gap: 15px; padding: 12px 2px; border-bottom: 1px solid var(--shop-line); color: var(--shop-muted); font-size: 11px; }
.boutique-page .result-line span:first-child { color: var(--shop-navy); font-weight: 700; }

/* Cartes produits — classes générées par shop.js */
.boutique-page .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: none;
  margin: 25px 0 42px;
  padding: 0;
}
.boutique-page .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2edf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(4,48,69,.065);
  transition: transform .25s ease, box-shadow .25s ease;
}
.boutique-page .product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 34px rgba(4,48,69,.13); }
.boutique-page .product-image { position: relative; overflow: hidden; height: 225px; background: #eaf4f6; }
.boutique-page .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.boutique-page .product-card:hover .product-image img { transform: scale(1.045); }
.boutique-page .product-label {
  position: absolute;
  left: 13px;
  bottom: 13px;
  max-width: calc(100% - 26px);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;
  background: rgba(4,48,67,.84);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}
.boutique-page .product-body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.boutique-page .product-body h3 { margin: 0 0 8px; color: var(--shop-navy); font: 800 18px/1.3 Manrope, sans-serif; }
.boutique-page .product-body p { flex: 1; min-height: 48px; margin: 0 0 15px; color: var(--shop-muted); font-size: 12px; line-height: 1.65; }
.boutique-page .product-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; margin: 0 0 14px; }
.boutique-page .product-controls select {
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 7px 27px 7px 10px;
  border: 1px solid var(--shop-line);
  border-radius: 7px;
  background: #f9fcfd;
  color: var(--shop-ink);
  font-size: 11px;
}
.boutique-page .price { color: var(--shop-blue); font-size: 14px; font-weight: 800; text-align: right; white-space: nowrap; }
.boutique-page .price small { display: block; margin-top: 2px; color: #8498a0; font-size: 9px; font-weight: 500; }
.boutique-page .add-btn {
  width: 100%;
  min-height: 43px;
  margin-top: auto;
  padding: 10px 14px;
  border: 0;
  border-radius: 7px;
  background: var(--shop-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.boutique-page .add-btn:hover { background: var(--shop-blue); transform: translateY(-1px); }
.boutique-page .empty-results { margin: 30px 0 55px; padding: 30px 18px; border: 1px dashed #b9d3da; border-radius: 12px; background: #f8fcfd; color: var(--shop-muted); text-align: center; font-size: 13px; }
.boutique-page .empty-results[hidden] { display: none !important; }

/* Informations de service */
.boutique-page .service-note { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 22px; padding-bottom: 68px; }
.boutique-page .service-note > div { display: flex; flex-direction: column; gap: 5px; padding: 20px 22px; border: 1px solid var(--shop-line); border-radius: 10px; background: #f8fcfd; }
.boutique-page .service-note b { color: var(--shop-navy); font-size: 12px; }
.boutique-page .service-note span { color: var(--shop-muted); font-size: 11px; line-height: 1.65; }

/* Pied de page */
.boutique-page .footer { background: #032c3e; color: #c8dfe5; padding: 38px 0 0; }
.boutique-page .footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.boutique-page .footer-brand { color: #fff; }
.boutique-page .footer-brand img { width: 55px; height: 55px; }
.boutique-page .footer-inner p { margin: 12px 0 0; color: #aac6ce; font-size: 11px; }
.boutique-page .footer-links,
.boutique-page .footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 7px; }
.boutique-page .footer-links a,
.boutique-page .footer-social a { color: #c8dfe5; font-size: 11px; }
.boutique-page .footer-links a:hover,
.boutique-page .footer-social a:hover { color: var(--shop-cyan); }
.boutique-page .copyright { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); color: #83aab5; font-size: 10px; }

/* Panier latéral */
.boutique-page .overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2,25,36,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.boutique-page .overlay.show { opacity: 1; visibility: visible; }
.boutique-page .cart-drawer {
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(470px, 100%);
  max-width: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: -15px 0 45px rgba(0,0,0,.18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s ease;
}
.boutique-page .cart-drawer.open { transform: translateX(0); visibility: visible; }
.boutique-page .drawer-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 24px 17px; border-bottom: 1px solid var(--shop-line); }
.boutique-page .drawer-head .eyebrow { margin-bottom: 6px; }
.boutique-page .drawer-head h2 { margin: 0; color: var(--shop-navy); font: 800 23px/1.2 Manrope, sans-serif; }
.boutique-page .drawer-head h2 span { color: var(--shop-blue); font-size: 15px; }
.boutique-page .close-cart { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--shop-line); border-radius: 50%; background: #f7fbfc; color: var(--shop-navy); font-size: 25px; line-height: 1; }
.boutique-page .cart-items { flex: 1 1 auto; min-height: 90px; overflow-y: auto; padding: 10px 24px 20px; overscroll-behavior: contain; }
.boutique-page .cart-line { padding: 15px 0; border-bottom: 1px solid var(--shop-line); }
.boutique-page .cart-line-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.boutique-page .cart-line-head h3 { margin: 0; color: var(--shop-navy); font: 700 14px/1.4 Manrope, sans-serif; }
.boutique-page .line-price { color: var(--shop-blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.boutique-page .variant { margin-top: 4px; color: var(--shop-muted); font-size: 10px; }
.boutique-page .cart-line-controls { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.boutique-page .qty-btn { width: 29px; height: 29px; border: 1px solid var(--shop-line); border-radius: 6px; background: #f7fbfc; color: var(--shop-navy); font-weight: 800; }
.boutique-page .qty-num { min-width: 18px; color: var(--shop-navy); font-size: 12px; font-weight: 800; text-align: center; }
.boutique-page .remove-line { margin-left: auto; border: 0; background: transparent; color: #b64c4c; font-size: 10px; font-weight: 700; }
.boutique-page .cart-empty { padding: 35px 10px; color: var(--shop-muted); text-align: center; }
.boutique-page .cart-empty b { display: block; margin-top: 8px; color: var(--shop-navy); }
.boutique-page .cart-empty p { margin: 5px 0 0; font-size: 11px; }
.boutique-page .drawer-bottom { flex: 0 0 auto; max-height: 62%; overflow-y: auto; padding: 17px 24px 22px; border-top: 1px solid var(--shop-line); background: #fbfdfe; overscroll-behavior: contain; }
.boutique-page .subtotal { display: flex; justify-content: space-between; gap: 12px; color: var(--shop-muted); font-size: 12px; }
.boutique-page .subtotal strong { color: var(--shop-navy); font-size: 16px; }
.boutique-page .drawer-bottom > p { margin: 5px 0 14px; color: var(--shop-muted); font-size: 10px; }
.boutique-page .field-label { display: block; margin: 10px 0 5px; color: #31515e; font-size: 10px; font-weight: 800; }
.boutique-page .customer-field { display: block; width: 100%; min-height: 39px; padding: 9px 11px; border: 1px solid var(--shop-line); border-radius: 7px; outline: 0; background: #fff; color: var(--shop-ink); font-size: 11px; }
.boutique-page .customer-field:focus { border-color: #65cbd7; box-shadow: 0 0 0 3px rgba(43,196,215,.12); }
.boutique-page textarea.customer-field { min-height: 60px; resize: vertical; }
.boutique-page .payment-select { display: flex; flex-wrap: wrap; gap: 9px 13px; margin-top: 10px; }
.boutique-page .payment-select > span { flex: 0 0 100%; margin: 0; }
.boutique-page .payment-select label { display: inline-flex; align-items: center; gap: 5px; color: #45616d; font-size: 10px; }
.boutique-page .payment-select input { accent-color: var(--shop-blue); }
.boutique-page .checkout-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; margin-top: 16px; padding: 10px 14px; border: 0; border-radius: 8px; background: #087d65; color: #fff; font-size: 11px; font-weight: 800; }
.boutique-page .checkout-btn:hover:not(:disabled) { background: #066b57; }
.boutique-page .checkout-btn:disabled { cursor: not-allowed; opacity: .45; }
.boutique-page .clear-cart { width: 100%; margin-top: 8px; padding: 8px; border: 0; background: transparent; color: #a24d4d; font-size: 10px; font-weight: 700; }
.boutique-page .payment-note { display: block; margin-top: 10px; color: #71858d; font-size: 9px; line-height: 1.5; }

/* Contact WhatsApp flottant et notification */
.boutique-page .whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 30px;
  background: #16ad63;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,40,25,.2);
  font-size: 11px;
  font-weight: 800;
}
.boutique-page .whatsapp-float:hover { background: #0d9653; }
.boutique-page .shop-toast { right: 24px; bottom: 76px; }

/* Tablettes */
@media (max-width: 1050px) {
  .boutique-page .header-inner { gap: 12px; }
  .boutique-page .brand img { width: 48px; height: 48px; }
  .boutique-page #mainNav { gap: 10px; }
  .boutique-page #mainNav a { font-size: 10px; }
  .boutique-page .cart-top { padding-inline: 10px; }
  .boutique-page .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .boutique-page .header-inner { min-height: 72px; }
  .boutique-page .mobile-menu { display: inline-grid; place-items: center; margin-left: auto; }
  .boutique-page #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 9px 20px 16px;
    border-top: 1px solid var(--shop-line);
    background: #fff;
    box-shadow: 0 14px 25px rgba(4,48,69,.12);
  }
  .boutique-page #mainNav.open { display: flex; flex-direction: column; }
  .boutique-page #mainNav a { padding: 11px 5px; border-bottom: 1px solid #edf3f5; font-size: 12px; white-space: normal; }
  .boutique-page #mainNav a.active::after { display: none; }
  .boutique-page .cart-top { min-height: 40px; }
  .boutique-page .hero-inner { min-height: 285px; }
  .boutique-page .shop-heading { align-items: stretch; flex-direction: column; }
  .boutique-page .searchbox { width: 100%; }
}

/* Mobiles */
@media (max-width: 600px) {
  .boutique-page .container { width: calc(100% - 30px); }
  .boutique-page .topline-inner { justify-content: center; min-height: 34px; }
  .boutique-page .top-contacts { justify-content: center; gap: 5px 12px; font-size: 10px; }
  .boutique-page .social-top { display: none; }
  .boutique-page .header-inner { gap: 8px; min-height: 68px; }
  .boutique-page .brand { gap: 6px; font-size: 13px; }
  .boutique-page .brand img { width: 42px; height: 42px; }
  .boutique-page .brand small { font-size: 8px; letter-spacing: 2.4px; }
  .boutique-page .mobile-menu { width: 38px; height: 38px; font-size: 19px; }
  .boutique-page .cart-top { min-height: 38px; gap: 4px; padding: 0 8px; font-size: 10px; }
  .boutique-page .cart-top span { display: none; }
  .boutique-page .cart-top b { min-width: 19px; height: 19px; }
  .boutique-page .hero-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 20px; padding-block: 43px; }
  .boutique-page .shop-hero h1 { font-size: clamp(32px, 9vw, 43px); letter-spacing: -1.2px; }
  .boutique-page .shop-hero p { font-size: 12px; }
  .boutique-page .hero-pill { padding: 10px 14px; font-size: 10px; }
  .boutique-page .shop-content { padding-top: 43px; }
  .boutique-page .shop-heading { margin-bottom: 20px; }
  .boutique-page .shop-heading h2 { font-size: 29px; }
  .boutique-page .category-tabs { gap: 7px; }
  .boutique-page .cat-tab { min-height: 36px; padding: 7px 11px; font-size: 10px; }
  .boutique-page .result-line { font-size: 10px; }
  .boutique-page .product-grid { grid-template-columns: minmax(0,1fr); gap: 17px; margin-top: 18px; }
  .boutique-page .product-image { height: 225px; }
  .boutique-page .product-body { padding: 17px; }
  .boutique-page .product-body p { min-height: 0; }
  .boutique-page .service-note { grid-template-columns: 1fr; gap: 12px; padding-bottom: 45px; }
  .boutique-page .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .boutique-page .footer-inner > div:first-child { grid-column: 1 / -1; }
  .boutique-page .drawer-head { padding: 17px 18px 14px; }
  .boutique-page .cart-items { padding-inline: 18px; }
  .boutique-page .drawer-bottom { max-height: 68%; padding: 13px 18px 18px; }
  .boutique-page .whatsapp-float { right: 12px; bottom: 12px; min-height: 40px; padding: 9px 13px; font-size: 10px; }
  .boutique-page .shop-toast { right: 12px; bottom: 64px; left: 12px; text-align: center; }
}
@media (max-width: 380px) {
  .boutique-page .top-contacts a { font-size: 9px; }
  .boutique-page .brand span { font-size: 11px; }
  .boutique-page .mobile-menu { width: 34px; height: 36px; }
  .boutique-page .cart-top { padding-inline: 6px; }
  .boutique-page .footer-inner { grid-template-columns: 1fr; }
  .boutique-page .footer-inner > div:first-child { grid-column: auto; }
  .boutique-page .product-controls { grid-template-columns: 1fr; }
  .boutique-page .price { text-align: left; }
}

/* Réduction des animations pour les utilisateurs qui la demandent */
@media (prefers-reduced-motion: reduce) {
  .boutique-page *,
  .boutique-page *::before,
  .boutique-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
