/** bebarefoot.eu — product detail, mobile */
@media (max-width: 991px) {
  body.type-product #content-wrapper,
  body.type-product #content { padding-left: 0 !important; padding-right: 0 !important; }
  body.type-product .p-detail-inner { padding: 0 16px; }
  body.type-product .breadcrumbs { display: none; }

  body.type-product .p-detail-inner-header { margin: 22px 0 14px; padding: 0; border: 0; }
  body.type-product .p-detail-inner-header h1 {
    margin: 0; font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(23px, 6.4vw, 29px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em;
  }
  body.type-product .beb-title-code { color: #77736e; font-size: .58em; white-space: nowrap; }
  body.type-product .p-detail-inner-header .p-code { display: none; }

  body.type-product .product-top,
  body.type-product .product-top .p-image-wrapper,
  body.type-product .product-top .p-info-wrapper { display: block; float: none; width: 100%; padding: 0; }
  body.type-product .product-top > .col-xs-12:first-child { position: absolute; z-index: 5; width: auto; padding: 10px 0 0 10px; }

  body.type-product .p-image-wrapper .p-image { min-height: 0; background: #faf9f7; }
  body.type-product .p-image-wrapper .p-image img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
  body.type-product .p-thumbnails-wrapper { margin-top: 8px; }
  body.type-product .p-thumbnails-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
  body.type-product .p-thumbnails-inner::-webkit-scrollbar { display: none; }

  body.type-product .p-image-wrapper.beb-gallery-ready > .p-image,
  body.type-product .p-image-wrapper.beb-gallery-ready > .p-thumbnails-wrapper { display: none !important; }
  body.type-product .beb-product-gallery {
    display: flex; gap: 10px; width: calc(100% + 16px); margin-right: -16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  body.type-product .beb-product-gallery::-webkit-scrollbar { display: none; }
  body.type-product .beb-product-gallery__item {
    flex: 0 0 calc(100% - 28px); aspect-ratio: 1 / 1; display: flex; align-items: center;
    justify-content: center; scroll-snap-align: start; background: #faf9f7; overflow: hidden;
  }
  body.type-product .beb-product-gallery__item img { width: 100%; height: 100%; object-fit: contain; }

  body.type-product .flag.flag-new,
  body.type-product .flag.flag-action,
  body.type-product .flag.flag-sale {
    padding: 5px 9px !important; border: 1px solid #e4472f !important; border-radius: 0 !important;
    background: #fff !important; color: #c83a27 !important; font-size: 11px !important;
    font-weight: 750 !important; letter-spacing: .06em; line-height: 1.2 !important; text-transform: uppercase;
  }

  body.type-product .p-info-wrapper { padding: 26px 0 12px !important; background: #fff; }
  body.type-product .p-final-price-wrapper { margin-bottom: 18px; }
  body.type-product .p-final-price-wrapper .price-final { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
  body.type-product .p-final-price-wrapper .price-additional { display: block; margin-top: 7px; color: #77736e; font-size: 13px; }
  body.type-product .availability-value { display: inline-flex; margin: 0 0 7px; padding: 5px 10px; border-radius: 999px; background: #edf2f0; color: #2f6c70; font-weight: 700; }
  body.type-product .beb-dispatch-note { margin: 0 0 22px; color: #77736e; font-size: 14px; }

  body.type-product .beb-size-heading { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; }
  body.type-product .beb-size-heading > span { font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
  body.type-product .beb-size-guide { color: #57534f; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
  body.type-product .p-info-wrapper .detail-parameters,
  body.type-product .p-info-wrapper .variant-list,
  body.type-product .p-info-wrapper .variant-list tbody,
  body.type-product .p-info-wrapper .variant-list tr,
  body.type-product .p-info-wrapper .variant-list td { display: block; width: 100%; }
  body.type-product .p-info-wrapper .variant-list th { display: none; }
  body.type-product .p-info-wrapper select.form-control {
    display: block !important; width: 100% !important; max-width: none !important; height: 54px !important; padding: 0 46px 0 16px !important;
    border: 1px solid #bdb9b4 !important; border-radius: 0 !important; background-color: #fff !important;
    color: #211f1d !important; font-size: 16px !important; font-weight: 650;
  }
  body.type-product .add-to-cart { display: grid !important; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; margin-top: 12px; }
  body.type-product .add-to-cart .quantity {
    display: grid !important; grid-template-columns: 34px 40px 34px; grid-template-areas: "minus value plus";
    width: 108px !important; height: 54px !important; margin: 0 !important;
    border: 1px solid #bdb9b4 !important; background: #fff !important; overflow: hidden;
  }
  body.type-product .add-to-cart .quantity label { grid-area: value; width: 40px !important; height: 52px !important; margin: 0 !important; }
  body.type-product .add-to-cart .quantity .amount {
    width: 40px !important; height: 52px !important; padding: 0 !important; border: 0 !important;
    background: #fff !important; box-shadow: none !important; text-align: center; appearance: textfield !important;
  }
  body.type-product .add-to-cart .quantity .increase,
  body.type-product .add-to-cart .quantity .decrease {
    position: static !important; display: flex !important; align-items: center; justify-content: center;
    width: 34px !important; height: 54px !important; padding: 0 !important; border: 0 !important;
    border-radius: 0 !important; background: #fff !important; color: #211f1d !important;
  }
  body.type-product .add-to-cart .quantity .decrease { grid-area: minus; border-right: 1px solid #d5d1cc !important; }
  body.type-product .add-to-cart .quantity .increase { grid-area: plus; border-left: 1px solid #d5d1cc !important; }
  body.type-product .add-to-cart .quantity .increase::before,
  body.type-product .add-to-cart .quantity .increase::after,
  body.type-product .add-to-cart .quantity .decrease::before,
  body.type-product .add-to-cart .quantity .decrease::after { display: none !important; content: none !important; }
  body.type-product .add-to-cart .quantity .increase__sign,
  body.type-product .add-to-cart .quantity .decrease__sign {
    position: static !important; display: inline !important; width: auto !important; height: auto !important;
    color: #211f1d !important; font-family: Arial, sans-serif !important; font-size: 19px !important; line-height: 1 !important;
  }
  body.type-product .add-to-cart .add-to-cart-button {
    width: 100% !important; min-width: 0 !important; height: 54px !important; margin: 0 !important;
    border: 1px solid #211f1d !important; border-radius: 0 !important; background: #211f1d !important;
    color: #fff !important; font-size: 14px !important; font-weight: 750 !important; letter-spacing: .035em; text-transform: uppercase;
  }
  body.type-product .beb-purchase-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; padding: 16px 0; border-top: 1px solid #e5e2de; border-bottom: 1px solid #e5e2de; }
  body.type-product .beb-purchase-links a { color: #66615c; font-size: 13px; font-weight: 650; text-align: center; }

  body.type-product .beb-product-accordion details { border-bottom: 1px solid #e5e2de; }
  body.type-product .beb-product-accordion summary { position: relative; padding: 18px 30px 18px 0; color: #211f1d; font-size: 16px; font-weight: 700; list-style: none; }
  body.type-product .beb-product-accordion summary::-webkit-details-marker { display: none; }
  body.type-product .beb-product-accordion summary::after { content: "+"; position: absolute; right: 2px; font-size: 22px; font-weight: 400; }
  body.type-product .beb-product-accordion details[open] summary::after { content: "−"; }
  body.type-product .beb-product-accordion__content { padding: 0 0 20px; color: #55514d; font-size: 15px; line-height: 1.62; }
  body.type-product .beb-product-accordion__content h2,
  body.type-product .beb-product-accordion__content h3,
  body.type-product .beb-product-accordion__content h4 { margin: 18px 0 9px; color: #211f1d; font-size: 16px; }
  body.type-product .beb-product-accordion__content table { width: 100%; border-collapse: collapse; font-size: 14px; }
  body.type-product .beb-product-accordion__content th,
  body.type-product .beb-product-accordion__content td { padding: 10px 6px; border-bottom: 1px solid #e5e2de; text-align: left; }
  body.type-product #description.beb-accordion-moved,
  body.type-product #p-detail-tabs { display: none !important; }

  body.type-product .beb-size-modal { position: fixed; z-index: 99999; inset: 0; display: none; align-items: flex-end; background: rgba(20,19,18,.56); }
  body.type-product .beb-size-modal.is-open { display: flex; }
  body.type-product .beb-size-modal__dialog { width: 100%; max-height: 88vh; padding: 22px 18px 28px; overflow: auto; background: #fff; }
  body.type-product .beb-size-modal__header { display: flex; justify-content: space-between; align-items: center; }
  body.type-product .beb-size-modal__title { margin: 0; font-size: 24px; }
  body.type-product .beb-size-modal__close { width: 44px; height: 44px; border: 1px solid #e4472f; border-radius: 50%; background: #fff; font-size: 25px; }
  body.type-product .beb-size-modal__intro { margin: 12px 0 18px; color: #77736e; }
  body.type-product .beb-size-modal table { width: 100%; border-collapse: collapse; }
  body.type-product .beb-size-modal th,
  body.type-product .beb-size-modal td { padding: 12px 7px; border-bottom: 1px solid #e5e2de; text-align: left; }
  body.beb-modal-open { overflow: hidden; }
}
n-items: center; }
  body.type-product .beb-size-modal__title { margin: 0; font-size: 24px; }
  body.type-product .beb-size-modal__close { width: 44px; height: 44px; border: 1px solid #e4472f; border-radius: 50%; background: #fff; font-size: 25px; }
  body.type-product .beb-size-modal__intro { margin: 12px 0 18px; color: #77736e; }
  body.type-product .beb-size-modal table { width: 100%; border-collapse: collapse; }
  body.type-product .beb-size-modal th,
  body.type-product .beb-size-modal td { padding: 12px 7px; border-bottom: 1px solid #e5e2de; text-align: left; }
  body.type-product .beb-size-modal tbody tr.beb-size-selectable { cursor: pointer; transition: background-color .18s ease; }
  body.type-product .beb-size-modal tbody tr.beb-size-selectable:active,
  body.type-product .beb-size-modal tbody tr.beb-size-selectable:focus { outline: none; background: #f6f4f0; }
  body.type-product .beb-size-modal tbody tr.beb-size-selectable td:first-child { color: #211f1d; font-weight: 750; text-decoration: underline; text-decoration-color: #e4472f; text-underline-offset: 4px; }
  body.type-product .beb-size-modal tbody tr:not(.beb-size-selectable) { color: #aaa59f; }
  body.type-product .beb-size-modal__note { margin: 18px 0 0; color: #77736e; font-size: 13px; line-height: 1.55; }
  body.beb-modal-open { overflow: hidden; }
}
