/* =========================================================
   RETACH
   FASHION INTERNET MAGAZIN CASE
   ========================================================= */

.case-page{
  --fc-ink:#101321;
  --fc-muted:#666b7c;
  --fc-purple:#7258ff;
  --fc-purple-2:#b552ff;
  --fc-green:#159b55;
  --fc-red:#e4556b;
  --fc-line:#e8eaf3;
  --fc-soft:#f6f7ff;

  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% 4%,rgba(131,102,255,.10),transparent 26%),
    linear-gradient(180deg,#fbfbff 0%,#fff 32%);
  color:var(--fc-ink);
}

.case-page *,
.case-page *::before,
.case-page *::after{
  box-sizing:border-box;
}

.fashion-case-shell{
  width:min(1460px,calc(100% - 44px));
  margin-inline:auto;
}


/* =========================================================
   TOP META
   ========================================================= */

.fashion-case-top{
  position:relative;
  z-index:6;

  padding:24px 0 0;
}

.fashion-case-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;

  margin-bottom:18px;

  color:#83879a;
  font-size:12px;
  line-height:1.4;
}

.fashion-case-breadcrumbs a{
  color:inherit;
  text-decoration:none;
}

.fashion-case-breadcrumbs a:hover{
  color:var(--fc-purple);
}

.fashion-case-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.fashion-case-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;

  min-height:29px;
  padding:0 12px;

  border:1px solid rgba(112,89,255,.18);
  border-radius:999px;

  background:rgba(255,255,255,.75);
  box-shadow:0 7px 24px rgba(74,56,150,.05);

  color:#625792;
  font-size:11px;
  font-weight:700;
}


/* =========================================================
   SHARED HERO — FASHION
   ONE CANONICAL DEFINITION
   ========================================================= */

[data-shield-problem-hero="fashion-case"]{
  min-height:560px;

  padding:
    28px
    22px
    20px;

  background:transparent;

}

[data-shield-problem-hero="fashion-case"]::before,
[data-shield-problem-hero="fashion-case"]::after{
  opacity:.55;
}


/* Main desktop geometry */

