/* Kamkardan cart / buy UI */
@media (min-width: 1200px) {
  .header.d-xl-block .header-inner {
    display: flex;
    align-items: center;
    position: relative;
  }
  .header.d-xl-block .header-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    text-align: left;
    gap: 0 16px;
  }
  .header.d-xl-block .header-search .pull-left,
  .header.d-xl-block .header-search .pull-right {
    float: none !important;
  }
  .header.d-xl-block .header-search .custom.logo {
    display: none;
  }
  .header.d-xl-block .header-search .custom.headtitle {
    order: 1;
    margin: 0;
    padding: 0;
  }
  .header.d-xl-block .headtitle {
    padding: 0;
    line-height: 1.1;
  }
  .header.d-xl-block .header-search .custom.headphone {
    order: 2;
    margin: 0 0 0 auto;
    padding: 0;
  }
  .header.d-xl-block .headphone {
    padding-top: 0;
  }
  .header.d-xl-block .headphone .d-flex {
    align-items: center;
  }
  .header.d-xl-block .headphone .zphone {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .header.d-xl-block .header-search .kk-cart-link--header {
    order: 3;
    position: static;
    top: auto;
    right: auto;
    margin: 0;
  }
  .header.d-xl-block .header-search .custom.home {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 10px;
  }
}

.kk-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #800000 !important;
  text-decoration: none !important;
  line-height: 1;
}
.kk-cart-link--header {
  width: 44px;
  height: 44px;
  border: 2px solid #800000;
  border-radius: 50%;
  margin: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  background: #fff;
}
.kk-cart-link--header:hover {
  background: #800000;
  color: #fff !important;
}
.kk-cart-link .fa-shopping-cart {
  font-size: 18px;
  line-height: 1;
}
.kk-cart-text {
  display: none !important;
}
.kk-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0;
  border-radius: 50%;
  background: #00690d;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  font-weight: 700;
  box-sizing: border-box;
  border: 2px solid #fff;
}
.kk-cart-count--empty {
  background: #9a9a9a;
}
.mobile_header .kk-cart-link {
  color: #800000 !important;
  width: 36px;
  height: 36px;
  border: 2px solid #800000;
  border-radius: 50%;
  box-sizing: border-box;
}
.mobile_header .kk-cart-li {
  position: relative;
  list-style: none;
}
.mobile_header .kk-cart-count {
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  font-size: 10px;
}


.kk-buybox {
  margin: 14px 0 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.kk-buybox__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.kk-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: auto;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.kk-qty__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: #333;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.kk-qty__btn:hover {
  background: #800000;
  border-color: #800000;
  color: #fff;
}
.kk-qty__input {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  height: 36px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222 !important;
  background: transparent !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.kk-qty__input::-webkit-outer-spin-button,
.kk-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.kk-buybox__btn,
.kk-btn-buy {
  display: inline-block;
  background: #00690d !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 3px;
  padding: 12px 26px !important;
  min-height: 44px;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.2;
}
.kk-buybox__btn:hover,
.kk-btn-buy:hover {
  background: #008512 !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(0,105,13,0.35);
}
.jshop_list_product .buttons {
  margin-top: 10px;
}
.jshop_list_product .kk-btn-buy {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.jhomeadds .kk-btn-buy {
  margin-top: 8px;
  width: auto;
  min-width: 120px;
}

/* Cart page */
#comjshop .jshop.cart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
#comjshop .jshop.cart th {
  background: #800000;
  color: #fff;
  padding: 10px 8px;
  font-weight: 600;
}
#comjshop .jshop.cart td {
  padding: 10px 8px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}
