/*
Theme Name:   Store Child
Theme URI:    https://git.nangoen.com/nangoen/wp-store-template
Description:  Per-store child theme for Blocksy. Design tokens live in theme.json, page sections in patterns/. Keep this file small: brand differences belong in theme.json, structural CSS belongs here.
Author:       nangoen
Template:     blocksy
Version:      0.8.10
Requires at least: 6.5
Requires PHP: 8.1
Text Domain:  store-child
*/

/* ------------------------------------------------------------------
   Typography: Blocksy leaves fonts on "System Default"; the child theme
   binds body/headings to the theme.json font presets so a store changes
   fonts by editing theme.json only.
   ------------------------------------------------------------------ */
body {
  font-family: var(--wp--preset--font-family--body);
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.entry-title {
  font-family: var(--wp--preset--font-family--heading);
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------
   Section helpers used by the patterns
   ------------------------------------------------------------------ */
.store-eyebrow {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
}

.store-stars {
  color: var(--wp--preset--color--accent);
  letter-spacing: 0.1em;
  font-size: var(--wp--preset--font-size--medium);
}

.store-card {
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--card);
  height: 100%;
}

/* Full-bleed covers (hero) must not inherit the image radius from theme.json */
.wp-block-cover.alignfull {
  border-radius: 0;
}

/* Collection tiles: cover blocks that zoom slightly on hover; the whole tile is a link (overlay anchor) */
.store-tile {
  border-radius: var(--wp--custom--radius--card);
  overflow: hidden;
  position: relative;
}
.store-tile__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.store-tile .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.store-tile .wp-block-cover__inner-container a {
  pointer-events: auto;
}
.store-tile .wp-block-cover__image-background,
.store-tile .wp-block-cover__background {
  transition: transform .5s ease;
}
.store-tile:hover .wp-block-cover__image-background {
  transform: scale(1.04);
}

/* Value props / trust badges: quiet, evenly spaced */
.store-badges .wp-block-column {
  text-align: center;
}
.store-badges p {
  margin: 0;
}
.store-badges .store-badge-title {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}

/* FAQ (core/details) */
.store-faq .wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding: var(--wp--preset--spacing--30) 0;
}
.store-faq .wp-block-details summary {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.store-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.store-faq .wp-block-details summary::after {
  content: "+";
  font-size: 1.4em;
  line-height: 1;
  color: var(--wp--preset--color--body);
  transition: transform .2s ease;
}
.store-faq .wp-block-details[open] summary::after {
  transform: rotate(45deg);
}
.store-faq .wp-block-details > :not(summary) {
  margin-top: var(--wp--preset--spacing--20);
}

/* Carousel rows (.store-carousel): one row, 4 cards visible on desktop, swipe / arrows for the rest */
.store-carousel {
  position: relative;
}
.store-carousel .store-carousel__track ul.wc-block-grid__products,
.store-carousel .store-carousel__track > .wp-block-columns {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.store-carousel .store-carousel__track ul.wc-block-grid__products::-webkit-scrollbar,
.store-carousel .store-carousel__track > .wp-block-columns::-webkit-scrollbar {
  display: none;
}
.store-carousel .store-carousel__track ul.wc-block-grid__products > li,
.store-carousel .store-carousel__track > .wp-block-columns > .wp-block-column {
  flex: 0 0 calc((100% - 3 * 24px) / 4) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
}
.store-carousel--3 .store-carousel__track > .wp-block-columns > .wp-block-column {
  flex-basis: calc((100% - 2 * 24px) / 3) !important;
}
@media (max-width: 999px) {
  .store-carousel .store-carousel__track ul.wc-block-grid__products > li,
  .store-carousel .store-carousel__track > .wp-block-columns > .wp-block-column {
    flex-basis: calc((100% - 24px) / 2) !important;
  }
}
@media (max-width: 689px) {
  .store-carousel .store-carousel__track ul.wc-block-grid__products > li,
  .store-carousel .store-carousel__track > .wp-block-columns > .wp-block-column {
    flex-basis: 78% !important;
  }
}
.store-carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: var(--wp--preset--spacing--30);
}
.store-carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.store-carousel__btn:disabled {
  opacity: .35;
  cursor: default;
}

/* Product cards inside the carousel: white card like the reference */
.store-carousel ul.wc-block-grid__products > li {
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--card);
  padding: 12px !important;
}
.store-carousel .wc-block-grid__product-title,
.store-carousel .wc-block-grid__product-title a {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  font-weight: 600;
}
.store-carousel .wc-block-grid__product-price {
  color: var(--wp--preset--color--ink);
}

/* Technology cards: image on top, text below */
.store-tech .store-card {
  overflow: hidden;
}
.store-tech .store-card .wp-block-image {
  margin: 0;
}
.store-tech .store-card .wp-block-image img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.store-tech .store-card > :not(.wp-block-image) {
  padding-left: var(--wp--preset--spacing--30);
  padding-right: var(--wp--preset--spacing--30);
}
.store-tech .store-card > :last-child {
  padding-bottom: var(--wp--preset--spacing--30);
}

/* Ambassadors: portrait tiles */
.store-people .wp-block-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

/* Category archives: the category thumbnail is a product photo, not a banner — keep it off the page-title hero */
.tax-product_cat .hero-section[data-type="type-2"] figure {
  display: none;
}

/* Header logo height (wide wordmark logos need a smaller cap on phones). Blocksy reads this variable. */
header [data-id="logo"] .site-logo-container {
  --logo-max-height: 48px;
}
@media (max-width: 999px) {
  header [data-id="logo"] .site-logo-container { --logo-max-height: 40px; }
}
@media (max-width: 689px) {
  header [data-id="logo"] .site-logo-container { --logo-max-height: 26px; }
}

