.msg-cart-trigger {
  position: fixed;
  z-index: 1000;
  top: 88px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #202b3a;
  color: #fff;
  box-shadow: 0 8px 24px #202b3a38;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.msg-cart-count { min-width: 1ch; text-align: center; }

.msg-cart-dialog {
  position: fixed;
  width: min(620px, calc(100% - 24px));
  max-height: min(88dvh, 780px);
  margin: auto;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #e2d9ca;
  border-radius: 16px;
  background: #fffefa;
  color: #202b3a;
  box-shadow: 0 24px 70px #11182044;
  overflow: auto;
}

.msg-cart-dialog::backdrop { background: #111820a6; }
.msg-cart-dialog [hidden] { display: none; }
.msg-cart-dialog h2 { margin: 0 40px 12px 0; }
.msg-cart-dialog h2:focus { outline: none; }
.msg-cart-muted { color: #56616e; line-height: 1.55; }

.msg-cart-dismiss {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #f2eee5;
  color: #202b3a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.msg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.msg-button-primary { background: #202b3a; color: #fff; }
.msg-button-quiet { border-color: #ded5c7; background: #f6f2eb; color: #202b3a; }
.msg-button-shopier, .msg-button-shopier:hover, .msg-button-shopier:visited { background: #5b32a5; color: #fff; }
.msg-button-whatsapp { background: #176543; color: #fff; }
.msg-button:hover { filter: brightness(1.1); }
.msg-button:focus-visible, .msg-cart-trigger:focus-visible, .msg-cart-quantity:focus-visible, .msg-cart-dismiss:focus-visible {
  outline: 2px solid #8c6a3c;
  outline-offset: 3px;
}

.msg-cart-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.msg-cart-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.msg-cart-methods > :only-child, .msg-cart-methods > [hidden] + div { grid-column: 1 / -1; }
.msg-cart-methods .msg-button { width: 100%; }
.msg-method-note { margin: 6px 0 0; color: #56616e; font-size: .88rem; line-height: 1.45; }

.msg-cart-items { display: grid; gap: 8px; }
.msg-cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2d9ca;
  border-radius: 10px;
}

.msg-cart-line strong { display: block; }
.msg-cart-line small { color: #56616e; }
.msg-cart-controls { display: flex; align-items: center; gap: 6px; }
.msg-cart-quantity {
  min-width: 40px;
  min-height: 40px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: #f2eee5;
  color: #202b3a;
  font: inherit;
  cursor: pointer;
}

.msg-cart-quantity:disabled { opacity: .5; cursor: default; }
.msg-cart-total { margin: 14px 0 0; font-weight: 800; }

.msg-whatsapp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.msg-whatsapp-form label { display: grid; gap: 4px; font-weight: 650; }
.msg-whatsapp-form input, .msg-whatsapp-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #c8c1b5;
  border-radius: 8px;
  background: #fff;
  color: #202b3a;
  font: inherit;
}

.msg-form-full { grid-column: 1 / -1; }
.msg-catalog-listing { padding-top: clamp(24px, 4vw, 40px); }
.msg-catalog-listing h2 { margin: 0 0 16px; }
[data-msg-store-categories] .store-tab { text-decoration: none; }
.msg-catalog-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.msg-catalog-heading h2 { margin: 0; }
.msg-level-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.msg-level-filters[hidden] { display: none; }
.msg-level-filter, .msg-level-badge {
  --level-color: #324353;
  --level-bg: #f0f2f4;
  --level-border: #c3cbd2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--level-border);
  border-radius: 999px;
  background: var(--level-bg);
  color: var(--level-color);
  font: inherit;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.25;
}
.msg-level-filter { min-height: 44px; padding: 8px 13px; cursor: pointer; }
.msg-level-badge { align-self: flex-start; padding: 5px 9px; }
.msg-level-filter[data-level="baslangic"], .msg-level-badge[data-level="baslangic"] {
  --level-color: #165d3a;
  --level-bg: #e8f5ed;
  --level-border: #9bcdb0;
}
.msg-level-filter[data-level="orta"], .msg-level-badge[data-level="orta"] {
  --level-color: #1c4e83;
  --level-bg: #e9f1fc;
  --level-border: #9cbbe1;
}
.msg-level-filter[data-level="ust"], .msg-level-badge[data-level="ust"] {
  --level-color: #633581;
  --level-bg: #f3ebfa;
  --level-border: #c9acdb;
}
.msg-level-filter[aria-pressed="true"] { border-color: var(--level-color); background: var(--level-color); color: #fff; }
.msg-level-filter:hover { border-color: var(--level-color); }
.msg-level-filter:focus-visible { outline: 2px solid #202b3a; outline-offset: 2px; }
.msg-product-status { margin: 8px 0 0; color: #813b21; font-size: .9rem; }
.msg-product-status:empty { margin: 0; }

@media (max-width: 560px) {
  .msg-cart-trigger { top: 76px; right: 12px; min-height: 46px; padding: 0 10px; }
  .msg-cart-dialog { max-height: 88vh; max-height: 88dvh; }
  .msg-cart-methods { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .msg-whatsapp-form { grid-template-columns: minmax(0, 1fr); }
  .msg-cart-actions { justify-content: stretch; }
  .msg-cart-actions > * { width: 100%; }
}

.msg-shopier-links { display: grid; gap: 12px; }
.msg-product-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 390px;
  gap: clamp(12px, 2vw, 20px);
}
.msg-product-tile {
  min-width: 0;
  border: 1px solid #e2d9ca;
  border-radius: 16px;
  background: #fffefa;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.msg-product-tile:hover, .msg-product-tile:focus-within {
  border-color: #8c6a3c;
  box-shadow: 0 6px 20px #202b3a15;
}
.msg-product-tile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  padding: 12px clamp(10px, 3vw, 16px);
  border-bottom: 1px solid #eadcc8;
  border-radius: 15px 15px 0 0;
  background: #fff1de;
}
.msg-product-tile-price {
  max-width: 100%;
  color: #70290f;
  font-size: clamp(1.375rem, 5.7vw, 1.875rem);
  font-weight: 850;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.msg-product-tile-add {
  max-width: 100%;
  gap: 6px;
  padding: 8px 10px;
  background: #913d1d;
  color: #fff;
  font-size: .875rem;
  line-height: 1.2;
}
.msg-product-tile-add:hover { background: #70290f; color: #fff; }
.msg-product-tile-add svg { flex: 0 0 18px; width: 18px; height: 18px; }
.msg-product-tile-stock { color: #70290f; font-size: .875rem; font-weight: 700; }
.msg-product-tile > .msg-product-status:not(:empty) { margin: 8px 12px; }
.msg-product-tile-photo {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 14px 14px 10px;
  border-radius: 0 0 15px 15px;
  background: #f7f2e9;
  color: #70290f;
  text-decoration: none;
}
.msg-product-tile-title {
  margin: 0;
  color: #202b3a;
  font: inherit;
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.msg-product-tile-photo img { width: 100%; height: clamp(190px, 65vw, 275px); display: block; object-fit: contain; }
.msg-product-tile-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.msg-product-tile-details { margin-inline-start: auto; font-size: .875rem; font-weight: 750; }
.msg-product-tile-photo:hover .msg-product-tile-details { text-decoration: underline; text-underline-offset: 3px; }
.msg-product-tile-add:focus-visible, .msg-product-tile-photo:focus-visible {
  outline: 2px solid #202b3a;
  outline-offset: -3px;
}
.msg-product-page { padding: clamp(24px, 5vw, 60px) 0; }
.msg-product-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; color: #56616e; }
.msg-product-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.msg-product-breadcrumb [hidden] { display: none; }
.msg-product-breadcrumb a:not([hidden]) + a:not([hidden])::before { content: '›'; display: inline-block; margin-right: 8px; text-decoration: none; }
.msg-product-overview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: stretch;
}
.msg-product-photo, .msg-product-info, .msg-product-information {
  min-width: 0;
  border: 1px solid #e2d9ca;
  border-radius: 14px;
  background: #fffefa;
}
.msg-product-photo {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 295px;
  padding: 16px;
  gap: 12px;
  background: #f8f5ef;
}
.msg-product-main-photo { display: block; width: 100%; height: clamp(270px, 30vw, 390px); object-fit: contain; }
.msg-product-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 4vw, 42px); }
.msg-product-info > .msg-level-badge { margin-bottom: 10px; }
.msg-product-info h1 { margin: 0 0 20px; font-size: clamp(1.6rem, 3.2vw, 2.55rem); line-height: 1.16; overflow-wrap: anywhere; }
.msg-product-buy { border-top: 1px solid #e2d9ca; padding-top: 18px; }
.msg-product-price { margin: 0 0 8px; color: #813b21; font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 850; line-height: 1.13; }
.msg-product-stock { margin: 0 0 18px; color: #176543; font-weight: 650; font-size: .94rem; }
.msg-product-stock.msg-product-out-of-stock { color: #813b21; }
.msg-product-actions { display: flex; gap: 12px; align-items: stretch; }
.msg-product-quantity { display: inline-flex; flex: 0 0 auto; align-items: center; border: 1px solid #ded5c7; border-radius: 9px; background: #f7f3ec; color: #202b3a; }
.msg-product-quantity[hidden] { display: none; }
.msg-product-quantity output { min-width: 2ch; padding: 0 4px; text-align: center; font-weight: 750; }
.msg-product-quantity button {
  width: 36px;
  align-self: stretch;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #202b3a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.msg-product-quantity button:hover:not(:disabled) { background: #ede5d8; }
.msg-product-quantity button:disabled { opacity: .35; cursor: default; }
.msg-product-add { flex: 1; min-height: 54px; gap: 10px; background: #a34d25; color: #fff; font-size: 1.08rem; }
.msg-product-information { margin-top: 22px; }
.msg-product-info-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msg-product-info-buttons button {
  min-height: 54px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #202b3a;
  font: inherit;
  font-size: clamp(.86rem, 2.2vw, 1rem);
  font-weight: 750;
  cursor: pointer;
}
.msg-product-info-buttons button + button { border-left: 1px solid #e2d9ca; }
.msg-product-info-buttons button:first-child { border-top-left-radius: 13px; }
.msg-product-info-buttons button:last-child { border-top-right-radius: 13px; }
.msg-product-info-buttons button:hover, .msg-product-info-buttons button[aria-expanded="true"] {
  border-bottom-color: #a34d25;
  background: #f8f2e9;
  color: #813b21;
}
.msg-product-info-buttons button:focus-visible, .msg-product-quantity button:focus-visible {
  outline: 2px solid #8c6a3c;
  outline-offset: -3px;
}
.msg-product-info-panel { border-top: 1px solid #e2d9ca; padding: clamp(14px, 3vw, 24px); color: #354253; overflow-wrap: anywhere; }
.msg-product-info-panel[hidden] { display: none; }
.msg-product-description { margin: 0; white-space: pre-line; line-height: 1.65; }
.msg-product-features { margin: 0; }
.msg-product-features > div { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); padding: 10px 12px; gap: 12px; }
.msg-product-features > div:nth-child(odd) { background: #f7f3ec; border-radius: 6px; }
.msg-product-features dt { font-weight: 750; }
.msg-product-features dd { margin: 0; white-space: pre-line; }
.msg-installment-table { overflow-x: auto; }
.msg-installment-table table { width: 100%; min-width: 390px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.msg-installment-table th, .msg-installment-table td { padding: 10px 12px; border-bottom: 1px solid #e2d9ca; text-align: left; }
.msg-installment-table th { background: #f7f3ec; font-size: .9rem; }
.msg-installment-table td:last-child { white-space: nowrap; font-weight: 750; }
.msg-installment-note { margin: 0; color: #56616e; }
.msg-installment-table + .msg-installment-note { margin-top: 12px; }
.msg-product-thumbs:empty { display: none; }
.msg-product-thumbs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.msg-product-thumbs button { background: #fffefa; border: 1px solid #ded5c7; border-radius: 6px; padding: 3px; cursor: pointer; }
.msg-product-thumbs button[aria-pressed="true"] { border: 2px solid #8c6a3c; padding: 2px; }
.msg-product-thumbs img { display: block; width: 44px; height: 44px; object-fit: contain; }
.msg-button:disabled { opacity: .55; cursor: default; }
.msg-shopier-links .msg-method-note { margin: -6px 0 0; overflow-wrap: anywhere; }

@media (max-width: 660px) {
  .msg-product-overview { grid-template-columns: minmax(0, 1fr); }
  .msg-product-photo { min-height: 0; }
  .msg-product-main-photo { height: clamp(225px, 64vw, 340px); }
  .msg-product-information { margin-top: 16px; }
}

