@font-face {
  font-family: "Nikup Sans";
  src: url("../../uploads/2024/01/iransansweb.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Nikup Sans";
  src: url("../../uploads/2024/01/IRANSansWeb_Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

/* Replace three incorrectly uploaded Type 1 files advertised as WOFF2. */
@font-face {
  font-family: "NeueFrutigerArabic";
  src: url("../../uploads/2024/01/iransansweb.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "NeueFrutigerArabic";
  src: url("../../uploads/2024/01/IRANSansWeb_Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "NeueFrutigerArabic";
  src: url("../../uploads/2024/01/IRANSansWeb_Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Nike Futura";
  src: url("../../uploads/2024/01/IRANSansWeb_Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --nikup-black: #111111;
  --nikup-grey-900: #202020;
  --nikup-grey-700: #575757;
  --nikup-grey-300: #d8d8d8;
  --nikup-grey-200: #e9e9e9;
  --nikup-grey-100: #f5f5f5;
  --nikup-white: #ffffff;
  --nikup-radius: 12px;
  --nikup-pill: 999px;
  --nikup-content: 1280px;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  font-family: "Nikup Sans", Tahoma, Arial, sans-serif !important;
}

body {
  color: var(--nikup-black);
  background: var(--nikup-white) !important;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea {
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease,
    background-color 160ms ease, transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--nikup-black) !important;
  outline-offset: 3px;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border: 0 !important;
  border-radius: var(--nikup-radius);
  background: var(--nikup-grey-100) !important;
  color: var(--nikup-black) !important;
  padding: 16px 20px !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  min-height: 48px;
  border: 1px solid var(--nikup-black) !important;
  border-radius: var(--nikup-pill) !important;
  background: var(--nikup-black) !important;
  color: var(--nikup-white) !important;
  font-weight: 700;
  line-height: 1.2;
  padding: 14px 24px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #333333 !important;
  color: var(--nikup-white) !important;
  transform: translateY(-1px);
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled {
  border-color: var(--nikup-grey-200) !important;
  background: var(--nikup-grey-200) !important;
  color: var(--nikup-grey-700) !important;
  transform: none;
}

/* Home: cleaner hierarchy and consistent product cards. */
.home .elementor-widget-heading .elementor-heading-title {
  text-wrap: balance;
}

.home .elementor-element-ebe2505 .elementor-heading-title {
  font-size: clamp(42px, 5vw, 68px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
}

.home .eael-product-carousel .product-image-wrap,
.home .eael-product-carousel .image-wrap {
  overflow: hidden;
  background: var(--nikup-grey-100);
}

.home .eael-product-carousel .image-wrap img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.home .eael-product-carousel:hover .image-wrap img {
  transform: scale(1.015);
}

.home .eael-product-title {
  margin-top: 14px !important;
  line-height: 1.45 !important;
}

.home .eael-product-price {
  margin-top: 6px;
  color: var(--nikup-grey-700);
}

/* Product: decisive purchase controls and trust content beside the CTA. */
.single-product .single_add_to_cart_button {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px !important;
  flex: 0 0 100%;
  margin-inline: 0 !important;
}

.single-product .woolentor-woo-template-builder,
.single-product .elementor-add-to-cart,
.single-product form.cart,
.single-product .wlpro-product-thumbnails,
.single-product .wl-thumbnails-image-area,
.single-product .slick-list {
  max-width: 100%;
}

.single-product .woolentor-woo-template-builder,
.single-product .wlpro-product-thumbnails {
  overflow: hidden;
}

.single-product .wl-single-slider img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--nikup-grey-100);
  object-fit: cover;
  touch-action: pan-y;
  -webkit-user-drag: none;
  user-select: none;
}

.single-product .woocommerce-product-gallery__trigger,
.single-product .zoomImg,
.single-product .pswp {
  display: none !important;
}

.single-product .wl-single-slider > a {
  pointer-events: none !important;
}

.single-product .variable-items-wrapper .variable-item {
  min-width: 96px;
  min-height: 48px;
  border: 1px solid var(--nikup-grey-200) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--nikup-black);
}

.single-product .variable-items-wrapper .variable-item:hover,
.single-product .variable-items-wrapper .variable-item.selected {
  border-color: var(--nikup-black) !important;
  box-shadow: inset 0 0 0 1px var(--nikup-black) !important;
}

.single-product .woocommerce-variation-add-to-cart {
  max-width: 100%;
}

.single-product .yith-wcwl-add-to-wishlist a,
.single-product .yith-wcwl-wishlistaddedbrowse a,
.single-product .yith-wcwl-wishlistexistsbrowse a {
  min-height: 52px;
  border-radius: var(--nikup-pill);
}

.nikup-purchase-reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  width: 100%;
  margin: 14px 0 0;
  color: var(--nikup-grey-700);
  font-size: 13px;
  flex: 0 0 100%;
  order: 10;
}

.single-product form.cart + .nikup-purchase-reassurance {
  clear: both;
}

.nikup-purchase-reassurance span::before {
  content: "✓";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-inline-end: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--nikup-grey-100);
  color: var(--nikup-black);
  font-size: 11px;
  font-weight: 700;
}

html[dir="rtl"] .single-product .elementor-element-d49fcc2 a,
html[dir="rtl"] .single-product .elementor-element-c9b560b a,
html[dir="rtl"] .single-product .elementor-element-f97f62f a,
html[dir="rtl"] .single-product .elementor-element-e8f9daa a {
  font-size: 0;
}

html[dir="rtl"] .single-product .elementor-element-d49fcc2 a::after,
html[dir="rtl"] .single-product .elementor-element-c9b560b a::after {
  content: "انتخاب سایز";
  font-size: 16px;
}

html[dir="rtl"] .single-product .elementor-element-f97f62f a::after,
html[dir="rtl"] .single-product .elementor-element-e8f9daa a::after {
  content: "راهنمای سایز";
  font-size: 16px;
}

.nikup-product-simple .elementor-element-17c6cae,
.nikup-product-simple .elementor-element-cabd061,
.nikup-product-simple .elementor-element-6083691,
.nikup-product-simple .elementor-element-73880bb {
  display: none !important;
}

html[dir="rtl"] .single-product .eael-lightbox-btn .eael-modal-popup-button {
  font-size: 0;
}

html[dir="rtl"] .single-product .eael-lightbox-btn .eael-modal-popup-button::after {
  content: "مشاهده جزئیات محصول";
  font-size: 14px;
}

/* Footer: a simple Nike-inspired information hierarchy in both directions. */
body:not(.elementor-editor-active) > .elementor-location-footer,
body:not(.elementor-editor-active) .elementor-location-footer {
  display: none !important;
}

.nikup-site-footer {
  width: 100%;
  margin-top: clamp(56px, 8vw, 112px);
  background: var(--nikup-black);
  color: var(--nikup-white);
}

.nikup-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  width: min(100% - 48px, var(--nikup-content));
  margin-inline: auto;
  padding-block: clamp(52px, 7vw, 84px);
}

.nikup-footer__brand {
  max-width: 380px;
}

.nikup-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--nikup-white) !important;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.nikup-footer__brand p {
  margin: 0;
  color: #b7b7b7;
  font-size: 14px;
  line-height: 1.9;
}

.nikup-footer__column h2 {
  margin: 0 0 20px;
  color: var(--nikup-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.nikup-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nikup-footer__column li + li {
  margin-top: 11px;
}

.nikup-footer__column a,
.nikup-footer__column span {
  display: block;
  color: #b7b7b7;
  font-size: 14px;
  line-height: 1.65;
}

.nikup-footer__column a:hover,
.nikup-footer__bottom a:hover {
  color: var(--nikup-white);
}

.nikup-footer__contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.nikup-footer__contact h2 {
  margin-bottom: 10px;
}

.nikup-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.nikup-footer__socials a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid #454545;
  border-radius: var(--nikup-pill);
  color: var(--nikup-white) !important;
  font-size: 12px;
  padding: 7px 14px;
}

.nikup-footer__socials a:hover {
  border-color: var(--nikup-white);
  background: var(--nikup-white);
  color: var(--nikup-black) !important;
}

.nikup-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 48px, var(--nikup-content));
  margin-inline: auto;
  border-top: 1px solid #303030;
  color: #8d8d8d;
  font-size: 12px;
  padding-block: 22px 28px;
}

.nikup-footer__bottom a {
  flex: none;
  color: #d7d7d7;
  font-weight: 700;
}

/* Cart: remove the legacy purple styling and make the next action obvious. */
.woocommerce-cart main,
.woocommerce-cart .site-main,
.woocommerce-checkout main,
.woocommerce-checkout .site-main {
  width: min(100% - 40px, var(--nikup-content));
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 72px);
}

