@media (min-width: 1200px) {
  .header .logo img,
  .header .logo img.site-logo {
    width: 85px !important;
    height: 43px !important;
    max-width: 85px !important;
    max-height: 43px !important;
    padding: 0 0 !important;
    object-fit: contain !important;
  }
}

.product .product__price {
  font-size: 20px;
}

.shop__products .product__thumbnail,
.bb-product-items-wrapper .product__thumbnail,
.section--homepage .product__thumbnail,
.section--wishlist .product__thumbnail,
.section--related-posts .product__thumbnail {
  height: 280px;
  flex-shrink: 0;
}

.shop__products .product__thumbnail img,
.bb-product-items-wrapper .product__thumbnail img,
.section--homepage .product__thumbnail img,
.section--wishlist .product__thumbnail img,
.section--related-posts .product__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .shop__products .product__thumbnail,
  .bb-product-items-wrapper .product__thumbnail,
  .section--homepage .product__thumbnail,
  .section--wishlist .product__thumbnail,
  .section--related-posts .product__thumbnail {
    height: 220px;
  }
}

.header .navigation .container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.header .navigation .navigation__center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: max-content !important;
    z-index: 5 !important;
    pointer-events: none !important;
}
.header .navigation .navigation__left,
.header .navigation .navigation__right {
    position: relative !important;
    z-index: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
}
.header .navigation .navigation__center .menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
}
.header .navigation .navigation__center .menu li,
.header .navigation .navigation__center .menu li a {
    pointer-events: auto !important;
}
.header .navigation .navigation__center .menu li a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
}

.section--top-categories-carousel .section__header {
    text-align: center !important;
}
.section--top-categories-carousel .top-categories-slider.owl-carousel .owl-stage {
    margin: 0 auto !important;
}

.header .top-header .contact-detail {
    display: none !important;
}

/**
 * XP Game Store — header utilities (icons row + language/currency/login below).
 */

/* Compact bar: icons row + meta row + dropdowns */
.header > .navigation,
.header > .navigation > .container,
.header.header--sticky > .navigation {
    height: auto !important;
    min-height: 88px !important;
    max-height: none !important;
    padding: 6px 0 10px !important;
    align-items: center !important;
    overflow: visible !important;
}

@media (min-width: 1200px) {
    .header .navigation > .container > .navigation__left {
        min-height: 46px !important;
        overflow: visible !important;
    }

    .header .logo {
        min-height: 46px !important;
        overflow: visible !important;
    }
}

@media (max-width: 1199px) {
    .header.header--mobile .logo,
    .navigation--mobile .navigation__center .logo {
        display: inline-flex !important;
        align-items: center !important;
        height: auto !important;
        min-height: 0 !important;
        line-height: 0 !important;
    }

    .navigation--mobile,
    .navigation--mobile .navigation__left,
    .navigation--mobile .navigation__center,
    .navigation--mobile .navigation__right {
        align-items: center !important;
    }
}

.header .navigation .navigation__center .menu li a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
}

.header .top-header {
    display: none !important;
}

.header,
.header > .navigation,
.header > .navigation > .container,
.header .navigation__right,
.header .navigation__right .header-utilities,
.header .header__actions--meta,
.header .header__actions--meta .language-wrapper,
.header .header__actions--meta .language-wrapper .dropdown {
    overflow: visible !important;
}

