:root{--blue:#0f2747;--blue2:#12345d;--yellow:#ffd02f;--gray:#eef2f7;--text:#111827;--muted:#667085;--line:#d9e1ec}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f7f9fc;color:var(--text)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,.btn{border:0;border-radius:14px;background:var(--yellow);color:#111;padding:12px 18px;font-weight:800;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px}.btn:disabled,button:disabled{opacity:.45;cursor:not-allowed}.btn.ghost{background:#fff;border:1px solid var(--line);margin-top:10px}.full{width:100%}.topbar{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px 5vw}.logo{font-size:26px;font-weight:900;color:var(--blue)}.logo span{background:var(--yellow);border-radius:10px;padding:3px 7px;margin-right:2px;color:#111}.topbar nav,.actions{display:flex;gap:16px;align-items:center}.cart-link{background:var(--blue);color:#fff;border-radius:12px;padding:10px 14px}.cart-link b{background:var(--yellow);color:#111;border-radius:999px;padding:2px 7px}.hero{display:grid;grid-template-columns:1.45fr .55fr;gap:30px;align-items:center;padding:70px 5vw;background:linear-gradient(135deg,var(--blue),#071524);color:#fff}.eyebrow{color:var(--yellow);font-weight:800}.hero h1{font-size:clamp(36px,5vw,68px);line-height:1;margin:10px 0}.hero p{font-size:18px;color:#dbe6f6}.search-xl{display:flex;background:#fff;border-radius:20px;padding:7px;margin:26px 0;box-shadow:0 16px 50px #0005}.search-xl input{flex:1;border:0;padding:18px;font-size:17px;outline:0}.contact-buttons{display:flex;gap:12px;flex-wrap:wrap}.contact-buttons a{background:#ffffff18;border:1px solid #ffffff33;padding:12px 16px;border-radius:12px}.hero-card{background:#fff;color:var(--blue);border-radius:30px;padding:35px;box-shadow:0 25px 80px #0007}.hero-card .gear{font-size:86px}.hero-card b{font-size:44px;display:block}.container{width:min(1180px,90vw);margin:42px auto}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.category-grid,.product-grid,.advantages,.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-tile,.page-card,.product-card,.advantages div,.stats div{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 10px 30px #0f27470d}.category-tile{padding:24px;min-height:120px;display:flex;flex-direction:column;justify-content:space-between}.category-tile span{font-size:22px;font-weight:900;color:var(--blue)}.category-tile small,.muted-link,small,.sku{color:var(--muted)}.advantages div,.stats div{padding:25px}.advantages b{display:block;color:var(--blue);font-size:20px;margin-bottom:8px}.product-card{overflow:hidden;background:#fff}.product-card img{height:190px;width:100%;object-fit:cover;background:var(--gray)}.card-body{padding:18px}.card-body h3{margin:8px 0;min-height:50px}.price-row{display:flex;justify-content:space-between;align-items:center;margin:14px 0}.ok{color:#09844b}.no{color:#b42318}.page-card{padding:24px}.catalog-layout{display:grid;grid-template-columns:280px 1fr;gap:25px}.filters{position:sticky;top:90px;height:max-content}.filters form,.form-card{display:grid;gap:14px}label{display:grid;gap:7px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px;background:#fff;font:inherit}textarea{min-height:105px}.range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center}.product-page{display:grid;grid-template-columns:1fr 1fr;gap:25px}.product-photo img{height:460px;width:100%;object-fit:cover;border-radius:18px}.big-price{font-size:40px;font-weight:900;color:var(--blue);margin:20px 0}.cart-row{display:grid;grid-template-columns:80px 1fr 120px 130px 120px 80px;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.cart-row img{height:60px;width:80px;object-fit:cover;border-radius:12px}.qty-form{display:flex;gap:6px}.cart-total{display:flex;justify-content:flex-end;gap:25px;font-size:24px;margin:24px 0}.checkout-grid,.admin-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:25px}.auth{width:min(430px,90vw);margin:60px auto}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.admin-nav a{background:var(--blue);color:#fff;padding:10px 14px;border-radius:12px}.stats div{font-size:28px;font-weight:900;color:var(--blue)}.stats span{display:block;font-size:14px;color:var(--muted);font-weight:600}.admin-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.admin-row small{display:block}.form-inline{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.link-danger{background:transparent;color:#b42318;padding:0}.flash-wrap{width:min(1180px,90vw);margin:16px auto}.flash{padding:13px 16px;border-radius:14px;margin-bottom:8px;background:#fff;border:1px solid var(--line)}.flash.success{border-color:#8ad7ac}.flash.danger{border-color:#ffb4ac}.flash.warning{border-color:#ffe28c}.footer{margin-top:60px;padding:35px 5vw;background:#071524;color:#fff;display:flex;justify-content:space-between;gap:20px}.footer a{display:block;color:#dbe6f6;margin:5px 0}@media(max-width:900px){.topbar{align-items:flex-start;flex-direction:column}.topbar nav,.actions{flex-wrap:wrap}.hero,.catalog-layout,.product-page,.checkout-grid,.admin-grid{grid-template-columns:1fr}.category-grid,.product-grid,.advantages,.stats{grid-template-columns:repeat(2,1fr)}.filters{position:static}.cart-row{grid-template-columns:70px 1fr;align-items:start}.cart-row>*{grid-column:auto}.footer{flex-direction:column}}@media(max-width:560px){.category-grid,.product-grid,.advantages,.stats{grid-template-columns:1fr}.search-xl{display:grid}.hero{padding:45px 5vw}.hero-card{display:none}}


.checkout-layout {
  max-width: 1240px;
  margin: 46px auto;
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 28px;
  padding: 0 18px;
}

.checkout-card,
.order-summary {
  border-radius: 22px;
}

.np-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.np-title h1 {
  margin: 0;
}

.np-title p {
  margin: 6px 0 0;
  color: #65748b;
}

.np-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #ed1c24;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(237, 28, 36, .25);
}