/* Hero: nearly full viewport like the reference (header ≈ 36px announcement + 68px row), flush under the header */
.home .ct-container-full,
.home .ct-container {
  padding-top: 0 !important;
}
.store-hero.wp-block-cover.alignfull {
  min-height: calc(100svh - 104px) !important;
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}
@media (max-width: 689px) {
  .store-hero.wp-block-cover.alignfull {
    min-height: calc(100svh - 92px) !important;
  }
}

/* Hero slider: full-width slides, scroll-snap, dots + arrows from carousel.js */
.store-hero-slider {
  position: relative;
}
.store-hero-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.store-hero-slider__track::-webkit-scrollbar {
  display: none;
}
.store-hero-slider__track > .store-hero-slide {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
}
.store-hero-slider > .store-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .85);
  border: 0;
}
.store-hero-slider > .store-carousel__btn--prev { left: 24px; }
.store-hero-slider > .store-carousel__btn--next { right: 24px; }
.store-hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.store-hero-slider__dots button {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.store-hero-slider__dots button.is-active {
  background: #fff;
}
@media (max-width: 689px) {
  .store-hero-slider > .store-carousel__btn { display: none; }
}
/* Phones: portrait image (slug <hero>-m) at its own 2:3 ratio, text and button centred at the top like the reference */
.store-hero-slide__mobile {
  display: none;
}
@media (max-width: 767px) {
  .store-hero-slide.has-mobile-image.wp-block-cover.alignfull {
    min-height: 0 !important;
    aspect-ratio: 2660 / 4023;
    padding: 40px 20px 24px !important;
    align-items: flex-start;
  }
  .store-hero-slide.has-mobile-image > .wp-block-cover__image-background {
    display: none;
  }
  .store-hero-slide.has-mobile-image > .store-hero-slide__mobile {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .store-hero-slide.has-mobile-image > .wp-block-cover__background {
    background: transparent !important;
  }
  .store-hero-slide .wp-block-cover__inner-container {
    align-self: flex-start;
    text-align: center;
  }
  .store-hero-slide .wp-block-cover__inner-container .wp-block-group {
    justify-content: center;
  }
  .store-hero-slide .wp-block-cover__inner-container h1,
  .store-hero-slide .wp-block-cover__inner-container h2 {
    font-size: 30px;
    line-height: 1.15;
  }
  .store-hero-slide .wp-block-cover__inner-container p {
    font-size: 15px;
  }
  .store-hero-slide .wp-block-buttons {
    justify-content: center;
  }
  .store-hero-slider__dots { bottom: 14px; }
  .store-hero-slider__dots button { background: rgba(15, 23, 32, .25); }
  .store-hero-slider__dots button.is-active { background: var(--wp--preset--color--brand); }
}

/* Product page: description full width under gallery + summary (images stacked, like the reference) */
.store-product-description {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--40);
}
.store-product-description__inner > p,
.store-product-description__inner > h2,
.store-product-description__inner > h3 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.store-product-description__inner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--wp--custom--radius--image);
}
/* Product gallery thumbnails on phones: one scrollable row of small thumbs instead of a 3-up grid */
@media (max-width: 689px) {
  .woocommerce-product-gallery .flexy-pills ol {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar { display: none; }
  .woocommerce-product-gallery .flexy-pills li {
    flex: 0 0 64px !important;
    width: 64px !important;
    max-width: 64px !important;
    margin: 0 !important;
  }
}

/* Product cards: light grey image area like the reference (blocks grid, shop grid, related products) */
.wc-block-grid__product-image,
.products .product .ct-media-container,
.products .product > .ct-image-container,
.products .product .ct-product-image {
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--card);
  overflow: hidden;
}
.wc-block-grid__product-image img,
.products .product .ct-media-container img {
  mix-blend-mode: multiply;
}
.store-carousel ul.wc-block-grid__products > li {
  border: 0;
  padding: 0 !important;
}
.store-carousel ul.wc-block-grid__products > li .wc-block-grid__product-title,
.store-carousel ul.wc-block-grid__products > li .wc-block-grid__product-price,
.store-carousel ul.wc-block-grid__products > li .wp-block-button {
  padding-left: 4px;
  padding-right: 4px;
}

/* Cart / mini-cart line items: WooCommerce falls back to the full description when a product has no short
   description — never render its images or embeds there */
.wc-block-components-product-metadata img,
.wc-block-components-product-metadata iframe,
.wc-block-components-product-metadata figure,
.wc-block-components-product-details img,
.woocommerce-mini-cart img:not(.attachment-woocommerce_thumbnail):not(.wp-post-image),
.ct-cart-item .product-description img {
  display: none !important;
}

/* Cart drawer: right-hand panel, full height, WooCommerce mini-cart inside */
.store-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
}
.store-cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.store-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 32, .45);
  opacity: 0;
  transition: opacity .25s ease;
}
.store-cart-drawer.is-open .store-cart-drawer__backdrop {
  opacity: 1;
}
.store-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--wp--preset--color--base);
  box-shadow: -24px 0 48px -24px rgba(15, 23, 32, .35);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  display: flex;
  flex-direction: column;
}
.store-cart-drawer.is-open .store-cart-drawer__panel {
  transform: none;
}
.store-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.store-cart-drawer__head h2 {
  margin: 0;
  font-size: 1.125rem;
}
.store-cart-drawer__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--wp--preset--color--ink);
  padding: 0 4px;
}
.store-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 24px !important;
  margin: 0 !important;
}
.store-cart-drawer__body .widget_shopping_cart_content,
.store-cart-drawer__body .woocommerce-mini-cart,
.store-cart-drawer__body .woocommerce-mini-cart__total,
.store-cart-drawer__body .woocommerce-mini-cart__buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.store-cart-drawer__body .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
}
.store-cart-drawer__body .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--wp--preset--color--border);
  position: relative;
}
.store-cart-drawer__body .woocommerce-mini-cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--wp--preset--color--surface);
  float: none;
  margin: 0;
}
.store-cart-drawer__body .woocommerce-mini-cart-item a:not(.remove) {
  color: var(--wp--preset--color--ink);
  font-weight: 600;
  text-decoration: none;
}
.store-cart-drawer__body .woocommerce-mini-cart-item .remove {
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 18px;
  color: var(--wp--preset--color--body);
}
.store-cart-drawer__body .quantity {
  display: block;
  color: var(--wp--preset--color--body);
  font-size: .875rem;
  margin-top: 4px;
}
.store-cart-drawer__body .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 8px;
  font-weight: 600;
}
.store-cart-drawer__body .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
}
.store-cart-drawer__body .woocommerce-mini-cart__buttons .button {
  display: block;
  text-align: center;
  padding: 14px;
}
.store-cart-drawer__body .woocommerce-mini-cart__buttons .checkout {
  background: var(--wp--preset--color--brand);
  color: #fff;
  order: -1;
}
.store-cart-drawer__body .woocommerce-mini-cart__empty-message {
  text-align: center;
  color: var(--wp--preset--color--body);
  padding: 40px 0;
}
.store-cart-drawer-open body {
  overflow: hidden;
}