.header .navigation__right {
    overflow: visible !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.header .navigation__right .header-utilities {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 72px !important;
    overflow: visible !important;
}

.header .header__actions--icons {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
}

.header .header__actions--icons > * {
    width: 32px !important;
    height: 32px !important;
}

.header .header__actions--meta {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    column-gap: 18px !important;
    row-gap: 8px !important;
    width: max-content !important;
    max-width: none !important;
    min-height: 22px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Theme default squashes every .header__actions child to 36x36 — undo for meta row */
.header .header__actions--meta > * {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: auto !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header .header__actions--meta .language-wrapper {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header .header__actions--meta .language-wrapper .dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    height: auto !important;
}

.header .header__actions--meta .language-wrapper .btn-select-language,
.header .header__actions--meta .header-meta-link,
.header .header__actions--meta .header_list--nav-utilities > li > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 2px 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--color-heading, #282828) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}

.header .header__actions--meta .language-wrapper .btn-select-language:hover,
.header .header__actions--meta .header-meta-link:hover {
    color: var(--color-1st, #1a86e6) !important;
}

.header .header__actions--meta .language-wrapper .dropdown .language_bar_chooser {
    float: none !important;
    line-height: 1.4 !important;
    width: auto !important;
    min-width: 130px !important;
    text-align: left !important;
}

.header .header__actions--meta .language-wrapper .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 2px !important;
    min-width: 140px !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 10050 !important;
    pointer-events: auto !important;
}

.header .header__actions--meta .language-wrapper .dropdown-menu li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.header .header__actions--meta .language-wrapper .dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

.header .header__actions--meta .language-wrapper.xp-dropdown-open {
    z-index: 10051 !important;
}

.header .header__actions--meta .language-wrapper .dropdown-menu.xp-dropdown-fixed,
.header .header__actions--meta .language-wrapper.xp-dropdown-open .dropdown-menu {
    display: block !important;
}

/* Open language/currency dropdowns on hover */
.header .header__actions--meta .language-wrapper .dropdown::before {
    display: none !important;
}

.header .header__actions--meta .language-wrapper .dropdown:hover .dropdown-menu,
.header .header__actions--meta .language-wrapper .dropdown.open .dropdown-menu,
.header .header__actions--meta .language-wrapper .dropdown.show .dropdown-menu {
    display: block !important;
}

.header .header__actions--meta .language-wrapper .dropdown:hover .btn-select-language,
.header .header__actions--meta .language-wrapper .dropdown.open .btn-select-language {
    color: var(--color-1st, #1a86e6) !important;
}

.header .header__actions--meta .header_list--nav-utilities {
    display: inline-flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header .header__actions--meta .header_list--nav-utilities > li {
    display: inline-flex !important;
    padding: 0 !important;
}

.header .header__actions--meta a[href*="compare"] {
    display: none !important;
}

.header .header__actions--meta .choose-currency .dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    padding: 7px 12px !important;
    line-height: 15px !important;
    min-height: 15px !important;
    white-space: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.header .header__actions--meta .choose-currency .dropdown-menu li a .currency-flag,
.header .header__actions--meta .choose-currency .dropdown-menu li a img.currency-flag {
    width: 20px !important;
    height: 15px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 15px !important;
    max-height: 15px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
}

.header .header__actions--meta .choose-currency .dropdown-menu li a .currency-code {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 15px !important;
    height: 15px !important;
    min-width: 32px !important;
    flex: 0 0 auto !important;
}

.header .header__actions--meta .choose-currency .dropdown-menu li a .currency-code .omr-currency,
.header .header__actions--meta .choose-currency .dropdown-menu li a .currency-code .omr-currency--label {
    font-family: 'OmaniRial', sans-serif !important;
    font-size: 12px !important;
    line-height: 15px !important;
    height: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header .header__actions--meta .choose-currency .btn-select-language .currency-code,
.header .header__actions--meta .choose-currency .btn-select-language .currency-code .omr-currency {
    font-size: 12px !important;
    line-height: 15px !important;
    height: 15px !important;
}

/* OMR currency symbol — OmaniRial font */
@font-face {
  font-family: 'OmaniRial';
  src: url('/themes/september/fonts/OmaniRial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.omr-currency,
.currency-flag.omr-currency,
.omr-symbol-inline,
.omr-symbol.omr-symbol-inline {
  font-family: 'OmaniRial', sans-serif !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
  min-width: 1em;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  background: none !important;
  filter: none !important;
  object-fit: unset;
  color: inherit;
  -webkit-font-smoothing: antialiased;
}

.omr-currency,
.currency-flag.omr-currency {
  font-size: 20px;
}

.omr-currency.omr-price-symbol {
  font-size: 18px;
}

.bb-product-price-text .omr-currency,
.product__price .omr-currency,
.cart-price .omr-currency,
.amount .omr-currency,
.price-text .omr-currency,
.total-text .omr-currency,
.raw-total-text .omr-currency,
.ec-checkout-item-price .omr-currency {
  font-size: inherit;
  line-height: 1;
  margin-inline-end: 2px;
}

.choose-currency .btn-select-language,
.choose-currency .language_bar_chooser li a,
.choose-currency .dropdown-menu li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 15px !important;
}

.choose-currency img.currency-flag,
.choose-currency .currency-flag,
.header .header__actions--meta .choose-currency img.currency-flag {
  width: 20px !important;
  height: 15px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  display: block !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  border-radius: 2px !important;
}

.choose-currency .currency-code,
.header .header__actions--meta .choose-currency .currency-code {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 15px !important;
  height: 15px !important;
  min-width: 32px !important;
  letter-spacing: 0.02em !important;
}

.choose-currency .currency-code .omr-currency,
.choose-currency .currency-code .omr-currency--label,
.header .header__actions--meta .choose-currency .currency-code .omr-currency {
  font-family: 'OmaniRial', sans-serif !important;
  font-size: 12px !important;
  line-height: 15px !important;
  height: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.currency-list-mobile .currency-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.currency-list-mobile .currency-item .currency-flag {
  width: 20px !important;
  height: 15px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.currency-list-mobile .currency-item .currency-code {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 15px !important;
  min-width: 32px !important;
}

/* Product hover: add-to-cart / pre-order at bottom of image */
.product .product__thumbnail .product__actions {
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 12px 10px !important;
  box-sizing: border-box !important;
  transform: translateY(100%) !important;
  -webkit-transform: translateY(100%) !important;
}

.product:hover .product__thumbnail .product__actions {
  transform: translateY(0) !important;
  -webkit-transform: translateY(0) !important;
}

.product .product__thumbnail .product__actions li a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
}

/* Uniform product card heights — product grids only (not category banner mosaics) */
.home-products .row > [class*="col-"],
.section--pre-order-products .row > [class*="col-"],
.section--all-products .row > [class*="col-"],
.section--related-posts .row > [class*="col-"],
.shop__products .row > [class*="col-"],
.bb-product-items-wrapper .row > [class*="col-"],
.xp-collection-block__products > [class*="col-"],
.section--product-collections .xp-collection-block__products > [class*="col-"],
.home-collection .xp-collection-block__products > [class*="col-"] {
  display: flex !important;
}

.section--product-categories .row > [class*="col-"] {
  display: block !important;
  height: auto !important;
}

.home-products .product,
.section--pre-order-products .product,
.section--all-products .product,
.section--related-posts .product,
.shop__products .product,
.bb-product-items-wrapper .product,
.xp-collection-block .product,
.section--product-collections .product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

.home-products .product .product__wrapper,
.section--pre-order-products .product .product__wrapper,
.section--all-products .product .product__wrapper,
.section--related-posts .product .product__wrapper,
.shop__products .product .product__wrapper,
.bb-product-items-wrapper .product .product__wrapper,
.xp-collection-block .product .product__wrapper,
.section--product-collections .product .product__wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  width: 100% !important;
}

.home-products .product .product__thumbnail,
.section--pre-order-products .product .product__thumbnail,
.section--all-products .product .product__thumbnail,
.section--related-posts .product .product__thumbnail,
.shop__products .product .product__thumbnail,
.bb-product-items-wrapper .product .product__thumbnail,
.xp-collection-block .product .product__thumbnail,
.section--product-collections .product .product__thumbnail,
.section--homepage .product .product__thumbnail {
  flex-shrink: 0 !important;
  height: 280px !important;
}

.home-products .product .product__thumbnail img,
.section--pre-order-products .product .product__thumbnail img,
.section--all-products .product .product__thumbnail img,
.section--related-posts .product .product__thumbnail img,
.shop__products .product .product__thumbnail img,
.bb-product-items-wrapper .product .product__thumbnail img,
.xp-collection-block .product .product__thumbnail img,
.section--product-collections .product .product__thumbnail img,
.section--homepage .product .product__thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 767px) {
  .home-products .product .product__thumbnail,
  .section--pre-order-products .product .product__thumbnail,
  .section--all-products .product .product__thumbnail,
  .section--related-posts .product .product__thumbnail,
  .shop__products .product .product__thumbnail,
  .bb-product-items-wrapper .product .product__thumbnail,
  .xp-collection-block .product .product__thumbnail,
  .section--product-collections .product .product__thumbnail,
  .section--homepage .product .product__thumbnail {
    height: 220px !important;
  }
}

.home-products .product .product__content,
.section--pre-order-products .product .product__content,
.section--all-products .product .product__content,
.section--related-posts .product .product__content,
.shop__products .product .product__content,
.bb-product-items-wrapper .product .product__content,
.xp-collection-block .product .product__content,
.section--product-collections .product .product__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 132px !important;
}

.home-products .product .product__title,
.section--pre-order-products .product .product__title,
.section--all-products .product .product__title,
.section--related-posts .product .product__title,
.shop__products .product .product__title,
.bb-product-items-wrapper .product .product__title,
.xp-collection-block .product .product__title,
.section--product-collections .product .product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 2.8em !important;
  min-height: 2.8em !important;
  max-height: 2.8em !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
}

.home-products .product .product__price,
.section--pre-order-products .product .product__price,
.section--all-products .product .product__price,
.section--related-posts .product .product__price,
.shop__products .product .product__price,
.bb-product-items-wrapper .product .product__price,
.xp-collection-block .product .product__price,
.section--product-collections .product .product__price {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  flex-shrink: 0 !important;
  min-height: 48px !important;
  margin-bottom: 0 !important;
}

.home-products .product .product__preorder-date,
.section--pre-order-products .product .product__preorder-date,
.section--all-products .product .product__preorder-date,
.section--related-posts .product .product__preorder-date,
.shop__products .product .product__preorder-date,
.bb-product-items-wrapper .product .product__preorder-date,
.xp-collection-block .product .product__preorder-date,
.section--product-collections .product .product__preorder-date {
  flex-shrink: 0 !important;
  min-height: 18px !important;
  margin-top: 4px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: var(--xp-preorder, #3f4d99) !important;
}

.home-products .product .product__preorder-date--placeholder,
.section--pre-order-products .product .product__preorder-date--placeholder,
.section--all-products .product .product__preorder-date--placeholder,
.section--related-posts .product .product__preorder-date--placeholder,
.shop__products .product .product__preorder-date--placeholder,
.bb-product-items-wrapper .product .product__preorder-date--placeholder,
.xp-collection-block .product .product__preorder-date--placeholder,
.section--product-collections .product .product__preorder-date--placeholder {
  visibility: hidden !important;
}

.home-products .product .rating_wrap,
.section--pre-order-products .product .rating_wrap,
.section--all-products .product .rating_wrap,
.section--related-posts .product .rating_wrap,
.shop__products .product .rating_wrap,
.bb-product-items-wrapper .product .rating_wrap,
.xp-collection-block .product .rating_wrap,
.section--product-collections .product .rating_wrap {
  flex-shrink: 0 !important;
  margin-top: auto !important;
}
