.store-pro-demo {
  --store-radius: 9px;
  --store-card-gap: 8px;
  --store-card-pad: 7px;
  --store-product-height: 83px;
}

.store-pro-demo .shop-promo,
.store-pro-demo .shop-side-promos article,
.store-pro-demo .product-art,
.store-pro-demo .store-product-grid article,
.store-pro-demo .shop-header,
.store-pro-demo .shop-nav,
.store-pro-demo .shop-promo-copy,
.store-pro-demo .shop-promo > img,
.store-pro-demo .shop-header > label,
.store-pro-demo .shop-nav > button,
.store-pro-demo .shop-promo-copy button,
.store-pro-demo .product-art button {
  transition: background-color .75s ease, border-color .75s ease, color .75s ease, border-radius .75s ease, box-shadow .75s ease, gap .75s ease;
}

.store-pro-demo .shop-promo-copy,
.store-pro-demo .shop-promo > img {
  transition: width .7s ease, right .7s ease, opacity .7s ease, transform .7s ease, padding .7s ease, text-align .7s ease;
}

.store-pro-demo .shop-promo,
.store-pro-demo .shop-side-promos article,
.store-pro-demo .store-product-grid article {
  border-radius: var(--store-radius);
  padding: 0 var(--store-card-pad) var(--store-card-pad);
  transition: padding .6s ease, background-color .6s ease, border-color .6s ease, border-radius .6s ease, box-shadow .6s ease;
}

.store-pro-demo .product-art {
  border-radius: var(--store-radius) var(--store-radius) 0 0;
  height: var(--store-product-height);
  margin-right: calc(var(--store-card-pad) * -1);
  margin-left: calc(var(--store-card-pad) * -1);
  transition: height .6s ease, margin .6s ease, border-radius .6s ease, background-color .6s ease;
}

.store-pro-demo .store-product-grid {
  gap: var(--store-card-gap);
  transition: gap .75s ease;
}

.store-customizer {
  --tool-yellow: #ffcf00;
  --tool-yellow-dark: #e6b900;
  position: absolute;
  z-index: 18;
  top: 108px;
  right: -34px;
  width: 194px;
  padding: 11px;
  overflow: hidden;
  color: #1b1f1b;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(25,31,26,.12);
  border-radius: 15px;
  box-shadow: 0 22px 55px rgba(5,12,7,.28), 0 2px 0 rgba(255,255,255,.7) inset;
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateX(22px) scale(.96);
  animation: customizerEnter .55s .65s cubic-bezier(.2,.85,.25,1) forwards;
}

.customizer-head,
.customizer-label,
.customizer-saved {
  display: flex;
  align-items: center;
}

.customizer-head {
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid #e7e9e5;
  font-size: 7px;
  font-weight: 800;
}