#comjshop .jshop.cart tr:nth-child(even) td {
  background: #fafafa;
}
#comjshop input.btn,
#comjshop .btn {
  background: #800000;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 8px 16px;
  font-weight: 600;
}
#comjshop a.btn,
#comjshop .btn-primary,
#comjshop input.button[name="checkout"],
#comjshop .checkout {
  background: #00690d !important;
}
@media (max-width: 767px) {
  .kk-cart-text { display: none; }

  .jshop.productfull h1,
  .jshop.productfull .first,
  .jshop.productfull .prod_price,
  .jshop.productfull .guarant,
  .jshop.productfull .breadcrumb,
  #comjshop .breadcrumb {
    text-align: center !important;
  }
  .jshop.productfull .jshop_prod_description,
  .jshop.productfull .jshop_prod_description h2,
  .jshop.productfull .jshop_prod_description p,
  .jshop.productfull .jshop_prod_description li,
  .jshop.productfull .jshop_prod_description td,
  .jshop.productfull .jshop_prod_description th,
  .jshop.productfull section,
  .jshop.productfull .jshop_prod_attributes,
  .jshop.productfull .price_prod_qty_list,
  .jshop.productfull .extra_fields,
  .jshop.productfull .list_attribute {
    text-align: left !important;
  }
  .jshop.productfull h1 {
    float: none !important;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .jshop.productfull .first {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 16px !important;
  }

  .kk-buybox {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .kk-buybox__row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .kk-qty {
    margin: 0 auto;
  }
  .kk-buybox__btn {
    width: 100%;
    max-width: 320px;
  }
}

.kk-related-cart {
  padding: 14px;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  margin-bottom: 10px;
}
.kk-related-cart p { margin: 0 0 10px; }
#comjshop #checkout .td_2 .btn {
  background: #00690d !important;
  color: #fff !important;
  padding: 10px 18px;
  font-weight: 700;
}

.headtitle a,
.custom.headtitle a {
  color: inherit !important;
  text-decoration: none !important;
}
.headtitle a:hover,
.custom.headtitle a:hover {
  color: inherit !important;
  text-decoration: none !important;
  opacity: 0.85;
}

#comjshop .jshop.cart td.product_name,
#comjshop .jshop.cart td.product_name .data,
#comjshop .jshop.cart td.product_name a,
#comjshop .jshop.cart a.kk-cart-product-name {
  color: #222 !important;
  font-size: 15px !important;
  font-weight: 600;
  text-align: left;
  line-height: 1.35;
  text-decoration: none;
}
#comjshop .jshop.cart td.product_name a:hover {
  color: #800000 !important;
  text-decoration: underline;
}
#comjshop .jshop.cart th.product_name {
  color: #fff !important;
  font-size: 14px !important;
}
.kk-cart-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #fff;
  color: #444 !important;
  text-decoration: none !important;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}
.kk-cart-icon-btn:hover {
  background: #800000;
  border-color: #800000;
  color: #fff !important;
}
.kk-cart-icon-btn--danger:hover {
  background: #a10000;
  border-color: #a10000;
}
.kk-cart-icon-btn .fa {
  font-size: 16px;
}
.kk-cart-nav-btn .fa {
  margin: 0 6px;
}
#comjshop .cart .cart_reload img,
#comjshop .cart .button-img,
#comjshop .cart .remove .btn-danger,
#comjshop .cart_buttons img {
  display: none !important;
}
.prod_price .currencycode {
  margin-left: 4px;
}


/* Cart extras */
/* Breadcrumbs visible; styled for checkout */
#comjshop ul.breadcrumb.bread,
.jshop ul.breadcrumb.bread,
ul.breadcrumb.bread {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 16px;
  padding: 12px 16px;
  list-style: none;
  box-sizing: border-box;
}
ul.breadcrumb.bread > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
ul.breadcrumb.bread .divider {
  display: none !important; /* hide default "/" separator */
}
ul.breadcrumb.bread > li + li:before {
  content: "›";
  opacity: 0.55;
  margin-right: 2px;
}
@media (max-width: 767px) {
  #comjshop ul.breadcrumb.bread,
  .jshop ul.breadcrumb.bread,
  ul.breadcrumb.bread {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding: 10px 14px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  ul.breadcrumb.bread > li {
    flex-shrink: 0;
  }
}
#comjshop .currencycode,
.jshop .currencycode,
.jshop_subtotal .currencycode,
.jshop_subtotal .value .currencycode,
.cart .currencycode,
.jshop.cart .currencycode {
  font-size: 1em !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
}
.jshop.cart .quantity .kk-qty {
  margin: 0 auto;
}
.jshop.cart .cart_reload {
  display: none !important;
}
.kk-cart-buttons__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.kk-cart-buttons__item--checkout {
  margin-left: auto;
}
.kk-cart-buttons__item .kk-cart-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .kk-cart-buttons__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .kk-cart-buttons__item {
    width: 100%;
    float: none !important;
  }
  .kk-cart-buttons__item .kk-cart-nav-btn,
  .kk-cart-buttons .btn {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box;
    float: none !important;
    margin: 0 !important;
    text-align: center;
    justify-content: center;
  }
  .kk-cart-buttons .pull-left,
  .kk-cart-buttons .pull-right {
    float: none !important;
    width: 100% !important;
  }
}



