
/* --- Global --- */
body.borne {
  cursor: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  overflow-x: hidden;
}

body.borne * {
  -webkit-tap-highlight-color: transparent;
}

/* --- Typography scale up --- */
body.borne .typo,
body.borne .font,
body.borne p,
body.borne span,
body.borne label {
  font-size: 16px;
}

body.borne h1, body.borne .headContent {
  font-size: 28px;
}

body.borne h2 {
  font-size: 24px;
}

/* --- Buttons: bigger touch targets --- */
body.borne .btn,
body.borne a.btn {
  min-height: 60px;
  font-size: 20px;
  padding: 14px 28px;
  line-height: 30px;
}

body.borne .btn.sendOrder,
body.borne .btn.buyOther {
  min-height: 64px;
  font-size: 20px;
  padding: 16px 28px;
}

body.borne a.buyCard,
body.borne .actionsRow a.buyCard {
  font-size: 22px;
  line-height: 64px;
  padding: 0 32px;
}

body.borne .btnsArea .buyCard {
  padding: 18px 16px;
  line-height: 28px;
}

body.borne .confActionsRow a.buyCard {
  font-size: 20px;
  padding: 18px 36px;
}

body.borne .modalBtnsRow .btn {
  font-size: 19px;
  min-height: 56px;
}

/* --- Remove hover states (touch has no hover) --- */
body.borne .btn:hover,
body.borne a.btn:hover,
body.borne .btn.sendOrder:hover,
body.borne .btn.buyOther:hover,
body.borne a.buyCard:hover {
  opacity: 0.85;
}

/* Active state feedback for touch */
body.borne .btn:active,
body.borne a.btn:active,
body.borne a.buyCard:active {
  opacity: 0.7;
  transform: scale(0.98);
}

/* --- Form inputs: larger --- */
body.borne .formControl input[type=text],
body.borne .formControl input[type=email],
body.borne .formControl input[type=password],
body.borne .formControl input[type=tel],
body.borne .formControl input[type=number],
body.borne .formControl textarea,
body.borne .formControl select,
body.borne .formControl input[type=date],
body.borne .formControl input[type=time] {
  font-size: 18px;
  padding: 18px 8px;
}

body.borne .formControl label {
  font-size: 16px;
}

/* --- Checkboxes & Radios: bigger hit area --- */
body.borne .customRadio input,
body.borne .customCheckbox input {
  width: 32px;
  height: 32px;
}

body.borne .customRadio label,
body.borne .customCheckbox label {
  padding-left: 44px !important;
  line-height: 1.4;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  word-break: break-word;
}

body.borne .customRadio label::before,
body.borne .customCheckbox label::before {
  width: 32px;
  height: 32px;
}

/* --- Amount selection circles: larger --- */
body.borne .montantValue {
  width: 110px;
  height: 110px;
  font-size: 20px;
  line-height: 94px;
  border-width: 8px;
}

body.borne .montantValue.x-small {
  font-size: 12px;
}

body.borne .montantValue.small {
  font-size: 16px;
}

body.borne .montantValue.medium {
  font-size: 18px;
}

/* --- Quantity counter: bigger --- */
body.borne .formControl .countInput input[type=number] {
  width: 52px;
  height: 44px;
  font-size: 20px;
  padding: 8px;
}

body.borne .formControl .countInput .upVal,
body.borne .formControl .countInput .downVal {
  width: 44px;
  line-height: 44px;
  font-size: 22px;
  border-radius: 44px;
}

/* --- Carousel arrows: bigger touch target --- */
body.borne .slick-prev,
body.borne .slick-next {
  width: 50px;
  height: 50px;
}

body.borne .slick-prev:before,
body.borne .slick-next:before {
  font-size: 45px !important;
}

/* --- Cart items --- */
body.borne .cartItem .deleteItem,
body.borne .cartItem2 .deleteItem {
  font-size: 40px;
  padding: 10px;
}

body.borne .cartItem .itemData .iPrice {
  font-size: 44px;
}

/* --- Cart header --- */
body.borne .myCart,
body.borne .cartQte,
body.borne .cartTotal {
  font-size: 18px;
}

/* --- Promo code input --- */
body.borne .promoCodeSection input {
  font-size: 18px;
  padding: 14px 12px;
}

body.borne .promoCodeSection .btn {
  min-height: 52px;
}

/* --- Scrollbar: larger for touch --- */
body.borne ::-webkit-scrollbar {
  width: 12px;
}

body.borne ::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 6px;
}

body.borne ::-webkit-scrollbar-track {
  background: #f0f0f0;
}

/* --- Skip to content & accessibility: hide on borne --- */
body.borne .skip-to-content {
  display: none;
}

/* --- Cookie banner: hide on borne (no cookies consent needed on dedicated device) --- */
body.borne .cookieBanner {
  display: none;
}

/* --- Virtual Keyboard --- */
.virtual-keyboard-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #e8e8e8;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  padding: 8px 4px 12px;
}

.virtual-keyboard-theme.hg-theme-default {
  background: transparent;
  border: none;
  padding: 0;
}

.virtual-keyboard-theme .hg-row {
  justify-content: center;
  margin-bottom: 4px;
}

.virtual-keyboard-theme .hg-button {
  height: 52px;
  min-width: 36px;
  font-size: 20px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  margin: 2px;
  flex-grow: 1;
  max-width: 60px;
  font-weight: 500;
  color: #333;
}

.virtual-keyboard-theme .hg-button:active {
  background: #d0d0d0;
  transform: scale(0.95);
}

.virtual-keyboard-theme .hg-button[data-skbtn="{space}"] {
  max-width: 50%;
  flex-grow: 6;
}

.virtual-keyboard-theme .hg-button[data-skbtn="{enter}"] {
  max-width: 100px;
  flex-grow: 2;
  background: var(--main-color, #f07d1a);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

.virtual-keyboard-theme .hg-button[data-skbtn="{bksp}"] {
  max-width: 80px;
  flex-grow: 2;
}

.virtual-keyboard-theme .hg-button[data-skbtn="{shift}"] {
  max-width: 70px;
  flex-grow: 1.5;
  background: #d8d8d8;
}

/* Scroll page up when keyboard is visible */
body.borne.keyboard-open {
  padding-bottom: 320px;
}