.woocommerce-cart h1,
.woocommerce-checkout h1 {
  margin-bottom: clamp(28px, 4vw, 52px);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  overflow: hidden;
  border: 1px solid var(--nikup-grey-200) !important;
  border-radius: var(--nikup-radius) !important;
  border-collapse: separate !important;
  background: var(--nikup-white);
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  border-color: var(--nikup-grey-200) !important;
  background: var(--nikup-white) !important;
  padding: 16px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 600px);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-bottom: 0;
  background: var(--nikup-black) !important;
  font-size: 17px;
}

.woocommerce-cart .quantity .qty {
  min-height: 48px;
  border: 1px solid var(--nikup-grey-300);
  border-radius: 8px;
}

/* Checkout: two focused columns on desktop, one comfortable flow on mobile. */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  column-gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 100%;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
  width: 100%;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
}

.woocommerce-checkout #order_review {
  position: sticky;
  top: 24px;
  padding: 20px;
  border-radius: var(--nikup-radius);
  background: var(--nikup-grey-100);
}

.woocommerce-checkout #payment {
  background: transparent !important;
}

.woocommerce-checkout #payment div.payment_box {
  border-radius: 8px;
  background: var(--nikup-white) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--nikup-white) !important;
}

.woocommerce-checkout .form-row label {
  margin-bottom: 7px;
  color: var(--nikup-grey-900);
  font-weight: 700;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 52px;
  border: 1px solid #9b9b9b !important;
  border-radius: 8px !important;
  background: var(--nikup-white);
  padding: 10px 12px;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 30px;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  top: 13px;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: var(--nikup-black) !important;
  box-shadow: 0 0 0 1px var(--nikup-black);
  outline: none;
}

