/* ==== PREMIUM ПЛАШКИ ==== */

/* --- Каталог товаров --- */
.t-store__card[data-product-url*="887761140412"],
.t-store__card[data-product-url*="561956219092"],
.t-store__card[data-product-url*="470637651302"],
.t-store__card[data-product-url*="504338135862"],
.t-store__card[data-product-url*="885153621752"],
.t-store__card[data-product-url*="930933117862"],
.t-store__card[data-product-url*="127568600062"],
.t-store__card[data-product-url*="382184687552"],
.t-store__card[data-product-url*="418871781922"],
.t-store__card[data-product-url*="979687133392"] {
  position: relative;
}

.t-store__card[data-product-url*="887761140412"]::before,
.t-store__card[data-product-url*="561956219092"]::before,
.t-store__card[data-product-url*="470637651302"]::before,
.t-store__card[data-product-url*="504338135862"]::before,
.t-store__card[data-product-url*="885153621752"]::before,
.t-store__card[data-product-url*="930933117862"]::before,
.t-store__card[data-product-url*="127568600062"]::before,
.t-store__card[data-product-url*="382184687552"]::before,
.t-store__card[data-product-url*="418871781922"]::before,
.t-store__card[data-product-url*="979687133392"]::before {
  content: "PREMIUM";
  position: absolute;
  top: 10px;
  left: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'TildaSans', sans-serif;
  font-size: 14px;
  font-weight: 400; /* тонкий шрифт */
  padding: 4px 8px;
  border: none;
  border-radius: 2px;
  z-index: 5;
}

/* === Плашка PREMIUM для "Ридикюль Red" === */
[data-prod-name*="Ридикюль Red"]::before {
  content: "PREMIUM";
  position: absolute;
  top: 10px;
  left: 10px;
  background: #5e3ff7; /* фиолетовый */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10;
}

/* ==== PREMIUM для Ридикюль Red ==== */
.t-store__card[data-product-url*="534771456902"] {
  position: relative;
}

.t-store__card[data-product-url*="534771456902"]::before {
  content: "PREMIUM";
  position: absolute;
  top: 10px;
  left: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'TildaSans', sans-serif;
  font-size: 14px;
  font-weight: 400; /* тонкий шрифт */
  padding: 4px 8px;
  border: none;
  border-radius: 2px;
  z-index: 5;
}

/* ==== LIMITED EDITION для Not Norka ридикюль ==== */
.t-store__card[data-product-url*="711556858352"] {
  position: relative;
}

.t-store__card[data-product-url*="711556858352"]::after {
  content: "LIMITED EDITION";
  position: absolute;
  top: 10px;
  left: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'TildaSans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 8px;
  border: none;
  border-radius: 2px;
  z-index: 5;
}
/* ===== Плашки на СТРАНИЦЕ ТОВАРА: строго по URL-ID, в углу фото, без тени ===== */

/* 0) Внутри страницы товара делаем частые контейнеры фото позиционируемыми */
html:has(meta[property="og:type"][content="product"]) .t-store__prod-popup__imgwrapper,
html:has(meta[property="og:type"][content="product"]) .t-store__prod__imgwrapper,
html:has(meta[property="og:type"][content="product"]) .t-store__prod-slider__imgwrapper,
html:has(meta[property="og:type"][content="product"]) .t-store__prod-imgwrap,
html:has(meta[property="og:type"][content="product"]) .t-store__gallery__imgwrapper,
html:has(meta[property="og:type"][content="product"]) .js-product-img { position: relative; }
/* ---------- PREMIUM — Ридикюль Red (ID 534771456902) ---------- */
html:has(meta[property="og:url"][content*="/tproduct/534771456902"]) .t-store__prod-popup__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/534771456902"]) .t-store__prod__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/534771456902"]) .t-store__prod-slider__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/534771456902"]) .t-store__prod-imgwrap::after,
html:has(meta[property="og:url"][content*="/tproduct/534771456902"]) .t-store__gallery__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/534771456902"]) .js-product-img::after,
html:has(link[rel="canonical"][href*="/tproduct/534771456902"]) .t-store__prod-popup__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/534771456902"]) .t-store__prod__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/534771456902"]) .t-store__prod-slider__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/534771456902"]) .t-store__prod-imgwrap::after,
html:has(link[rel="canonical"][href*="/tproduct/534771456902"]) .t-store__gallery__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/534771456902"]) .js-product-img::after {
  content: "PREMIUM";
  position: absolute;
  top: 10px;
  left: 0 !important;         /* прижать к левому краю */
  background: #fff;
  color: #000;
  font-family: 'TildaSans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 10;
  box-shadow: none !important; /* убрать тень */
}

