.we-storefront, .we-storefront * { box-sizing:border-box; }
.we-storefront {
  --we-purple:#6f35ff;
  --we-bg:#060608;
  --we-panel:#0b0b0f;
  --we-line:rgba(255,255,255,.12);
  --we-text:#ffffff;
  --we-muted:rgba(255,255,255,.68);
  --we-soft:#ebebee;
  color:var(--we-text);
  background:#000;
  width:100%;
}
.we-container {
  width:min(1240px, calc(100% - 64px));
  margin:0 auto;
}
@media (max-width: 767px) {
  .we-container { width:min(100%, calc(100% - 32px)); }
}

/* Category page */
.we-cat-hero {
  position:relative;
  min-height:470px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#040406;
}
.we-cat-hero__bg,
.we-cat-hero__overlay {
  position:absolute;
  inset:0;
}
.we-cat-hero__bg {
  background-size:cover;
  background-position:center;
  filter:contrast(1.05) saturate(1.1);
  transform:scale(1.03);
}
.we-cat-hero__overlay {
  background:
    radial-gradient(circle at 24% 10%, rgba(111,53,255,.92), rgba(111,53,255,0) 38%),
    linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.42) 38%, rgba(0,0,0,.76) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.7) 100%);
}
.we-cat-hero__content {
  position:relative;
  z-index:2;
  padding:82px 0 66px;
  width:min(760px, 100%);
}
.we-breadcrumbs, .we-breadcrumbs a {
  color:rgba(255,255,255,.72);
  font-size:11px;
  letter-spacing:.26em;
  text-transform:uppercase;
  text-decoration:none;
  font-weight:700;
}
.we-breadcrumbs .separator { opacity:.6; margin:0 9px; }