[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__inner{
  width:min(100%,1460px);

  grid-template-columns:
    minmax(0,58%)
    minmax(0,42%);

  gap:0;

  align-items:end;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__copy{
  position:relative;
  z-index:5;

  width:calc(100% + 105px);
  max-width:860px;

  padding-right:0;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__eyebrow{
  margin-bottom:12px;

  color:#6d7290;

  font-size:15px;
  line-height:1.2;

  font-weight:500;

  letter-spacing:0;
  text-transform:none;
}


[data-shield-problem-hero="fashion-case"]
h1{
  width:100%;
  max-width:850px;

  margin:0;

  font-size:
    clamp(
      46px,
      4.15vw,
      62px
    );

  line-height:.96;

  font-weight:900;

  letter-spacing:-.056em;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__accent{
  display:inline;

  color:#7258ff;

  background:
    linear-gradient(
      90deg,
      #6155ff 0%,
      #a957f8 85%
    );

  -webkit-background-clip:text;
  background-clip:text;

  -webkit-text-fill-color:transparent;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__lead{
  max-width:770px;

  margin-top:16px;

  color:#555b70;

  font-size:17px;
  line-height:1.45;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__detail{
  display:none;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__actions{
  margin-top:20px;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__points{
  display:grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap:12px;

  max-width:750px;

  margin-top:22px;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__point{
  display:block;

  min-height:90px;

  padding:
    16px
    18px;

  border:
    1px solid
    rgba(120,103,210,.10);

  border-radius:18px;

  background:
    rgba(255,255,255,.82);

  box-shadow:
    0 14px 40px
    rgba(73,65,142,.08),
    inset
    0 1px 0
    rgba(255,255,255,.9);

  white-space:pre-line;

  color:#202338;

  font-size:13px;
  line-height:1.35;

  font-weight:700;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__point::before{
  display:none;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__point::first-line{
  color:#6455ff;

  font-size:29px;
  line-height:1.05;

  font-weight:900;
}


/* Visual is deliberately oversized.
   It enters the copy zone instead of leaving dead space. */

[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__visual{
  position:relative;
  z-index:2;

  min-height:540px;

  margin-left:-18px;

  display:flex;

  align-items:flex-end;
  justify-content:flex-end;

  overflow:visible;
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__image{
  width:clamp(
    610px,
    52vw,
    740px
  );

  max-width:none;
  max-height:none;

  object-fit:contain;
  object-position:center bottom;

  transform:
    translateX(34px)
    translateY(58px);

  transform-origin:center bottom;

  filter:
    drop-shadow(
      0 30px 45px
      rgba(84,61,180,.16)
    );
}


/* Reference order:
   cases first, consultation second */

[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__btn--secondary{
  order:1;

  color:#fff;

  border-color:transparent;

  background:
    linear-gradient(
      90deg,
      #6558ff 0%,
      #9f4cff 52%,
      #d42fff 100%
    );

  box-shadow:
    0 12px 30px
    rgba(120,67,255,.25);
}


[data-shield-problem-hero="fashion-case"]
.shield-problem-hero__btn--primary{
  order:2;

  color:#24273a;

  border:
    1px solid
    rgba(55,53,97,.18);

  background:
    rgba(255,255,255,.72);

  box-shadow:none;
}


/* Tablet */

@media (max-width:1100px){

  [data-shield-problem-hero="fashion-case"]{
    min-height:auto;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__inner{
    grid-template-columns:1fr;

    gap:8px;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__copy{
    width:auto;
    max-width:850px;
  }

  [data-shield-problem-hero="fashion-case"]
  h1{
    max-width:820px;

    font-size:
      clamp(
        44px,
        6vw,
        60px
      );
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__visual{
    min-height:410px;

    margin-left:0;

    justify-content:center;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__image{
    width:min(680px,92%);

    transform:
      translateY(8px);
  }

}


/* Mobile */

@media (max-width:720px){

  [data-shield-problem-hero="fashion-case"]{
    padding:
      20px
      12px
      8px;
  }

  [data-shield-problem-hero="fashion-case"]
  h1{
    max-width:none;

    font-size:
      clamp(
        38px,
        11vw,
        52px
      );
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__lead{
    font-size:16px;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__points{
    grid-template-columns:1fr;

    max-width:none;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__point{
    min-height:76px;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__visual{
    min-height:340px;
  }

  [data-shield-problem-hero="fashion-case"]
  .shield-problem-hero__image{
    width:100%;
    max-width:620px;

    transform:none;
  }

}


/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.fashion-case-section{
  padding:18px 0;
}

.fashion-case-card{
  position:relative;
  overflow:hidden;

  border:1px solid rgba(101,92,166,.10);
  border-radius:26px;

  background:
    linear-gradient(145deg,rgba(255,255,255,.97),rgba(248,249,255,.92));

  box-shadow:
    0 18px 55px rgba(57,58,108,.07),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.fashion-case-card__inner{
  padding:32px;
}

.fashion-case-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:7px;

  margin:0 0 9px;

  padding:6px 10px;

  border:1px solid rgba(112,86,255,.24);
  border-radius:999px;

  color:#6a57e8;

  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
}

.fashion-case-eyebrow::before{
  content:"✦";
  font-size:9px;
}

.fashion-case-title{
  margin:0;

  color:#101321;

  font-size:clamp(30px,3vw,47px);
  line-height:1.03;
  letter-spacing:-.045em;
  font-weight:900;
}

.fashion-case-text{
  max-width:750px;
  margin-top:15px;

  color:#606579;

  font-size:15px;
  line-height:1.55;
}

.fashion-case-text strong{
  color:#242738;
}


/* =========================================================
   TASK
   ========================================================= */

.fashion-task-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);
  gap:30px;
  align-items:center;
}

.fashion-task-note{
  min-height:180px;

  display:flex;
  align-items:center;
  gap:22px;

  padding:28px;

  border-radius:22px;

  background:
    radial-gradient(circle at 20% 20%,rgba(126,91,255,.14),transparent 40%),
    linear-gradient(135deg,#f5f3ff,#f3f6ff);
}

.fashion-task-icon{
  flex:0 0 86px;
  width:86px;
  height:86px;

  display:grid;
  place-items:center;

  border:1px solid rgba(106,84,255,.15);
  border-radius:24px;

  background:rgba(255,255,255,.7);

  color:#7258ff;
  font-size:41px;
}

.fashion-task-note p{
  margin:0;

  color:#474c65;

  font-size:18px;
  line-height:1.35;
  font-weight:600;
}


/* =========================================================
   RESULTS
   ========================================================= */

.fashion-result-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr);
  gap:30px;
  align-items:center;
}

.fashion-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}

.fashion-stat{
  min-height:150px;
  padding:23px;

  border:1px solid rgba(93,83,156,.10);
  border-radius:20px;

  background:rgba(255,255,255,.84);

  box-shadow:0 10px 35px rgba(61,56,114,.06);
}

.fashion-stat__value{
  margin-bottom:7px;

  color:#181b2b;

  font-size:23px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.035em;
}

.fashion-stat__value span{
  color:#6658ff;
}

.fashion-stat__label{
  color:#666b7b;
  font-size:12px;
  line-height:1.35;
}

.fashion-stat__delta{
  margin-top:8px;

  color:var(--fc-green);

  font-size:18px;
  font-weight:900;
}

.fashion-stat__delta--red{
  color:var(--fc-red);
}


/* =========================================================
   SCREENSHOTS
   ========================================================= */

.fashion-screen{
  margin-top:26px;

  padding:10px;

  border:1px solid rgba(97,88,159,.12);
  border-radius:18px;

  background:#fff;

  box-shadow:0 12px 35px rgba(46,47,91,.06);
}

.fashion-screen img{
  display:block;
  width:100%;
  height:auto;
  border-radius:11px;
}

.fashion-screen-caption{
  margin:10px 0 0;

  color:#878b9d;

  font-size:11px;
  line-height:1.4;
  text-align:center;
}


/* =========================================================
   ADDITIONAL RESULT
   ========================================================= */

.fashion-extra-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(510px,.85fr);
  gap:28px;
  align-items:center;
}


/* =========================================================
   ECONOMICS
   REFERENCE GEOMETRY — CANONICAL
   ========================================================= */

.fashion-economics{
  overflow:hidden;
}


/* =========================================================
   MAIN ROW
   ========================================================= */

.fashion-economics-main{
  display:grid;

  grid-template-columns:
    minmax(0,1.08fr)
    minmax(430px,.92fr);

  gap:24px;

  align-items:start;

  min-height:270px;
}


/* LEFT COPY */

.fashion-economics-copy{
  min-width:0;
  max-width:690px;
}


.fashion-economics-copy
.fashion-case-title{
  max-width:670px;

  margin:0;

  font-size:
    clamp(
      31px,
      2.7vw,
      45px
    );

  line-height:1.02;
}


.fashion-economics-copy
.fashion-case-text{
  max-width:660px;

  margin-top:14px;
}


/* =========================================================
   RIGHT VISUAL
   ========================================================= */

.fashion-economics-visual{
  position:relative;

  min-width:0;
  height:265px;

  margin-top:2px;

  align-self:start;
}


/* SHARED GRAPH */

.fashion-economics-growth{
  position:absolute;

  z-index:1;

  left:0;
  bottom:-5px;

  width:390px;
  max-width:72%;

  height:auto;

  object-fit:contain;
  object-position:left bottom;

  pointer-events:none;

  filter:
    drop-shadow(
      0 20px 34px
      rgba(95,69,225,.16)
    );
}


/* NOTE */

.fashion-economics-note{
  position:absolute;

  z-index:2;

  left:2px;
  top:40px;

  transform:rotate(-7deg);

  color:#555273;

  font-size:13px;
  line-height:1.25;

  font-weight:600;
  font-style:italic;
}


.fashion-economics-note span{
  display:block;

  margin:
    2px
    0
    0
    45px;

  color:#7258ff;

  font-size:23px;
  line-height:1;
}


/* KPI */

.fashion-economics-kpis{
  position:absolute;

  z-index:3;

  top:0;
  right:0;

  width:210px;

  display:grid;

  gap:8px;
}


.fashion-economics-kpi{
  min-height:70px;

  padding:
    12px
    15px;

  border:
    1px solid
    rgba(99,88,174,.12);

  border-radius:15px;

  background:
    rgba(255,255,255,.95);

  box-shadow:
    0 10px 27px
    rgba(54,51,103,.075),
    inset
    0 1px 0
    rgba(255,255,255,.96);
}


.fashion-economics-kpi strong{
  display:block;

  margin-bottom:3px;

  color:#6557ff;

  font-size:22px;
  line-height:1;

  font-weight:900;

  letter-spacing:-.035em;
}


.fashion-economics-kpi span{
  display:block;

  color:#626779;

  font-size:11px;
  line-height:1.2;

  font-weight:600;
}


/* =========================================================
   DIRECT SCREENSHOTS
   ========================================================= */

.fashion-direct-band{
  margin-top:18px;

  padding-top:17px;

  border-top:
    1px solid
    rgba(92,84,146,.09);
}


.fashion-direct-title{
  margin:
    0
    0
    13px;

  color:#202432;

  font-size:19px;
  line-height:1.2;

  font-weight:850;

  letter-spacing:-.025em;
}


.fashion-direct-grid{
  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:14px;
}


.fashion-direct-item{
  min-width:0;

  overflow:hidden;

  border:
    1px solid
    rgba(91,84,147,.12);

  border-radius:15px;

  background:#fff;

  box-shadow:
    0 8px 25px
    rgba(47,48,91,.05);
}


.fashion-direct-item__head{
  padding:
    9px
    12px;

  border-bottom:
    1px solid
    rgba(91,84,147,.08);

  background:#f7f8ff;

  color:#3c4054;

  font-size:11px;
  line-height:1.2;

  font-weight:800;
}


.fashion-direct-item img{
  display:block;

  width:100%;
  height:auto;
}


/* =========================================================
   TABLET — включаем позже, а не на 1100
   ========================================================= */

@media (max-width:900px){

  .fashion-economics-main{
    grid-template-columns:1fr;

    gap:18px;

    min-height:0;
  }

  .fashion-economics-copy{
    max-width:none;
  }

  .fashion-economics-visual{
    width:min(100%,620px);

    height:275px;

    margin:
      0
      auto;
  }

  .fashion-economics-growth{
    width:380px;
    max-width:72%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:720px){

  .fashion-economics-visual{
    height:290px;
  }

  .fashion-economics-growth{
    width:300px;
    max-width:68%;
  }

  .fashion-economics-note{
    top:60px;
  }

  .fashion-economics-kpis{
    width:170px;
  }

  .fashion-economics-kpi{
    min-height:64px;

    padding:
      10px
      12px;
  }

  .fashion-economics-kpi strong{
    font-size:20px;
  }

  .fashion-direct-grid{
    grid-template-columns:1fr;
  }

}

/* =========================================================
   INCOME
   ========================================================= */

.fashion-income-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(470px,.8fr);
  gap:30px;
  align-items:center;
}

.fashion-income-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.fashion-summary-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);
  gap:24px;
  align-items:stretch;
}

.fashion-table-wrap{
  margin-top:20px;

  overflow:auto;

  border:1px solid rgba(92,84,146,.10);
  border-radius:16px;

  background:#fff;
}

.fashion-table{
  width:100%;
  border-collapse:collapse;
  min-width:690px;

  font-size:12px;
}

.fashion-table th,
.fashion-table td{
  padding:11px 13px;
  border-bottom:1px solid #eef0f6;
  text-align:right;
  white-space:nowrap;
}

.fashion-table th:first-child,
.fashion-table td:first-child{
  text-align:left;
}

.fashion-table thead th{
  backgro
  color:#696d7f;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.045em;
}

.fashion-table tbody tr:last-child td{
  border-bottom:0;
}

.fashion-good{
  color:var(--fc-green);
  font-weight:900;
}

.fashion-summary-quote{
  min-height:100%;

  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:28px;

  border-radius:22px;

  background:
    radial-gradient(circle at 55% 20%,rgba(118,86,255,.17),transparent 36%),
    linear-gradient(145deg,#f4f2ff,#f5f7ff);
}

.fashion-summary-quote strong{
  display:block;

  color:#6b58ee;

  font-size:25px;
  line-height:1.1;
  letter-spacing:-.035em;
}

.fashion-summary-quote p{
  margin:22px 0 0;

  color:#62667a;
  font-size:14px;
  line-height:1.5;
}


/* =========================================================
   SHARED OUTRO — FASHION OVERRIDES
   ========================================================= */

.ai-results-shared--fashion-case{
  position:relative;
  overflow:hidden;

  min-height:530px;

  margin-top:22px;

  background:
    radial-gradient(circle at 79% 38%,rgba(108,76,255,.15),transparent 32%),
    #080a12;
}

.ai-results-shared--fashion-case
.ai-results-shared__grid{
  grid-template-columns:minmax(0,1fr) minmax(520px,.95fr);
  align-items:center;
}

.ai-results-shared--fashion-case
.ai-results-shared__copy{
  position:relative;
  z-index:4;
  max-width:670px;
}

.ai-results-shared--fashion-case h2{
  max-width:720px;
}

.ai-results-shared--fashion-case
.fashion-outro-accent{
  color:#b16aff;
}

.ai-results-shared--fashion-case
.ai-results-shared__description{
  max-width:650px;
}

.ai-results-shared--fashion-case
.ai-results-shared__right{
  position:relative;
  min-height:430px;
}

.ai-results-shared--fashion-case
.ai-results-shared__right::before{
  content:"";

  position:absolute;
  z-index:0;

  inset:-45px -90px -55px -55px;

  background:
    url("/assets/cases/fashion-internet-magazin-rost-pokupok-snizhenie-cpa/outro.webp")
    center bottom / contain no-repeat;

  pointer-events:none;
}

.ai-results-shared--fashion-case
.ai-results-shared__stats{
  display:none;
}

.ai-results-shared--fashion-case
.ai-results-shared__stat{
  min-height:185px;

  padding:26px;

  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;

  background:rgba(15,17,29,.73);

  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.08);

  backdrop-filter:blur(14px);
}

.ai-results-shared--fashion-case
.ai-results-shared__stat-value{
  color:#fff;
  font-size:23px;
  line-height:1.05;
}

.ai-res
.ai-results-shared__stat-text{
  margin-top:13px;

  color:#e9e6ff;
  font-size:16px;
  line-height:1.38;
}


/* =========================================================
   RESPONSIVE — PAGE CONTENT ONLY
   Hero responsive rules live in the hero section above.
   ========================================================= */

@media (max-width:1100px){

  .fashion-task-grid,
  .fashion-result-grid,
  .fashion-extra-grid,
  .fashion-income-grid,
  .fashion-summary-grid,
  .ai-results-shared--fashion-case
  .ai-results-shared__grid{
    grid-template-columns:1fr;
  }

  .fashion-stat-grid{
    grid-template-columns:
      repeat(
        3,
        1fr
      );
  }

  .ai-results-shared--fashion-case
  .ai-results-shared__right{
    min-height:440px;
  }

}


@media (max-width:720px){

  .fashion-case-shell{
    width:
      min(
        100% - 24px,
        1460px
      );
  }

  .fashion-case-top{
    padding-top:14px;
  }

  .fashion-case-section{
    padding:9px 0;
  }

  .fashion-case-card{
    border-radius:20px;
  }

  .fashion-case-card__inner{
    padding:
      22px
      18px;
  }

  .fashion-case-title{
    font-size:30px;
  }

  .fashion-stat-grid,
  .fashion-income-stats{
    grid-template-columns:1fr;
  }

  .fashion-stat{
    min-height:auto;
  }

  .fashion-task-note{
    min-height:auto;

    padding:20px;
  }

  .fashion-task-icon{
    flex-basis:64px;

    width:64px;
    height:64px;

    font-size:30px;
  }

  .fashion-direct-grid{
    grid-template-columns:1fr;
  }

  .fashion-economics-visual{
    min-height:290px;
  }

  .fashion-economics-growth{
  position:absolute;

  left:10px;
  bottom:-10px;

  width:min(100%,500px);
  height:auto;

  object-fit:contain;
  object-position:left bottom;

  pointer-events:none;

  filter:
    drop-shadow(
      0 22px 34px
      rgba(99,74,224,.12)
    );
}


.fashion-economics-stats{
    width:190px;
  }

  .ai-results-shared--fashion-case
  .ai-results-shared__right{
    min-height:380px;
  }

  .ai-results-shared--fashion-case
  .ai-results-shared__stats{
  display:none;
}