/* Checkout: hide step breadcrumb and alt delivery address */
#comjshop table.jshop_order_step,
#comjshop .jshop_order_step,
#comjshop #active_step,
#comjshop .other_delivery_adress,
#comjshop #div_delivery {
  display: none !important;
}

/* Cart: total label 1rem, price 2rem — vertically aligned */
#comjshop .jshop_subtotal tr.total td,
.jshop.jshop_subtotal tr.total td {
  vertical-align: baseline !important;
}
#comjshop .jshop_subtotal tr.total .name,
.jshop.jshop_subtotal tr.total .name {
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 2rem !important;
  padding-right: 12px !important;
  white-space: nowrap;
}
#comjshop .jshop_subtotal tr.total .value,
.jshop.jshop_subtotal tr.total .value {
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 2rem !important;
}

/* Checkout city (DaData): match other Bootstrap inputs height */
#comjshop .address_block input.kk-city-suggest,
#comjshop .address_block input.suggestions-input,
#comjshop input.kk-city-suggest,
#comjshop input.suggestions-input {
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box !important;
  box-sizing: content-box !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 4px 6px !important;
  margin-bottom: 9px !important;
  font-size: 13px !important;
  line-height: 18px !important;
  width: 100% !important;
  vertical-align: middle !important;
}
#comjshop .address_block .suggestions-wrapper,
#comjshop .suggestions-wrapper {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}


/* Checkout confirm comment block */
#comjshop .kk-pfinish,
.checkout_pfinish_block .kk-pfinish {
  margin-top: 24px;
  padding: 20px;
  background: #f7f8f7;
  border: 1px solid #e2e6e2;
  border-radius: 8px;
  box-sizing: border-box;
}
#comjshop .kk-pfinish__label,
.checkout_pfinish_block .kk-pfinish__label {
  display: block;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}
#comjshop .kk-pfinish__textarea,
.checkout_pfinish_block .kk-pfinish__textarea,
#comjshop .kk-pfinish textarea.inputbox {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 110px !important;
  height: auto !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  margin: 0 0 16px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  border: 1px solid #cfd5cf !important;
  border-radius: 6px !important;
  background: #fff !important;
  resize: vertical;
}
#comjshop .kk-pfinish__actions,
.checkout_pfinish_block .kk-pfinish__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
#comjshop .kk-pfinish__submit,
.checkout_pfinish_block .kk-pfinish__submit {
  min-width: 200px;
  padding: 12px 22px !important;
  font-size: 16px !important;
  font-weight: 600;
  border: 0 !important;
  border-radius: 6px;
  cursor: pointer;
}
#comjshop .row_agb,
#comjshop .row_no_return {
  display: none !important;
}
@media (max-width: 767px) {
  #comjshop .kk-pfinish,
  .checkout_pfinish_block .kk-pfinish {
    padding: 16px;
  }
  #comjshop .kk-pfinish__actions,
  .checkout_pfinish_block .kk-pfinish__actions {
    justify-content: stretch;
  }
  #comjshop .kk-pfinish__submit,
  .checkout_pfinish_block .kk-pfinish__submit {
    width: 100%;
    min-width: 0;
  }
}

