/* Native OpenCart commerce components shared by the custom storefront. */
.product-product #content,
.checkout-cart #content,
.checkout-checkout #content,
.account-register #content,
.account-login #content { min-width: 0; }

.product-product .thumbnails { margin: 0; padding: 0; list-style: none; }
.product-product .thumbnails > li { margin: 0 0 14px; }
.product-product .thumbnails .thumbnail {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; overflow: hidden; border: 1px solid rgba(30,35,75,.1);
  border-radius: 14px; background: #fff;
}
.product-product .thumbnails .thumbnail img {
  display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain;
}
.product-product .image-additional { display: inline-block; width: 92px; margin-right: 8px !important; vertical-align: top; }
.product-product .image-additional .thumbnail { min-height: 92px; }
.product-product h1 { overflow-wrap: anywhere; }
.product-product #product .form-control { min-height: 44px; }
.product-product #button-cart { min-height: 46px; width: 100%; border-radius: 10px; font-weight: 700; }

#cart .dropdown-menu { width: 390px; max-width: calc(100vw - 24px); padding: 14px; border: 0; border-radius: 14px; box-shadow: 0 18px 50px rgba(12,18,45,.2); }
#cart .dropdown-menu .table { margin-bottom: 10px; }
#cart .dropdown-menu td { padding: 8px; vertical-align: middle; }
#cart .dropdown-menu .img-thumbnail { width: 64px; height: 64px; object-fit: contain; background: #fff; }
#cart .dropdown-menu p { margin: 8px 0 0; display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }

.checkout-cart .table-responsive { border: 0; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(20,25,60,.06); }
.checkout-cart .table { margin: 0; }
.checkout-cart .table > tbody > tr > td,
.checkout-cart .table > thead > tr > td { padding: 14px; vertical-align: middle; }
.checkout-cart .table .img-thumbnail { width: 84px; height: 84px; object-fit: contain; background: #fff; }
.checkout-cart .panel-group .panel,
.checkout-checkout #accordion .panel { overflow: hidden; margin-bottom: 10px; border: 1px solid rgba(30,35,75,.1); border-radius: 12px; background: #fff; box-shadow: none; }
.checkout-cart .panel-heading,
.checkout-checkout #accordion .panel-heading { padding: 0; background: #fff; }
.checkout-cart .panel-title > a,
.checkout-checkout #accordion .panel-title > a { display: block; padding: 16px 18px; color: #17173d; font-weight: 700; text-decoration: none; }
.checkout-checkout #accordion .panel-body { padding: 20px; }

.account-register fieldset,
.account-login .well { margin-bottom: 20px; padding: 22px; border: 1px solid rgba(30,35,75,.1); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(20,25,60,.05); }
.account-register legend { padding: 0 0 12px; color: #17173d; font-weight: 800; }
.account-register .form-control,
.account-login .form-control { min-height: 44px; border-radius: 9px; }
.account-register .buttons,
.account-login .buttons { margin-top: 18px; }

@media (max-width: 767px) {
  #cart .dropdown-menu { right: -10px; }
  .checkout-cart .table-responsive { overflow-x: auto; }
  .product-product .thumbnails .thumbnail { min-height: 0; }
}