.np-logo.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 13px;
}

.np-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.np-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  position: relative;
}

.np-form input,
.np-form select,
.np-form textarea {
  width: 100%;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  outline: none;
}

.np-form input:focus,
.np-form select:focus,
.np-form textarea:focus {
  border-color: #ffcc26;
  box-shadow: 0 0 0 4px rgba(255, 204, 38, .18);
}

.np-delivery-box {
  border: 1px solid #e3e9f3;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  display: grid;
  gap: 15px;
}

.np-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #071a33;
}

.suggestions {
  display: none;
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 18px 45px rgba(7, 26, 51, .16);
}

.suggestions.open {
  display: block;
}

.suggestion-item {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
}

.suggestion-item:hover {
  background: #fff5cc;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.wide-btn {
  width: 100%;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .checkout-layout,
  .field-row {
    grid-template-columns: 1fr;
  }
}

.suggestion-empty {
  padding: 12px 14px;
  color: #667085;
  background: #fff;
  font-weight: 600;
}

/* DIANAPARTS_STEP3_NOTIFICATION_COPY_CSS */
.notification-details { border: 1px solid var(--line); background: #f8fbff; border-radius: 16px; padding: 14px; }
.notification-details[open] summary { margin-bottom: 8px; }
.notification-copy { width: 100%; min-height: 230px; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.copy-notification-btn { width: fit-content; }
@media (max-width: 700px) {
  .copy-notification-btn { width: 100%; }
  .notification-copy { min-height: 280px; font-size: 13px; }
}

/* DIANAPARTS_STEP4_MOBILE_CHECKOUT_CSS */
.checkout-mobile-steps { display: none; }

@media (min-width: 901px) {
  .order-summary {
    position: sticky;
    top: 96px;
    height: max-content;
  }
}

@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #f4f7fb;
  }

  .topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .logo {
    font-size: 22px;
  }

  .topbar nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .topbar nav::-webkit-scrollbar {
    display: none;
  }

  .topbar nav a {
    white-space: nowrap;
    background: #f6f8fb;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .actions a:not(.cart-link) {
    font-size: 13px;
    align-self: center;
  }

  .cart-link {
    padding: 9px 12px;
    white-space: nowrap;
  }

  .flash-wrap {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .flash {
    font-size: 14px;
    line-height: 1.35;
  }

  .checkout-layout {
    width: 100%;
    margin: 12px auto 24px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .order-summary {
    order: -1;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 39, 71, .08);
  }

  .order-summary h2:first-child {
    margin: 0 0 8px;
    font-size: 18px;
  }

  .order-summary h2:last-child {
    margin: 8px 0 0;
    font-size: 24px;
  }

  .order-summary hr {
    margin: 8px 0;
  }

  .summary-line {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
  }

  .summary-line span {
    min-width: 0;
    line-height: 1.3;
  }

  .summary-line strong {
    white-space: nowrap;
  }

  .checkout-card {
    padding: 15px;
    border-radius: 18px;
  }

  .np-title {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .np-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .np-title h1 {
    font-size: 24px;
    line-height: 1.08;
  }

  .np-title p {
    font-size: 13px;
    line-height: 1.3;
  }

  .checkout-mobile-steps {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: 4px 0 14px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .checkout-mobile-steps::-webkit-scrollbar {
    display: none;
  }

  .checkout-mobile-steps span {
    white-space: nowrap;
    background: #fff7d6;
    border: 1px solid #ffe28a;
    color: #4b3a00;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
  }

  .np-form {
    gap: 14px;
  }

  .field-row,
  #addressBlock.field-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .np-form label {
    gap: 7px;
    font-size: 14px;
  }

  .np-form input,
  .np-form select,
  .np-form textarea {
    min-height: 48px;
    border-radius: 13px;
    font-size: 16px;
    padding: 12px 13px;
  }

  .np-form textarea {
    min-height: 96px;
  }

  .np-delivery-box {
    padding: 14px;
    border-radius: 18px;
    gap: 13px;
  }

  .np-box-head {
    margin-bottom: 0;
  }

  .suggestions {
    top: calc(100% + 6px);
    left: -2px;
    right: -2px;
    z-index: 999;
    max-height: min(44vh, 310px);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(7, 26, 51, .22);
  }

  .suggestion-item,
  .suggestion-empty {
    padding: 14px;
    font-size: 15px;
    line-height: 1.32;
  }

  .wide-btn {
    position: sticky;
    bottom: 10px;
    z-index: 30;
    min-height: 54px;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(15, 39, 71, .22);
  }

  .footer {
    margin-top: 28px;
    padding: 22px 14px;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .checkout-card,
  .order-summary {
    padding: 13px;
  }

  .np-title h1 {
    font-size: 22px;
  }

  .np-logo {
    width: 40px;
    height: 40px;
  }

  .checkout-mobile-steps span {
    font-size: 11px;
    padding: 7px 9px;
  }
}

/* CATEGORY IMAGE CARDS */
.category-tile.category-tile-image{
  padding:0;
  overflow:hidden;
  min-height:0;
  display:flex;
  flex-direction:column;
  background:#fff;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-tile.category-tile-image:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px #0f274724;
  border-color:#c8d6e8;
}
.category-tile.category-tile-image img{
  width:100%;
  height:170px;
  object-fit:cover;
  object-position:center;
  background:#eef2f7;
}
.category-tile-info{
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.category-tile-info span{
  font-size:21px;
  font-weight:900;
  color:var(--blue);
}
.category-tile-info small{
  color:var(--muted);
  font-weight:700;
}
@media(max-width:900px){
  .category-tile.category-tile-image img{height:155px;}
}
@media(max-width:560px){
  .category-tile.category-tile-image img{height:185px;}
  .category-tile-info{padding:15px 16px 17px;}
}

/* CATEGORY IMAGE CARDS V2 - ALL CATEGORIES */
.category-image-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}
.category-tile.category-tile-image{
  padding:0 !important;
  overflow:hidden;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column;
  background:#fff;
  border:1px solid #dbe4ef;
  border-radius:22px;
  text-decoration:none;
  box-shadow:0 12px 35px rgba(15,39,71,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-tile.category-tile-image:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 48px rgba(15,39,71,.16);
  border-color:#bfcde0;
}
.category-tile.category-tile-image img{
  width:100%;
  height:185px;
  display:block;
  object-fit:cover;
  object-position:center;
  background:#eef2f7;
}
.category-tile-info{
  padding:15px 17px 17px;
  display:flex;
  flex-direction:column;
  gap:5px;
  background:#fff;
}
.category-tile-info span{
  font-size:21px;
  line-height:1.1;
  font-weight:900;
  color:var(--blue, #061f3c);
}
.category-tile-info small{
  color:var(--muted, #6f7d90);
  font-weight:750;
}
@media(max-width:900px){
  .category-image-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px;}
  .category-tile.category-tile-image img{height:160px;}
  .category-tile-info span{font-size:18px;}
}
@media(max-width:560px){
  .category-image-grid{grid-template-columns:1fr;}
  .category-tile.category-tile-image img{height:205px;}
  .category-tile-info{padding:15px 16px 18px;}
  .category-tile-info span{font-size:22px;}
}

/* DIANAPARTS HERO BANNER V1 */
.topbar{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 34px rgba(8,24,48,.08);
}
.topbar nav a{
  padding:9px 12px;
  border-radius:999px;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.topbar nav a:hover{
  background:#eef4fb;
  color:var(--blue,#0f2747);
  transform:translateY(-1px);
}
.logo{
  letter-spacing:-.04em;
}
.cart-link{
  box-shadow:0 10px 24px rgba(15,39,71,.18);
}
.hero{
  position:relative;
  overflow:hidden;
  min-height:640px;
  display:grid;
  grid-template-columns:minmax(360px,.98fr) minmax(320px,.72fr);
  align-items:center;
  gap:38px;
  padding:82px 5vw 62px;
  color:#fff;
  background:
    linear-gradient(90deg, rgba(7,21,36,.99) 0%, rgba(7,21,36,.98) 42%, rgba(7,21,36,.62) 58%, rgba(7,21,36,.10) 100%),
    url('../img/hero/dianaparts_hero_banner.png?v=hero1');
  background-size:cover;
  background-position:center right;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero::before{
  content:'';
  position:absolute;
  left:-120px;
  top:-160px;
  width:520px;
  height:520px;
  background:radial-gradient(circle, rgba(255,208,47,.24), transparent 65%);
  pointer-events:none;
}
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.04), transparent 42%);
  pointer-events:none;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:790px;
}
.hero .eyebrow{
  color:var(--yellow,#ffd02f);
  font-size:18px;
  letter-spacing:.01em;
  text-shadow:0 8px 24px rgba(0,0,0,.35);
}
.hero h1{
  max-width:820px;
  margin:12px 0 18px;
  font-size:clamp(42px,5.4vw,76px);
  line-height:.98;
  letter-spacing:-.045em;
  text-shadow:0 16px 45px rgba(0,0,0,.45);
}
.hero p{
  max-width:720px;
  color:#dfe9f8;
  font-size:19px;
  line-height:1.45;
}
.hero .search-xl{
  max-width:790px;
  border-radius:22px;
  padding:8px;
  box-shadow:0 22px 70px rgba(0,0,0,.42);
}
.hero .search-xl input{
  padding:18px 20px;
}
.hero .search-xl button{
  min-width:108px;
  border-radius:16px;
}
.hero-contact-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(150px,1fr));
  gap:14px;
  max-width:790px;
  margin-top:18px;
}
.hero-contact-buttons a{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:'icon title' 'icon sub';
  column-gap:12px;
  align-items:center;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.hero-contact-buttons a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.16);
  border-color:rgba(255,208,47,.50);
}
.hero-contact-buttons span{
  grid-area:icon;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#111;
  background:var(--yellow,#ffd02f);
  font-weight:900;
}
.hero-contact-buttons b{
  grid-area:title;
  color:#fff;
  line-height:1.1;
}
.hero-contact-buttons small{
  grid-area:sub;
  color:#c8d6e8;
  font-weight:650;
}
.hero-badges{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:940px;
  margin-top:26px;
}
.hero-badges div{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  border-radius:22px;
  padding:18px 20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-badges strong{
  display:block;
  color:#fff;
  font-size:22px;
  line-height:1.1;
  margin-bottom:6px;
}
.hero-badges span{
  color:#c8d6e8;
  font-weight:650;
}
.hero-card{
  display:none !important;
}
@media(max-width:900px){
  .hero{
    min-height:560px;
    grid-template-columns:1fr;
    padding:58px 5vw 44px;
    background:
      linear-gradient(90deg, rgba(7,21,36,.99) 0%, rgba(7,21,36,.93) 62%, rgba(7,21,36,.42) 100%),
      url('../img/hero/dianaparts_hero_banner.png?v=hero1');
    background-size:cover;
    background-position:center right;
  }
  .hero h1{font-size:clamp(36px,8vw,58px);}
  .hero-contact-buttons{grid-template-columns:1fr;}
  .hero-badges{grid-template-columns:1fr;max-width:720px;}
}
@media(max-width:560px){
  .topbar{gap:12px;padding:13px 4vw;}
  .hero{
    min-height:auto;
    padding:42px 4vw 38px;
    background:
      linear-gradient(90deg, rgba(7,21,36,1) 0%, rgba(7,21,36,.96) 76%, rgba(7,21,36,.65) 100%),
      url('../img/hero/dianaparts_hero_banner.png?v=hero1');
    background-size:cover;
    background-position:center right;
  }
  .hero .eyebrow{font-size:15px;}
  .hero h1{font-size:38px;line-height:1.02;}
  .hero p{font-size:16px;}
  .hero .search-xl{display:grid;border-radius:18px;}
  .hero .search-xl input{padding:15px 14px;}
  .hero .search-xl button{width:100%;}
  .hero-badges div{padding:15px 16px;}
}

/* =========================================================
   DIANAPARTS - HOME FEATURE IMAGE CARDS SAFE
   ========================================================= */

.home-mini-features-section {
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto 44px;
}

.home-mini-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-mini-card {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 365px;
  border-radius: 24px;
  text-decoration: none !important;
  color: #ffffff !important;
  background: #071525;
  border: 1px solid rgba(255, 203, 39, 0.18);
  box-shadow: 0 18px 42px rgba(0,0,0,0.34);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-mini-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 203, 39, 0.55);
  box-shadow:
    0 24px 52px rgba(0,0,0,0.46),
    0 0 28px rgba(255,203,39,0.18);
}

.home-mini-card img {
  width: 100%;
  height: 100%;
  min-height: 365px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.home-mini-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.05);
}

.home-mini-card__content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(5,14,26,0.30), rgba(5,14,26,0.78));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(4px);
}

.home-mini-card__content h3 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
}

.home-mini-card__content h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: #ffcc27;
  box-shadow: 0 0 14px rgba(255,203,39,.55);
}

.home-mini-card__content p {
  margin: 0 !important;
  color: #d9e6f7 !important;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .home-mini-features {
    grid-template-columns: 1fr;
  }

  .home-mini-card,
  .home-mini-card img {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  .home-mini-features-section {
    width: min(100% - 20px, 1180px);
    margin: 24px auto 30px;
  }

  .home-mini-card,
  .home-mini-card img {
    min-height: 300px;
  }

  .home-mini-card {
    border-radius: 18px;
  }

  .home-mini-card__content {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 13px;
    border-radius: 14px;
  }

  .home-mini-card__content h3 {
    font-size: 23px;
  }
}
