/* =========================================================
   HIDE DEFAULT PRESTASHOP / THEME BREADCRUMB GLOBALLY
   ========================================================= */

#wrapper > .breadcrumb,
#wrapper > nav.breadcrumb,
#wrapper > .breadcrumb-container,

#wrapper > .container > .breadcrumb,
#wrapper > .container > nav.breadcrumb,
#wrapper > .container > .breadcrumb-container,

#wrapper .container > .breadcrumb:first-child,
#wrapper .container > nav.breadcrumb:first-child,
#wrapper .container > .breadcrumb-container:first-child,

#content-wrapper > .breadcrumb:first-child,
#content-wrapper > nav.breadcrumb:first-child,
#content-wrapper > .breadcrumb-container:first-child {
    display: none !important;
}


/* =========================================================
   KEEP CREATIVE ELEMENTS BREADCRUMBS VISIBLE
   ========================================================= */

#wrapper .st-product-breadcrumb-section,
#wrapper .st-product-breadcrumb-section .breadcrumb,
#wrapper .st-product-breadcrumb-section nav.breadcrumb,
#wrapper .st-product-breadcrumb-section .breadcrumb-container,

#wrapper .st-category-hero .breadcrumb,
#wrapper .st-category-hero nav.breadcrumb,
#wrapper .st-category-hero .breadcrumb-container,

#wrapper .st-listing-hero .breadcrumb,
#wrapper .st-listing-hero nav.breadcrumb,
#wrapper .st-listing-hero .breadcrumb-container {
    display: block !important;
}
/* ==========================================================================
   Steam Train — Core Cart UI
   Scope:
   1. PrestaShop add-to-cart modal (#blockcart-modal)
   2. PrestaShop cart page (body#cart)
   3. ps_blockreassurance when present inside the cart page

   Excluded intentionally:
   - YBC Blog module
   - ETS One Page Checkout module
   - Generic Page Builder / Creative Elements selectors
   ========================================================================== */

:root {
  --st-ink: #0f151c;
  --st-ink-soft: #171d24;
  --st-paper: #fffdfc;
  --st-ivory: #f7f0e7;
  --st-copper: #b8733c;
  --st-copper-dark: #8c5a2b;
  --st-muted: #6c645d;
  --st-line: rgba(140, 90, 43, 0.16);
  --st-shadow-sm: 0 12px 28px rgba(15, 21, 28, 0.07);
  --st-shadow-md: 0 20px 48px rgba(15, 21, 28, 0.13);
}


/* ==========================================================================
   1. ADD-TO-CART MODAL
   Uses the real PrestaShop modal ID instead of a parent-dependent selector, so it is safer and
   does not affect unrelated modals.
   ========================================================================== */

#blockcart-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 920px;
  margin: 78px auto 30px;
}

#blockcart-modal .modal-content {
  overflow: hidden;
  color: var(--st-ink);
  background: var(--st-paper);
  border: 1px solid rgba(140, 90, 43, 0.14);
  border-radius: 10px;
  box-shadow: 0 30px 85px rgba(15, 21, 28, 0.24);
  font-family: "Montserrat", Arial, sans-serif;
}

#blockcart-modal .modal-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 22px 76px 20px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 35%, rgba(184, 115, 60, 0.28), transparent 34%),
    linear-gradient(135deg, var(--st-ink-soft) 0%, var(--st-ink) 100%);
  border: 0;
}

#blockcart-modal .modal-title,
#blockcart-modal #myModalLabel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
}

#blockcart-modal .modal-title i,
#blockcart-modal .modal-title .material-icons,
#blockcart-modal #myModalLabel i,
#blockcart-modal #myModalLabel .material-icons {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  color: var(--st-ink);
  background: var(--st-paper);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

#blockcart-modal .modal-header .close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  opacity: 1;
  text-shadow: none;
  transition: background-color .2s ease, transform .2s ease;
}

#blockcart-modal .modal-header .close:hover {
  color: #fff;
  background: rgba(184, 115, 60, 0.82);
  transform: rotate(90deg);
}

