:root{
    --text:#19191a;
    --muted:#6b7280;
    --border:#e5e7eb;
    --bg:#fff;
    --black:#000;
    --container:1200px;
    --radius:18px;
  }
  
  *{ box-sizing:border-box; }
  html,body{ margin:0; padding:0; }
  body{
    font-family:"Mulish", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color:var(--text);
    background:var(--bg);
  }
  
  a{ color:inherit; text-decoration:none; }
  a:hover{ text-decoration:none; }
  
  .container{
    max-width: var(--container);
    margin:0 auto;
    padding:0 16px;
  }
  
  /* Top bar */
  .topbar{
    background:var(--black);
    color:#fff;
    font-size:14px;
  }
  .topbar__inner{
    height:40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
  }
  .topbar__left{ font-weight:600; }
  .topbar__right{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    white-space:nowrap;
  }
  .topbar__phone-icon{ opacity:.9; }
  
  /* Header */
  .header{
    position:sticky;
    top:0;
    z-index:50;
    background:#fff;
    border-bottom:1px solid var(--border);
  }
  
  .header__row{
    display:grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items:center;
    gap:16px;
    padding: 14px 0 10px;
  }
  
  /* Brand */
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .brand--logo{
    align-items:center;
  }
  .brand__logo{
    display:block;
    height:32px;
    width:auto;
  }
  .brand__mark{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#e9f5ee;
  }
  .brand__name{
    font-weight:900;
    letter-spacing:.3px;
    font-size:20px;
  }
  
  /* Search */
  .search{
    position:relative;
    height:40px;
    border:1px solid var(--border);
    border-radius:999px;
    display:flex;
    align-items:center;
    padding: 0 12px;
    background:#fff;
  }
  .search__icon{ opacity:.7; }
  .search__input{
    border:0;
    outline:0;
    width:100%;
    font-size:14px;
    padding: 0 10px;
    background:transparent;
  }
  .search__clear{
    border:0;
    background:transparent;
    cursor:pointer;
    opacity:.7;
    font-size:14px;
    padding:4px;
    display:none;
    flex-shrink:0;
  }
  .search__clear:hover{ opacity:1; }
  
  /* Actions */
  .actions{
    display:flex;
    justify-content:flex-end;
    gap:22px;
  }
  .actions__item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    font-size:12px;
    color:var(--text);
  }
  .actions__icon{
    font-size:18px;
    line-height:1;
    opacity:.9;
  }
  .actions__label{ opacity:.85; }
  
  /* Мобильная компоновка header: бренд + иконки в первой строке, поиск ниже */
  @media (max-width: 640px){
    .header__row{
      display:flex;
      flex-wrap:wrap;
      row-gap:10px;
      column-gap:12px;
      align-items:center;
    }
    .brandwrap{
      display:flex;
      align-items:center;
      gap:10px;
      flex:1 1 auto;
    }
    .search{
      flex: 1 0 100%;
      order: 2;
    }
    .actions{
      flex:0 0 auto;
      order: 1;
    }
  }
  .badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    height:18px;
    padding:0 6px;
    border-radius:999px;
    background:var(--text);
    color:#fff;
    font-size:12px;
    margin-top:2px;
  }
  
  /* Subnav (город + ссылки) */
  .subnav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding: 8px 0 14px;
    font-size:14px;
  }
  .subnav__left{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--text);
  }
  .subnav__pin{ opacity:.75; }
  .subnav__city{ opacity:.9; }
  .subnav__links{
    display:flex;
    align-items:center;
    gap:18px;
  }
  .subnav__link{ opacity:.9; }
  .subnav__link:hover{ opacity:1; }
  
  /* Responsive */
  @media (max-width: 1000px){
    .header__row{
      grid-template-columns: 1fr;
    }
    .actions{
      justify-content:flex-start;
    }
    .subnav{
      flex-direction:column;
      align-items:flex-start;
    }
  }

  @media (max-width: 640px){
    .actions{
      gap:16px;
    }
    .actions__item{
      flex-direction:column;
    }
    .actions__label{
      display:none;
    }
  }

  .mega{
    border-top: 1px solid var(--border);
    padding: 10px 0 14px;
  }
  
  .mega__container{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
  }
  
  .mega__item{
    position:relative;
  }
  
  .mega__lvl1{
    font-size:14px;
    font-weight:600;
    opacity:.9;
  }
  
  .mega__drop{
    display:none;
    position:absolute;
    left:0;
    top:24px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    min-width: 640px;
    z-index:100;
  }
  
  .mega__item:hover .mega__drop{
    display:flex;
    gap:18px;
  }
  
  .mega__col{
    min-width: 180px;
  }
  
  .mega__lvl2{
    font-weight:700;
    display:block;
    margin-bottom:8px;
  }
  
  .mega__lvl3{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  
  .mega__lvl3link{
    font-size:13px;
    opacity:.85;
  }
  .mega__lvl3link:hover{ opacity:1; }


  .brandwrap{
    display:flex;
    align-items:center;
    gap:12px;
  }

  .catalog-btn{
    height:40px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:0 12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
    cursor:pointer;
    font-weight:700;
    font-size:14px;
  }
  .catalog-btn__icon{
    display:inline-flex;
    flex-direction:column;
    gap:4px;
  }
  .catalog-btn__icon span{
    display:block;
    width:18px;
    height:2px;
    background:#222;
  }
  @media (max-width: 1000px){
    .catalog-btn{ display:none; }
  }
  
  .burger{
    width:40px;height:40px;
    display:inline-flex;
    align-items:center;justify-content:center;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    gap:4px;
  }
  .burger span{
    display:block;
    width:18px;height:2px;
    background:#222;
  }

  /* (removed) header-categories inline links */
  
  /* overlay */
  .drawer-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:999;
  }
  
  /* drawer */
  .drawer{
    position:fixed;
    top:0;left:0;
    width:min(360px,88vw);
    height:100vh;
    background:#fff;
    z-index:1000;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    transform:translateX(-100%);
    transition:transform .2s ease;
    display:flex;
    flex-direction:column;
  }
  .drawer.is-open{ transform:translateX(0); }
  
  .drawer__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px;
    border-bottom:1px solid #eee;
  }
  .drawer__title{
    font-size:18px;
    font-weight:600;
    flex:1;
    text-align:center;
  }
  .drawer__back{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:0 10px;
    height:36px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    font-size:14px;
  }
  .drawer__back-text{
    font-size:14px;
  }
  .drawer__close{
    width:36px;height:36px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    font-size:20px;
    line-height:1;
  }
  
  .drawer__body{
    padding:10px 14px;
    overflow:auto;
  }

  /* drawer screens */
  .drawer-screens{
    width:100%;
  }
  .drawer-screen{
    width:100%;
  }
  .drawer-list{
    list-style:none;
    margin:0;
    padding:0;
  }
  .drawer-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:10px 0;
    border-bottom:1px solid #f3f4f6;
  }
  .drawer-item__main{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    border:none;
    background:none;
    padding:0;
    cursor:pointer;
    text-align:left;
  }
  .drawer-item__title{
    font-size:15px;
  }
  .drawer-item__arrow{
    font-size:18px;
    color:#9ca3af;
  }
  .drawer-item__go{
    font-size:13px;
    color:#2563eb;
    text-decoration:none;
    white-space:nowrap;
  }
  .drawer-item__go:hover{
    text-decoration:underline;
  }
  
  /* на десктопе можно скрыть бургер (по желанию) */
  @media (min-width: 1024px){
    .burger{ display:none; }
  }

  /* desktop catalog mega (like Kit) */
  .catalog-mega-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.08);
    z-index:998;
  }
  .catalog-mega{
    position:fixed;
    left:0;
    right:0;
    top:96px; /* below topbar+header row roughly */
    background:#fff;
    border-top:1px solid var(--border);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    z-index:999;
    transform:translateY(-6px);
    opacity:0;
    transition:opacity .15s ease, transform .15s ease;
  }
  .catalog-mega.is-open{
    transform:translateY(0);
    opacity:1;
  }
  .catalog-mega__inner{
    max-width: var(--container);
    margin:0 auto;
    padding:24px 16px;
    display:grid;
    grid-template-columns: 320px 1fr;
    gap:24px;
    min-height: 520px;
  }
  .catalog-mega__left{
    border-right:1px solid var(--border);
    padding-right:16px;
    overflow:auto;
  }
  .catalog-mega__c1{
    width:100%;
    text-align:left;
    border:0;
    background:transparent;
    padding:14px 14px;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
  }
  .catalog-mega__c1.is-active,
  .catalog-mega__c1:hover{
    background:#f3f4f6;
  }
  .catalog-mega__right{
    overflow:auto;
  }
  .catalog-mega__panel{
    display:none;
  }
  .catalog-mega__panel.is-active{
    display:block;
  }
  .catalog-mega__panel-title{
    font-size:40px;
    font-weight:900;
    margin:10px 0 18px;
  }
  .catalog-mega__panel-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:16px 36px;
    max-width: 720px;
  }
  .catalog-mega__c2{
    font-size:18px;
    padding:10px 0;
  }
  .catalog-mega__c2:hover{
    text-decoration:underline;
  }
  @media (max-width: 1000px){
    .catalog-mega,
    .catalog-mega-overlay{ display:none !important; }
  }

  /* Generic sections on homepage */
  .section{
    padding:32px 0;
  }
  .section + .section{
    padding-top:0;
  }
  .section-header{
    margin-bottom:20px;
  }
  .section-title{
    font-size:24px;
    font-weight:800;
    margin:0 0 6px;
  }
  .section-subtitle{
    margin:0;
    font-size:14px;
    color:var(--muted);
  }

  /* Hero banner */
  .section-hero{
    padding-top:24px;
  }
  .hero-banner{
    display:block;
    border-radius:var(--radius);
    overflow:hidden;
    position:relative;
  }
  .hero-banner__media img{
    display:block;
    width:100%;
    height:auto;
  }
  .hero-banner__content{
    position:absolute;
    inset:auto 24px 24px 24px;
    padding:14px 18px;
    border-radius:14px;
    background:rgba(0,0,0,.55);
    color:#fff;
    max-width:420px;
  }
  .hero-banner__title{
    margin:0;
    font-size:22px;
    font-weight:800;
  }

  /* Category tiles */
  .section-categories{
    padding-top:32px;
  }
  .category-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
  }
  @media (min-width: 768px){
    .category-grid{
      grid-template-columns:repeat(3, minmax(0,1fr));
    }
  }
  .category-tile{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:18px 18px;
    min-height:180px;
    border-radius:var(--radius);
    background:linear-gradient(135deg,#f9fafb,#e5e7eb);
    border:1px solid var(--border);
    transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .category-tile__media{
    margin-bottom:12px;
  }
  .category-tile__media img{
    display:block;
    max-width:110px;
    max-height:110px;
  }
  .category-tile__name{
    font-weight:700;
    font-size:15px;
  }
  .category-tile:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,0,0,.06);
    border-color:#d1d5db;
  }

  /* Products shelves */
  .section-products{
    padding-top:32px;
  }
  /* Category page layout */
  .category-page{
    display:grid;
    grid-template-columns: 280px 1fr;
    gap:32px;
    margin-top:24px;
  }
  @media (max-width: 900px){
    .category-page{
      grid-template-columns:1fr;
    }
    .category-filters{
      display:none;
    }
  }

  /* Breadcrumbs */
  .breadcrumbs{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--muted);
    margin-bottom:16px;
  }
  .breadcrumbs a{
    color:var(--muted);
    text-decoration:none;
  }
  .breadcrumbs a:hover{
    text-decoration:underline;
  }
  .breadcrumbs__separator{
    color:#d1d5db;
  }

  /* Category header */
  .category-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
    gap:16px;
  }
  .category-title{
    font-size:24px;
    font-weight:800;
    margin:0;
  }
  .category-sort{
    display:flex;
    align-items:center;
    gap:8px;
  }
  .category-sort__label{
    font-size:14px;
    color:var(--muted);
  }
  .category-sort__select{
    padding:6px 12px;
    border:1px solid var(--border);
    border-radius:8px;
    font-size:14px;
    background:#fff;
    cursor:pointer;
  }

  /* Filters sidebar */
  .category-filters{
    position:sticky;
    top:80px;
    align-self:start;
    min-width:0;
  }
  .filters{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:16px;
    width:100%;
    box-sizing:border-box;
  }
  .filters__title{
    font-size:18px;
    font-weight:700;
    margin:0 0 20px;
  }
  .filter-group{
    margin-bottom:24px;
  }
  .filter-group:last-child{
    margin-bottom:0;
  }
  .filter-group__title{
    font-size:14px;
    font-weight:600;
    margin:0 0 12px;
  }
  .filter-list{
    list-style:none;
    margin:0;
    padding:0;
  }
  .filter-item{
    display:block;
    padding:8px 12px;
    border-radius:6px;
    font-size:14px;
    color:var(--text);
    text-decoration:none;
    transition:background .12s ease;
  }
  .filter-item:hover{
    background:#f9fafb;
  }
  .filter-item.is-active{
    background:#e9f5ee;
    color:#059669;
    font-weight:600;
  }

  /* Price filter */
  .price-filter{
    width:100%;
  }
  .price-filter__inputs{
    display:flex;
    gap:8px;
    margin-bottom:12px;
    width:100%;
  }
  .price-filter__input{
    flex:1;
    min-width:0;
    padding:8px 10px;
    border:1px solid var(--border);
    border-radius:6px;
    font-size:13px;
    width:100%;
    box-sizing:border-box;
  }
  .price-filter__actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
  }
  .price-filter__actions .btn{
    flex:1;
    min-width:80px;
  }

  /* Buttons */
  .btn{
    display:inline-block;
    padding:10px 20px;
    border:none;
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
    transition:background .12s ease, opacity .12s ease;
  }
  .btn--primary{
    background:#000;
    color:#fff;
  }
  .btn--primary:hover{
    opacity:.9;
  }
  .btn--secondary{
    background:#f3f4f6;
    color:var(--text);
    border:1px solid var(--border);
  }
  .btn--secondary:hover{
    background:#e5e7eb;
  }
  .btn--small{
    padding:6px 12px;
    font-size:13px;
  }

  /* Products grid */
  .products-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:14px;
  }
  @media (min-width: 900px){
    .products-grid{
      grid-template-columns:repeat(4, minmax(0,1fr));
    }
  }
  .product-card{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:12px;
    border-radius:16px;
    border:1px solid var(--border);
    background:#fff;
    transition:box-shadow .12s ease, transform .12s ease, border-color .12s ease;
  }
  .product-card__favorite{
    position:absolute;
    top:16px;
    right:16px;
    z-index:2;
    width:32px;
    height:32px;
    border:none;
    background:rgba(255,255,255,.9);
    border-radius:50%;
    display:grid;
    place-items:center;
    cursor:pointer;
    font-size:18px;
    color:#ef4444;
    transition:background .12s ease, transform .12s ease;
  }
  .product-card__favorite:hover{
    background:#fff;
    transform:scale(1.1);
  }
  .product-card__link{
    text-decoration:none;
    color:inherit;
  }
  .product-card__image{
    position:relative;
    border-radius:12px;
    background:#f9fafb;
    display:grid;
    place-items:center;
    overflow:hidden;
    aspect-ratio:1/1;
  }
  .product-card__image img{
    max-width:100%;
    max-height:100%;
    display:block;
  }
  .product-card__gallery-dots{
    position:absolute;
    bottom:8px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:4px;
  }
  .product-card__dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:rgba(255,255,255,.6);
    border:1px solid rgba(0,0,0,.1);
  }
  .product-card__info{
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  .product-card__name{
    font-size:14px;
    line-height:1.3;
    min-height:2.6em;
  }
  .product-card__price{
    font-weight:700;
    font-size:16px;
  }
  .product-card__installment{
    font-size:12px;
    color:#059669;
    font-weight:600;
    margin-top:2px;
  }
  .product-card__cart-form{
    margin-top:auto;
  }
  .product-card__cart-btn{
    width:100%;
    padding:10px;
    font-size:14px;
    font-weight:600;
  }
  .product-card:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    border-color:#d1d5db;
  }

  .product-card__attrs{
    list-style:none;
    margin:6px 0 0;
    padding:0;
    font-size:12px;
    color:var(--muted);
  }
  .product-card__attrs li{
    margin-bottom:2px;
  }
  .product-card__attr-name{
    font-weight:600;
  }

  /* Pagination */
  .pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:32px;
    padding:16px 0;
  }
  .pagination__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 8px;
    border:1px solid var(--border);
    border-radius:8px;
    background:#fff;
    color:var(--text);
    text-decoration:none;
    font-size:14px;
    transition:background .12s ease, border-color .12s ease;
  }
  .pagination__link:hover{
    background:#f9fafb;
    border-color:#d1d5db;
  }
  .pagination__link--active{
    background:#059669;
    color:#fff;
    border-color:#059669;
    font-weight:600;
  }
  .pagination__link--active:hover{
    background:#047857;
    border-color:#047857;
  }

  /* Promo banner */
  .section-promo{
    padding-top:32px;
  }
  .promo-banner{
    display:block;
    border-radius:var(--radius);
    overflow:hidden;
    position:relative;
    border:1px solid var(--border);
  }
  .promo-banner__media img{
    display:block;
    width:100%;
    height:auto;
  }
  .promo-banner__content{
    position:absolute;
    inset:auto 18px 18px 18px;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(0,0,0,.55);
    color:#fff;
    max-width:360px;
  }
  .promo-banner__title{
    margin:0;
    font-size:16px;
    font-weight:700;
  }

  /* News section */
  .section-news{
    padding-top:40px;
    padding-bottom:32px;
  }
  .news-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
  }
  @media (min-width: 900px){
    .news-grid{
      grid-template-columns:repeat(2, minmax(0,1fr));
    }
  }
  .news-card{
    padding:16px 18px;
    border-radius:16px;
    border:1px solid var(--border);
    background:#f9fafb;
  }
  .news-card__title{
    margin:0 0 8px;
    font-size:16px;
    font-weight:700;
  }
  .news-card__excerpt{
    margin:0 0 12px;
    font-size:14px;
    color:var(--muted);
  }
  .news-card__link{
    font-size:14px;
    color:#2563eb;
  }

  /* Subscribe */
  .section-subscribe{
    padding-top:24px;
    padding-bottom:48px;
  }
  .section-subscribe__inner{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding:18px 20px;
    border-radius:18px;
    border:1px solid var(--border);
    background:#f9fafb;
  }
  @media (min-width: 800px){
    .section-subscribe__inner{
      flex-direction:row;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
  }
  .subscribe-form{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .subscribe-form__input{
    min-width:220px;
    padding:10px 12px;
    border-radius:999px;
    border:1px solid var(--border);
    font-size:14px;
  }
  .subscribe-form__button{
    padding:10px 18px;
    border-radius:999px;
    border:0;
    background:#000;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
  }
  .subscribe-form__button:hover{
    opacity:.9;
  }

  .visually-hidden{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
  }

  /* Product detail page */
  .product-page{
    padding-top:24px;
    padding-bottom:48px;
  }
  .product-page__inner{
    display:grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap:48px;
    margin-top:24px;
  }
  @media (max-width: 900px){
    .product-page__inner{
      grid-template-columns:1fr;
      gap:32px;
    }
  }

  /* Product gallery */
  .product-gallery{
    display:flex;
    gap:16px;
  }
  .product-gallery__thumbs{
    display:flex;
    flex-direction:column;
    gap:12px;
    flex-shrink:0;
  }
  .product-gallery__thumb{
    width:80px;
    height:80px;
    border-radius:8px;
    background:#f9fafb;
    border:2px solid transparent;
    padding:4px;
    display:grid;
    place-items:center;
    cursor:pointer;
    transition:border-color .12s ease;
  }
  .product-gallery__thumb:hover{
    border-color:#d1d5db;
  }
  .product-gallery__thumb.is-active{
    border-color:#059669;
  }
  .product-gallery__thumb img{
    max-width:100%;
    max-height:100%;
    display:block;
    border-radius:4px;
  }
  .product-gallery__main{
    flex:1;
    border-radius:18px;
    background:#f9fafb;
    padding:24px;
    display:grid;
    place-items:center;
    min-height:500px;
  }
  .product-gallery__main img{
    max-width:100%;
    max-height:600px;
    display:block;
  }

  /* Product info */
  .product-page__title{
    font-size:28px;
    font-weight:800;
    margin:0 0 20px;
    line-height:1.2;
  }
  .product-page__price-block{
    margin-bottom:24px;
  }
  .product-page__price{
    font-size:32px;
    font-weight:800;
    margin-bottom:8px;
  }
  .product-page__installment{
    font-size:16px;
    color:#059669;
    font-weight:600;
  }
  .product-page__actions{
    display:flex;
    gap:12px;
    margin-bottom:32px;
  }
  .product-page__cart-form{
    flex:1;
  }
  .btn--large{
    width:100%;
    padding:14px 24px;
    font-size:16px;
    font-weight:600;
  }
  .btn--favorite{
    display:flex;
    align-items:center;
    gap:8px;
    padding:14px 20px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
    color:var(--text);
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:background .12s ease, border-color .12s ease;
  }
  .btn--favorite:hover{
    background:#f9fafb;
    border-color:#d1d5db;
  }
  .btn--favorite__icon{
    font-size:20px;
    color:#ef4444;
  }

  /* Product tabs */
  .product-tabs{
    border-top:1px solid var(--border);
    padding-top:20px;
  }
  .product-tabs__header{
    display:flex;
    gap:24px;
    margin-bottom:20px;
    border-bottom:1px solid var(--border);
  }
  .product-tabs__tab{
    padding:12px 0;
    border:none;
    background:none;
    font-size:16px;
    font-weight:600;
    color:var(--muted);
    cursor:pointer;
    border-bottom:2px solid transparent;
    margin-bottom:-1px;
    transition:color .12s ease, border-color .12s ease;
  }
  .product-tabs__tab:hover{
    color:var(--text);
  }
  .product-tabs__tab.is-active{
    color:var(--text);
    border-bottom-color:#059669;
  }
  .product-tabs__content{
    min-height:100px;
  }
  .product-tabs__panel{
    display:none;
  }
  .product-tabs__panel.is-active{
    display:block;
  }
  .product-tabs__description{
    font-size:15px;
    line-height:1.6;
    color:var(--text);
    margin-bottom:12px;
  }
  .product-tabs__more{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:8px 0;
    border:none;
    background:none;
    color:#059669;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
  }
  .product-tabs__more:hover{
    text-decoration:underline;
  }
  .product-tabs__more span{
    font-size:12px;
  }

  /* Product attributes */
  .product-attributes{
    margin-top:16px;
  }
  .product-attributes__table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
  }
  .product-attributes__table th,
  .product-attributes__table td{
    padding:10px 12px;
    border-bottom:1px solid #e5e7eb;
    text-align:left;
    vertical-align:top;
  }
  .product-attributes__table th{
    width:40%;
    font-weight:600;
    color:var(--muted);
  }
  .product-attributes__table td{
    color:var(--text);
  }

  /* Similar products */
  .product-similar{
    margin-top:64px;
    padding-top:48px;
    border-top:1px solid var(--border);
  }
  .product-similar .section-title{
    font-size:24px;
    font-weight:800;
    margin-bottom:24px;
  }

  /* Footer */
  .footer{
    border-top:1px solid var(--border);
    background:#f9fafb;
    margin-top:32px;
    font-size:14px;
  }
  .footer__top{
    display:flex;
    justify-content:space-between;
    gap:40px;
    padding:32px 16px;
  }
  .footer__brand{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-width:420px;
  }
  .footer__logo img{
    height:32px;
    width:auto;
    display:block;
  }
  .footer__company{
    color:var(--muted);
    line-height:1.4;
  }
  .footer__contacts{
    max-width:420px;
  }
  .footer__contacts-title{
    font-weight:700;
    margin-bottom:8px;
  }
  .footer__contacts-block{
    margin-bottom:10px;
  }
  .footer__contacts-label{
    font-size:12px;
    color:var(--muted);
    margin-bottom:2px;
  }
  .footer__contacts-value a{
    color:inherit;
    text-decoration:none;
  }
  .footer__contacts-value a:hover{
    text-decoration:underline;
  }
  .footer__bottom{
    border-top:1px solid #e5e7eb;
    background:#f3f4f6;
  }
  .footer__nav{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    justify-content:center;
    padding:12px 16px;
    font-size:13px;
  }
  .footer__link{
    color:var(--muted);
    text-decoration:none;
  }
  .footer__link:hover{
    text-decoration:underline;
  }
  @media (max-width: 800px){
    .footer__top{
      flex-direction:column;
      padding:24px 16px;
    }
  }

  /* Cart page */
  .cart-page{
    padding-top:24px;
    padding-bottom:48px;
  }
  .cart-page__title{
    font-size:28px;
    font-weight:800;
    margin-bottom:32px;
  }
  .cart-page__inner{
    display:grid;
    grid-template-columns: 1fr 400px;
    gap:48px;
  }
  @media (max-width: 900px){
    .cart-page__inner{
      grid-template-columns:1fr;
    }
  }

  /* Cart items */
  .cart-items{
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  .cart-item{
    display:grid;
    grid-template-columns: 120px 1fr auto auto;
    gap:16px;
    padding:16px;
    border:1px solid var(--border);
    border-radius:12px;
    align-items:center;
  }
  @media (max-width: 640px){
    .cart-item{
      grid-template-columns: 80px 1fr;
      gap:12px;
    }
    .cart-item__quantity,
    .cart-item__actions{
      grid-column:1 / -1;
      justify-self:start;
    }
  }
  .cart-item__image{
    width:120px;
    height:120px;
    border-radius:8px;
    background:#f9fafb;
    display:grid;
    place-items:center;
    overflow:hidden;
    flex-shrink:0;
  }
  .cart-item__image img{
    max-width:100%;
    max-height:100%;
    display:block;
  }
  .cart-item__placeholder{
    font-size:12px;
    color:var(--muted);
  }
  .cart-item__info{
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:0;
  }
  .cart-item__name{
    font-size:16px;
    font-weight:600;
    color:var(--text);
    text-decoration:none;
    line-height:1.3;
  }
  .cart-item__name:hover{
    text-decoration:underline;
  }
  .cart-item__price{
    font-size:18px;
    font-weight:700;
  }
  .cart-item__quantity{
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px 12px;
    border:1px solid var(--border);
    border-radius:8px;
    background:#fff;
  }
  .cart-item__qty-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border:none;
    background:#f3f4f6;
    border-radius:6px;
    color:var(--text);
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:background .12s ease;
  }
  .cart-item__qty-btn:hover{
    background:#e5e7eb;
  }
  .cart-item__qty-value{
    font-size:16px;
    font-weight:600;
    min-width:24px;
    text-align:center;
  }
  .cart-item__actions{
    display:flex;
    gap:8px;
  }
  .cart-item__favorite,
  .cart-item__remove{
    width:36px;
    height:36px;
    border:none;
    background:#f3f4f6;
    border-radius:8px;
    display:grid;
    place-items:center;
    color:var(--text);
    text-decoration:none;
    font-size:18px;
    cursor:pointer;
    transition:background .12s ease;
  }
  .cart-item__favorite:hover,
  .cart-item__remove:hover{
    background:#e5e7eb;
  }
  .cart-item__favorite{
    color:#ef4444;
  }

  /* Cart checkout */
  .cart-checkout{
    position:sticky;
    top:80px;
    align-self:start;
    padding:24px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
  }
  .cart-checkout__summary{
    margin-bottom:24px;
    padding-bottom:24px;
    border-bottom:1px solid var(--border);
  }
  .cart-checkout__total{
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .cart-checkout__total-label{
    font-size:16px;
    color:var(--muted);
  }
  .cart-checkout__total-value{
    font-size:24px;
    font-weight:800;
  }
  .cart-checkout__form{
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  .cart-checkout__error{
    padding:12px;
    background:#fee2e2;
    border:1px solid #fecaca;
    border-radius:8px;
    color:#991b1b;
    font-size:14px;
  }
  .form-group{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .form-label{
    font-size:14px;
    font-weight:600;
    color:var(--text);
  }
  .form-input{
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:8px;
    font-size:14px;
    transition:border-color .12s ease;
  }
  .form-input:focus{
    outline:none;
    border-color:#059669;
  }
  .cart-checkout__submit{
    margin-top:8px;
  }
  .cart-checkout__note{
    margin-top:16px;
    font-size:13px;
    color:var(--muted);
    line-height:1.4;
  }

  /* Cart empty */
  .cart-empty{
    text-align:center;
    padding:64px 16px;
  }
  .cart-empty p{
    font-size:18px;
    color:var(--muted);
    margin-bottom:24px;
  }

  /* Favorites page */
  .favorites-page{
    padding-top:24px;
    padding-bottom:48px;
  }
  .favorites-page__title{
    font-size:28px;
    font-weight:800;
    margin-bottom:32px;
  }
  .favorites-empty{
    text-align:center;
    padding:64px 16px;
  }
  .favorites-empty p{
    font-size:18px;
    color:var(--muted);
    margin-bottom:24px;
  }

  /* Active favorite button */
  .product-card__favorite.is-active,
  .cart-item__favorite.is-active,
  .btn--favorite.is-active{
    color:#ef4444;
  }
  .product-card__favorite.is-active span,
  .cart-item__favorite.is-active span{
    color:#ef4444;
  }
  .btn--favorite.is-active .btn--favorite__icon{
    color:#ef4444;
  }

  /* Static page */
  .static-page{
    padding-top:24px;
    padding-bottom:48px;
  }
  .static-page__content{
    max-width:800px;
    margin:0 auto;
  }
  .static-page__title{
    font-size:32px;
    font-weight:800;
    margin:24px 0 32px;
    line-height:1.2;
  }
  .static-page__body{
    font-size:16px;
    line-height:1.7;
    color:var(--text);
  }
  .static-page__body h2,
  .static-page__body h3{
    font-weight:700;
    margin-top:32px;
    margin-bottom:16px;
  }
  .static-page__body h2{
    font-size:24px;
  }
  .static-page__body h3{
    font-size:20px;
  }
  .static-page__body p{
    margin-bottom:16px;
  }
  .static-page__body ul,
  .static-page__body ol{
    margin:16px 0;
    padding-left:24px;
  }
  .static-page__body li{
    margin-bottom:8px;
  }
  .static-page__body a{
    color:#059669;
    text-decoration:underline;
  }
  .static-page__body a:hover{
    color:#047857;
  }
  .static-page__body img{
    max-width:100%;
    height:auto;
    border-radius:8px;
    margin:16px 0;
  }
  .static-page__body table{
    width:100%;
    border-collapse:collapse;
    margin:16px 0;
  }
  .static-page__body table th,
  .static-page__body table td{
    padding:12px;
    border:1px solid var(--border);
    text-align:left;
  }
  .static-page__body table th{
    background:#f9fafb;
    font-weight:600;
  }

  /* Search page */
  .search-page{
    padding-top:24px;
    padding-bottom:48px;
  }
  .search-page__header{
    margin-bottom:32px;
  }
  .search-page__title{
    font-size:28px;
    font-weight:800;
    margin:0 0 8px;
  }
  .search-page__count{
    font-size:16px;
    color:var(--muted);
    margin:0;
  }
  .search-empty{
    text-align:center;
    padding:64px 16px;
  }
  .search-empty p{
    font-size:18px;
    color:var(--muted);
    margin-bottom:16px;
  }
  .search-empty a{
    color:#059669;
    text-decoration:underline;
  }
  .search-empty a:hover{
    color:#047857;
  }

  /* 404 page */
  .page-404{
    padding-top:48px;
    padding-bottom:80px;
    min-height:50vh;
    display:flex;
    align-items:center;
  }
  .page-404__inner{
    text-align:center;
    max-width:480px;
    margin:0 auto;
  }
  .page-404__code{
    font-size:120px;
    font-weight:800;
    line-height:1;
    color:var(--border);
    margin-bottom:8px;
    letter-spacing:-0.02em;
  }
  .page-404__title{
    font-size:28px;
    font-weight:800;
    margin:0 0 16px;
    color:var(--text);
  }
  .page-404__text{
    font-size:16px;
    color:var(--muted);
    margin:0 0 32px;
    line-height:1.5;
  }
  .page-404__actions{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    justify-content:center;
  }
  .page-404__actions .btn{
    min-width:180px;
  }