.customizer-head > span { display: flex; align-items: center; gap: 5px; }
.customizer-head > span > i { color: var(--tool-yellow-dark, #e6b900); font-style: normal; font-size: 10px; transition: color .75s ease; }
.customizer-head > em { display: flex; align-items: center; gap: 4px; color: #7d857e; font-size: 5px; font-style: normal; font-weight: 700; }
.customizer-head > em > i { width: 5px; height: 5px; border-radius: 50%; background: #64b83f; box-shadow: 0 0 0 3px #64b83f18; }

.customizer-section { padding: 9px 1px 8px; border-bottom: 1px solid #eceeea; }
.customizer-label { justify-content: space-between; margin-bottom: 7px; font-size: 6px; }
.customizer-label span { color: #777e77; }
.customizer-label b { color: #282d28; font-size: 6px; }
.customizer-swatches { display: flex; gap: 7px; }
.customizer-swatches i {
  width: 22px;
  height: 22px;
  position: relative;
  display: block;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #d9ddd7;
  transition: transform .35s ease, box-shadow .35s ease;
}
.customizer-swatches i.active { transform: scale(1.12); box-shadow: 0 0 0 2px #1e231f, 0 5px 10px #18201822; }
.customizer-swatches i.active::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 8px; font-style: normal; text-shadow: 0 1px 3px #0008; }

.customizer-segments { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 4px; border-radius: 7px; background: #f1f3ef; }
.customizer-segments i { height: 15px; border: 1px solid #d7dad5; border-radius: 2px; background: #fff; transition: border-radius .55s ease, box-shadow .4s ease; }
.customizer-segments i:nth-child(2) { border-radius: 5px; }
.customizer-segments i:nth-child(3) { border-radius: 8px; }
.customizer-segments i.active { border-color: var(--tool-yellow-dark, #e6b900); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tool-yellow, #ffcf00) 24%, transparent); }

.customizer-layout-preview { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; transition: gap .55s ease; }
.customizer-layout-preview i { height: 22px; border-radius: 4px; background: linear-gradient(#e3e6e1 58%,#f5f6f3 58%); border: 1px solid #dfe2dc; }
.customizer-layout-preview.compact { gap: 1px; }

.customizer-toggle { display: flex; align-items: center; gap: 7px; color: #6f766f; font-size: 5px; }
.customizer-toggle > i { width: 26px; height: 14px; position: relative; display: block; border-radius: 20px; background: #dfe3dc; transition: background .5s ease; }
.customizer-toggle > i::after { content: ""; position: absolute; width: 10px; height: 10px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px #0002; transition: transform .5s ease; }
.customizer-header-style.active .customizer-toggle > i { background: var(--tool-yellow, #ffcf00); }
.customizer-header-style.active .customizer-toggle > i::after { transform: translateX(12px); }

.customizer-banner-preview { height: 26px; position: relative; overflow: hidden; border-radius: 5px; background: #232722; }
.customizer-banner-preview span { position: absolute; width: 42%; height: 4px; left: 7px; top: 7px; border-radius: 3px; background: #fff; box-shadow: 0 7px 0 #8e958d; transition: left .5s ease, width .5s ease; }
.customizer-banner-preview i { position: absolute; width: 26px; height: 26px; right: 8px; bottom: -7px; border-radius: 50%; background: var(--tool-yellow, #ffcf00); transition: right .5s ease, scale .5s ease, background .5s ease; }
.customizer-banner-style.centered .customizer-banner-preview span { left: 29%; width: 42%; }
.customizer-banner-style.centered .customizer-banner-preview i { right: calc(50% - 13px); scale: 1.25; opacity: .65; }

.customizer-button-preview { display: flex; gap: 6px; }
.customizer-button-preview i { width: 45px; height: 17px; border: 1px solid var(--tool-yellow, #ffcf00); border-radius: 5px; background: var(--tool-yellow, #ffcf00); transition: background .5s ease, border-radius .5s ease; }
.customizer-button-preview i:last-child { width: 30px; background: transparent; border-color: #cfd4cc; }
.customizer-button-style.outline .customizer-button-preview i { background: transparent; border-width: 2px; }
.customizer-button-style.outline .customizer-button-preview i:last-child { background: #222722; border-color: #222722; }

.customizer-saved { gap: 7px; padding: 9px 1px 1px; opacity: .7; transition: opacity .3s ease, transform .3s ease; }
.customizer-saved > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: #e9f7df; color: #56992d; font-size: 8px; font-style: normal; }
.customizer-saved span { display: flex; flex-direction: column; }
.customizer-saved b { font-size: 6px; }
.customizer-saved small { margin-top: 2px; color: #899089; font-size: 5px; }
.customizer-saved.flash { opacity: 1; transform: translateY(-1px); }

.customizer-pointer {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 20px;
  height: 24px;
  overflow: visible;
  filter: drop-shadow(0 3px 3px #0004);
  transform: translate(26px,75px) rotate(-8deg);
  transition: transform .3s cubic-bezier(.2,.85,.25,1);
  pointer-events: none;
}
.customizer-pointer path:first-child { fill: #141814; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.customizer-pointer path:last-child { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.store-customizer[data-control="color"][data-step="0"] .customizer-pointer { transform: translate(25px,75px) rotate(-8deg); }
.store-customizer[data-control="color"][data-step="1"] .customizer-pointer { transform: translate(54px,75px) rotate(-8deg); }
.store-customizer[data-control="color"][data-step="2"] .customizer-pointer { transform: translate(83px,75px) rotate(-8deg); }
.store-customizer[data-control="color"][data-step="3"] .customizer-pointer { transform: translate(112px,75px) rotate(-8deg); }
.store-customizer[data-control="radius"] .customizer-pointer { transform: translate(134px,128px) rotate(-8deg); }
.store-customizer[data-control="layout"] .customizer-pointer { transform: translate(123px,178px) rotate(-8deg); }
.store-customizer[data-control="header"] .customizer-pointer { transform: translate(38px,225px) rotate(-8deg); }
.store-customizer[data-control="banner"] .customizer-pointer { transform: translate(128px,277px) rotate(-8deg); }
.store-customizer[data-control="button"] .customizer-pointer { transform: translate(74px,330px) rotate(-8deg); }
.store-customizer.pointer-down .customizer-pointer { filter: drop-shadow(0 2px 2px #0003) brightness(1.35); }

.store-pro-demo.theme-pulse { animation: storeThemePulse .75s ease; }

.store-pro-demo[data-product-layout="compact"] .store-product-grid article {
  border-color: transparent;
  background: #f1f3ef;
  box-shadow: none;
}
.store-pro-demo[data-product-layout="compact"] .product-tools { opacity: 0; }
.store-pro-demo[data-product-layout="compact"] .store-product-grid article > small { display: none; }
.store-pro-demo[data-product-layout="balanced"] .store-product-grid article { box-shadow: none; }
.store-pro-demo[data-product-layout="airy"] .store-product-grid article {
  border-color: #dfe3dc;
  box-shadow: 0 7px 18px rgba(26,33,27,.09);
}
.store-pro-demo[data-product-layout="airy"] .product-art img { transform: scale(.92); }
.store-pro-demo .product-tools,
.store-pro-demo .store-product-grid article > small,
.store-pro-demo .product-art img { transition: opacity .45s ease, transform .55s ease; }

.store-pro-demo.header-contrast .shop-header,
.store-pro-demo.header-contrast .shop-nav { background: #1c211d; border-color: #333a34; color: #eef2ed; }
.store-pro-demo.header-contrast .shop-header > a { color: #fff; }
.store-pro-demo.header-contrast .shop-header > label { border-color: #4b534c; background: #fff; }
.store-pro-demo.header-contrast .shop-actions > span { color: #d9ded8; }
.store-pro-demo.header-contrast .shop-nav > button { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tool-yellow) 65%, #fff); }

.store-pro-demo.banner-centered .shop-promo-copy { width: 72%; margin: 0 auto; padding-left: 0; padding-right: 0; text-align: center; }
.store-pro-demo.banner-centered .shop-promo > img { right: 22%; width: 56%; opacity: .2; transform: scale(1.18); }
.store-pro-demo.banner-centered .shop-promo::before { right: calc(50% - 90px); }

.store-pro-demo.buttons-outline .shop-promo-copy button,
.store-pro-demo.buttons-outline .product-art button,
.store-pro-demo.buttons-outline .shop-header > label button { border: 1px solid var(--tool-yellow); background: transparent; color: var(--tool-yellow); }
.store-pro-demo.buttons-outline .shop-header > label button { color: #191d19; }

@keyframes customizerEnter { to { opacity: 1; transform: none; } }
@keyframes storeThemePulse { 0%,100% { filter: brightness(1); } 48% { filter: brightness(1.035); } }

@media (max-width: 900px) {
  .store-customizer { right: 10px; top: 100px; transform-origin: top right; }
}

@media (max-width: 600px) {
  .store-customizer { top: 92px; right: 8px; width: 154px; padding: 9px; border-radius: 12px; }
  .customizer-head > em { display: none; }
  .customizer-section { padding: 7px 1px; }
  .customizer-swatches { gap: 5px; }
  .customizer-swatches i { width: 19px; height: 19px; }
  .customizer-pointer { width: 17px; }
  .store-customizer[data-control="color"][data-step="0"] .customizer-pointer { transform: translate(21px,67px) rotate(-8deg); }
  .store-customizer[data-control="color"][data-step="1"] .customizer-pointer { transform: translate(45px,67px) rotate(-8deg); }
  .store-customizer[data-control="color"][data-step="2"] .customizer-pointer { transform: translate(69px,67px) rotate(-8deg); }
  .store-customizer[data-control="color"][data-step="3"] .customizer-pointer { transform: translate(93px,67px) rotate(-8deg); }
  .store-customizer[data-control="radius"] .customizer-pointer { transform: translate(110px,112px) rotate(-8deg); }
  .store-customizer[data-control="layout"] .customizer-pointer { transform: translate(100px,156px) rotate(-8deg); }
  .store-customizer[data-control="header"] .customizer-pointer { transform: translate(32px,198px) rotate(-8deg); }
  .store-customizer[data-control="banner"] .customizer-pointer { transform: translate(102px,245px) rotate(-8deg); }
  .store-customizer[data-control="button"] .customizer-pointer { transform: translate(63px,294px) rotate(-8deg); }
}

/* Coordinates are calculated from the actual active control, so the pointer
   remains accurate at every responsive breakpoint. */
.store-customizer[data-control][data-step] .customizer-pointer,
.store-customizer[data-control] .customizer-pointer {
  transform: translate(var(--pointer-x, 25px), var(--pointer-y, 75px)) rotate(-8deg);
}

@media (prefers-reduced-motion: reduce) {
  .store-customizer { opacity: 1; transform: none; animation: none; }
  .customizer-pointer { display: none; }
}