#blockcart-modal .modal-header .close i,
#blockcart-modal .modal-header .close .material-icons {
  margin: 0;
  color: currentColor;
  font-size: 22px;
  line-height: 1;
}

#blockcart-modal .modal-body {
  padding: 34px;
  background: var(--st-paper);
}

#blockcart-modal .modal-body > .row {
  display: flex;
  align-items: stretch;
}

#blockcart-modal .divide-right {
  padding-right: 34px;
  border-right: 1px solid var(--st-line);
}

#blockcart-modal .divide-right > .row {
  align-items: center;
}

#blockcart-modal .product-image {
  display: block;
  width: 100%;
  max-width: 185px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 115, 60, 0.08), transparent 31%),
    linear-gradient(160deg, #fff 0%, var(--st-ivory) 100%);
  border: 1px solid rgba(140, 90, 43, 0.10);
  border-radius: 8px;
  box-shadow: var(--st-shadow-sm);
}

#blockcart-modal .product-name {
  margin: 0 0 12px;
  color: var(--st-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

#blockcart-modal .product-price {
  margin: 0 0 18px;
  color: var(--st-copper-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

#blockcart-modal .product-quantity,
#blockcart-modal .product-attributes,
#blockcart-modal .modal-body .product-information {
  color: var(--st-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

#blockcart-modal .product-quantity strong,
#blockcart-modal .product-attributes strong,
#blockcart-modal .modal-body .product-information strong {
  color: var(--st-ink);
  font-weight: 800;
}

#blockcart-modal .cart-content {
  padding-left: 10px;
}

#blockcart-modal .cart-products-count {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 13px;
  color: var(--st-copper-dark);
  background: rgba(184, 115, 60, 0.10);
  border: 1px solid rgba(184, 115, 60, 0.14);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

#blockcart-modal .cart-content p:not(.cart-products-count) {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 10px 0;
  color: var(--st-muted);
  border-bottom: 1px solid rgba(140, 90, 43, 0.10);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

#blockcart-modal .cart-content .label,
#blockcart-modal .cart-content p span:first-child {
  color: var(--st-muted);
  font-weight: 600;
}

#blockcart-modal .cart-content .value,
#blockcart-modal .cart-content .subtotal,
#blockcart-modal .cart-content .shipping {
  color: var(--st-ink);
  font-weight: 800;
  white-space: nowrap;
}

#blockcart-modal .cart-content .product-total {
  margin-top: 4px;
  padding: 15px 0;
}

#blockcart-modal .cart-content .product-total .label,
#blockcart-modal .cart-content .product-total .value {
  color: var(--st-ink);
  font-size: 17px;
  font-weight: 800;
}

#blockcart-modal .cart-content .product-tax {
  color: #81776e;
  font-size: 13px;
}

#blockcart-modal .cart-content-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

#blockcart-modal .cart-content-btn .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 0 18px;
  border-radius: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

#blockcart-modal .cart-content-btn .btn-secondary {
  color: var(--st-ink);
  background: #fff;
  border: 1px solid rgba(140, 90, 43, 0.22);
}

#blockcart-modal .cart-content-btn .btn-secondary:hover {
  color: var(--st-copper-dark);
  border-color: rgba(184, 115, 60, 0.60);
  transform: translateY(-2px);
}

#blockcart-modal .cart-content-btn .btn-primary {
  color: #fff;
  background: var(--st-ink-soft);
  border: 1px solid var(--st-ink-soft);
  box-shadow: 0 14px 30px rgba(15, 21, 28, 0.16);
}

#blockcart-modal .cart-content-btn .btn-primary:hover {
  color: #fff;
  background: var(--st-copper);
  border-color: var(--st-copper);
  transform: translateY(-2px);
}


/* ==========================================================================
   2. CART PAGE
   ========================================================================== */

body#cart {
  background: var(--st-paper);
}

body#cart #content-wrapper,
body#cart .js-content-wrapper {
  float: none;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 54px 24px 84px;
}

