/* Reproduction de la DA fr.store.tapo.com (thème Shopify t/52), tokens relevés le 29/09/2026 */
:root {
  --bg-body: #ffffff;
  --bg-body-darken: #f7f7f7;
  --color-body: #2c2d2e;
  --color-body-rgb: 44, 45, 46;
  --color-accent: #ffd326;
  --color-accent-hover: #ffcc02;
  --color-announcement-bar-bg: #005EAC;
  --color-blue: #005EAC;
  --color-price-discounted: #c11c66;
  --color-badge-sale: #c11c66;
  --color-badge-new: #41ddff;
  --color-inventory-instock: #279A4B;
  --color-footer-bg: #2c2d2e;
  --block-border-radius: 16px;
  --button-border-radius: 25px;
  --badge-corner-radius: 6px;
  --block-shadows: 0px 4px 6px rgba(0, 0, 0, 0.08);
  --line: #e6e6e6;
  --gutter: 50px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg-body); color: var(--color-body);
  font-family: Inter, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; margin: 0 0 20px; color: var(--color-body); letter-spacing: 0; }
h1 { font-size: 42px; line-height: 50px; }
h2 { font-size: 42px; line-height: 50px; }
h3 { font-size: 34px; line-height: 42px; }
p { margin: 0 0 20px; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* Barre d'annonce */
.announcement { background: var(--color-announcement-bar-bg); color: #fff; font-size: 13px; line-height: 14.3px; height: 30px; overflow: hidden; display: flex; align-items: center; white-space: nowrap; }
.announcement__track { display: inline-flex; animation: tapo-marquee 40s linear infinite; }
.announcement__track span { padding: 0 20px; }
@keyframes tapo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header */
.header { background: #fff; }
.header__inner { display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; min-height: 90px; padding: 8px var(--gutter); max-width: 1440px; margin: 0 auto; }
.header__logo img { height: 30px; width: auto; }
.header__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 30px; font-size: 15px; line-height: 24px; }
.header__nav a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.header__nav a:hover { color: var(--color-blue); }
.header__nav .chev { width: 8px; height: 5px; }
.menu-badge { font-size: 10px; font-weight: 600; line-height: 16px; padding: 2px 8px; border-radius: 5px; color: #fff; background: var(--color-accent); position: relative; top: -8px; margin-left: -2px; }
.menu-badge--dark { background: #1b1f4b; }
.header__icons { display: flex; justify-content: flex-end; gap: 20px; align-items: center; }
.header__icons svg { width: 20px; height: 20px; }
.cart-count { position: relative; }
.cart-count b { position: absolute; top: -9px; right: -9px; background: var(--color-price-discounted); color: #fff; font-size: 10px; font-weight: 600; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }
.header__burger { display: none; }

/* Fil d'Ariane */
.breadcrumbs { font-size: 12px; line-height: 19.2px; padding: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs .sep { opacity: .35; }

/* Boutons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--color-accent); color: var(--color-body); border: 0; border-radius: var(--button-border-radius); font: 500 16px/16px Inter, sans-serif; letter-spacing: -0.05em; padding: 15px 30px; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--color-accent-hover); }
.button--card { border-radius: 8px; padding: 7px 30px; min-height: 44px; width: 100%; line-height: 16px; }
.button--small { border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.link-yellow { color: #f2c200; text-decoration: none; font-size: 15px; }
.link-yellow::after { content: " \203A"; }

/* Badges produits */
.badges { position: absolute; top: 20px; left: 25px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 1; }
.badge { display: inline-block; color: #fff; background: var(--color-badge-sale); font-size: 11px; font-weight: 500; line-height: 12px; padding: 8px 12px; border-radius: var(--badge-corner-radius); }
.badge--bundle { background: var(--color-accent); color: #fff; }
.badge--new { background: var(--color-badge-new); }

/* Cartes produit */
.product-card { background: #fff; border-radius: var(--block-border-radius); box-shadow: var(--block-shadows); position: relative; display: flex; flex-direction: column; height: 100%; text-align: center; }
.product-card__media { aspect-ratio: 1 / 1; padding: 10px; display: grid; place-items: center; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__info { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__title { font-size: 16px; font-weight: 500; line-height: 22.4px; text-decoration: none; }
.price { font-size: 15px; line-height: 1.4; }
.price s { color: var(--color-body); margin-right: 8px; }
.price ins { text-decoration: none; color: var(--color-price-discounted); }

/* Tag pill */
.tag-link { display: inline-block; font-size: 13px; font-weight: 500; line-height: 13px; color: rgba(44,45,46,.8); background: rgba(44,45,46,.05); border-radius: 25px; padding: 9px 15px; text-decoration: none; }

/* Accordéons */
details.acc { border-bottom: 1px solid rgba(var(--color-body-rgb), .12); }
details.acc summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.4; padding: 20px 40px 20px 0; position: relative; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.acc[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.acc .acc__body { font-size: 15px; line-height: 1.6; padding: 0 40px 20px 0; }
details.acc .acc__body p:last-child { margin-bottom: 0; }

/* Réassurance */
.reassurance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.reassurance img { width: 50px; height: 50px; margin: 0 auto 12px; object-fit: contain; }
.reassurance strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0 0 4px; }
.reassurance p { font-size: 14px; line-height: 1.5; margin: 0; }

/* Cartes article */
.article-card { background: #fff; border-radius: var(--block-border-radius); box-shadow: var(--block-shadows); padding: 11px; text-align: center; display: flex; flex-direction: column; }
.article-card img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.article-card__date { font-size: 12px; margin: 26px 0 10px; }
.article-card h3 { font-size: 22px; line-height: 32px; margin: 0 20px 10px; }
.article-card p { font-size: 15px; line-height: 24px; margin: 0 20px 20px; }
.article-card .link-yellow { text-align: left; margin: auto 20px 20px; }

/* Footer */
.footer { background: var(--color-footer-bg); color: #fff; padding: 70px 0 40px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer .footer__h { color: #fff; font-size: 17px; font-weight: 500; line-height: 1.3; margin: 0 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 29px; }
.footer a { text-decoration: none; }
.footer__news p { font-size: 15px; line-height: 24px; }
.footer__input { display: flex; border: 1px solid #fff; border-radius: 6px; height: 50px; margin-top: 16px; }
.footer__input span { flex: 1; padding: 13px 16px; font-size: 13px; }
.footer__input i { width: 45px; border-left: 1px solid #fff; display: grid; place-items: center; font-style: normal; }
.footer__bottom { border-top: 1px solid rgba(244,244,244,.4); margin-top: 60px; padding-top: 30px; display: flex; justify-content: space-between; font-size: 14px; }

/* Utilitaires sections */
.section { padding: 100px 0 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-header h2 { margin-bottom: 4px; }
.section-header p { margin: 0; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 1100px) {
  .header__inner { grid-template-columns: 40px 1fr 80px; min-height: 70px; padding: 8px 15px; }
  .header__nav { display: none; }
  .header__burger { display: block; }
  .header__logo { justify-self: center; }
  .header__icons .hide-m { display: none; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  :root { --gutter: 15px; }
  body { font-size: 16px; }
  h1, h2 { font-size: 28px; line-height: 34px; }
  h3 { font-size: 22px; line-height: 30px; }
  .section { padding-top: 60px; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .reassurance { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .badges { top: 12px; left: 12px; }
}
