/* atiie-banner-elementor.css */
/* ATIIE 4.3.2 — artwork variety, safe campaign photography, Elementor control parity.
 * The main posters are 720×1080 desktop / 360×540 mobile, so the product in each
 * photo keeps its intended proportions. Titles and CTAs are live HTML.
 * The Elementor controls are passed through CSS variables on each .mk-module. */
@layer marketkit-storefront {
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo {
    border-radius: var(--mk432-radius-desktop, 18px) !important;
    overflow: hidden !important;
    background-color: #f3f8f8 !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo > .mk36-campaign-media,
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo > .mk36-campaign-media :is(picture, img) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk36-campaign-media img {
    object-fit: var(--mk432-poster-fit, cover) !important;
    object-position: var(--mk432-focus-desktop, center center) !important;
    max-width: 100% !important;
    transform: none !important;
    filter: none !important;
  }
  /* Compact slider advertisements should visually fill their small frame.
     Use dedicated side-fit variables when available, otherwise crop gently from the centre-bottom. */
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns :is(.mk-art-side-slide.mk37-photo, .mk-art-side-bottom.mk37-photo) {
    overflow: hidden !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns :is(.mk-art-side-slide.mk37-photo, .mk-art-side-bottom.mk37-photo) .mk36-campaign-media,
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns :is(.mk-art-side-slide.mk37-photo, .mk-art-side-bottom.mk37-photo) .mk36-campaign-media :is(picture, img) {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk37-photo .mk36-campaign-media img,
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-bottom.mk37-photo .mk36-campaign-media img {
    object-fit: var(--mk432-side-fit, cover) !important;
    object-position: var(--mk432-side-focus-desktop, center bottom) !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk36-tone-green {background: #174c49 !important;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk36-tone-yellow {background: #ffd565 !important;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk36-tone-berry {background: #0a8094 !important;}

  /* Distinct complementary colors per department, not four teal panels. */
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo:has(img[src*="banner-fashion"]) {background: #bb90b4 !important; --mk37-ink: #173f47; --mk37-button: #087c82; --mk37-button-ink: #fff;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo:has(img[src*="banner-home"]) {background: #f6c9a7 !important; --mk37-ink: #194650; --mk37-button: #087c82; --mk37-button-ink: #fff;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo:has(img[src*="banner-mobiles"]) {background: #162f4e !important; --mk37-ink: #fff; --mk37-button: #f7ba42; --mk37-button-ink: #153744;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo:has(img[src*="banner-beauty"]) {background: #9e5062 !important; --mk37-ink: #fff; --mk37-button: #ffdf9b; --mk37-button-ink: #583241;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo:has(img[src*="banner-gaming"]) {background: #153e79 !important;}
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk37-campaign-content > strong {
    color: var(--mk432-title-ink, var(--mk37-ink, inherit)) !important;
    text-shadow: none !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk37-campaign-label {
    color: var(--mk432-title-ink, var(--mk37-ink, inherit)) !important;
    text-shadow: none !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk37-campaign-action {
    color: var(--mk432-cta-ink, var(--mk37-button-ink, #fff)) !important;
    background: var(--mk432-cta-bg, var(--mk37-button, #087c82)) !important;
  }
  /* Fashion poster was previously tagged "navy" and hard-coded to white text.
     The updated lilac artwork needs the darker foreground. */
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo:has(img[src*="banner-fashion"]) > .mk37-campaign-content {color: var(--mk432-title-ink, #173f47) !important;}

  /* Shop / product controls activate ONLY when their Elementor widget saved
     the corresponding CSS variable. This does not change ordinary pages. */
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk-module[style*="--mk432-gallery-bg"] .mk-gallery-stage {
    background-color: var(--mk432-gallery-bg) !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk-module[style*="--mk432-gallery-fit"] .mk-gallery-stage > img.mk-gallery-main {
    object-fit: var(--mk432-gallery-fit) !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk-module[style*="--mk432-purchase-bg"] .mk-buybox {
    background-color: var(--mk432-purchase-bg) !important;
  }
  :is(body.mk-shell.mk35-identity, body.elementor-page) .mk-module[style*="--mk432-shop-cols-desktop"] .mk-catalog-grid {
    grid-template-columns: repeat(var(--mk432-shop-cols-desktop), minmax(0, 1fr)) !important;
  }

  @media (max-width: 1024px) {
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk-module[style*="--mk432-shop-cols-tablet"] .mk-catalog-grid {
      grid-template-columns: repeat(var(--mk432-shop-cols-tablet), minmax(0,1fr)) !important;
    }
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo { border-radius: var(--mk432-radius-tablet, var(--mk432-radius-desktop, 15px)) !important; }
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk36-campaign-media img { object-position: var(--mk432-focus-tablet, var(--mk432-focus-desktop, center center)) !important; }
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk37-photo .mk36-campaign-media img,
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-bottom.mk37-photo .mk36-campaign-media img { object-position: var(--mk432-side-focus-tablet, var(--mk432-side-focus-desktop, center bottom)) !important; }
  }
  @media (max-width: 767px) {
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk-module[style*="--mk432-shop-cols-mobile"] .mk-catalog-grid {
      grid-template-columns: repeat(var(--mk432-shop-cols-mobile), minmax(0,1fr)) !important;
    }
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo { border-radius: var(--mk432-radius-mobile, var(--mk432-radius-tablet, var(--mk432-radius-desktop, 14px))) !important; }
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk36-campaign-media img { object-position: var(--mk432-focus-mobile, var(--mk432-focus-tablet, var(--mk432-focus-desktop, center center))) !important; }
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk37-photo .mk36-campaign-media img,
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk-art-side-bottom.mk37-photo .mk36-campaign-media img { object-position: var(--mk432-side-focus-mobile, var(--mk432-side-focus-tablet, var(--mk432-side-focus-desktop, center bottom))) !important; }
  }
  @media (prefers-reduced-motion:reduce) {
    :is(body.mk-shell.mk35-identity, body.elementor-page) .mk34-campaigns .mk36-campaign.mk37-photo .mk36-campaign-media img {transform:none!important;transition:none!important;}
  }
}

/* atiie-hero-banners.css */
/* ATIIE 4.3.4 — diverse stock banners with media built for each slot.
   Small carousel: no next-slide peek; desktop and mobile use properly proportioned assets.
   Does not modify header, categories, product cards or user-uploaded campaigns. */
@layer marketkit-storefront {
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-slider {
    isolation: isolate !important;
    overflow: clip !important;
    border-radius: 16px !important;
    background: #103d44 !important;
  }
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-slider > .mk-slider-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: clip !important;
    contain: paint !important;
    border-radius: inherit !important;
  }
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-slider .mk-art-side-slide {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit !important;
    overflow: clip !important;
    backface-visibility: hidden !important;
  }
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-slider .mk-art-side-slide[hidden] {
    display: none !important;
  }
  /* Keep independently editable titles and controls clear of the products. */
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-slide.mk37-photo .mk36-campaign-media,
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-bottom.mk37-photo .mk36-campaign-media {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns :is(.mk-art-side-slide.mk37-photo,.mk-art-side-bottom.mk37-photo) .mk36-campaign-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
  /* The newly-sized portraits preserve the model/product silhouette and CTA space. */
  :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-poster.mk37-photo .mk36-campaign-media img {
    object-fit: cover !important;
    object-position: center center !important;
  }
  @media (max-width: 767px) {
    :is(body.mk-shell.mk35-identity,body.elementor-page) .mk34-campaigns .mk-art-side-slider { border-radius: 12px !important; }
  }
}

/* atiie-soft-gold-actions.css */
/* MarketKit 4.3.5 — gold offers button only.
   Header cart/account/wishlist/orders inherit the same teal hover styling. */
@layer marketkit-storefront {
  body.mk-shell.mk35-identity .mk-header .mk-nav a.mk-deals-link {
    background: #ffe9b8 !important;
    background-image: linear-gradient(145deg, #fff1d4 0%, #ffe2a5 100%) !important;
    border: 1px solid #f4d291 !important;
    color: #173f45 !important;
    box-shadow: 0 3px 9px rgba(161, 107, 30, .075) !important;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
  }
  body.mk-shell.mk35-identity .mk-header .mk-nav a.mk-deals-link:is(:hover, :focus-visible) {
    background: #ffe3ab !important;
    background-image: linear-gradient(145deg, #ffedc8 0%, #ffdb96 100%) !important;
    border-color: #efc77c !important;
    color: #173f45 !important;
  }
  body.mk-shell.mk35-identity .mk-header .mk-nav a.mk-deals-link .mk-icon {
    color: inherit !important;
  }
}