/* Checkout thank you page */
#comjshop.kk-thanks-page {
  --kk-green: #00690d;
  --kk-green-deep: #004f09;
  --kk-ink: #1a2218;
  --kk-muted: #5a6756;
  margin: 0;
  width: auto;
  max-width: none;
  box-sizing: border-box;
  padding: 32px 0 48px;
  background: transparent;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--kk-ink);
}

.kk-thanks {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 28px 36px;
}

.kk-thanks__glow {
  display: none !important;
}

.kk-thanks__mark {
  position: relative;
  display: inline-flex;
  margin-bottom: 18px;
  animation: kkThanksPop 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.kk-thanks__check {
  display: block;
}

.kk-thanks__ring {
  stroke: var(--kk-green);
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: kkThanksRing 0.7s ease forwards 0.15s;
}

.kk-thanks__tick {
  stroke: var(--kk-green);
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: kkThanksTick 0.45s ease forwards 0.55s;
}

.kk-thanks__brand {
  display: none !important;
}

.kk-thanks__title {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--kk-ink);
}

.kk-thanks__lead {
  position: relative;
  margin: 0 auto 22px;
  max-width: 34em;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--kk-muted);
}

.kk-thanks__order {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 22px;
  padding: 14px 28px;
  border: 1px solid rgba(0, 105, 13, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  animation: kkThanksFade 0.6s ease both 0.35s;
}

.kk-thanks__order-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kk-muted);
  font-weight: 600;
}

.kk-thanks__order-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--kk-green-deep);
  letter-spacing: 0.04em;
}

.kk-thanks__note {
  position: relative;
  margin: 0 auto 22px;
  max-width: 36em;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--kk-muted);
}

.kk-thanks__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  animation: kkThanksFade 0.6s ease both 0.5s;
}

.kk-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.kk-thanks__btn--primary {
  background: var(--kk-green);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 105, 13, 0.22);
}

.kk-thanks__btn--primary:hover {
  background: var(--kk-green-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

.kk-thanks__btn--ghost {
  background: transparent;
  color: var(--kk-green-deep) !important;
  border: 2px solid rgba(0, 105, 13, 0.45);
}

.kk-thanks__btn--ghost:hover {
  background: rgba(0, 105, 13, 0.08);
  color: var(--kk-green-deep) !important;
}

.kk-thanks__contacts {
  position: relative;
  margin: 0;
  font-size: 0.95rem;
  color: var(--kk-muted);
}

.kk-thanks__contacts a {
  color: var(--kk-green-deep);
  text-decoration: none;
  font-weight: 600;
}

.kk-thanks__contacts a:hover {
  text-decoration: underline;
}

.kk-thanks__contacts span {
  margin: 0 8px;
  opacity: 0.5;
}

@keyframes kkThanksPop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes kkThanksRing {
  to { stroke-dashoffset: 0; }
}
@keyframes kkThanksTick {
  to { stroke-dashoffset: 0; }
}
@keyframes kkThanksFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  #comjshop.kk-thanks-page {
    padding: 20px 0 40px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .kk-thanks {
    padding: 16px 12px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .kk-thanks__lead,
  .kk-thanks__contacts {
    max-width: 100% !important;
    padding: 0 4px;
    box-sizing: border-box;
    word-break: break-word;
  }
  .kk-thanks__order {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .kk-thanks__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .kk-thanks__btn,
  a.kk-thanks__btn,
  #comjshop .kk-thanks__btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
  }
}

/* Checkout address: full-width fields on mobile */
@media (max-width: 767px) {
  /* Content column uses full screen width on checkout */
  body.com_jshopping #content.span9,
  body.com_jshopping main#content,
  body.com_jshopping .row-fluid #content {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.com_jshopping #aside.span3,
  body.com_jshopping #sidebar {
    display: none !important;
  }

  #comjshop,
  #comjshop .address_block,
  #comjshop .address_block form,
  #comjshop .address_block .jshop_register,
  .address_block div.jshop_register {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #comjshop .address_block .control-group {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #comjshop .address_block .control-group,
  #comjshop .address_block .form-horizontal .control-group {
    margin-bottom: 8px !important;
  }

  #comjshop .address_block .form-horizontal .control-label,
  #comjshop .address_block .form-horizontal .controls,
  #comjshop .address_block .control-label,
  #comjshop .address_block .controls {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  #comjshop .address_block .control-label,
  #comjshop .address_block .form-horizontal .control-label {
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    line-height: 1.2 !important;
    font-size: 13px !important;
  }

  #comjshop .address_block input.input,
  #comjshop .address_block input.inputbox,
  #comjshop .address_block input[type="text"],
  #comjshop .address_block input[type="email"],
  #comjshop .address_block input[type="tel"],
  #comjshop .address_block input[type="password"],
  #comjshop .address_block input.kk-city-suggest,
  #comjshop .address_block input.suggestions-input,
  #comjshop .address_block select,
  #comjshop .address_block textarea {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    display: block !important;
  }

  #comjshop .address_block .suggestions-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  #comjshop .address_block .box_button,
  #comjshop .address_block .box_button .controls {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #comjshop .address_block .box_button input.button,
  #comjshop .address_block .box_button input[type="submit"],
  #comjshop .address_block .kk-address-submit {
    width: 100% !important;
    max-width: none !important;
    min-height: 42px !important;
    margin-top: 8px !important;
    box-sizing: border-box !important;
  }
}