body#cart #main {
  color: var(--st-ink);
  font-family: "Montserrat", Arial, sans-serif;
}

body#cart .cart-grid {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin: 0;
}

body#cart .cart-grid-body {
  width: calc(66.666% - 14px);
  padding: 0;
}

body#cart .cart-grid-right {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  width: calc(33.333% - 14px);
  padding: 0;
}

body#cart .card {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(15, 21, 28, 0.07);
}

body#cart .cart-container {
  overflow: hidden;
}

body#cart .cart-container .card-block:first-child {
  padding: 30px 34px 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(184, 115, 60, 0.12), transparent 34%),
    linear-gradient(135deg, #fff 0%, var(--st-ivory) 100%);
  border-bottom: 1px solid rgba(140, 90, 43, 0.10);
}

body#cart .cart-container h1,
body#cart .cart-container .h1 {
  margin: 0;
  color: var(--st-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: none;
}

body#cart .cart-container .separator {
  display: none;
}

body#cart .cart-overview {
  padding: 0 30px 10px;
}

body#cart .cart-items {
  margin: 0;
  padding: 0;
}

body#cart .cart-item {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid rgba(140, 90, 43, 0.10);
}

body#cart .cart-item:last-child {
  border-bottom: 0;
}

body#cart .product-line-grid {
  display: flex;
  align-items: center;
  margin: 0;
}

body#cart .product-line-grid-left {
  width: 22%;
  padding: 0 20px 0 0;
}

body#cart .product-line-grid-body {
  width: 36%;
  padding: 0 18px 0 0;
}

body#cart .product-line-grid-right {
  width: 42%;
  padding: 0;
}

body#cart .product-image {
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 115, 60, 0.07), transparent 30%),
    linear-gradient(160deg, #fff 0%, var(--st-ivory) 100%);
  border: 1px solid rgba(140, 90, 43, 0.10);
  border-radius: 8px;
  box-shadow: var(--st-shadow-sm);
}

body#cart .product-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}

body#cart .cart-item:hover .product-image img {
  transform: scale(1.025);
}

body#cart .product-line-info .label,
body#cart .product-line-info a.label {
  color: var(--st-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-transform: none;
}

body#cart .product-line-info a.label:hover {
  color: var(--st-copper-dark);
}

body#cart .product-line-info.product-price {
  margin-top: 10px;
}

body#cart .current-price .price {
  color: var(--st-copper-dark);
  font-size: 18px;
  font-weight: 800;
}

body#cart .regular-price {
  color: rgba(15, 21, 28, 0.38);
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
}

body#cart .discount,
body#cart .discount-percentage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 5px 7px;
  color: #fff;
  background: var(--st-copper);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

body#cart .product-line-info.dimension,
body#cart .product-line-info.attribute,
body#cart .product-line-info[class*="μέγεθος"] {
  margin-top: 8px;
  color: var(--st-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

body#cart .product-line-info.dimension .label,
body#cart .product-line-info.attribute .label,
body#cart .product-line-info[class*="μέγεθος"] .label {
  color: var(--st-muted);
  font-size: 13px;
  font-weight: 600;
}

body#cart .product-line-info.dimension .value,
body#cart .product-line-info.attribute .value,
body#cart .product-line-info[class*="μέγεθος"] .value {
  color: var(--st-ink);
  font-size: 13px;
  font-weight: 800;
}

body#cart .product-line-grid-right > .row,
body#cart .product-line-grid-right .col-md-10 > .row {
  display: flex;
  align-items: center;
  margin: 0;
}

body#cart .product-line-grid-right .col-md-10 {
  width: calc(100% - 46px);
  padding: 0;
}

body#cart .product-line-grid-right .col-md-2 {
  width: 46px;
  padding: 0;
}

body#cart .product-line-grid-right .qty {
  width: 55%;
  padding: 0 16px 0 0;
}

body#cart .product-line-grid-right .price {
  width: 45%;
  padding: 0;
  text-align: right;
}

