@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/b6461f1a0213_92zPtBhPNqw79Ij1E865zBUv7myjJTVBNIg.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/8eb1cce15ab8_92zPtBhPNqw79Ij1E865zBUv7myRJTVBNIg.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-600.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }

html {
  scrollbar-width: thin;
  scrollbar-color: #0c1430 transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #0c1430 transparent;
}

*::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: #0c1430;
  border-radius: 99px;
}

body {
  margin: 0;
  background: #f6f3ee;
  color: #1c1a17;
  font-family: Outfit, sans-serif;
}

button, input, textarea { font-family: inherit; }

.ac-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #fff;
  border-bottom: 1px solid #efeae3;
}

.ac-top img { width: 168px; height: auto; display: block; }

.ac-tools { display: flex; align-items: center; gap: 14px; }
.ac-account { display: grid; place-items: center; width: 32px; height: 32px; color: #1c1a17; }
.ac-bag {
  position: relative;
  color: #1c1a17;
  text-decoration: none;
}

.ac-bag span {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #1c1a17;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.ac-page {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 64px;
}

.ac-title {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ac-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
}

.ac-jump a { color: #5c564f; font-size: 13px; }

.ac-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 390px);
  gap: 22px;
  align-items: start;
}

.ac-card {
  background: #fff;
  border: 1px solid #ece7e0;
  border-radius: 2px;
  padding: 18px 18px 16px;
}

.ac-heads,
.ac-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 110px 118px 88px;
  gap: 12px;
  align-items: center;
}

.ac-heads {
  padding-bottom: 12px;
  border-bottom: 1px solid #eee8e1;
  color: #9a938a;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ac-row {
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #f0ebe4;
}

.ac-product { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }

.ac-product img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  background: #f6f3ee;
  border-radius: 8px;
}

.ac-product h2 { margin: 0; font-size: 16px; font-weight: 500; }

.ac-product h2 a { color: inherit; text-decoration: none; }

.ac-meta { margin: 4px 0 0; color: #8d867e; font-size: 13px; }

.ac-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: #2f7d4a;
  font-size: 13px;
}

.ac-stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3c9a5d;
}

.ac-links { display: flex; gap: 14px; margin-top: 8px; }

.ac-links button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  padding: 0;
  color: #8a847c;
  font-size: 13px;
  cursor: pointer;
}

.ac-price,
.ac-total,
.ac-line span:last-child,
.ac-grand,
.ac-grand strong {
  font-family: Jost, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.ac-price,
.ac-total {
  color: #1c1a17;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.ac-price s {
  display: block;
  margin-top: 2px;
  color: #9a948c;
  font-size: 13px;
  font-weight: 400;
  text-decoration: line-through;
}

.ac-off {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f8ebe3;
  color: #c2613a;
  font-size: 11px;
  font-weight: 600;
}

.ac-qty {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid #e4dfd8;
  border-radius: 8px;
  overflow: hidden;
}

.ac-qty button {
  width: 32px;
  height: 34px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}

.ac-qty span { min-width: 18px; text-align: center; font-size: 14px; }

.ac-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
  padding-top: 8px;
}

.ac-trust--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

.ac-trust article { display: flex; gap: 8px; align-items: flex-start; }

.ac-trust svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: #f6f3ee;
  fill: currentColor;
  stroke: none;
}

.ac-trust strong, .ac-trust span { display: block; }

.ac-trust strong { font-size: 12px; font-weight: 600; }

.ac-trust span { color: #8d867e; font-size: 11px; line-height: 1.35; }

.ac-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.ac-ghost {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #1c1a17;
  border-radius: 0;
  background: transparent;
  color: #1c1a17;
  text-decoration: none;
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.ac-ghost:hover { background: #1c1a17; color: #f6f1ea; }

.ac-summary h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
}

.ac-line, .ac-grand {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
}

.ac-line span:last-child { font-weight: 600; }

.ac-save { color: #2f7d4a; }

.ac-grand {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee8e1;
  font-size: 15px;
  font-weight: 600;
}

.ac-grand strong {
  font-size: 20px;
  font-weight: 600;
}

.ac-banner {
  margin: 12px 0 18px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e7f6ee;
  color: #246b45;
  font-size: 14px;
}

.ac-label {
  display: block;
  margin: 14px 0 8px;
  color: #8d867e;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ac-coupon { display: flex; }

.ac-coupon input, .ac-note, .ac-gift input[type="text"], .ac-check input, .ac-check textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e4dfd8;
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  color: #1c1a17;
}

.ac-coupon input { border-right: 0; }

.ac-coupon button {
  border: 1px solid #1c1a17;
  border-radius: 0;
  background: #1c1a17;
  color: #f6f1ea;
  padding: 0 14px;
  font-family: Jost, sans-serif;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.ac-coupon button:hover { background: transparent; color: #1c1a17; }

.ac-ok { margin: 8px 0 0; color: #2f7d4a; font-size: 13px; }

.ac-bad { margin: 8px 0 0; color: #a33b32; font-size: 13px; }

.ac-gift {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed #e0dbd4;
  border-radius: 10px;
  background: #fcfbf9;
}

.ac-gift label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }

.ac-gift p { margin: 2px 0 0 24px; color: #8d867e; font-size: 13px; }

.ac-gift textarea, .ac-note { min-height: 74px; resize: vertical; margin-top: 10px; }

.ac-go {
  width: 100%;
  height: 40px;
  margin-top: 16px;
  border: 1px solid #1c1a17;
  border-radius: 0;
  background: #1c1a17;
  color: #f6f1ea;
  font-family: Jost, sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.ac-go:hover { background: transparent; color: #1c1a17; }

.ac-secure { margin: 14px 0 8px; text-align: center; color: #8d867e; font-size: 12px; }

.ac-pays {
  margin: 0;
  padding: 0;
}

.ac-pays img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

.ac-check { margin-top: 16px; display: grid; gap: 10px; }

.ac-check label { display: grid; gap: 6px; font-size: 13px; color: #5c564f; }

.ac-empty {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #ece7e0;
  border-radius: 2px;
}

.ac-empty h2 {
  margin: 0 0 8px;
  font-family: Jost, sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.ac-empty p { margin: 0 0 18px; color: #6d675f; }

.ac-done { color: #246b45; }

@media (max-width: 767px) {
  .ac-trust {
    display: none;
  }
}

@media (max-width: 900px) {
  .ac-layout, .ac-trust { grid-template-columns: 1fr; }
  .ac-heads { display: none; }
  .ac-row { grid-template-columns: 1fr; gap: 10px; }
  .ac-summary { position: static; }
  .ac-top { padding: 14px 16px; }
  .ac-top img { width: 140px; }
  .ac-title { font-size: 32px; }
}

@media (min-width: 901px) {
  .ac-summary { position: sticky; top: 18px; }
}
