/* AVEROVASU v2.3.9 — Concept 2 identity, Black Friday hero and review media. */

/* Concept 2 logo dimensions and consistent rendering. */
body.averovasu-v2 .np-site-header .np-brand > img.av239-brand-logo,
body.averovasu-v2 .np-site-header .np-brand > img.np-header-logo-img {
  display:block!important;width:214px!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.averovasu-v2 .np-mobile-nav-brand img.np-mobile-nav-logo {display:block!important;width:174px!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;}
body.averovasu-v2 .np-footer-brand img.np-footer-logo-img {display:block!important;width:190px!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;}
body.averovasu-v2.single-product .avb-product-brand-logo {display:block!important;width:126px!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;}

/* Black Friday hero — full theme container, no image clipping or split-column mismatch. */
.av239-bf-hero {
  position:relative;isolation:isolate;overflow:hidden;
  width:min(calc(100% - 48px),1360px);min-height:520px;margin:24px auto 20px;
  border:1px solid rgba(16,230,118,.12);border-radius:24px;background:#030906;
  box-shadow:0 18px 46px rgba(4,18,11,.12);color:#fff;
}
.av239-bf-art {position:absolute;inset:0;z-index:-1;display:block;overflow:hidden;}
.av239-bf-art:after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,7,4,.10) 0%,rgba(1,7,4,0) 58%,rgba(1,7,4,.05) 100%);pointer-events:none;}
.av239-bf-art img {display:block;width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center center;}
.av239-bf-inner {position:relative;z-index:1;display:flex;align-items:center;min-height:520px;padding:56px clamp(28px,5vw,76px);}
.av239-bf-copy {width:min(53%,650px);max-width:650px;}
.av239-bf-eyebrow {display:flex;align-items:center;gap:12px;margin:0 0 22px;color:#f5fff9;font-size:12px;font-weight:800;letter-spacing:.18em;line-height:1.4;}
.av239-bf-eyebrow span {display:inline-block;width:34px;height:2px;background:#10e676;box-shadow:0 0 12px rgba(16,230,118,.6);}
.av239-bf-copy h1 {display:flex;flex-direction:column;gap:10px;margin:0;color:#fff;font-size:clamp(44px,5.3vw,76px);font-weight:850;letter-spacing:-.065em;line-height:.98;}
.av239-bf-title {color:#fff;}
.av239-bf-discount {color:#fff;font-size:.64em;letter-spacing:-.045em;line-height:1.08;}
.av239-bf-discount strong,.av239-bf-discount em {color:#10e676;font-style:normal;}
.av239-bf-description {max-width:520px;margin:22px 0 0;color:rgba(246,252,248,.84);font-size:16px;line-height:1.7;}
.av239-bf-actions {display:flex;flex-wrap:wrap;gap:14px;margin-top:28px;}
.av239-bf-button {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:0 24px;border:1px solid transparent;border-radius:13px;font-size:14px;font-weight:800;text-decoration:none!important;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;}
.av239-bf-button:hover {transform:translateY(-2px);}
.av239-bf-button-primary {background:#10e676;color:#06110a!important;border-color:#10e676;}
.av239-bf-button-primary:hover {background:#fff;color:#07100b!important;border-color:#fff;}
.av239-bf-button-secondary {background:rgba(5,13,9,.28);color:#fff!important;border-color:rgba(255,255,255,.82);}
.av239-bf-button-secondary:hover {background:#10e676;color:#07100b!important;border-color:#10e676;}

/* Homepage coupon card below the hero. */
.av239-home-offers {width:min(calc(100% - 48px),1360px);margin:0 auto 22px;padding:20px 22px 22px;border:1px solid #c9eed8;border-radius:18px;background:linear-gradient(115deg,#f3fff7 0%,#e9faef 100%);box-shadow:0 8px 24px rgba(11,85,43,.045);}
.av239-home-offers-heading {display:flex;align-items:center;gap:14px;margin:0 0 16px;}
.av239-home-offers-icon {display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#d8f7e5;color:#009e50;}
.av239-home-offers-icon svg {width:25px;height:25px;}
.av239-home-offers-heading h2 {margin:0;color:#101713;font-size:20px;font-weight:850;letter-spacing:-.035em;line-height:1.2;}
.av239-home-offers-heading p {margin:4px 0 0;color:#65766c;font-size:12px;line-height:1.45;}
.av239-home-offers-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.av239-home-offer {position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:13px 14px;border:1px solid #dcefe3;border-radius:13px;background:rgba(255,255,255,.9);}
.av239-home-offer .avb-offer-discount {min-width:94px;padding:11px 12px;border-radius:10px;background:#d9f5e4;color:#008c49;text-align:center;font-size:14px;font-weight:850;}
.av239-home-offer-copy {display:flex;flex-direction:column;gap:4px;min-width:0;}
.av239-home-offer-copy strong {color:#1b2820;font-size:13px;font-weight:750;line-height:1.35;}
.av239-home-offer-copy small {color:#718078;font-size:11px;line-height:1.35;}
.av239-home-offer .avb-copy-button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #c9e8d4;border-radius:9px;background:#fff;color:#008b48;font-size:12px;font-weight:750;cursor:pointer;}
.av239-home-offer .avb-copy-button:hover {background:#0abf65;border-color:#0abf65;color:#fff;}
.av239-home-offer .avb-copy-button svg {width:15px;height:15px;}
.av239-home-offer .avb-copy-feedback {position:absolute;right:12px;bottom:-18px;color:#087b43;font-size:10px;}
.av239-offers-admin-note {width:min(calc(100% - 48px),1360px);margin:0 auto 18px;padding:12px 16px;border:1px dashed #c7d6cc;border-radius:10px;color:#526258;font-size:12px;}

/* Product review upload controls. */
.av239-review-upload {clear:both;margin:18px 0 16px;padding:16px;border:1px solid #dce9e0;border-radius:13px;background:#f8fcf9;}
.av239-review-upload>strong {display:block;margin:0 0 12px;color:#17221b;font-size:13px;font-weight:800;}
.av239-review-upload-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.av239-review-upload-field {display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px;border:1px solid #e0ece4;border-radius:10px;background:#fff;color:#26352b;font-size:12px;font-weight:750;}
.av239-review-upload-field input {display:block;width:100%;max-width:100%;font-size:12px;}
.av239-review-upload-field small {color:#718078;font-size:10px;font-weight:450;line-height:1.45;}
.av239-review-upload-preview {display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.av239-review-preview-item {display:flex;align-items:center;gap:7px;max-width:100%;padding:5px 8px;border:1px solid #e2ece5;border-radius:8px;background:#fff;color:#5c6b61;font-size:10px;}
.av239-review-preview-item img {width:40px;height:40px;border-radius:5px;object-fit:cover;}
.av239-review-media {display:grid;gap:12px;margin:14px 0 2px;}
.av239-review-gallery {display:flex;flex-wrap:wrap;gap:9px;}
.av239-review-image-link {display:block;width:78px;height:78px;overflow:hidden;border:1px solid #dfe9e2;border-radius:9px;background:#f5f8f6;}
.av239-review-image-link img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease;}
.av239-review-image-link:hover img {transform:scale(1.06);}
.av239-review-video {width:min(100%,480px);overflow:hidden;border-radius:12px;background:#07100b;}
.av239-review-video video {display:block;width:100%;max-height:360px;background:#07100b;}
.av239-review-lightbox {position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(2,8,5,.88);cursor:zoom-out;}
.av239-review-lightbox img {display:block;max-width:min(92vw,1200px);max-height:90vh;width:auto;height:auto;border-radius:8px;box-shadow:0 20px 70px rgba(0,0,0,.45);object-fit:contain;}
.av239-review-lightbox-close {position:absolute;top:18px;right:22px;width:42px;height:42px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:27px;line-height:1;cursor:pointer;}

@media (max-width:1100px) {
  .av239-bf-hero {min-height:470px;}
  .av239-bf-inner {min-height:470px;padding:44px 42px;}
  .av239-bf-copy {width:54%;}
  .av239-bf-copy h1 {font-size:clamp(42px,5.4vw,64px);}
  .av239-home-offers-grid {gap:8px;}
  .av239-home-offer {grid-template-columns:auto minmax(0,1fr);}
  .av239-home-offer .avb-copy-button {grid-column:2;justify-self:start;}
}
@media (max-width:760px) {
  .av239-bf-hero {width:calc(100% - 24px);min-height:690px;margin:12px auto 14px;border-radius:18px;}
  .av239-bf-art img {min-height:690px;object-fit:cover;object-position:center center;}
  .av239-bf-art:after {background:linear-gradient(180deg,rgba(1,7,4,.08) 0%,rgba(1,7,4,0) 60%,rgba(1,7,4,.08) 100%);}
  .av239-bf-inner {display:block;min-height:690px;padding:34px 24px 0;}
  .av239-bf-copy {width:100%;max-width:100%;}
  .av239-bf-eyebrow {margin-bottom:17px;font-size:10px;letter-spacing:.16em;}
  .av239-bf-copy h1 {gap:8px;font-size:clamp(40px,11vw,54px);line-height:1;}
  .av239-bf-discount {font-size:.65em;}
  .av239-bf-description {max-width:360px;margin-top:14px;font-size:13px;line-height:1.55;}
  .av239-bf-actions {gap:9px;margin-top:19px;}
  .av239-bf-button {min-height:44px;padding:0 14px;border-radius:10px;font-size:11px;}
  .av239-home-offers {width:calc(100% - 24px);margin:0 auto 16px;padding:15px 13px 14px;border-radius:14px;}
  .av239-home-offers-heading {gap:10px;margin-bottom:12px;}
  .av239-home-offers-icon {flex-basis:40px;width:40px;height:40px;border-radius:11px;}
  .av239-home-offers-heading h2 {font-size:16px;}
  .av239-home-offers-heading p {font-size:10px;}
  .av239-home-offers-grid {grid-template-columns:1fr;gap:8px;}
  .av239-home-offer {grid-template-columns:88px minmax(0,1fr) auto;gap:9px;padding:9px;}
  .av239-home-offer .avb-offer-discount {min-width:0;padding:10px 6px;font-size:12px;}
  .av239-home-offer-copy strong {font-size:11px;}
  .av239-home-offer-copy small {font-size:10px;}
  .av239-home-offer .avb-copy-button {grid-column:auto;min-height:34px;padding:0 9px;font-size:10px;}
  .av239-review-upload {padding:12px;}
  .av239-review-upload-grid {grid-template-columns:1fr;}
  .av239-review-image-link {width:68px;height:68px;}
}
@media (max-width:380px) {
  .av239-bf-hero,.av239-bf-inner,.av239-bf-art img {min-height:650px;}
  .av239-bf-inner {padding-left:18px;padding-right:18px;}
  .av239-bf-copy h1 {font-size:39px;}
  .av239-home-offer {grid-template-columns:78px minmax(0,1fr) auto;gap:7px;padding:8px;}
  .av239-home-offer .avb-copy-button {padding:0 7px;}
}