/* Footer link columns (Blocksy widget areas with Navigation Menu widgets) */
footer.ct-footer [data-row="middle"] {
  padding-top: 64px;
  padding-bottom: 36px;
}
footer.ct-footer [data-row="middle"] > .ct-container {
  justify-content: center;
  gap: 48px;
}
footer.ct-footer [data-row="middle"] .widget-title {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #171717;
  margin-bottom: 12px;
}
footer.ct-footer [data-row="middle"] .widget_nav_menu li a {
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #a3a3a3;
  line-height: 2.25;
}
footer.ct-footer [data-row="middle"] .widget_nav_menu li a:hover {
  color: #171717;
}

/* Mega menu: a top-level item with the "mega" class opens a full-width panel; its children are column headings,
   their children the links. Blocksy still handles hover/focus open state and the mobile off-canvas (unchanged). */
@media (min-width: 1000px) {
  header [data-row="middle"] .ct-container,
  header [data-row="middle"] .ct-container-fluid {
    position: relative;
  }
  header [data-id="menu"] > ul > li.mega {
    position: static;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    --dropdown-width: 100%;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: clamp(32px, 5vw, 80px);
    padding: 32px 40px 36px !important;
    background: var(--wp--preset--color--base) !important;
    --dropdown-background-color: var(--wp--preset--color--base);
    border-top: 1px solid var(--wp--preset--color--border);
    border-radius: 0 0 var(--wp--custom--radius--card) var(--wp--custom--radius--card);
    box-shadow: 0 24px 48px -24px rgba(15, 23, 32, .25);
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li {
    position: static;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    min-width: 160px;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--body) !important;
    pointer-events: none;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--wp--preset--color--border);
    margin-bottom: 8px;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > a .ct-toggle-dropdown-desktop,
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > a .ct-icon,
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .ct-toggle-dropdown-desktop-ghost {
    display: none !important;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    background: transparent !important;
    pointer-events: auto !important;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu > li {
    display: block;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu > li > a {
    padding: 7px 0 !important;
    font-size: 14px;
    color: var(--wp--preset--color--ink) !important;
    background: transparent !important;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu > li > a:hover {
    color: var(--wp--preset--color--brand) !important;
  }
}

/* Sale badge: lime pill, same green as the source tags. */
.ct-woo-badge-sale,
.wc-block-grid__product-onsale,
span.onsale {
  background: #9ECD30 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4 !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

/* Product cards (blocks grid + Blocksy grid): no link underline on titles */
.wc-block-grid__product-link,
.wc-block-grid__product-title a,
.wc-block-grid__product-title,
.products .woocommerce-loop-product__title a,
.products .woocommerce-loop-product__title {
  text-decoration: none !important;
}
.wc-block-grid__product-link:hover,
.wc-block-grid__product-link:focus {
  text-decoration: none !important;
}

/* Product page gallery: square main image like the reference (product photos are 1:1) */
.woocommerce-product-gallery .flexy-pills li {
  aspect-ratio: 1 / 1;
}
.woocommerce-product-gallery .flexy-items img,
.woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile: 4-up sections become 2×2 grids instead of a long single column */
@media (max-width: 781px) {
  .store-grid-2.wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }
  .store-grid-2.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: auto !important;
    margin: 0 !important;
  }
  .store-grid-2 .store-tile.wp-block-cover {
    min-height: 240px !important;
    padding: var(--wp--preset--spacing--30) !important;
  }
  .store-grid-2 .store-tile p.has-small-font-size {
    display: none;
  }
  .store-badges .store-grid-2 .wp-block-column {
    text-align: left;
  }
  .store-tech .store-card h3,
  .store-people h3 {
    font-size: 1rem;
  }
  .store-tech .store-card > :not(.wp-block-image) {
    padding-left: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--20);
  }
}

/* Cart / checkout (WooCommerce blocks): centred 1120px, two equal columns, order summary as a quiet card — like a
   Shopify checkout. Below the "is-large" breakpoint the blocks stack on their own. */
.woocommerce-checkout .hero-section,
.woocommerce-cart .hero-section {
  display: none;
}
.woocommerce-checkout .entry-content,
.woocommerce-cart .entry-content {
  padding-top: var(--wp--preset--spacing--50);
}
.wc-block-components-sidebar-layout.is-large.wc-block-checkout,
.wc-block-components-sidebar-layout.is-large.wc-block-cart {
  max-width: 1120px;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: flex-start;
}
.wc-block-components-sidebar-layout.is-large .wc-block-components-main {
  width: 50% !important;
  flex: 0 0 50%;
  padding-right: 48px !important;
  padding-left: 0 !important;
  box-sizing: border-box;
}
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
  width: 50% !important;
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 32px !important;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--card);
  position: sticky;
  top: 24px;
}
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  background: transparent;
}

