/* Biologic cart responsive layout fix — 2026-08-18 */
@media (max-width: 768px) {
  .sepetList,
  .sepetList .siparis-list,
  .sepetList .siparis-list article,
  .sepetList .siparis-list article .us {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sepetList .siparis-list article {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid rgba(157, 122, 97, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(72, 55, 40, 0.09);
  }

  .sepetList .siparis-list article .us {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .sepetList .siparis-list article .us > .sol,
  .sepetList .siparis-list article .us > .sag {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }

  .sepetList .siparis-list article .us > .sag {
    order: 1;
    min-height: 0;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #eee7df;
    background: #fffdf9;
  }

  .sepetList .siparis-list article .us > .sag a,
  .sepetList .siparis-list article .us > .sag a > div {
    display: block;
    width: 100%;
  }

  .sepetList .siparis-list article .us > .sag a > div {
    display: grid;
    grid-template-columns: minmax(90px, 120px) 1fr;
    align-items: center;
    gap: 18px;
  }

  .sepetList .siparis-list article .us .sag figure {
    margin: 0;
    padding: 8px;
    border: 1px solid #eee8df;
    background: #fff;
    text-align: center;
  }

  .sepetList .siparis-list article .us .sag figure img {
    display: block;
    width: 100%;
    height: 94px;
    max-width: 120px;
    margin: 0 auto;
    object-fit: contain;
  }

  .sepetList .siparis-list .sag .detaybuton {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 5px;
  }

  .sepetList .siparis-list article .us > .sol {
    order: 2;
    padding: 22px;
    position: relative;
  }

  .sepetList .siparis-list .sol .r2 {
    margin: 0 0 22px;
  }

  .sepetList .siparis-list .sol h3 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .sepetList .siparis-list .sol p {
    margin: 0;
    color: #716a63;
    font-size: 14px;
    line-height: 1.55;
  }

  .sepetList .siparis-list .solfoot {
    position: static;
    display: grid;
    grid-template-columns: minmax(130px, 0.8fr) minmax(150px, 1.2fr);
    align-items: end;
    gap: 18px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .sepetList .siparis-list .solfoot > * {
    float: none;
  }

  .sepetList .siparis-list .adet {
    position: static;
    display: grid;
    grid-template-columns: minmax(54px, 1fr) auto;
    gap: 7px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .sepetList .siparis-list .adet label {
    position: static;
    grid-column: 1 / -1;
    display: block;
    margin: 0 0 2px;
    color: #666;
    font-size: 13px;
    line-height: 1.2;
  }

  .sepetList .siparis-list .adet input.field-adet {
    width: 100%;
    height: 44px;
    padding: 0 8px;
    border: 1px solid #d8d2cb;
    border-radius: 4px;
    background: #fff;
  }

  .sepetList .siparis-list .adet .legacy-cart-update {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #668b32;
    font: 13px/1 'kg_turning_tablesregular', Arial, sans-serif;
    cursor: pointer;
  }

  .sepetList .siparis-list .fiyat {
    position: static;
    top: auto;
    min-width: 0;
  }

  .sepetList .siparis-list .fiyat p {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin: 0 0 5px;
    font-size: 29px !important;
    line-height: 1.1 !important;
  }

  .sepetList .siparis-list .fiyat p em,
  .sepetList .siparis-list .fiyat p strong {
    position: static;
    top: auto;
    padding: 0;
  }

  .sepetList .siparis-list .fiyat p em {
    font-size: 23px;
  }

  .sepetList .siparis-list .fiyat > span {
    position: static;
    display: block;
    line-height: 1.35;
  }

  .sepetList .siparis-list .vazgectim {
    position: static;
    visibility: visible;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 42px;
    margin: 20px 0 0;
    padding: 8px 12px;
    border: 1px solid #d8cec4;
    border-radius: 4px;
    color: #876e5c;
    background: #fff;
    cursor: pointer;
  }

  .sepetList .siparis-list article:hover .vazgectim {
    right: auto;
    visibility: visible;
    opacity: 1;
  }

  .sepetList .siparis-list .vazgectim span {
    padding: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.3;
  }

  .sepetList nav.step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .sepetList nav.step > * {
    float: none;
  }

  .sepetList nav.step .total {
    width: 100%;
    margin: 0;
    padding: 18px 20px;
    box-sizing: border-box;
    border: 1px solid #eadfce;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
  }

  .sepetList nav.step .total p {
    margin: 0 0 5px;
    color: #6c6259;
    font-size: 15px;
    line-height: 1.3;
  }

  .sepetList nav.step .total span {
    font-size: 38px;
    line-height: 1;
  }

  .sepetList nav.step .total em {
    margin-left: 9px;
    font-size: 27px;
  }

  .sepetList .onayButonlar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    float: none;
    width: 100%;
    margin: 0;
  }

  .sepetList .onayButonlar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    height: auto;
    padding: 10px 16px;
    box-sizing: border-box;
    line-height: 1.25;
  }

  .sepetList .legacy-clear-cart {
    width: 100%;
  }

  .sepetList .legacy-clear-cart button {
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid #d5c8bd;
    border-radius: 4px;
    color: #8d4138;
    background: rgba(255, 255, 255, 0.7);
    font: 13px/1.2 'kg_turning_tablesregular', Arial, sans-serif;
    cursor: pointer;
  }

  .sepetList .cart-success-message {
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
  }
}

@media (max-width: 430px) {
  .sepetList .siparis-list article .us > .sol {
    padding: 18px;
  }

  .sepetList .siparis-list article .us > .sag a > div {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }

  .sepetList .siparis-list article .us .sag figure img {
    height: 78px;
  }

  .sepetList .siparis-list .solfoot {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sepetList .siparis-list .fiyat {
    padding-top: 16px;
    border-top: 1px dashed #ddd2c7;
  }

  .sepetList .siparis-list .vazgectim {
    width: 100%;
    box-sizing: border-box;
  }
}