.woocommerce-checkout #place_order {
  float: none;
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: var(--nikup-grey-700);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  html,
  body.single-product {
    max-width: 100%;
    overflow-x: clip;
  }

  .single-product .woolentor-woo-template-builder {
    width: 100%;
  }

  .single-product .elementor-element-5201076 > .elementor-container,
  .single-product .elementor-element-5201076 .elementor-column,
  .single-product .elementor-element-5201076 .elementor-widget-wrap,
  .single-product .elementor-element-5201076 .elementor-widget,
  .single-product .elementor-element-5201076 .elementor-widget-container {
    min-width: 0;
    max-width: 100%;
  }

  .single-product .elementor-element-5201076 .elementor-widget-wrap {
    padding-inline: 16px;
  }

  .single-product .elementor-element-5201076 .elementor-widget-wl-product-thumbnails-image .elementor-widget-container {
    margin-inline: -16px;
    max-width: none;
  }

  .single-product .wlpro-product-thumbnails,
  .single-product .wl-thumbnails-image-area,
  .single-product .wl-thumbnails-slider,
  .single-product .wl-thumbnails-slider .slick-list {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .single-product .wl-thumbnails-slider .wl-single-slider {
    box-sizing: border-box;
    margin-inline: 0 !important;
    background: var(--nikup-grey-100);
  }

  .single-product .wl-thumbnails-slider .wl-single-slider img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  html[dir="rtl"] .single-product .elementor-hidden-desktop .wl-thumbnails-slider,
  html[dir="rtl"] .single-product .elementor-hidden-desktop .wl-thumbnails-slider .slick-track {
    direction: ltr;
  }

  html[dir="rtl"] .single-product .elementor-hidden-desktop .wl-thumbnails-slider .slick-slide {
    float: left !important;
    direction: rtl;
  }

  .single-product .elementor-element-5201076 .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.25 !important;
  }

  .single-product form.cart,
  .single-product .woocommerce-variation-add-to-cart,
  .single-product .single_variation_wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .single-product .variable-items-wrapper {
    --wvs-single-product-item-width: 100%;
    --wvs-single-product-item-height: 48px;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    justify-content: stretch !important;
    margin: 0 !important;
  }

  .single-product .variable-items-wrapper .variable-item {
    width: 100% !important;
    inline-size: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    justify-self: stretch;
  }

  body.single-product.woo-variation-swatches .variable-items-wrapper.wvs-style-squared .variable-item:not(.radio-variable-item).button-variable-item {
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .single-product .variable-items-wrapper .variable-item .variable-item-contents,
  .single-product .variable-items-wrapper .variable-item .variable-item-span {
    width: 100%;
    text-align: center;
  }

  .single-product .variable-items-wrapper .variable-item.disabled {
    opacity: 0.42;
  }

  .single-product form.variations_form table.variations,
  .single-product form.variations_form table.variations tbody,
  .single-product form.variations_form table.variations tr,
  .single-product form.variations_form table.variations th,
  .single-product form.variations_form table.variations td {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
  }

  .single-product .reset_variations {
    display: inline-block;
    margin-top: 12px;
  }

  .single-product .yith-wcwl-add-to-wishlist a,
  .single-product .yith-wcwl-wishlistaddedbrowse a,
  .single-product .yith-wcwl-wishlistexistsbrowse a {
    box-sizing: border-box;
    width: 100%;
  }

  .home .elementor-element-ebe2505 .elementor-heading-title {
    font-size: clamp(38px, 12vw, 50px) !important;
    line-height: 1.2 !important;
  }

  .home .elementor-element-766d04f .elementor-heading-title {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .home .elementor-element-729ba85 > .elementor-container {
    gap: 18px;
  }

  .home .elementor-element-729ba85 .elementor-column {
    margin-bottom: 0;
  }

  .woocommerce-cart main,
  .woocommerce-cart .site-main,
  .woocommerce-checkout main,
  .woocommerce-checkout .site-main {
    width: min(100% - 28px, var(--nikup-content));
    padding-block: 30px 48px;
  }

  .woocommerce-cart h1,
  .woocommerce-checkout h1 {
    margin-bottom: 28px;
    font-size: 36px;
  }

  .woocommerce-cart table.shop_table_responsive tr td,
  .woocommerce-cart table.shop_table_responsive tr th {
    padding: 14px 16px !important;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    min-height: 56px;
    font-size: 16px;
  }

  .woocommerce-checkout form.checkout {
    display: block;
  }

  .woocommerce-checkout #order_review_heading {
    margin-top: 44px;
  }

  .woocommerce-checkout #order_review {
    position: static;
    padding: 14px;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    float: none !important;
    width: 100% !important;
  }

  .nikup-purchase-reassurance {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--nikup-grey-100);
  }

  .nikup-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
    width: min(100% - 40px, var(--nikup-content));
    padding-block: 48px;
  }

  .nikup-footer__brand,
  .nikup-footer__contact {
    grid-column: 1 / -1;
    max-width: none;
  }

  .nikup-footer__column h2 {
    margin-bottom: 16px;
  }

  .nikup-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 40px, var(--nikup-content));
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