/* Buttons: consistent radius across core buttons and WooCommerce buttons */
.wp-block-button__link,
.wc-block-components-button,
.button,
button.single_add_to_cart_button {
  border-radius: var(--wp--custom--radius--button);
}

/* Archive cards: the importer attaches every source collection, including catch-alls. The source card does not list them. */
.woocommerce ul.products .entry-meta { display: none; }
.woocommerce ul.products li.product .ct-media-container,
.woocommerce ul.products li.product .ct-image-container,
.wc-block-grid__product-image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding-top: 0 !important;
}
.woocommerce ul.products li.product .ct-media-container img,
.woocommerce ul.products li.product .ct-image-container img,
.wc-block-grid__product-image img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center;
}

/* Product page. Desktop is a two-column buy box. Phones stack the gallery, then the title,
   and keep Add to cart in a bar. Story images can differ by breakpoint via <picture>. */
.single-product .product_meta,
.single-product .posted_in,
.single-product .tagged_as { display: none !important; }
.single-product div.product {
  align-items: start;
}
.single-product .price del { color: #8a8a8a; font-weight: 500; }
.single-product .price ins { text-decoration: none; color: #171717; font-weight: 600; }
/* Product page gallery: one main slide, thumbnails in a single scrolling row.
   Do not restyle .flexy-items — Blocksy sizes the main image from that track. */
.single-product .woocommerce-product-gallery { overflow: visible !important; }
.single-product .flexy-pills {
  height: auto !important;
  margin-top: 0;
  overflow: visible !important;
}
.sharge-thumbs {
  position: relative;
  margin-top: 12px;
}
.sharge-thumbs__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  height: 112px;
  padding: 2px 0 12px;
}
.sharge-thumbs__scroller::-webkit-scrollbar { display: none; height: 0; }
.sharge-thumbs__btn {
  position: absolute;
  top: 40px;
  z-index: 3;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #171717;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
  cursor: pointer;
  font-size: 20px;
  line-height: 28px;
}
.sharge-thumbs__prev { left: -8px; }
.sharge-thumbs__next { right: -8px; }
.sharge-thumbs__btn[hidden] { display: none; }
.single-product .ct-product-gallery-container .flexy-view {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  width: 100% !important;
}
.single-product .ct-product-gallery-container .flexy-item .ct-media-container,
.single-product .ct-product-gallery-container .flexy-item img {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.single-product .flexy-pills ol {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  gap: 8px;
  height: 90px !important;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.single-product .flexy-pills li {
  flex: 0 0 90px !important;
  width: 90px !important;
  max-width: none !important;
  height: 90px !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
  box-sizing: border-box;
}
.single-product .flexy-pills li img,
.single-product .flexy-pills .ct-media-container {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 9px;
  background: #fff;
}
/* Buy box: option pills, photo color swatches, quantity capsule. Left edges share one column. */
.single-product table.variations { width: 100%; margin: 0 0 4px; }
.single-product table.variations th.label,
.single-product table.variations td.value { display: block; width: 100%; padding: 0; text-align: left; }
.single-product table.variations th.label {
  padding: 18px 0 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #171717;
}
.single-product .woo-selected-variation-item-name { font-weight: 500; }
.single-product .reset_variations { display: none !important; }
.single-product .variable-items-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .button-variable-item {
  width: auto !important;
  height: 46px !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 5px !important;
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.1) !important;
  color: #171717 !important;
}
.single-product .button-variable-item .variable-item-span {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}
.single-product .button-variable-item.selected {
  box-shadow: 0 0 0 2px #171717 !important;
}
.single-product ul[data-attribute_name="attribute_option"] .variable-item.disabled::before,
.single-product ul[data-attribute_name="attribute_option"] .variable-item.disabled::after,
.single-product ul[data-attribute_name="attribute_option"] .variable-item.disabled .variable-item-contents::before,
.single-product ul[data-attribute_name="attribute_option"] .variable-item.disabled .variable-item-contents::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.single-product ul[data-attribute_name="attribute_pa_color"] .button-variable-item {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px;
  min-height: 64px !important;
  padding: 0 !important;
  background-color: #fafafa !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item::before,
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item::after {
  content: none !important;
  display: none !important;
}
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item-span { font-size: 0 !important; }
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item.selected {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #171717 !important;
}
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item.disabled {
  box-shadow: 0 0 0 1px #fecaca !important;
}
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item.disabled .variable-item-contents {
  position: relative;
}
.single-product ul[data-attribute_name="attribute_pa_color"] .variable-item.disabled .variable-item-contents::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), #fecaca calc(50% - 1px), #fecaca calc(50% + 1px), transparent calc(50% + 1px));
  pointer-events: none;
}
.single-product .ct-cart-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 16px !important;
  width: 100%;
  position: relative;
  margin-top: 8px;
  padding-top: 30px;
}
.single-product .ct-cart-actions::before {
  content: "Quantity";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #171717;
}
.single-product .ct-cart-actions .quantity {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  width: 142px !important;
  height: 52px !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid rgba(23, 23, 23, 0.1) !important;
  border-radius: 60px !important;
  background: #fff !important;
  box-sizing: border-box;
}
.single-product .ct-cart-actions .quantity .ct-increase,
.single-product .ct-cart-actions .quantity .ct-decrease {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  transform: none !important;
  cursor: pointer;
}
.single-product .ct-cart-actions .quantity .ct-decrease { order: 1; }
.single-product .ct-cart-actions .quantity .qty { order: 2; }
.single-product .ct-cart-actions .quantity .ct-increase { order: 3; }
.single-product .ct-cart-actions .quantity .ct-increase::before,
.single-product .ct-cart-actions .quantity .ct-decrease::before {
  content: "" !important;
  display: block;
  width: 8px;
  height: 8px;
  border: 0 !important;
  border-bottom: 2px solid #171717 !important;
  background: none !important;
  font-size: 0 !important;
}
.single-product .ct-cart-actions .quantity .ct-decrease::before {
  border-left: 2px solid #171717 !important;
  transform: rotate(45deg);
}
.single-product .ct-cart-actions .quantity .ct-increase::before {
  border-right: 2px solid #171717 !important;
  transform: rotate(-45deg);
}
.single-product .ct-cart-actions .quantity .qty {
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 16px !important;
  font-weight: 500;
  color: #171717;
  -moz-appearance: textfield;
  appearance: textfield;
}
.single-product .ct-cart-actions .quantity .qty::-webkit-outer-spin-button,
.single-product .ct-cart-actions .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single-product .ct-cart-actions .single_add_to_cart_button {
  width: 100% !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
}
.single-product .single_add_to_cart_button,
.single-product .sharge-sticky-atc__btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button,
.wc-block-components-button {
  border-radius: 999px !important;
  background: #171717 !important;
  color: #fff !important;
  border-color: #171717 !important;
}
.onsale,
.ct-woo-badge,
.ct-woo-badge-sale {
  background: #9ECD30 !important;
  color: #fff !important;
}
#header [data-id="menu"] a,
#header [data-id="menu"] a span,
#header [data-id="menu"] .ct-menu-link {
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #171717;
}
#header [data-id="menu"] .sub-menu a:hover { background: #9ECD30; color: #fff; }
.sharge-stage { position: relative; width: 100%; }
.sharge-stage > img {
  position: absolute;
  display: block;
  object-fit: fill;
  max-width: none;
}
.sharge-tile { position: relative; }
.sharge-copy {
  position: absolute;
  z-index: 2;
  color: #171717;
  pointer-events: none;
}
.sharge-copy strong {
  display: block;
  font-weight: 600;
  font-size: clamp(13px, 1.7vw, 24px);
  line-height: 1.2;
}
.sharge-copy span {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: clamp(11px, 1.15vw, 16px);
  line-height: 1.35;
}
.sharge-copy.is-center { text-align: center; }
.sharge-copy.is-light,
.sharge-copy.is-light strong,
.sharge-copy.is-light span { color: #fff; }
.sharge-tile > img,
.sharge-tile picture,
.sharge-tile picture img { display: block; width: 100%; height: auto; }
.store-product-description:has(.sharge-pdp-story) { max-width: 1300px; padding-left: 20px; padding-right: 20px; }
.sharge-pdp-story { max-width: 1300px; margin: 48px auto; padding: 0 20px; }
.sharge-pdp-block { margin: 0 0 28px; }
.sharge-pdp-block h2 { font-size: 40px; letter-spacing: -0.03em; line-height: 1.15; margin: 28px 0 12px; text-align: center; }
.sharge-pdp-block p { margin: 0 auto 8px; max-width: 720px; text-align: center; color: #333; }
.sharge-cols__grid {
  display: grid;
  grid-template-columns: 358fr 559fr 358fr;
  gap: 12px;
  align-items: start;
}
.sharge-cols__grid img,
.sharge-row img,
.sharge-stack img,
.sharge-feat-m img,
.sharge-compare img,
.sharge-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.sharge-cols__grid > div > img + img { margin-top: 12px; }
.sharge-row { display: flex; gap: 12px; margin-top: 12px; }
.sharge-row > * { min-width: 0; }
.sharge-row .w425 { flex: 425 1 0; }
.sharge-row .w853 { flex: 853 1 0; }
.sharge-row .w845 { flex: 845 1 0; }
.sharge-row .w439 { flex: 439 1 0; }
.sharge-row .w858 { flex: 858 1 0; }
.sharge-row .w207 { flex: 207 1 0; }
.sharge-row .w133 { flex: 133 1 0; }
.sharge-full { margin-top: 0; }
div.is-mob { display: none; }
.sharge-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}
.sharge-bleed__copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 14%;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.sharge-bleed__copy h2,
.sharge-bleed__copy p { color: #fff; }
.sharge-slider { position: relative; }
.sharge-slider__slide[hidden] { display: none !important; }
.sharge-slider img { width: 100%; height: auto; display: block; border-radius: 20px; }
.sharge-slider__prev,
.sharge-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.sharge-slider__prev { left: 12px; }
.sharge-slider__next { right: 12px; }
.sharge-compare__grid figure { margin: 0; text-align: left; }
.sharge-compare__grid h3 { margin: 16px 0 8px; font-size: 18px; }
.sharge-compare__grid ul { margin: 0; padding-left: 18px; }
.sharge-compare__grid li { margin: 4px 0; }
.sharge-feat-m {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sharge-feat-m .span { grid-column: 1 / -1; }
.sharge-feat-m span { display: flex; flex-direction: column; gap: 10px; }
.sharge-split { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 12px; }
.sharge-split--flip { grid-template-columns: 1fr 2fr; }
.sharge-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sharge-stack img { margin-top: 12px; border-radius: 0; }
.sharge-video-block video {
  width: 100%;
  border-radius: 16px;
  background: #000;
  margin-top: 16px;
  pointer-events: none;
  display: block;
}
.sharge-bleed video { border-radius: 0; margin-top: 0; }
.sharge-video-block video::-webkit-media-controls,
.sharge-video-block video::-webkit-media-controls-enclosure { display: none !important; }
.sharge-video-block video.is-mob { display: none; }
.sharge-compare__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sharge-specs dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; max-width: 760px; margin: 0 auto; }
.sharge-specs dt { font-weight: 600; }
.sharge-specs dd { margin: 0; }
.sharge-faq details { border-bottom: 1px solid #e6e6e6; padding: 14px 0; max-width: 760px; margin: 0 auto; }
.sharge-faq summary { cursor: pointer; font-weight: 600; }
.sharge-pdp-block > img,
.sharge-pdp-block > video {
  width: 100%;
  height: auto;
  display: block;
}
.sharge-pdp-block > video {
  pointer-events: none;
  background: #000;
  border-radius: 16px;
}
.sharge-pdp-block img,
.sharge-pdp-block picture { border-radius: 0; }
.sharge-sticky-atc { display: none; }
@media (max-width: 767px) {
  .single-product ul[data-attribute_name="attribute_pa_color"] .button-variable-item {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px !important;
  }
  .single-product .ct-cart-actions .quantity { width: 130px !important; }
  .single-product .ct-cart-actions .single_add_to_cart_button {
    height: 50px !important;
    min-height: 50px !important;
  }
  .single-product div.product { display: block; }
  .single-product .product_title { font-size: 22px; line-height: 1.25; }
  .sharge-sticky-atc {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e6e6e6;
  }
  .sharge-sticky-atc__btn { border: 0; padding: 12px 20px; font: inherit; cursor: pointer; }
  .single-product { padding-bottom: 72px; }
  .is-desk { display: none !important; }
  div.is-mob { display: block !important; }
  .sharge-feat-m.is-mob { display: grid !important; }
  .sharge-split, .sharge-split--flip, .sharge-duo, .sharge-compare__grid { grid-template-columns: 1fr; }
  .sharge-specs dl { grid-template-columns: 1fr; }
  .sharge-video-block video.is-desk { display: none; }
  .sharge-video-block video.is-mob { display: block; }
  .sharge-pdp-block h2 { font-size: 24px; font-weight: 600; }
  .sharge-pdp-block p { font-size: 14px; line-height: 1.5; }
  .sharge-copy.is-mob-top {
    left: 8% !important;
    right: auto !important;
    top: 6% !important;
    width: 84% !important;
    text-align: center;
  }
  .sharge-copy.is-mob-top strong { font-size: 22px; font-weight: 600; }
  .sharge-copy.is-mob-top span { font-size: 12.5px; font-weight: 400; }
  .sharge-copy.is-mob-ink,
  .sharge-copy.is-mob-ink strong { color: #171717 !important; }
  .sharge-copy.is-mob-ink span { color: #999 !important; }
  div.is-mob.sharge-mosaic {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sharge-mosaic .is-wide { grid-column: 1 / -1; }
  .sharge-mosaic figure {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .sharge-mosaic img { display: block; width: 100%; height: auto; }
  .sharge-mosaic figcaption {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    color: #171717;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
  }
  .sharge-mosaic figcaption span {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.35;
  }
  .sharge-mosaic .is-center { text-align: center; }
  .sharge-mosaic .is-light,
  .sharge-mosaic .is-light strong { color: #fff; }
  .sharge-mosaic__stack { display: flex; flex-direction: column; gap: 10px; }
}

/* Product grid: tighter, Shopify-like spacing on mobile */
@media (max-width: 689px) {
  .products[data-products] {
    --grid-columns-gap: 12px;
  }
}

/* ------------------------------------------------------------------
   SHARGE storefront. Header floats over the hero. No countdown bar.
   Desktop and phone hero images are separate files, each at its own ratio.
   ------------------------------------------------------------------ */
body { font-weight: 500; }

#header [data-row="top"] { display: none !important; }
#header { background: transparent !important; }
.home #header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
}
#header [data-row="middle"] { background: transparent !important; }
#header [data-row="middle"] > .ct-container {
  background: #fff;
  border-radius: 32px;
  margin-top: 12px;
  margin-bottom: 8px;
  min-height: 56px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  padding-left: 24px !important;
  padding-right: 24px !important;
}
#header [data-id="cart"] .ct-label { display: none !important; }
#header [data-id="search"],
#header [data-id="search"] .ct-icon,
#header [data-id="account"] .ct-icon,
#header [data-id="cart"] svg,
#header [data-id="trigger"] .ct-icon {
  width: 24px !important;
  height: 24px !important;
}
#header [data-id="logo"] a { display: flex; align-items: center; }
#header sharge-animated-logo { width: 146px; height: 32px; }
.home #main,
.home .site-main { padding-top: 0; }

.store-hero-slider__track > .sharge-hero__slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
}
.sharge-hero__media { display: block; }
.sharge-hero__desk,
.sharge-hero__mob { width: 100%; height: auto; display: block; }
.sharge-hero__mob { display: none; }
.sharge-hero__btn {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  border-radius: 32px;
  padding: 12px 28px;
  font-weight: 500;
  text-decoration: none;
  z-index: 2;
}
@media (max-width: 767px) {
  .sharge-hero__desk { display: none; }
  .sharge-hero__mob { display: block; }
  .sharge-hero__btn { bottom: 6%; padding: 10px 22px; }
}

.sharge-band { padding: 56px 24px; max-width: 1290px; margin: 0 auto; }
.sharge-band h2 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 28px;
  text-align: center;
}
.sharge-picks__row,
.sharge-tabs__panel,
.sharge-blog__row,
.sharge-why__grid,
.sharge-featured__row {
  display: grid;
  gap: 20px;
}
.sharge-picks__row,
.sharge-tabs__panel.is-on { grid-template-columns: repeat(3, 1fr); }
.sharge-picks__slider,
.sharge-picks__dots { display: none; }
.sharge-tabs__panel { display: none; }
.sharge-tabs__panel.is-on { display: grid; }
.sharge-tabs__nav { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; justify-content: center; scrollbar-width: none; }
.sharge-tabs__nav::-webkit-scrollbar { display: none; }
.sharge-tabs__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font: inherit;
  color: #171717;
}
.sharge-tabs__btn.is-on { background: #9ECD30; color: #fff; }
.sharge-card { display: flex; flex-direction: column; gap: 8px; }
.sharge-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f3f3;
  line-height: 0;
}
.sharge-card__media img { width: 100%; height: 100%; object-fit: contain; }
.sharge-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: #9ECD30;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 8px;
}
.sharge-card__swatches { display: flex; gap: 8px; min-height: 28px; }
.sharge-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  padding: 0;
  background: #fff center / cover no-repeat;
  cursor: pointer;
}
.sharge-swatch.is-on { border-color: #171717; }
.sharge-card h3 { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.3; }
.sharge-card h3 a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sharge-card__sub { margin: 0; color: #666; font-size: 13px; line-height: 1.4; }
.sharge-card__price del { color: #8a8a8a; margin-right: 6px; }
.sharge-card__price ins { text-decoration: none; color: #171717; font-weight: 600; }
.sharge-card__btn {
  align-self: flex-start;
  margin-top: auto;
  border-radius: 32px;
  background: #171717;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
}
.sharge-featured__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}
.sharge-featured__card {
  margin: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 24px;
  align-items: center;
  justify-items: start;
  min-height: 360px;
  padding: 28px 20px;
  background: #f5f5f5;
  border-radius: 24px;
}
.sharge-featured__card img {
  grid-row: 1;
  grid-column: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.sharge-featured__card figcaption {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.sharge-featured__card blockquote {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}
.sharge-quotes__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.sharge-quotes__track::-webkit-scrollbar { display: none; }
.sharge-quotes__card {
  flex: 0 0 min(360px, 80vw);
  margin: 0;
  padding: 0;
  border: 0;
  scroll-snap-align: start;
  background: #f5f5f5;
  border-radius: 16px;
  padding: 24px;
}
.sharge-blog__head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sharge-blog__head a { color: inherit; font-weight: 500; }
.sharge-blog__row { grid-template-columns: repeat(3, 1fr); }
.sharge-blog__card { color: inherit; text-decoration: none; }
.sharge-blog__card img { width: 100%; height: auto; border-radius: 16px; }
.sharge-blog__card time { display: block; margin-top: 12px; color: #666; font-size: 13px; }
.sharge-blog__card h3 { font-size: 18px; margin: 6px 0 0; }
.sharge-why__list { display: flex; flex-direction: column; gap: 12px; }
.sharge-why__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 72px;
  padding: 16px 48px 16px 16px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fafafa;
  color: #a3a3a3;
  text-align: left;
  cursor: pointer;
  transition: height .3s ease;
}
.sharge-why__item.is-on {
  height: 240px;
  justify-content: flex-start;
  color: #fff;
  background: #111 var(--sharge-why-img) center / cover no-repeat;
}
.sharge-why__title { position: relative; z-index: 1; font-size: 18px; font-weight: 600; line-height: 1; }
.sharge-why__text { display: none; position: relative; z-index: 1; margin-top: 12px; font-size: 12px; font-weight: 500; line-height: 1.45; color: #dedddb; }
.sharge-why__item.is-on .sharge-why__text { display: block; }
.sharge-why__toggle {
  display: flex;
  position: absolute;
  z-index: 2;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #9ECD30;
}
.sharge-why__item.is-on .sharge-why__toggle { top: 24px; margin-top: 0; }
.sharge-why__item.is-on .sharge-why__toggle svg { transform: rotate(90deg); }
.sharge-why__toggle svg { width: 14px; height: 14px; }
.sharge-video__frame { position: relative; border-radius: 16px; overflow: hidden; background: #000; }
.sharge-video__frame video { display: block; width: 100%; height: auto; border-radius: 0; background: #000; pointer-events: none; }
.sharge-video__toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  color: #171717;
  cursor: pointer;
}
.sharge-video__toggle svg { display: none; }
.sharge-video__toggle::before,
.sharge-video__toggle::after {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: #171717;
}
.sharge-video__toggle.is-paused { gap: 0; }
.sharge-video__toggle.is-paused::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #171717;
  border-radius: 0;
  background: none;
}
.sharge-video__toggle.is-paused::after { display: none; }
@media (min-width: 768px) {
  .sharge-why__item { height: 180px; padding: 28px 64px; color: #6d6d6d; }
  .sharge-why__item.is-on { height: 300px; }
  .sharge-why__title { font-size: 36px; }
  .sharge-why__item.is-on .sharge-why__text { font-size: 20px; color: #c4c4c4; }
  .sharge-why__toggle { display: none; }
}
@media (max-width: 767px) {
  .sharge-band { padding: 36px 16px; }
  .sharge-band h2 { font-size: 24px; margin-bottom: 16px; }
  .sharge-blog__row { grid-template-columns: 1fr; }
  .sharge-picks__row { display: none; }
  .sharge-picks__slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 16px;
  }
  .sharge-picks__slider::-webkit-scrollbar { display: none; }
  .sharge-pick-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .sharge-pick-slide__bg { display: block; width: 100%; height: auto; }
  .sharge-pick-slide__card {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 16px;
    color: #171717;
    text-decoration: none;
  }
  .sharge-pick-slide__card img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    border-radius: 10px;
    background: #f5f5f5;
  }
  .sharge-pick-slide__card strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
  .sharge-pick-slide__card em { display: block; margin-top: 4px; color: #8a8a8a; font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.35; }
  .sharge-pick-slide__card b { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
  .sharge-pick-slide__card del { margin-left: 6px; color: #8a8a8a; font-weight: 500; }
  .sharge-pick-slide__card ins { text-decoration: none; }
  .sharge-picks__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .sharge-picks__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d0d0d0;
  }
  .sharge-picks__dot.is-on { background: #8a8a8a; }
  .sharge-tabs__nav {
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ececec;
  }
  .sharge-tabs__btn {
    padding: 0 0 8px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: transparent;
    white-space: nowrap;
  }
  .sharge-tabs__btn.is-on {
    background: transparent;
    color: #abcd03;
    box-shadow: inset 0 -2px 0 #abcd03;
  }
  .sharge-tabs__panel.is-on {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .sharge-tabs__panel.is-on::-webkit-scrollbar { display: none; }
  .sharge-tabs__panel.is-on .sharge-card { flex: 0 0 78%; scroll-snap-align: start; }
  .sharge-featured__row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .sharge-featured__row::-webkit-scrollbar { display: none; }
  .sharge-featured__card {
    flex: 0 0 280px;
    min-height: 278px;
    scroll-snap-align: start;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 12px;
    padding: 48px 24px;
    border-radius: 12px;
  }
  .sharge-featured__card img { width: 36px; height: 36px; }
  .sharge-featured__card figcaption { font-size: 20px; font-weight: 600; }
  .sharge-featured__card blockquote { font-size: 16px; }
  footer.ct-footer [data-row="middle"] { padding-top: 40px; padding-bottom: 28px; }
  footer.ct-footer [data-row="middle"] > .ct-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    align-items: start;
    justify-content: stretch;
    text-align: left;
  }
  footer.ct-footer [data-row="middle"] .widget-title,
  footer.ct-footer [data-row="middle"] .widget_nav_menu li a { text-align: left; }
}

.sharge-mega { display: none; }

@media (min-width: 1000px) {
  #header [data-id="menu"] > ul > li.sharge-has-mega { position: static; }
  #header [data-id="menu"] > ul > li.sharge-has-mega > .sub-menu { display: none !important; }
  .sharge-mega {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 14px);
    z-index: 50;
    gap: 28px;
    padding: 22px 28px 28px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, .12);
  }
  .sharge-mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 18px;
  }
  #header [data-id="menu"] > ul > li.sharge-has-mega:hover > .sharge-mega,
  #header [data-id="menu"] > ul > li.sharge-has-mega.is-open > .sharge-mega,
  #header [data-id="menu"] > ul > li.sharge-has-mega:focus-within > .sharge-mega {
    display: flex;
  }
  .sharge-mega__nav { width: 210px; flex: none; }
  .sharge-mega__group { margin: 0 0 18px; }
  .sharge-mega__heading {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #171717;
  }
  .sharge-mega__item {
    display: block;
    width: 100%;
    margin: 2px 0;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #171717;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
  }
  .sharge-mega__item.is-on { background: #9ECD30; color: #fff; font-weight: 600; }
  .sharge-mega__boards { flex: 1; min-width: 0; }
  .sharge-mega__panel { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .sharge-mega__panel.is-on { display: grid; }
  .sharge-mega__card {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 96px;
    padding: 12px;
    background: #f3f3f3;
    border-radius: 16px;
    color: #171717;
    text-decoration: none;
  }
  .sharge-mega__card img { width: 72px; height: 72px; object-fit: contain; flex: none; }
  .sharge-mega__card strong { display: block; font-size: 15px; line-height: 1.25; }
  .sharge-mega__card small { display: block; margin-top: 4px; color: #444; font-size: 12px; line-height: 1.35; }
  .sharge-mega__badge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #9ECD30;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
}

/* Phone menu: full-screen drill-down, matching the source drawer. Desktop mega stays hidden. */
@media (max-width: 999px) {
  #offcanvas.ct-panel,
  #offcanvas.ct-panel.active {
    width: 100vw !important;
    max-width: none !important;
  }
  #offcanvas .ct-panel-inner {
    width: 100% !important;
    max-width: none !important;
    background: #f3f3f3 !important;
    color: #171717 !important;
  }
  #offcanvas .ct-panel-actions,
  #offcanvas .ct-panel-actions button,
  #offcanvas .ct-toggle-close {
    color: #171717 !important;
  }
  #offcanvas .ct-panel-actions svg {
    fill: #171717 !important;
    stroke: #171717 !important;
  }
  #offcanvas .mobile-menu > ul { display: none !important; }
  #offcanvas .ct-panel-content { overflow: auto; }
  .sharge-mnav { font-family: Poppins, sans-serif; color: #171717; }
  .sharge-mnav__view { display: none; }
  .sharge-mnav__view.is-on { display: block; }
  .sharge-mnav__back {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
  }
  .sharge-mnav__back i {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    font-style: normal;
  }
  .sharge-mnav__back i::before {
    content: "";
    width: 8px;
    height: 8px;
    border-left: 2px solid #171717;
    border-bottom: 2px solid #171717;
    transform: rotate(45deg);
    margin-left: 3px;
  }
  .sharge-mnav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0 0 10px;
    padding: 14px 16px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
  }
  .sharge-mnav__badge {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #9ECD30;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    vertical-align: middle;
  }
  button.sharge-mnav__row::after,
  .sharge-mnav__acc > .sharge-mnav__row::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    flex: none;
  }
  .sharge-mnav__view[data-view="root"] > .sharge-mnav__row::after { display: none; }
  .sharge-mnav__acc.is-on > .sharge-mnav__row {
    background: #9ECD30;
    color: #fff;
  }
  .sharge-mnav__acc.is-on > .sharge-mnav__row::after { transform: rotate(45deg); margin-bottom: 4px; }
  .sharge-mnav__body { display: none; }
  .sharge-mnav__acc.is-on > .sharge-mnav__body { display: block; padding-bottom: 8px; }
  .sharge-mnav .sharge-mega__card {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 8px 0;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
    color: #171717;
    text-decoration: none;
  }
  .sharge-mnav .sharge-mega__card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex: none;
    border-radius: 8px;
    background: #f5f5f5;
  }
  .sharge-mnav .sharge-mega__card > span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }
  .sharge-mnav .sharge-mega__card strong {
    display: inline;
    order: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
  }
  .sharge-mnav .sharge-mega__card small {
    display: block;
    order: 3;
    flex-basis: 100%;
    margin-top: 2px;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
  }
  .sharge-mnav .sharge-mega__badge {
    display: inline-block;
    order: 2;
    margin: 0;
    padding: 1px 6px;
    border-radius: 999px;
    background: #9ECD30;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
  }
}

