/* Native Journal cart markup; totals, edit/remove and payment behavior are unchanged. */
.route-checkout-cart {background:#f3f4f4;}
#checkout-cart .cart-page {display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px;}
#checkout-cart .cart-table {min-width:0;background:#fff;border:1px solid #dfe5e2;border-radius:10px;padding:8px 20px;}
#checkout-cart .cart-table .table-responsive {border:0;}
#checkout-cart .cart-table table {width:100%;margin:0;border:0;}
#checkout-cart .cart-table td {border:0;background:transparent;padding:18px 8px;vertical-align:top;}
#checkout-cart .cart-table thead td {font-size:11px;color:#687178;font-weight:600;border-bottom:1px solid #dfe5e2;padding-block:14px;}
#checkout-cart .cart-table>div>table>tbody>tr:not(:last-child)>td {border-bottom:1px solid #dfe5e2;}
#checkout-cart .td-name {min-width:180px;line-height:1.55;overflow-wrap:anywhere;}
#checkout-cart .td-name>a {display:inline-block;font-size:15px;font-weight:700;color:#27332f;margin-bottom:6px;}
#checkout-cart .td-name small {font-size:12px;color:#687178;}
#checkout-cart .td-name table {margin-top:12px;}
#checkout-cart .td-name table td {padding:0;}
#checkout-cart .td-image svg,#checkout-cart .td-image img {display:block;width:100px;height:100px;max-width:100px;max-height:100px;object-fit:contain;margin:0;border-radius:6px;}
#checkout-cart .td-model {font-size:11px;color:#687178;max-width:120px;overflow-wrap:anywhere;}
#checkout-cart .td-price,#checkout-cart .td-total {font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px;}
#checkout-cart .td-total {font-weight:700;color:#27332f;}
#checkout-cart .td-qty .input-group {display:flex;flex-wrap:wrap;gap:8px;min-width:88px;width:auto;}
#checkout-cart .td-qty .stepper {height:44px;width:72px;border:1px solid #d4ddd8;border-radius:6px;}
#checkout-cart .td-qty .input-group-btn {display:flex;gap:6px;width:auto;}
#checkout-cart .td-qty .input-group-btn .btn {display:grid;place-items:center;width:36px;height:36px;padding:0;margin:0;border-radius:6px;background:#f3f6f4;color:#46564d;border:1px solid #dfe5e2;box-shadow:none;}
#checkout-cart .cart-bottom {min-width:0;background:#fff;border:1px solid #dfe5e2;border-radius:10px;padding:22px;}
#checkout-cart .panels-total {display:flex;flex-direction:column;gap:20px;}
#checkout-cart .cart-panels,#checkout-cart .cart-total {width:100%;max-width:none;flex:none;}
#checkout-cart .cart-panels .title {font-size:16px;margin:0 0 8px;}
#checkout-cart .cart-panels p {font-size:12px;color:#687178;line-height:1.6;}
#checkout-cart .cart-total table {border:0;margin:0;}
#checkout-cart .cart-total td {padding:8px 0;border:0;background:transparent;font-size:13px;}
#checkout-cart .cart-total td:first-child {text-align:left;color:#687178;}
#checkout-cart .cart-total td:last-child {white-space:nowrap;font-variant-numeric:tabular-nums;}
#checkout-cart .cart-total tr:last-child td {border-top:1px solid #dfe5e2;padding-top:16px;color:#27332f;font-size:19px;font-weight:700;}
#checkout-cart .cart-bottom .buttons {display:flex;flex-direction:column-reverse;gap:10px;margin-top:20px;}
#checkout-cart .cart-bottom .buttons>div {float:none;width:100%;}
#checkout-cart .cart-bottom .buttons .btn {display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border-radius:6px;box-shadow:none;}
#checkout-cart .cart-bottom .btn-primary {background:#2f7d65;border-color:#2f7d65;color:#fff;font-weight:700;}
#checkout-cart .cart-bottom .btn-primary:hover {background:#256650;border-color:#256650;}
#checkout-cart :is(input,button,a):focus-visible {outline:3px solid #7faf99;outline-offset:2px;}
@media(max-width:1100px){#checkout-cart .cart-page {grid-template-columns:1fr;}#checkout-cart .cart-table{padding-inline:16px;}}
@media(max-width:700px){
 #checkout-cart .cart-table>div>table,#checkout-cart .cart-table>div>table>tbody {display:block;}
 #checkout-cart .cart-table>div>table>thead {display:none;}
 #checkout-cart .cart-table>div>table>tbody>tr {display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 0;border-bottom:1px solid #dfe5e2;}
 #checkout-cart .cart-table>div>table>tbody>tr:last-child {border:0;}
 #checkout-cart .cart-table>div>table>tbody>tr>td {padding:0;border:0;min-width:0;}
 #checkout-cart .td-name {grid-column:1/-1;}
 #checkout-cart .td-model {grid-column:1/-1;max-width:none;}
 #checkout-cart .td-price {text-align:left;font-size:12px;color:#687178;}
 #checkout-cart .td-total {text-align:right;font-size:16px;}
 #checkout-cart .td-qty {grid-column:1/-1;}
 #checkout-cart .cart-bottom {padding:18px;}
}
/* Checkout presentation only; payment and address behavior is unchanged. */
.route-checkout-checkout .quick-checkout-wrapper,
.route-checkout-checkout .quick-checkout,
.route-checkout-checkout .checkout-section { box-shadow:none !important; }
.route-checkout-checkout .checkout-section { border:1px solid #dfe5e2; border-radius:10px; }
.route-checkout-checkout #quick-checkout-button-confirm span { font-size:inherit !important; font-weight:inherit; white-space:normal; }
.route-checkout-checkout #quick-checkout-button-confirm { display:inline-flex; align-items:center; justify-content:center; min-height:60px; min-width:320px; padding:18px 32px; border:2px solid #2f7d65; border-radius:7px; background:#2f7d65 !important; color:#fff !important; font-size:18px !important; font-weight:700; line-height:1.35; box-shadow:none !important; }
.route-checkout-checkout #quick-checkout-button-confirm:hover { background:#256650 !important; border-color:#256650; }
.route-checkout-checkout #quick-checkout-button-confirm:focus-visible { outline:3px solid #2f7d65; outline-offset:3px; }
.route-checkout-checkout #quick-checkout-button-confirm:disabled { opacity:.6; cursor:wait; }
@media(max-width:600px){.route-checkout-checkout .confirm-buttons .pull-right {float:none;width:100%;min-width:0;}.route-checkout-checkout #quick-checkout-button-confirm {width:100%;min-width:0;min-height:58px;padding:16px;font-size:17px !important;white-space:normal !important;}}
#glasshop-order-products { border: 1px solid #dfe5e2; border-radius: 10px; background: #fff; box-shadow: none; }
#glasshop-order-products .section-title { border: 0; margin: 0; padding: 18px 20px 8px; background: transparent; }
#glasshop-order-products .section-title::after { display: none; }
#glasshop-order-products .section-body { padding: 0 20px 16px; }
#glasshop-order-products .table-responsive { border: 0; overflow: visible; }
#glasshop-order-products table { border: 0; margin: 0; }
#glasshop-order-products .table-responsive > table { table-layout: auto; width: 100%; }
#glasshop-order-products thead td { background: transparent; color: #75807b; border: 0; border-bottom: 1px solid #e4e9e6; padding: 10px 0; font-size: 11px; font-weight: 600; }
#glasshop-order-products tbody > tr > td { border: 0; border-bottom: 1px solid #e4e9e6; padding: 18px 0; vertical-align: top; background: transparent; }
#glasshop-order-products .td-product { width: auto; }
#glasshop-order-products .td-qty { width: 128px; padding-left: 16px; text-align: left; }
#glasshop-order-products .td-total { width: 135px; padding-left: 16px; text-align: right; white-space: nowrap; }
#glasshop-order-products tbody .td-total { color: #24292d; font-size: 18px; font-weight: 700; padding-top: 26px; }
.glasshop-cart-product { display: flex; align-items: flex-start; gap: 16px; }
.glasshop-cart-preview { display: grid; place-items: center; flex: 0 0 100px; width: 100px; height: 100px; border: 1px solid #e4e9e6; border-radius: 8px; background: #fafcfb; overflow: hidden; }
#glasshop-order-products .glasshop-cart-preview > div { width: 100%; height: 100%; min-width: 0; }
#glasshop-order-products .glasshop-cart-preview svg, #glasshop-order-products .glasshop-cart-preview img { display: block; width: 100%; height: 100%; max-height: 100px; object-fit: contain; }
.glasshop-cart-details { min-width: 0; flex: 1; color: #68736e; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.glasshop-cart-details > a { display: inline-block; margin-bottom: 6px; color: #24292d; font-size: 15px; font-weight: 700; }
.glasshop-cart-details small { font-size: inherit; }
#glasshop-order-products .td-qty .input-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: auto; }
.glasshop-cart-quantity { display: grid; grid-template-columns: 32px 36px 32px; height: 40px; border: 1px solid #d4ddd8; border-radius: 7px; overflow: hidden; }
#glasshop-order-products .glasshop-cart-quantity input { width: 36px; min-width: 0; height: 38px; padding: 0; text-align: center; border: 0; box-shadow: none; background: #fff; font-size: 14px; }
.glasshop-cart-quantity button { border: 0; padding: 0; background: #f6f8f7; color: #46564d; font-size: 17px; cursor: pointer; }
.glasshop-cart-quantity button:hover { background: #e8f7f3; }
#glasshop-order-products .input-group-btn { display: flex; gap: 6px; width: auto; }
#glasshop-order-products .input-group-btn .btn { display: grid; place-items: center; width: 44px; height: 36px; min-width: 0; margin: 0; padding: 0; border: 1px solid #e0e7e3; border-radius: 6px; background: #fff; color: #67766e; box-shadow: none; }
#glasshop-order-products .input-group-btn .btn-danger:hover { border-color: #c26a6a; color: #a82b2b; background: #fff6f6; }
#glasshop-order-products button:focus-visible, #glasshop-order-products input:focus-visible { outline: 2px solid #00896d; outline-offset: -2px; }
#glasshop-order-products tfoot td { border: 0; padding: 5px 0; background: transparent; font-size: 13px; }
#glasshop-order-products tfoot td:last-child { white-space: nowrap; }
#glasshop-order-products tfoot tr:first-child td { padding-top: 16px; }
#glasshop-order-products tfoot tr:last-child td { padding-top: 12px; font-size: 18px; font-weight: 700; color: #24292d; }
@media (max-width: 760px) {
  #glasshop-order-products .section-body { padding: 0 14px 14px; }
  #glasshop-order-products thead { display: none; }
  #glasshop-order-products .table-responsive > table,
  #glasshop-order-products .table-responsive > table > tbody { display: block; width: 100%; }
  #glasshop-order-products .table-responsive > table > tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid #e4e9e6; padding: 16px 0; gap: 16px; }
  #glasshop-order-products tbody > tr > td { border: 0; padding: 0 !important; width: auto; }
  #glasshop-order-products tbody .td-product { grid-column: 1 / -1; }
  #glasshop-order-products tbody .td-total { padding: 8px 0 0; font-size: 18px; }
  #glasshop-order-products .td-qty .input-group { flex-direction: row; flex-wrap: wrap; }
  .glasshop-cart-product { display: block; }
  .glasshop-cart-preview { float: left; width: 64px; height: 64px; margin-right: 12px; }
  .glasshop-cart-details { font-size: 12px; }
  .glasshop-cart-details > a { display: flex; align-items: center; min-height: 64px; margin: 0 0 12px 76px; font-size: 14px; }
  #glasshop-order-products tfoot td { font-size: 12px; }
  #glasshop-order-products tfoot tr:last-child td { font-size: 16px; }
}