body#cart .product-line-grid-right .price .product-price strong {
  color: var(--st-ink);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

body#cart .bootstrap-touchspin {
  display: inline-flex;
  align-items: stretch;
  width: 140px;
  height: 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(140, 90, 43, 0.20);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(15, 21, 28, 0.05);
}

body#cart .bootstrap-touchspin input {
  width: 88px;
  height: 46px;
  min-height: 46px;
  padding: 0 8px;
  color: var(--st-ink);
  background: transparent;
  border: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  box-shadow: none;
}

body#cart .bootstrap-touchspin .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  width: 50px;
  height: 46px;
}

body#cart .bootstrap-touchspin .btn-touchspin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 23px;
  min-height: 23px;
  margin: 0;
  padding: 0;
  color: var(--st-copper-dark);
  background: var(--st-ivory);
  border: 0;
  border-left: 1px solid rgba(140, 90, 43, 0.14);
  border-radius: 0;
  line-height: 1;
  box-shadow: none;
}

body#cart .bootstrap-touchspin .btn-touchspin:hover {
  color: #fff;
  background: var(--st-copper);
}

body#cart .bootstrap-touchspin .btn-touchspin i,
body#cart .bootstrap-touchspin .btn-touchspin .material-icons {
  margin: 0;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

body#cart .cart-line-product-actions {
  display: flex;
  justify-content: flex-end;
}

body#cart .remove-from-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--st-muted);
  background: rgba(140, 90, 43, 0.08);
  border-radius: 50%;
  text-decoration: none;
  transition:
    color .2s ease,
    background-color .2s ease,
    transform .2s ease;
}

body#cart .remove-from-cart:hover {
  color: #fff;
  background: #b64242;
  transform: translateY(-2px);
}

body#cart .remove-from-cart i,
body#cart .remove-from-cart .material-icons {
  margin: 0;
  color: currentColor;
  font-size: 20px;
  line-height: 1;
}

body#cart .cart-grid-body > a.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--st-copper-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: none;
}

body#cart .cart-grid-body > a.label:hover {
  color: var(--st-ink);
}


/* Cart summary */

body#cart .cart-summary {
  position: relative;
  top: auto;
  overflow: hidden;
  border-radius: 10px;
}

body#cart .cart-summary::before {
  content: "Order summary";
  display: block;
  padding: 25px 28px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 25%, rgba(184, 115, 60, 0.28), transparent 34%),
    linear-gradient(135deg, var(--st-ink-soft) 0%, var(--st-ink) 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

html[lang^="el"] body#cart .cart-summary::before {
  content: "Σύνοψη παραγγελίας";
}

html[lang^="en"] body#cart .cart-summary::before {
  content: "Order summary";
}

body#cart .cart-summary .card-block {
  padding: 0 28px;
}

body#cart .cart-detailed-subtotals {
  padding-top: 22px;
}

body#cart .cart-summary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  margin: 0;
  padding: 13px 0;
  color: var(--st-muted);
  border-bottom: 1px solid rgba(140, 90, 43, 0.10);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

body#cart .cart-summary-line .label {
  min-width: 0;
  padding-right: 8px;
  color: var(--st-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

body#cart .cart-summary-line .value {
  min-width: 92px;
  color: var(--st-ink);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

body#cart .cart-summary-totals {
  padding-top: 4px;
}

body#cart .cart-summary-line.cart-total {
  margin: 8px -28px 0;
  padding: 18px 28px;
  background: var(--st-ivory);
  border-bottom: 0;
}

body#cart .cart-summary-line.cart-total .label,
body#cart .cart-summary-line.cart-total .value {
  color: var(--st-ink);
  font-size: 18px;
  font-weight: 800;
}

body#cart .cart-summary-line.cart-total .label {
  text-align: right;
}

body#cart .cart-summary-line .sub {
  color: #81776e;
  font-size: 13px;
}

body#cart .cart-detailed-actions {
  padding: 24px 28px 28px;
}