/* ---------- LIMITED EDITION — Not Norka (ID 711556858352) ---------- */
html:has(meta[property="og:url"][content*="/tproduct/711556858352"]) .t-store__prod-popup__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/711556858352"]) .t-store__prod__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/711556858352"]) .t-store__prod-slider__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/711556858352"]) .t-store__prod-imgwrap::after,
html:has(meta[property="og:url"][content*="/tproduct/711556858352"]) .t-store__gallery__imgwrapper::after,
html:has(meta[property="og:url"][content*="/tproduct/711556858352"]) .js-product-img::after,
html:has(link[rel="canonical"][href*="/tproduct/711556858352"]) .t-store__prod-popup__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/711556858352"]) .t-store__prod__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/711556858352"]) .t-store__prod-slider__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/711556858352"]) .t-store__prod-imgwrap::after,
html:has(link[rel="canonical"][href*="/tproduct/711556858352"]) .t-store__gallery__imgwrapper::after,
html:has(link[rel="canonical"][href*="/tproduct/711556858352"]) .js-product-img::after {
  content: "LIMITED EDITION";
  position: absolute;
  top: 10px;
  left: 0 !important;         /* прижать к левому краю */
  background: #fff;           /* белая, как просила */
  color: #000;
  font-family: 'TildaSans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 10;
  box-shadow: none !important; /* убрать тень */
}
/* ===== PREMIUM на СТРАНИЦАХ ТОВАРОВ (tproduct) — белая плашка слева, без тени ===== */
/* Делаем возможные обёртки фото позиционируемыми только внутри страницы товара */
.js-store-product-page .js-product-img,
.js-store-product-page .t-store__prod__imgwrapper,
.js-store-product-page .t-store__prod-popup__imgwrapper,
.js-store-product-page .t-store__prod-slider__imgwrapper,
.js-store-product-page .t-store__gallery__imgwrapper { position: relative; }

/* Универсальный вид бейджа */
@layer ath-prod {
  .js-store-product-page[data-product-url*="ID"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after {
      content: "PREMIUM";
      position: absolute;
      top: 10px;
      left: 0;                /* прижато к левому краю */
      background: #fff;
      color: #000;
      font-family: 'TildaSans', sans-serif;
      font-size: 14px;
      font-weight: 400;
      padding: 4px 8px;
      border-radius: 2px;
      z-index: 10;
      box-shadow: none;       /* без тени */
  }
}

/* ==== Конкретные товары (подставлены твои ID) ==== */

/* ridikyul-milk */
@layer ath-prod {
  .js-store-product-page[data-product-url*="887761140412"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* ridikyul-taupe */
@layer ath-prod {
  .js-store-product-page[data-product-url*="382184687552"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* v-serie-pyatnishki */
@layer ath-prod {
  .js-store-product-page[data-product-url*="561956219092"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* dark-chocolate */
@layer ath-prod {
  .js-store-product-page[data-product-url*="470637651302"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* lavender */
@layer ath-prod {
  .js-store-product-page[data-product-url*="930933117862"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* black */
@layer ath-prod {
  .js-store-product-page[data-product-url*="979687133392"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* camel */
@layer ath-prod {
  .js-store-product-page[data-product-url*="127568600062"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* milk-chocolate */
@layer ath-prod {
  .js-store-product-page[data-product-url*="504338135862"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}

/* v-karamelnuyu-elochku */
@layer ath-prod {
  .js-store-product-page[data-product-url*="885153621752"]
    :is(.js-product-img,.t-store__prod__imgwrapper,.t-store__prod-popup__imgwrapper,.t-store__prod-slider__imgwrapper,.t-store__gallery__imgwrapper)::after { content: "PREMIUM"; }
}