.we-cat-hero__title {
  margin:26px 0 14px;
  font-size:clamp(54px, 10vw, 128px);
  line-height:.92;
  letter-spacing:-.06em;
  font-weight:900;
  text-transform:uppercase;
}
.we-cat-hero__desc {
  max-width:540px;
  font-size:18px;
  line-height:1.5;
  color:rgba(255,255,255,.82);
  margin-bottom:18px;
}
.we-cat-hero__count {
  color:#d9d7dd;
  font-size:11px;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:22px;
}
.we-cat-hero__pills {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.we-cat-hero__pill {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 15px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.06em;
  font-weight:800;
  background:rgba(0,0,0,.16);
}
.we-cat-hero__pill.is-active {
  border-color:rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);
}
.we-cat-shell {
  background:#f4f3f6;
  color:#111;
  padding:54px 0 70px;
}
.we-cat-shell .we-wcs-filter { color:#111; }

/* Single product page */
.we-single {
  background:#000;
  color:#fff;
  padding:18px 0 56px;
}
.we-single__top {
  display:grid;
  grid-template-columns:54px minmax(0, 1fr) minmax(320px, 390px);
  gap:28px;
  align-items:start;
}
.we-single__thumbs {
  display:flex;
  flex-direction:column;
  gap:10px;
  position:sticky;
  top:30px;
  z-index:2;
}
.we-single__thumb {
  width:54px;
  height:54px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  overflow:hidden;
  background:#0c0b11;
  padding:0;
  cursor:pointer;
}
.we-single__thumb.is-active {
  border-color:var(--we-purple);
  box-shadow:0 0 0 1px rgba(111,53,255,.4);
}
.we-single__thumb img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.we-single__media {
  background:#040408;
  border-radius:16px;
  overflow:hidden;
  min-height:640px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.we-single__media::after {
  content:"Click image to zoom";
  position:absolute;
  right:16px;
  bottom:16px;
  z-index:3;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#fff;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.14);
  pointer-events:none;
}
.we-single__main-image {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  cursor:zoom-in;
  transition:transform .25s ease;
}
.we-single__media:hover .we-single__main-image {
  transform:scale(1.035);
}
.we-single__summary {
  padding-top:4px;
}
.we-single__eyebrow {
  margin:16px 0 12px;
  color:#a692ff;
  font-size:11px;
  letter-spacing:.26em;
  text-transform:uppercase;
  font-weight:800;
}
.we-single__title {
  margin:0 0 18px;
  font-size:clamp(40px, 5vw, 82px);
  line-height:.9;
  letter-spacing:-.06em;
  text-transform:uppercase;
  font-weight:900;
  word-break:break-word;
}
.we-single__price {
  margin-bottom:18px;
  font-size:18px;
  font-weight:800;
}
.we-single__price .price {
  color:#fff;
}
.we-single__price del {
  color:rgba(255,255,255,.45);
  margin-right:8px;
}
.we-single__price ins { text-decoration:none; }

.we-single__excerpt {
  color:rgba(255,255,255,.7);
  font-size:18px;
  line-height:1.55;
  margin-bottom:22px;
}
.we-single__cart {
  margin-bottom:12px;
}
.we-single__cart form.cart {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
.we-single__cart .quantity {
  display:flex;
  align-items:center;
  min-width:82px;
  height:54px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  overflow:hidden;
}
.we-single__cart .quantity input.qty {
  width:82px;
  height:54px;
  background:transparent;
  border:0;
  color:#fff;
  text-align:center;
}
.we-single__cart .single_add_to_cart_button,
.we-single__cart .button.alt {
  height:54px;
  min-width:156px;
  padding:0 28px;
  border:0;
  border-radius:10px;
  background:linear-gradient(90deg, #6f35ff 0%, #7f24ff 100%);
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}
.we-single__cart table.variations {
  width:100%;
  margin-bottom:16px;
}
.we-single__cart table.variations td,
.we-single__cart table.variations th {
  color:#fff;
  padding:0 12px 10px 0;
}
.we-single__cart .reset_variations {
  color:rgba(255,255,255,.76);
}
.we-single__stock {
  color:rgba(255,255,255,.7);
  font-size:14px;
  margin-bottom:16px;
}
.we-accordion {
  border-top:1px solid var(--we-line);
}
.we-accordion__item {
  border-bottom:1px solid var(--we-line);
}
.we-accordion__button {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:transparent;
  border:0;
  color:#fff;
  text-align:left;
  padding:20px 0;
  cursor:pointer;
}
.we-accordion__button span {
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:12px;
  font-weight:800;
}
.we-accordion__button strong {
  font-size:18px;
  font-weight:400;
  line-height:1;
  min-width:16px;
  text-align:right;
}
.we-accordion__panel {
  display:none;
  color:rgba(255,255,255,.68);
  font-size:15px;
  line-height:1.65;
  padding:0 0 20px;
}
.we-accordion__item.is-open .we-accordion__panel {
  display:block;
}

.we-details {
  background:#0a0a0e;
  padding:72px 0;
}
.we-details__grid {
  display:grid;
  grid-template-columns:minmax(220px, 280px) minmax(0, 1.3fr) minmax(260px, .9fr);
  gap:56px;
  align-items:start;
}
.we-details__title {
  font-size:clamp(34px, 4.4vw, 70px);
  line-height:.92;
  letter-spacing:-.06em;
  text-transform:uppercase;
  font-weight:900;
  margin:0;
  max-width:240px;
}
.we-details__label {
  color:#a692ff;
  font-size:11px;
  letter-spacing:.26em;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:18px;
}
.we-details__content {
  color:rgba(255,255,255,.76);
  font-size:18px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.we-single__info-table {
  width:100%;
}
.we-single__info-row {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.we-single__info-row span {
  color:rgba(255,255,255,.62);
}
.we-single__info-row strong {
  color:#fff;
  text-align:right;
  font-weight:600;
  overflow-wrap:anywhere;
}
.we-single__info-row a { color:#fff; text-decoration:none; }

.we-related {
  background:#000;
  padding:64px 0 82px;
}
.we-related__label {
  color:#a692ff;
  font-size:11px;
  letter-spacing:.26em;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:12px;
}
.we-related__title {
  margin:0 0 38px;
  font-size:clamp(40px, 5vw, 72px);
  line-height:.92;
  letter-spacing:-.06em;
  text-transform:uppercase;
  font-weight:900;
}
.we-related .products {
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}
.we-related .product {
  list-style:none;
  margin:0;
}
.we-related .product a {
  color:#fff;
  text-decoration:none;
}
.we-related .product img {
  width:100%;
  aspect-ratio:1 / 1.22;
  object-fit:cover;
  display:block;
  border-radius:14px;
  background:#0c0b11;
  margin-bottom:12px;
}
.we-related .product .woocommerce-loop-category__title,
.we-related .product h2,
.we-related .product .woocommerce-loop-product__title {
  font-size:26px;
  line-height:1.05;
  letter-spacing:-.04em;
  text-transform:uppercase;
  font-weight:900;
  margin:6px 0;
  color:#fff;
}
.we-related .product .price {
  color:#fff;
  font-weight:700;
}
.we-related .product .button {
  display:none !important;
}
.we-related .product .star-rating,
.we-related .product .onsale { display:none !important; }

/* Zoom modal */
.we-zoom-modal {
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(0,0,0,.92);
  display:none;
  align-items:center;
  justify-content:center;
  padding:40px;
}
.we-zoom-modal.is-open {
  display:flex;
}
.we-zoom-modal__close {
  position:absolute;
  top:20px;
  right:22px;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.we-zoom-modal__img {
  max-width:min(96vw, 1400px);
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
  transform-origin:center center;
  cursor:zoom-in;
}
.we-zoom-modal__hint {
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  color:rgba(255,255,255,.74);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

@media (max-width: 1200px) {
  .we-single__top { grid-template-columns:54px minmax(0, 1fr) 350px; }
  .we-details__grid { grid-template-columns:220px minmax(0,1fr) 300px; gap:36px; }
}

@media (max-width: 991px) {
  .we-single__top {
    grid-template-columns:1fr;
  }
  .we-single__thumbs {
    position:static;
    flex-direction:row;
    order:2;
  }
  .we-single__media {
    order:1;
    min-height:500px;
  }
  .we-single__summary {
    order:3;
  }
  .we-details__grid {
    grid-template-columns:1fr;
    gap:28px;
  }
  .we-details__title {
    max-width:none;
  }
  .we-related .products {
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .we-cat-hero { min-height:400px; }
  .we-cat-hero__content { padding:60px 0 44px; }
  .we-cat-shell { padding:36px 0 48px; }
  .we-single { padding-bottom:36px; }
  .we-single__media { min-height:360px; }
  .we-single__media::after { display:none; }
  .we-single__title { font-size:clamp(34px, 14vw, 56px); }
  .we-single__excerpt, .we-details__content { font-size:16px; }
  .we-related .products { grid-template-columns:1fr 1fr; gap:14px; }
  .we-related .product .woocommerce-loop-category__title,
  .we-related .product h2,
  .we-related .product .woocommerce-loop-product__title { font-size:18px; }
  .we-zoom-modal { padding:18px; }
}