body#cart .cart-detailed-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 24px;
  color: #fff;
  background: var(--st-ink-soft);
  border: 1px solid var(--st-ink-soft);
  border-radius: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(15, 21, 28, 0.16);
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

body#cart .cart-detailed-actions .btn-primary:hover {
  color: #fff;
  background: var(--st-copper);
  border-color: var(--st-copper);
  transform: translateY(-2px);
}


/* Promo / voucher */

body#cart .cart-voucher,
body#cart .promo-code {
  color: var(--st-ink);
  font-family: "Montserrat", Arial, sans-serif;
}

body#cart .cart-voucher .promo-name,
body#cart .promo-code .promo-name {
  color: var(--st-copper-dark);
  font-weight: 800;
}

body#cart .cart-voucher input,
body#cart .promo-code input {
  min-height: 44px;
  color: var(--st-ink);
  background: #fff;
  border: 1px solid rgba(140, 90, 43, 0.20);
  border-radius: 4px;
  box-shadow: none;
}

body#cart .cart-voucher input:focus,
body#cart .promo-code input:focus {
  border-color: rgba(184, 115, 60, 0.62);
  box-shadow: 0 0 0 3px rgba(184, 115, 60, 0.10);
  outline: 0;
}

body#cart .cart-voucher .btn,
body#cart .promo-code .btn {
  min-height: 44px;
  color: #fff;
  background: var(--st-ink-soft);
  border-color: var(--st-ink-soft);
  border-radius: 4px;
  font-weight: 800;
}

body#cart .cart-voucher .btn:hover,
body#cart .promo-code .btn:hover {
  background: var(--st-copper);
  border-color: var(--st-copper);
}


/* Empty cart */

body#cart .cart-empty,
body#cart .no-items {
  padding: 34px;
  color: var(--st-muted);
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  box-shadow: var(--st-shadow-sm);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}


/* ==========================================================================
   3. BLOCK REASSURANCE
   Applies only when ps_blockreassurance is actually present.
   ========================================================================== */

body#cart .blockreassurance_product {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body#cart .blockreassurance_product > div:not(.clearfix) {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  box-shadow: var(--st-shadow-sm);
}

body#cart .blockreassurance_product .item-product {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--st-copper-dark);
  background: var(--st-ivory);
  border-radius: 6px;
}

body#cart .blockreassurance_product svg {
  width: 24px;
  height: 24px;
}

body#cart .blockreassurance_product svg path {
  fill: var(--st-copper-dark);
}