/* Mobile header: compact icons, cart last */
@media (max-width: 1199px) {
  .mobile_header .kk-mobile-header-actions li a:not(.kk-cart-link) {
    font-size: 26px;
  }
  .mobile_header .menuButton {
    font-size: 26px !important;
  }
  .mobile_header .headtitle {
    font-size: 1.5em;
  }
  .mobile_header .kk-cart-link {
    width: 30px;
    height: 30px;
  }
  .mobile_header .kk-cart-link .fa-shopping-cart {
    font-size: 14px;
  }
  .mobile_header .kk-cart-count {
    width: 16px;
    height: 16px;
    min-width: 16px;
    font-size: 9px;
  }
}
@media (max-width: 400px) {
  .mobile_header .kk-mobile-header-actions li a:not(.kk-cart-link),
  .mobile_header .menuButton {
    font-size: 22px !important;
  }
}

/* Cart mobile: gap between unit price label and value */
@media (max-width: 767px) {
  #comjshop .jshop.cart td.single_price {
    gap: 16px;
  }
  #comjshop .jshop.cart td.single_price .mobile-cart {
    flex: 0 0 36%;
    max-width: 36%;
    margin-right: 0;
  }
  #comjshop .jshop.cart td.single_price .data {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* Category listing pagination */

.jshop_pagination {
  clear: both;
  margin: 20px 0;
  text-align: center;
}
.jshop_pagination .pagination nav {
  display: inline-block;
  max-width: 100%;
}
.jshop_pagination .pagination-list,
.jshop_pagination .pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-shadow: none;
}
.jshop_pagination .pagination-list > li,
.jshop_pagination .pagination ul > li {
  display: inline-block !important;
  float: none;
  margin: 0;
}
.jshop_pagination .pagination-list > li > a,
.jshop_pagination .pagination ul > li > a,
.jshop_pagination .pagination-list > li > span,
.jshop_pagination .pagination ul > li > span {
  float: none !important;
  display: inline-block;
}
.jshop_pagination .pagination-list > li.hidden-phone,
.jshop_pagination .pagination-list > li.active.hidden-phone,
.jshop_pagination .pagination ul > li.hidden-phone {
  display: inline-block !important;
}
@media (max-width: 767px) {
  .jshop_pagination .pagination-list,
  .jshop_pagination .pagination ul {
    gap: 6px;
  }
}
.jshop_pagination .pagination .fa {
  font-size: 15px;
  line-height: 1;
  vertical-align: middle;
}

.kk-checkout-error { margin: 12px 0; padding: 12px 14px; border: 1px solid #c0392b; background: #fff5f5; color: #8b0000; border-radius: 4px; }
.jshop_register .fielderror, .jshop_register input.fielderror, .jshop_register select.fielderror, .jshop_register textarea.fielderror { border: 2px solid #c0392b !important; background: #fff8f8 !important; }