body#cart .blockreassurance_product .block-title {
  display: block;
  margin: 0 0 2px;
  color: var(--st-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

body#cart .blockreassurance_product p {
  margin: 0;
  color: var(--st-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
  #blockcart-modal .modal-dialog {
    margin-top: 42px;
  }

  body#cart #content-wrapper,
  body#cart .js-content-wrapper {
    padding: 42px 20px 64px;
  }

  body#cart .cart-grid {
    display: block;
  }

  body#cart .cart-grid-body,
  body#cart .cart-grid-right {
    width: 100%;
  }

  body#cart .cart-grid-right {
    position: static;
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  #blockcart-modal .modal-dialog {
    width: calc(100% - 24px);
    margin: 24px auto;
  }

  #blockcart-modal .modal-content {
    border-radius: 8px;
  }

  #blockcart-modal .modal-header {
    min-height: auto;
    padding: 21px 62px 21px 20px;
  }

  #blockcart-modal .modal-title,
  #blockcart-modal #myModalLabel {
    justify-content: flex-start;
    font-size: 16px;
    text-align: left;
  }

  #blockcart-modal .modal-title i,
  #blockcart-modal .modal-title .material-icons,
  #blockcart-modal #myModalLabel i,
  #blockcart-modal #myModalLabel .material-icons {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  #blockcart-modal .modal-header .close {
    top: 16px;
    right: 15px;
    width: 38px;
    height: 38px;
  }

  #blockcart-modal .modal-body {
    padding: 22px;
  }

  #blockcart-modal .modal-body > .row {
    display: block;
  }

  #blockcart-modal .divide-right {
    margin-bottom: 22px;
    padding-right: 0;
    padding-bottom: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--st-line);
  }

  #blockcart-modal .product-image {
    max-width: 150px;
    margin-bottom: 18px;
  }

  #blockcart-modal .product-name,
  #blockcart-modal .product-price,
  #blockcart-modal .product-quantity,
  #blockcart-modal .product-attributes {
    text-align: center;
  }

  #blockcart-modal .cart-content {
    padding-left: 0;
  }

  #blockcart-modal .cart-content-btn {
    grid-template-columns: 1fr;
  }

  body#cart #content-wrapper,
  body#cart .js-content-wrapper {
    padding: 34px 14px 54px;
  }

  body#cart .cart-container .card-block:first-child {
    padding: 24px 20px 18px;
  }

  body#cart .cart-container h1,
  body#cart .cart-container .h1 {
    font-size: 30px;
  }

  body#cart .cart-overview {
    padding: 0 18px 6px;
  }

  body#cart .cart-item {
    padding: 22px 0;
  }

  body#cart .product-line-grid {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  body#cart .product-line-grid-left,
  body#cart .product-line-grid-body,
  body#cart .product-line-grid-right {
    width: auto;
    padding: 0;
  }

  body#cart .product-line-grid-left {
    grid-column: 1;
  }

  body#cart .product-line-grid-body {
    grid-column: 2;
  }

  body#cart .product-line-grid-right {
    grid-column: 1 / -1;
    padding-top: 16px;
  }

  body#cart .product-line-info .label,
  body#cart .product-line-info a.label {
    font-size: 16px;
  }

  body#cart .product-line-grid-right .col-md-10 {
    width: calc(100% - 46px);
  }

  body#cart .product-line-grid-right .qty {
    width: 50%;
    padding-right: 10px;
  }

  body#cart .product-line-grid-right .price {
    width: 50%;
  }

  body#cart .bootstrap-touchspin {
    width: 128px;
    height: 46px;
  }

  body#cart .bootstrap-touchspin input {
    width: 78px;
    height: 44px;
    min-height: 44px;
  }

  body#cart .bootstrap-touchspin .input-group-btn-vertical {
    width: 48px;
    height: 44px;
  }

  body#cart .bootstrap-touchspin .btn-touchspin {
    width: 48px;
    height: 22px;
    min-height: 22px;
  }

  body#cart .cart-summary::before {
    padding: 23px 22px 18px;
    font-size: 22px;
  }

  body#cart .cart-summary .card-block {
    padding-right: 22px;
    padding-left: 22px;
  }

  body#cart .cart-summary-line.cart-total {
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 22px;
    padding-left: 22px;
  }

  body#cart .cart-summary-line.cart-total .label {
    text-align: left;
  }

  body#cart .cart-detailed-actions {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  body#cart .product-line-grid {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  body#cart .product-line-grid-right .qty {
    width: 54%;
  }

  body#cart .product-line-grid-right .price {
    width: 46%;
  }

  body#cart .product-line-grid-right .price .product-price strong {
    font-size: 15px;
  }

  body#cart .bootstrap-touchspin {
    width: 116px;
    height: 44px;
  }

  body#cart .bootstrap-touchspin input {
    width: 70px;
    height: 42px;
    min-height: 42px;
  }

  body#cart .bootstrap-touchspin .input-group-btn-vertical {
    width: 44px;
    height: 42px;
  }

  body#cart .bootstrap-touchspin .btn-touchspin {
    width: 44px;
    height: 21px;
    min-height: 21px;
  }

  body#cart .cart-summary-line {
    column-gap: 12px;
  }

  body#cart .cart-summary-line .value {
    min-width: 78px;
  }

  body#cart .cart-summary-line.cart-total .label,
  body#cart .cart-summary-line.cart-total .value {
    font-size: 16px;
  }
}
