@font-face {
  font-display: swap;
  font-family: BMDupletTXT;
  font-style: normal;
  font-weight: 400;
  src: url("fonts/bmduplettxt-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: BMDupletTXT;
  font-style: normal;
  font-weight: 700 900;
  src: url("fonts/bmduplettxt-semibold.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: BMDupletDSP;
  font-style: normal;
  font-weight: 700 900;
  src: url("fonts/bmdupletdsp-semibold.woff2") format("woff2");
}

:root {
  --MacPhoneStore-primary: #C3856D;
  --MacPhoneStore-primary-dark: #9f6753;
  --MacPhoneStore-primary-soft: #fbf1ed;
  --MacPhoneStore-secondary: #C3856D;
  --MacPhoneStore-secondary-dark: #9f6753;
  --MacPhoneStore-ink: #000000;
  --MacPhoneStore-muted: #4c4c4c;
  --MacPhoneStore-line: #e7e7e7;
  --MacPhoneStore-panel: #ffffff;
  --MacPhoneStore-page: #ffffff;
  --MacPhoneStore-shadow: 0 12px 34px rgba(0, 0, 0, .08);
  --MacPhoneStore-shadow-hover: 0 18px 48px rgba(0, 0, 0, .13);
  --wd-primary-color: var(--MacPhoneStore-primary);
  --wd-alternative-color: var(--MacPhoneStore-secondary);
  --wd-link-color: var(--MacPhoneStore-primary);
  --wd-link-color-hover: var(--MacPhoneStore-primary-dark);
  --btn-accented-bgcolor: var(--MacPhoneStore-primary);
  --btn-accented-bgcolor-hover: var(--MacPhoneStore-primary-dark);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--MacPhoneStore-page) !important;
  color: var(--MacPhoneStore-ink);
  font-family: BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
.wd-nav > li > a:hover,
.wd-tools-element:hover,
.wd-tools-element:hover a,
.wd-entities-title a:hover,
.price,
.woocommerce-Price-amount,
.wd-primary-color {
  color: var(--MacPhoneStore-primary) !important;
}

.button,
button,
input[type="submit"],
.single_add_to_cart_button,
.add_to_cart_button,
.checkout-button,
.wd-button-wrapper a,
.wayra-coc-button,
.wd-tools-count {
  background-color: var(--MacPhoneStore-primary) !important;
  border-color: var(--MacPhoneStore-primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(195, 133, 109, .2);
  font-weight: 700 !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
.checkout-button:hover,
.wd-button-wrapper a:hover,
.wayra-coc-button:hover {
  background-color: var(--MacPhoneStore-primary-dark) !important;
  border-color: var(--MacPhoneStore-primary-dark) !important;
  box-shadow: 0 10px 24px rgba(159, 103, 83, .24);
}

.product-label.onsale,
.onsale {
  background: var(--MacPhoneStore-secondary) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text:after,
.wd-nav[class*="wd-style-bg"] > li:hover > a,
.wd-tabs .tabs-name:after,
.wd-accordion-title:after,
.wd-active {
  background-color: var(--MacPhoneStore-primary) !important;
}

.whb-header,
.site-header,
.header {
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08) !important;
  border-bottom: 1px solid var(--MacPhoneStore-line);
}

.MacPhoneStore-original-header-hidden {
  display: none !important;
}

.whb-header-bottom,
.whb-header-bottom-inner,
.whb-row.whb-header-bottom {
  background: var(--MacPhoneStore-primary) !important;
}

.whb-header .searchform,
.searchform {
  border: 1px solid var(--MacPhoneStore-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(195, 133, 109, .04);
  overflow: hidden;
}

.searchform input[type="text"],
.searchform input[type="search"],
.searchform .s {
  min-height: 44px;
  color: var(--MacPhoneStore-ink) !important;
  font-weight: 600;
}

.wd-tools-element,
.wd-header-cart,
.wd-header-my-account {
  border-radius: 999px;
}

.wd-tools-element:hover {
  background: var(--MacPhoneStore-primary-soft);
}

.main-page-wrapper,
.site-content,
.website-wrapper {
  background: var(--MacPhoneStore-page) !important;
}

.elementor-section,
.wd-section-stretch,
.site-content > .container {
  background-color: transparent !important;
}

.wd-carousel-container,
.wd-slider,
.elementor-widget-container {
  border-radius: 16px;
}

.elementor-widget-wd_slider,
.wd-slider,
.wd-carousel-container {
  overflow: hidden;
}

.wd-slide,
.wd-slider img {
  max-width: 100%;
  object-fit: cover;
}

.wd-btn-arrow,
.wd-nav-arrows > div,
.wd-slider-arrows > div {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--MacPhoneStore-primary) !important;
  box-shadow: var(--MacPhoneStore-shadow);
}

.category-grid-item,
.wd-cat {
  background: var(--MacPhoneStore-panel) !important;
  border: 1px solid var(--MacPhoneStore-line);
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(13, 33, 29, .06);
  overflow: hidden;
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}

.category-grid-item:hover,
.wd-cat:hover {
  transform: translateY(-3px);
  border-color: rgba(195, 133, 109, .28);
  box-shadow: var(--MacPhoneStore-shadow-hover);
}

.category-grid-item img,
.wd-cat img {
  max-height: 150px;
  width: 100%;
  object-fit: contain;
  padding: 16px;
}

.wd-entities-title,
.category-grid-item .wd-entities-title,
.wd-cat .wd-entities-title,
.title,
h1, h2, h3, h4 {
  color: var(--MacPhoneStore-ink) !important;
  letter-spacing: 0 !important;
}

.title-wrapper,
.wd-title,
.section-title,
.elementor-heading-title {
  font-weight: 800 !important;
}

.wd-products,
.products {
  gap: 22px 18px;
}

.product-grid-item .product-wrapper,
.product-grid-item .product-element-top,
.product-grid-item .wd-product,
.product-grid-item {
  border-radius: 18px;
}

.product-grid-item .product-wrapper {
  height: 100%;
  background: var(--MacPhoneStore-panel) !important;
  border: 1px solid #ededed;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .045);
  overflow: hidden;
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}

.product-grid-item .product-wrapper:hover {
  transform: translateY(-2px);
  border-color: #d9d9d9;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .075);
}

.product-grid-item .product-element-top,
.product-grid-item .product-image-link {
  min-height: 230px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.product-grid-item img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
  padding: 12px;
}

.product-grid-item .product-element-bottom {
  padding: 16px 18px 18px !important;
}

.product-grid-item .wd-entities-title,
.product-grid-item .wd-entities-title a {
  min-height: 42px;
  color: var(--MacPhoneStore-ink) !important;
  font-weight: 800 !important;
  line-height: 1.28;
}

.product-grid-item .wd-product-cats,
.product-grid-item .wd-product-cats a {
  color: var(--MacPhoneStore-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.product-grid-item .price {
  color: var(--MacPhoneStore-primary) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.product-grid-item .wd-add-btn > a,
.wd-add-btn > a {
  width: 100%;
  min-height: 42px;
  border-radius: 999px !important;
  background: var(--MacPhoneStore-primary) !important;
  color: #fff !important;
  justify-content: center;
}

.woocommerce-product-gallery__image,
.wd-carousel-item .woocommerce-product-gallery__image,
.product-image-summary {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: #fff;
  border: 1px solid var(--MacPhoneStore-line);
  border-radius: 20px;
  box-shadow: var(--MacPhoneStore-shadow);
}

.woocommerce-product-gallery__image img,
.product-image-summary img {
  max-height: 560px;
  width: auto;
  object-fit: contain;
  padding: 20px;
}

.summary-inner,
.entry-summary {
  overflow-wrap: anywhere;
}

.single-product-page .summary,
.entry-summary,
.summary-inner,
.woocommerce-tabs,
.related-products {
  background: #fff;
  border-radius: 18px;
}

.wd-sidebar,
.sidebar-container {
  background: #fff;
  border: 1px solid var(--MacPhoneStore-line);
  border-radius: 18px;
  box-shadow: var(--MacPhoneStore-shadow);
  padding: 18px !important;
}

.wd-sidebar .widget-title,
.sidebar-container .widget-title {
  color: var(--MacPhoneStore-ink) !important;
  font: 900 16px/1.2 BMDupletTXT, Helvetica, Arial, sans-serif !important;
  margin-bottom: 14px !important;
}

.product-categories,
.product-categories ul {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

.product-categories li {
  margin: 0 !important;
}

.product-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--MacPhoneStore-ink) !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

.product-categories a::after {
  content: ">";
  margin-left: auto;
  color: var(--MacPhoneStore-primary);
  font-weight: 900;
  opacity: .65;
}

.product-categories .children {
  margin-left: 10px !important;
  padding-left: 10px !important;
  border-left: 1px solid var(--MacPhoneStore-line);
}

.product-categories a:hover,
.product-categories .current-cat > a {
  background: var(--MacPhoneStore-primary-soft);
  color: var(--MacPhoneStore-primary-dark) !important;
}

.wd-action-btn > a,
.wd-tools-element,
.open-quick-view,
.quick-view-button {
  border-radius: 999px !important;
}

footer,
.footer-container,
.wd-footer,
.main-footer,
.footer-sidebar {
  background: #050505 !important;
  color: rgba(255, 255, 255, .82) !important;
}

footer a,
.footer-container a,
.wd-footer a {
  color: rgba(255, 255, 255, .88) !important;
}

footer a:hover,
.footer-container a:hover,
.wd-footer a:hover {
  color: #fff !important;
}

.MacPhoneStore-mega-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--MacPhoneStore-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
}

.MacPhoneStore-mega-nav * {
  box-sizing: border-box;
}

.MacPhoneStore-mega-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}

.MacPhoneStore-main-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}

.MacPhoneStore-mega-bar {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid #f0f0f0;
  gap: 10px;
}

.MacPhoneStore-mega-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--MacPhoneStore-ink);
  font-weight: 900;
}

.MacPhoneStore-mega-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.MacPhoneStore-main-links,
.MacPhoneStore-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.MacPhoneStore-brand-kicker {
  color: var(--MacPhoneStore-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  margin-left: auto;
  white-space: nowrap;
}

.MacPhoneStore-main-links a,
.MacPhoneStore-call-link,
.MacPhoneStore-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--MacPhoneStore-ink) !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.MacPhoneStore-main-links a:hover,
.MacPhoneStore-call-link:hover {
  background: var(--MacPhoneStore-primary-soft);
  color: var(--MacPhoneStore-primary-dark) !important;
}

.MacPhoneStore-call-link {
  border: 1px solid var(--MacPhoneStore-line);
  background: #fff;
}

.MacPhoneStore-whatsapp-link {
  background: var(--MacPhoneStore-primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(195, 133, 109, .22);
}

.MacPhoneStore-mega-items {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.MacPhoneStore-mega-trigger,
.MacPhoneStore-mega-toggle {
  appearance: none;
  border: 0;
  background: transparent !important;
  color: var(--MacPhoneStore-ink) !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  padding: 8px 12px;
  min-height: 34px;
  font: 800 13px/1 BMDupletTXT, Helvetica, Arial, sans-serif !important;
  cursor: pointer;
}

.MacPhoneStore-mega-trigger:hover,
.MacPhoneStore-mega-trigger.is-active,
.MacPhoneStore-mega-toggle:hover {
  background: #f5f5f5 !important;
  color: var(--MacPhoneStore-primary-dark) !important;
}

.MacPhoneStore-mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  background: #fff;
  border-top: 1px solid var(--MacPhoneStore-line);
  border-bottom: 1px solid var(--MacPhoneStore-line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
}

.MacPhoneStore-mega-panel.is-open {
  display: block;
}

.MacPhoneStore-mega-content {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 290px;
  gap: 24px;
  padding: 22px 18px;
}

.MacPhoneStore-mega-side {
  display: grid;
  gap: 8px;
}

.MacPhoneStore-mega-side button,
.MacPhoneStore-mobile-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--MacPhoneStore-ink) !important;
  box-shadow: none !important;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.MacPhoneStore-mega-side button:hover,
.MacPhoneStore-mega-side button.is-active,
.MacPhoneStore-mobile-summary:hover {
  background: #f6f6f6 !important;
}

.MacPhoneStore-mega-thumb {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ededed;
  object-fit: contain;
  padding: 4px;
}

.MacPhoneStore-mega-title {
  display: block;
  font-weight: 900;
  color: var(--MacPhoneStore-ink);
}

.MacPhoneStore-mega-subtitle {
  display: block;
  color: var(--MacPhoneStore-muted);
  font-size: 12px;
  font-weight: 600;
}

.MacPhoneStore-mega-links {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.MacPhoneStore-mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px;
  border: 1px solid var(--MacPhoneStore-line);
  border-radius: 14px;
  color: var(--MacPhoneStore-ink) !important;
  background: #fff;
  text-decoration: none !important;
}

.MacPhoneStore-mega-link:hover {
  border-color: rgba(195, 133, 109, .32);
  background: var(--MacPhoneStore-primary-soft);
  color: var(--MacPhoneStore-primary-dark) !important;
}

.MacPhoneStore-mega-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.MacPhoneStore-mega-promo {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--MacPhoneStore-line);
}

.MacPhoneStore-mega-promo img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.MacPhoneStore-mega-promo-body {
  padding: 16px;
}

.MacPhoneStore-mega-promo-body strong {
  display: block;
  color: var(--MacPhoneStore-ink);
  font-size: 16px;
  font-weight: 900;
}

.MacPhoneStore-mega-promo-body span {
  display: block;
  margin-top: 5px;
  color: var(--MacPhoneStore-muted);
}

.MacPhoneStore-mega-promo-body a {
  display: inline-flex;
  margin-top: 13px;
  color: var(--MacPhoneStore-primary-dark) !important;
  font-weight: 900;
}

.macphonestore-footer-panel {
  max-width: 1220px;
  margin: 0 auto 28px;
  padding: 28px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.macphonestore-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.macphonestore-footer-brand img {
  width: 150px;
  max-width: 44vw;
  height: auto;
  filter: invert(1);
}

.macphonestore-footer-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.macphonestore-footer-brand span,
.macphonestore-footer-panel p {
  color: rgba(255, 255, 255, .74);
}

.macphonestore-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.macphonestore-footer-grid a,
.macphonestore-footer-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff !important;
  text-decoration: none !important;
}

/* MacPhoneStore refined storefront shell */
body,
.main-page-wrapper,
.site-content,
.website-wrapper,
.elementor-section,
.wd-section-stretch,
.site-content > .container {
  background: #fff !important;
}

.mps-nav {
  background: #fff;
  box-shadow: none;
  border-bottom: 0;
}

.mps-nav-shell {
  max-width: 1680px;
  padding: 0 44px;
}

.mps-announcement {
  background: linear-gradient(90deg, #c76f52, #dd8768);
  color: #fff;
  font-weight: 900;
}

.mps-announcement-inner {
  max-width: 1680px;
  min-height: 48px;
  margin: 0 auto;
  padding: 0 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.mps-announcement a,
.mps-announcement span {
  color: #fff !important;
  text-decoration: none !important;
}

.mps-announcement-links,
.mps-announcement-features,
.mps-announcement-help {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mps-announcement-links span {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .72);
}

.mps-announcement-features {
  justify-content: center;
  gap: 62px;
  font-size: 14px;
}

.mps-announcement-features span,
.mps-announcement-help {
  white-space: nowrap;
}

.mps-announcement svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.mps-main-bar {
  min-height: 128px;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(360px, 800px) auto;
  gap: 36px;
  align-items: center;
}

.mps-logo img {
  width: 290px;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
}

.mps-search {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 64px;
  min-width: 0;
  border: 1px solid rgba(195, 133, 109, .24) !important;
  border-radius: 999px !important;
  background: #fff8f5 !important;
  padding: 0 9px 0 24px;
  box-shadow: 0 8px 30px rgba(195, 133, 109, .08) !important;
}

.mps-search svg,
.mps-actions svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.mps-search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  color: #000 !important;
  font: 800 16px/1 BMDupletTXT, Helvetica, Arial, sans-serif !important;
  outline: none;
}

.mps-search input::placeholder {
  color: #111;
  opacity: 1;
}

.mps-search button {
  width: 48px;
  height: 48px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffe7df !important;
  color: var(--MacPhoneStore-primary-dark) !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.mps-search button svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
}

.mps-actions {
  justify-content: flex-end;
  gap: 26px;
}

.mps-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #000 !important;
  background: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  font: 900 14px/1 BMDupletTXT, Helvetica, Arial, sans-serif !important;
}

.mps-action span {
  display: grid;
  gap: 4px;
  text-align: left;
}

.mps-action strong {
  color: #000;
  font-size: 14px;
}

.mps-action small {
  color: #333;
  font-size: 12px;
  font-weight: 700;
}

.mps-action:hover {
  background: #fff4ef !important;
  color: #000 !important;
}

.mps-category-bar {
  min-height: 68px;
  border-top: 0;
  gap: 18px;
  background: linear-gradient(90deg, #b85e43, #d17757);
  border-radius: 18px 18px 0 0;
  padding: 0 18px;
}

.mps-category-items {
  justify-content: flex-start;
  gap: 18px;
  overflow: visible;
}

.mps-category-trigger {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px !important;
  border-radius: 9px !important;
  color: #fff !important;
  background: transparent !important;
  font: 900 16px/1 BMDupletTXT, Helvetica, Arial, sans-serif !important;
  text-transform: none;
}

.mps-category-trigger:hover,
.mps-category-trigger.is-active {
  background: #fff !important;
  color: #000 !important;
}

.mps-category-trigger svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
}

.mps-category-trigger em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 5px;
  background: #ff1818;
  color: #fff;
  padding: 0 7px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.mps-mega-panel {
  left: 44px;
  right: 44px;
  top: calc(100% - 4px);
  border: 1px solid rgba(195, 133, 109, .2);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 28px 70px rgba(35, 15, 8, .18);
  overflow: hidden;
}

.mps-mega-content {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  padding: 0;
}

.mps-mega-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 36px 36px 34px;
}

.mps-mega-column {
  display: grid;
  align-content: start;
  gap: 17px;
  padding: 0 32px;
  border-right: 1px solid rgba(195, 133, 109, .22);
}

.mps-mega-column:first-child {
  padding-left: 0;
}

.mps-mega-column:last-child {
  border-right: 0;
  padding-right: 0;
}

.mps-mega-column h3 {
  margin: 0 0 8px;
  color: #000 !important;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.mps-mega-column a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 800;
}

.mps-mega-column a:hover {
  color: var(--MacPhoneStore-primary-dark) !important;
}

.mps-mega-column svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.mps-brand-dot,
.mps-pick-img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: contain;
  background: #f6f6f6;
  padding: 4px;
}

.mps-pick-img {
  width: 54px;
  height: 66px;
  border-radius: 8px;
}

.mps-top-pick small {
  display: block;
  margin-top: 5px;
  color: #303030;
  font-size: 13px;
  font-weight: 700;
}

.mps-view-all {
  margin-top: 10px;
  font-weight: 900 !important;
}

.mps-mega-links {
  display: none !important;
}

.mps-mega-promo {
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #ffe3d8, #ef8f72);
  min-height: 100%;
  display: grid;
  align-content: center;
}

.mps-mega-promo img {
  width: 100% !important;
  height: 280px !important;
  object-fit: contain !important;
  padding: 34px 30px 10px !important;
  background: transparent !important;
}

.mps-mega-promo .MacPhoneStore-mega-promo-body {
  padding: 24px 28px 30px;
}

.mps-mega-promo .MacPhoneStore-mega-promo-body strong {
  color: #000;
  font-size: 18px;
  font-weight: 900;
}

.mps-mega-promo .MacPhoneStore-mega-promo-body span {
  color: rgba(0, 0, 0, .7);
  font-weight: 800;
}

.products.wd-products,
.wd-products.elements-grid,
.products.elements-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

.wd-products-element,
.wd-products-element.wd-active,
.wd-tab-content,
.wd-tab-content.wd-active,
.wd-tabs-content-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

.product-grid-item {
  min-width: 0;
}

.product-grid-item .product-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 455px;
  border-radius: 13px !important;
  border: 1px solid #eef0f4;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.product-grid-item .product-wrapper:hover {
  transform: none;
  border-color: #e2e4e8;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .09);
}

.product-grid-item .product-element-top,
.product-grid-item .product-image-link {
  position: relative;
  min-height: 222px;
  background: #fff !important;
  padding: 24px 22px 4px;
}

.product-grid-item img {
  max-height: 205px;
  max-width: 82%;
  padding: 0;
}

.mps-card-compare {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  border: 0 !important;
  border-radius: 9px !important;
  background: #dfe8ff !important;
  color: #00133d !important;
  padding: 0 11px 0 16px !important;
  box-shadow: none !important;
  font: 900 14px/1 BMDupletTXT, Helvetica, Arial, sans-serif !important;
}

.mps-card-compare i {
  width: 29px;
  height: 29px;
  border: 3px solid #10203d;
  border-radius: 999px;
  background: #f7fbff;
}

.product-grid-item .product-element-bottom {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 6px 20px 22px !important;
  text-align: left !important;
}

.mps-card-swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  margin: 0 0 12px;
}

.mps-card-swatches span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--dot);
  border: 1px solid rgba(0, 0, 0, .22);
}

.mps-card-swatches strong {
  color: #061020;
  font-size: 13px;
  font-weight: 900;
}

.product-grid-item .wd-entities-title,
.product-grid-item .wd-entities-title a {
  min-height: auto;
  margin: 0 0 12px !important;
  color: #061020 !important;
  font: 900 20px/1.18 BMDupletTXT, Helvetica, Arial, sans-serif !important;
}

.mps-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  color: #000;
  font-size: 13px;
  font-weight: 900;
}

.mps-card-rating span {
  letter-spacing: 1px;
  font-size: 14px;
}

.mps-card-rating strong,
.mps-card-rating em {
  color: #000;
  font-style: normal;
  font-weight: 900;
}

.mps-price-kicker {
  margin-top: auto;
  color: #59606a;
  font-size: 14px;
  font-weight: 800;
}

.product-grid-item .price {
  display: block;
  margin-top: 2px !important;
  color: #000 !important;
  font: 900 23px/1.2 BMDupletTXT, Helvetica, Arial, sans-serif !important;
}

.product-grid-item .price del {
  display: inline-block;
  margin-top: 7px;
  color: #6f7680 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.product-grid-item .price ins {
  color: #000 !important;
  text-decoration: none;
}

.product-grid-item .price .woocommerce-Price-amount {
  color: inherit !important;
}

.product-grid-item .wd-product-cats,
.product-grid-item .wd-add-btn,
.product-grid-item .button,
.product-grid-item .wayra-coc-button,
.product-grid-item .wd-buttons {
  display: none !important;
}

.wd-carousel-container.wd-products .wd-carousel-inner,
.wd-carousel-container.wd-products .wd-carousel,
.wd-carousel-container.wd-products .wd-carousel-wrap {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  transform: none !important;
}

.wd-carousel-container.wd-products .wd-carousel-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 24px !important;
}

.wd-carousel-container.wd-products .wd-carousel-item {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
}

.wd-carousel-container.wd-products .wd-carousel-item .product-grid-item {
  width: 100% !important;
  max-width: none !important;
}

.mps-footer-replaced {
  background: #050505 !important;
  color: #fff !important;
  padding: 0 !important;
}

.mps-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 34px !important;
  border: 0;
}

.mps-footer-brand {
  margin: 0 0 20px;
}

.mps-footer-brand img {
  width: 210px;
  max-width: 64vw;
  filter: invert(1);
}

.mps-footer-copy {
  max-width: 760px;
}

.mps-footer-tagline {
  color: #fff !important;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px !important;
}

.mps-footer-grid {
  margin-top: 22px;
}

.MacPhoneStore-mobile-menu,
.MacPhoneStore-mega-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .MacPhoneStore-main-bar,
  .MacPhoneStore-mega-bar {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .MacPhoneStore-brand-kicker {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
  }

  .MacPhoneStore-mega-items {
    overflow-x: auto;
    scrollbar-width: thin;
    order: 3;
    flex-basis: 100%;
  }

  .MacPhoneStore-mega-trigger {
    white-space: nowrap;
  }

  .MacPhoneStore-mega-content {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .MacPhoneStore-mega-promo {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px !important;
  }

  .MacPhoneStore-mega-nav {
    top: 0;
  }

  .MacPhoneStore-mega-bar {
    min-height: 48px;
    gap: 10px;
  }

  .MacPhoneStore-main-bar {
    min-height: 70px;
    gap: 10px;
  }

  .MacPhoneStore-mega-logo img {
    width: 132px;
  }

  .MacPhoneStore-main-links {
    order: 4;
    flex-basis: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .MacPhoneStore-mega-toggle {
    display: inline-flex;
  }

  .MacPhoneStore-nav-actions {
    margin-left: auto;
  }

  .MacPhoneStore-brand-kicker {
    display: none;
  }

  .MacPhoneStore-call-link {
    display: none;
  }

  .MacPhoneStore-mega-items,
  .MacPhoneStore-mega-panel {
    display: none !important;
  }

  .MacPhoneStore-mobile-menu {
    display: none;
    padding: 0 0 14px;
  }

  .MacPhoneStore-mobile-menu.is-open {
    display: grid;
    gap: 8px;
  }

  .MacPhoneStore-mobile-group {
    border: 1px solid var(--MacPhoneStore-line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
  }

  .MacPhoneStore-mobile-summary::after {
    content: "+";
    margin-left: auto;
    color: var(--MacPhoneStore-primary);
    font-size: 18px;
    font-weight: 900;
  }

  .MacPhoneStore-mobile-group.is-open .MacPhoneStore-mobile-summary::after {
    content: "-";
  }

  .MacPhoneStore-mobile-links {
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 10px 10px 62px;
  }

  .MacPhoneStore-mobile-group.is-open .MacPhoneStore-mobile-links {
    display: grid;
  }

  .MacPhoneStore-mobile-links a {
    color: var(--MacPhoneStore-ink) !important;
    padding: 8px 0;
    text-decoration: none !important;
  }

  .product-grid-item .product-element-top,
  .product-grid-item .product-image-link {
    min-height: 190px;
  }

  .woocommerce-product-gallery__image,
  .wd-carousel-item .woocommerce-product-gallery__image {
    min-height: 300px;
  }

  .wd-products,
  .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-grid-item .product-element-bottom {
    padding: 12px !important;
  }

  .wd-sidebar,
  .sidebar-container {
    display: none;
    margin-bottom: 18px !important;
  }

  .wd-sidebar.MacPhoneStore-sidebar-open,
  .sidebar-container.MacPhoneStore-sidebar-open {
    display: block !important;
  }

  .wd-show-sidebar-btn a,
  .wd-toolbar-sidebar {
    background: var(--MacPhoneStore-primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    box-shadow: 0 8px 18px rgba(195, 133, 109, .22);
  }
}

@media (max-width: 460px) {
  .wd-products,
  .products {
    grid-template-columns: 1fr !important;
  }
}

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

/* Category archive polish: static navigation, full-image hero, and cleaner controls. */
.mps-product-category-page .mps-native-category-title-hidden {
  display: none !important;
}

.mps-product-category-page .wd-page-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.mps-product-category-page .wd-content-layout {
  width: min(1320px, calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.mps-product-category-page .mps-category-hero {
  width: 100%;
  min-height: clamp(280px, 36vw, 470px);
  display: grid;
  align-items: end;
  margin: 0 0 32px !important;
  padding: clamp(34px, 6vw, 78px) max(24px, calc((100vw - 1320px) / 2 + 24px));
  position: relative;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 42%, rgba(0, 0, 0, .2) 100%),
    var(--mps-category-hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.mps-product-category-page .mps-category-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, .25);
  z-index: -1;
}

.mps-category-hero-copy {
  width: min(700px, 100%);
  display: grid;
  gap: 16px;
}

.mps-category-hero-copy > span {
  width: max-content;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.mps-category-hero-copy h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: BMDupletDSP, BMDupletTXT, Manrope, sans-serif !important;
  font-size: clamp(42px, 7vw, 94px) !important;
  line-height: .92 !important;
  letter-spacing: 0 !important;
}

.mps-category-hero-copy p {
  max-width: 620px;
  margin: 0 !important;
  color: rgba(255, 255, 255, .86) !important;
  font-size: clamp(15px, 1.8vw, 19px) !important;
  font-weight: 750 !important;
}

.mps-category-hero-actions,
.mps-category-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mps-category-hero-actions a {
  min-height: 46px;
  width: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.mps-category-hero-actions a:first-child {
  background: var(--MacPhoneStore-primary) !important;
  border-color: var(--MacPhoneStore-primary) !important;
}

.mps-category-hero-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mps-category-hero-stats strong {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 900;
}

.mps-apple-category-page .mps-category-hero {
  background-position: center right;
}

.mps-product-category-page .wd-products-per-page,
.mps-product-category-page .wd-products-shop-view,
.mps-product-category-page .woocommerce-ordering {
  display: none !important;
}

.mps-product-category-page .mps-shop-toolbar {
  padding: 14px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mps-product-category-page .mps-shop-tools {
  justify-content: space-between;
}

.mps-product-category-page .woocommerce-result-count {
  padding: 10px 13px;
  border: 1px solid var(--MacPhoneStore-line);
  border-radius: 999px;
  background: #fff;
}

.mps-product-category-page .wd-show-sidebar-btn a,
.mps-product-category-page .wd-toolbar-sidebar {
  min-height: 42px;
  padding: 10px 15px !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.mps-product-category-page .wd-show-sidebar-btn svg,
.mps-product-category-page .wd-toolbar-sidebar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mps-product-category-page .sidebar-container,
.mps-product-category-page .wd-sidebar {
  border: 1px solid var(--MacPhoneStore-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.mps-category-sidebar .widget-title {
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mps-category-sidebar .product-categories,
.mps-category-sidebar .children {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mps-category-sidebar .children {
  margin-top: 6px !important;
  padding-left: 12px !important;
  border-left: 1px solid #eee !important;
}

.mps-category-sidebar .cat-item {
  margin: 0 !important;
}

.mps-category-sidebar .cat-item > a {
  min-height: 36px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px !important;
  border-radius: 8px;
  color: #1c1c1c !important;
}

.mps-category-sidebar .cat-item > a:hover,
.mps-category-sidebar .current-cat > a {
  background: var(--MacPhoneStore-primary-soft) !important;
  color: var(--MacPhoneStore-primary-dark) !important;
}

.mps-product-category-page .woocommerce-pagination {
  padding: 12px 0 34px;
}

.mps-product-category-page .page-numbers a,
.mps-product-category-page .page-numbers span {
  border-radius: 999px !important;
}

.mps-product-category-page .page-numbers a:hover {
  background: var(--MacPhoneStore-primary-soft) !important;
  border-color: var(--MacPhoneStore-primary) !important;
  color: var(--MacPhoneStore-primary-dark) !important;
}

@media (max-width: 820px) {
  .mps-product-category-page .wd-content-layout {
    width: min(100% - 24px, 1320px) !important;
  }

  .mps-product-category-page .mps-category-hero {
    min-height: 390px;
    padding: 32px 18px;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .86) 100%),
      var(--mps-category-hero-image);
  }

  .mps-category-hero-actions a {
    width: 100%;
  }

  .mps-category-hero-stats strong {
    flex: 1 1 130px;
    text-align: center;
  }
}

/* Product/category code layer */
.mps-product-code-line {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 8px !important;
}

.mps-product-code,
.mps-product-category-chip,
.mps-cat-code {
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.mps-product-code {
  background: #111 !important;
  color: #fff !important;
}

.mps-product-category-chip {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--MacPhoneStore-line) !important;
  background: #fff !important;
  color: var(--MacPhoneStore-primary-dark) !important;
  text-overflow: ellipsis;
}

.mps-product-page-code-panel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 14px 0 18px !important;
}

.mps-product-page-code-panel div {
  min-width: 0;
  padding: 12px !important;
  border: 1px solid var(--MacPhoneStore-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.mps-product-page-code-panel span,
.mps-generated-code-spec span,
.mps-product-code-meta .meta-label {
  display: block !important;
  margin-bottom: 4px !important;
  color: var(--MacPhoneStore-muted) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mps-product-page-code-panel strong,
.mps-generated-code-spec strong,
.mps-product-code-meta strong {
  display: block !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  overflow-wrap: anywhere !important;
}

.mps-product-code-meta {
  display: block !important;
  margin-bottom: 7px !important;
}

.mps-category-sidebar {
  overflow: hidden !important;
}

.mps-sidebar-intro {
  display: grid !important;
  gap: 4px !important;
  margin: -16px -16px 14px !important;
  padding: 16px !important;
  border-bottom: 1px solid var(--MacPhoneStore-line) !important;
  background: linear-gradient(135deg, #111 0%, #2b211e 100%) !important;
  color: #fff !important;
}

.mps-sidebar-intro strong {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}

.mps-sidebar-intro span {
  color: rgba(255, 255, 255, .74) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

.mps-category-sidebar .cat-item > a {
  gap: 8px !important;
}

.mps-category-sidebar .cat-item > a::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: var(--MacPhoneStore-primary) !important;
  opacity: .55 !important;
}

.mps-cat-code {
  margin-left: auto !important;
  border: 1px solid #eee !important;
  background: #fafafa !important;
  color: #68605d !important;
  font-size: 10px !important;
}

.mps-category-sidebar a[data-mps-link-status="ready"] .mps-cat-code {
  border-color: rgba(195, 133, 109, .32) !important;
  background: var(--MacPhoneStore-primary-soft) !important;
  color: var(--MacPhoneStore-primary-dark) !important;
}

.mps-category-link-missing > a {
  cursor: not-allowed !important;
  color: #9b918d !important;
  background: #f8f8f8 !important;
}

/* True EOF override: related products must sit side-by-side on product pages. */
.mps-product-detail-page .wd-carousel-container.wd-products-element {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 34px auto !important;
  display: block !important;
  overflow: visible !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-inner,
.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel {
  width: 100% !important;
  display: block !important;
  overflow: visible !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-wrap {
  width: 100% !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  transform: none !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
}

/* Final card alignment pass for homepage, shop, category, and related-product grids. */
.products.wd-products,
.wd-products.elements-grid,
.mps-product-category-page .products,
.mps-shop-page .products {
  align-items: stretch !important;
}

.products.wd-products .product-grid-item,
.wd-products.elements-grid .product-grid-item {
  min-width: 0 !important;
}

.products.wd-products .product-grid-item .product-wrapper,
.wd-products.elements-grid .product-grid-item .product-wrapper {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border: 1px solid var(--MacPhoneStore-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .055) !important;
  overflow: hidden !important;
}

.products.wd-products .product-grid-item .product-element-top,
.wd-products.elements-grid .product-grid-item .product-element-top,
.products.wd-products .product-grid-item .product-image-link,
.wd-products.elements-grid .product-grid-item .product-image-link {
  width: 100% !important;
  height: 178px !important;
  min-height: 178px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fbfbfb !important;
}

.products.wd-products .product-grid-item img,
.wd-products.elements-grid .product-grid-item img {
  max-width: 88% !important;
  max-height: 158px !important;
  object-fit: contain !important;
}

.products.wd-products .product-grid-item .product-element-bottom,
.wd-products.elements-grid .product-grid-item .product-element-bottom {
  flex: 1 1 auto !important;
  min-height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
  padding: 12px !important;
  text-align: left !important;
}

.mps-product-code-line {
  min-height: 24px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  order: 1 !important;
}

.mps-card-condition {
  width: max-content !important;
  max-width: 100% !important;
  order: 2 !important;
  margin: 0 !important;
  text-align: left !important;
}

.products.wd-products .product-grid-item .wd-entities-title,
.wd-products.elements-grid .product-grid-item .wd-entities-title {
  min-height: 38px !important;
  order: 3 !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.products.wd-products .product-grid-item .wd-entities-title a,
.wd-products.elements-grid .product-grid-item .wd-entities-title a {
  display: block !important;
  color: #111 !important;
  text-align: left !important;
}

.mps-card-rating {
  order: 4 !important;
  min-height: 18px !important;
  justify-content: flex-start !important;
  margin: 0 !important;
}

.mps-card-features {
  order: 5 !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.products.wd-products .product-grid-item .price,
.wd-products.elements-grid .product-grid-item .price {
  order: 6 !important;
  min-height: 32px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 4px !important;
  margin: auto 0 0 !important;
  text-align: left !important;
  line-height: 1.25 !important;
}

.mps-card-actions {
  order: 7 !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.mps-view-details,
.mps-card-whatsapp {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mps-view-details {
  width: 100% !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.mps-card-whatsapp {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
}

.product-label.onsale,
.onsale {
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 560px) {
  .products.wd-products .product-grid-item .product-element-bottom,
  .wd-products.elements-grid .product-grid-item .product-element-bottom {
    min-height: 0 !important;
  }
}

/* Final global polish: category sidebar, pagination, navbar, hero copy, loading, and responsive pages. */
html {
  overflow-x: hidden !important;
}

body {
  min-width: 0 !important;
  overflow-x: hidden !important;
}

img,
video,
iframe {
  max-width: 100% !important;
}

.main-page-wrapper,
.site-content,
.wd-page-content,
.container,
.wd-content-layout,
.mps-contact-page,
.mps-account-page,
.mps-policy-page {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.mps-clean-header .mps-main-header {
  width: min(1280px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 230px) minmax(360px, 1fr) minmax(240px, auto) !important;
  align-items: center !important;
  gap: 22px !important;
}

.mps-clean-header .mps-clean-logo,
.mps-clean-header .mps-clean-search,
.mps-clean-header .mps-header-actions {
  min-width: 0 !important;
  align-self: center !important;
}

.mps-clean-header .mps-clean-logo,
.mps-clean-header .mps-header-actions,
.mps-clean-header .mps-nav-row,
.mps-clean-header .mps-nav-row ul,
.mps-clean-header .mps-nav-item {
  display: flex !important;
  align-items: center !important;
}

.mps-clean-header .mps-clean-logo img {
  display: block !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.mps-clean-header .mps-clean-search {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
}

.mps-clean-header .mps-header-actions {
  justify-content: flex-end !important;
  gap: 10px !important;
}

.mps-clean-header .mps-header-actions a,
.mps-clean-header .mps-nav-row a {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.mps-clean-header .mps-nav-row {
  min-height: 50px !important;
  justify-content: center !important;
}

.mps-clean-header .mps-nav-row ul {
  width: min(1280px, calc(100% - 40px)) !important;
  min-height: 50px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 14px !important;
  list-style: none !important;
}

.mps-clean-header .mps-nav-item {
  height: 50px !important;
  justify-content: center !important;
}

.mps-clean-header .mps-nav-item > a {
  padding: 0 12px !important;
}

.mps-clean-header .mps-nav-row svg,
.mps-clean-header .mps-header-actions svg {
  flex: 0 0 auto !important;
  display: block !important;
}

.mps-product-category-page .mps-category-hero,
.mps-shop-page .mps-category-hero {
  min-height: clamp(330px, 38vw, 500px) !important;
  align-items: center !important;
  padding: clamp(34px, 6vw, 76px) max(20px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .66) 45%, rgba(0, 0, 0, .25) 100%),
    var(--mps-category-hero-image) !important;
}

.mps-category-hero-copy {
  width: min(680px, 100%) !important;
  max-width: 680px !important;
  display: grid !important;
  gap: 14px !important;
  align-content: center !important;
  text-align: left !important;
}

.mps-category-hero-copy > span {
  max-width: 100% !important;
  width: max-content !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.mps-category-hero-copy h1 {
  max-width: 12ch !important;
  margin: 0 !important;
  font-size: clamp(38px, 5.4vw, 76px) !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

.mps-category-hero-copy p {
  max-width: 560px !important;
  margin: 0 !important;
  font-size: clamp(15px, 1.45vw, 18px) !important;
  line-height: 1.55 !important;
}

.mps-category-hero-actions,
.mps-category-hero-stats {
  max-width: 620px !important;
  align-items: center !important;
}

.mps-category-sidebar {
  padding: 0 !important;
  border: 1px solid #ece6e2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(17, 17, 17, .06) !important;
  overflow: hidden !important;
}

.mps-sidebar-intro {
  margin: 0 !important;
  padding: 16px !important;
  border-bottom: 1px solid #ece6e2 !important;
  background: #111 !important;
  color: #fff !important;
}

.mps-sidebar-intro strong,
.mps-sidebar-intro span {
  display: block !important;
  line-height: 1.35 !important;
}

.mps-category-sidebar .widget-title {
  margin: 0 !important;
  padding: 14px 16px 0 !important;
}

.mps-category-sidebar .product-categories {
  padding: 12px !important;
}

.mps-category-sidebar .product-categories,
.mps-category-sidebar .children,
.mps-category-sidebar .cat-item {
  margin: 0 !important;
  list-style: none !important;
}

.mps-category-sidebar .children {
  padding: 6px 0 4px 12px !important;
  border-left: 1px solid #efebe8 !important;
}

.mps-category-sidebar .cat-item > a {
  min-height: 38px !important;
  width: 100% !important;
  padding: 8px 10px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: 8px !important;
  color: #151515 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

.mps-category-sidebar .cat-item > a::before,
.mps-category-sidebar .cat-item > a::after,
.mps-category-sidebar .children-opener,
.mps-category-sidebar .wd-cats-toggle,
.mps-category-sidebar .cat-item-icon,
.mps-category-sidebar i,
.mps-category-sidebar svg {
  content: none !important;
  display: none !important;
}

.mps-cat-label {
  min-width: 0 !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
}

.mps-cat-code {
  margin-left: 0 !important;
  justify-self: end !important;
  font-size: 10px !important;
}

.mps-category-sidebar .cat-item > a:hover,
.mps-category-sidebar .current-cat > a {
  background: #f7eee9 !important;
  color: #6f2f1d !important;
}

.mps-product-category-page .woocommerce-pagination,
.mps-product-category-page .wd-pagination,
.mps-product-category-page .page-numbers {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 24px 0 34px !important;
  padding: 0 !important;
}

.mps-product-category-page .page-numbers li {
  display: flex !important;
}

.mps-product-category-page .page-numbers a,
.mps-product-category-page .page-numbers span {
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #ece6e2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.mps-product-category-page .page-numbers .current {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.mps-loading-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 255, 255, .92) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .18s ease, visibility .18s ease !important;
}

.mps-loading-overlay.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

.mps-loading-card {
  width: min(320px, calc(100% - 36px)) !important;
  padding: 26px !important;
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  border: 1px solid #ece6e2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  text-align: center !important;
  box-shadow: 0 18px 50px rgba(17, 17, 17, .12) !important;
}

.mps-loading-card img {
  width: 150px !important;
  height: auto !important;
}

.mps-loading-card strong {
  font-size: 18px !important;
  font-weight: 950 !important;
}

.mps-loading-card::after {
  content: "" !important;
  width: 34px !important;
  height: 34px !important;
  border: 3px solid #eee !important;
  border-top-color: #111 !important;
  border-radius: 50% !important;
  animation: mpsSpin .8s linear infinite !important;
}

@keyframes mpsSpin {
  to { transform: rotate(360deg); }
}

.mps-404-page {
  min-height: 100vh !important;
  display: grid !important;
  place-items: center !important;
  padding: 36px 18px !important;
  background: #f7f3f0 !important;
  color: #111 !important;
}

.mps-404-card {
  width: min(760px, 100%) !important;
  padding: clamp(28px, 5vw, 54px) !important;
  display: grid !important;
  gap: 16px !important;
  justify-items: start !important;
  border: 1px solid #ece6e2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(17, 17, 17, .1) !important;
}

.mps-404-card img {
  width: 190px !important;
}

.mps-404-card h1 {
  margin: 0 !important;
  font-size: clamp(38px, 7vw, 76px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.mps-404-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.mps-404-actions a {
  min-height: 42px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: #111 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.mps-404-actions a + a {
  background: #f7eee9 !important;
  color: #6f2f1d !important;
}

@media (max-width: 920px) {
  .mps-clean-header .mps-main-header {
    grid-template-columns: minmax(150px, 220px) minmax(220px, 1fr) !important;
  }

  .mps-clean-header .mps-header-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }

  .mps-clean-header .mps-nav-row ul {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
}

@media (max-width: 640px) {
  .mps-clean-header .mps-main-header {
    width: min(100% - 24px, 1280px) !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px 0 !important;
  }

  .mps-clean-header .mps-header-actions {
    justify-content: space-between !important;
  }

  .mps-product-category-page .mps-category-hero,
  .mps-shop-page .mps-category-hero {
    min-height: 420px !important;
    padding: 32px 18px !important;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, .48) 0%, rgba(0, 0, 0, .88) 100%),
      var(--mps-category-hero-image) !important;
  }

  .mps-category-hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 12vw, 54px) !important;
  }

  .mps-category-hero-actions a,
  .mps-404-actions a {
    width: 100% !important;
  }
}

/* Final Phones mega-menu promo card background treatment. */
.mps-clean-header .mps-has-mega {
  position: relative !important;
}

.mps-clean-header .mps-mega-menu {
  box-sizing: border-box !important;
}

.mps-clean-header .mps-mega-promo-card {
  position: relative !important;
  min-height: 250px !important;
  padding: 0 !important;
  display: grid !important;
  align-content: end !important;
  overflow: hidden !important;
  border: 1px solid #ead8d1 !important;
  border-radius: 8px !important;
  background-color: #fff7f3 !important;
  background-image: var(--mps-mega-promo-image, url("Get A Quote.png")) !important;
  background-repeat: no-repeat !important;
  background-size: 94% auto !important;
  background-position: center 14px !important;
  color: #111 !important;
  text-decoration: none !important;
}

.mps-clean-header .mps-mega-promo-card > img {
  display: none !important;
}

.mps-clean-header .mps-mega-promo-card strong,
.mps-clean-header .mps-mega-promo-card span {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  display: block !important;
  background: rgba(255, 255, 255, .94) !important;
  color: #111 !important;
  text-align: left !important;
}

.mps-clean-header .mps-mega-promo-card strong {
  padding: 16px 16px 4px !important;
  border-top: 1px solid rgba(234, 216, 209, .82) !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.mps-clean-header .mps-mega-promo-card span {
  padding: 0 16px 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.mps-clean-header .mps-mega-promo-card:hover {
  border-color: #c3856d !important;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .12) !important;
}

/* Final navbar alignment guard for the rebuilt header. */
.mps-clean-header .mps-main-header {
  width: min(1280px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 230px) minmax(360px, 1fr) minmax(240px, auto) !important;
  align-items: center !important;
  gap: 22px !important;
}

.mps-clean-header .mps-clean-logo,
.mps-clean-header .mps-clean-search,
.mps-clean-header .mps-header-actions {
  min-width: 0 !important;
  align-self: center !important;
}

.mps-clean-header .mps-clean-logo {
  display: flex !important;
  align-items: center !important;
}

.mps-clean-header .mps-clean-logo img {
  display: block !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.mps-clean-header .mps-clean-search {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
}

.mps-clean-header .mps-header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.mps-clean-header .mps-header-actions a,
.mps-clean-header .mps-nav-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.mps-clean-header .mps-nav-row {
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mps-clean-header .mps-nav-row ul {
  width: min(1280px, calc(100% - 40px)) !important;
  min-height: 50px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}

.mps-clean-header .mps-nav-item {
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
}

.mps-clean-header .mps-nav-item > a {
  height: 38px !important;
  padding: 0 12px !important;
}

.mps-clean-header .mps-nav-row svg,
.mps-clean-header .mps-header-actions svg {
  flex: 0 0 auto !important;
  display: block !important;
}

@media (max-width: 920px) {
  .mps-clean-header .mps-main-header {
    grid-template-columns: minmax(160px, 220px) minmax(240px, 1fr) !important;
  }

  .mps-clean-header .mps-header-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }

  .mps-clean-header .mps-nav-row ul {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
}

/* Final product-card alignment system for all category, shop, homepage, and related grids. */
.mps-product-grid,
.products.wd-products,
.wd-products.elements-grid {
  width: 100% !important;
  align-items: stretch !important;
}

.mps-product-grid .product-grid-item,
.products.wd-products .product-grid-item,
.wd-products.elements-grid .product-grid-item {
  min-width: 0 !important;
  height: auto !important;
  display: flex !important;
}

.mps-product-grid .product-grid-item .product-wrapper,
.products.wd-products .product-grid-item .product-wrapper,
.wd-products.elements-grid .product-grid-item .product-wrapper {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid #ece6e2 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, .055) !important;
}

.mps-product-grid .product-grid-item .product-element-top,
.mps-product-grid .product-grid-item .product-image-link,
.products.wd-products .product-grid-item .product-element-top,
.products.wd-products .product-grid-item .product-image-link,
.wd-products.elements-grid .product-grid-item .product-element-top,
.wd-products.elements-grid .product-grid-item .product-image-link {
  width: 100% !important;
  height: 176px !important;
  min-height: 176px !important;
  max-height: 176px !important;
  padding: 16px 14px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

.mps-product-grid .product-grid-item img,
.products.wd-products .product-grid-item img,
.wd-products.elements-grid .product-grid-item img {
  display: block !important;
  width: auto !important;
  max-width: 88% !important;
  max-height: 150px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.mps-product-grid .product-grid-item .product-element-bottom,
.mps-product-grid .product-grid-item .mps-card-body,
.products.wd-products .product-grid-item .product-element-bottom,
.wd-products.elements-grid .product-grid-item .product-element-bottom {
  width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  min-height: 238px !important;
  padding: 12px 16px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.mps-product-grid .product-grid-item .product-element-bottom > *,
.products.wd-products .product-grid-item .product-element-bottom > *,
.wd-products.elements-grid .product-grid-item .product-element-bottom > * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.mps-product-grid .mps-product-code-line,
.products.wd-products .mps-product-code-line,
.wd-products.elements-grid .mps-product-code-line {
  order: 1 !important;
  width: 100% !important;
  min-height: 24px !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  text-align: left !important;
}

.mps-product-code,
.mps-product-category-chip,
.mps-card-condition {
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mps-product-grid .mps-card-condition,
.products.wd-products .mps-card-condition,
.wd-products.elements-grid .mps-card-condition {
  order: 2 !important;
  align-self: flex-start !important;
  margin: 0 !important;
}

.mps-product-grid .wd-entities-title,
.mps-product-grid .wd-entities-title a,
.products.wd-products .wd-entities-title,
.products.wd-products .wd-entities-title a,
.wd-products.elements-grid .wd-entities-title,
.wd-products.elements-grid .wd-entities-title a {
  order: 3 !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  display: block !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

.mps-product-grid .mps-card-rating,
.products.wd-products .mps-card-rating,
.wd-products.elements-grid .mps-card-rating {
  order: 4 !important;
  width: 100% !important;
  min-height: 20px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  text-align: left !important;
}

.mps-product-grid .mps-card-features,
.products.wd-products .mps-card-features,
.wd-products.elements-grid .mps-card-features {
  order: 5 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 4px !important;
  justify-items: stretch !important;
  text-align: left !important;
}

.mps-product-grid .mps-card-features li,
.products.wd-products .mps-card-features li,
.wd-products.elements-grid .mps-card-features li {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 14px !important;
  text-align: left !important;
}

.mps-product-grid .price,
.products.wd-products .price,
.wd-products.elements-grid .price {
  order: 6 !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: auto 0 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
}

.mps-product-grid .mps-card-actions,
.products.wd-products .mps-card-actions,
.wd-products.elements-grid .mps-card-actions {
  order: 7 !important;
  width: 100% !important;
  min-height: 36px !important;
  margin: 8px 0 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 36px !important;
  align-items: center !important;
  gap: 8px !important;
}

.mps-product-grid .mps-view-details,
.products.wd-products .mps-view-details,
.wd-products.elements-grid .mps-view-details,
.mps-product-grid .mps-card-whatsapp,
.products.wd-products .mps-card-whatsapp,
.wd-products.elements-grid .mps-card-whatsapp {
  min-width: 0 !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
}

.mps-featured-products-section .products.wd-products,
.mps-new-arrivals-section .products.wd-products,
.mps-latest-accessories-section .products.wd-products {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.mps-featured-products-section .product-grid-item .product-element-top,
.mps-featured-products-section .product-grid-item .product-image-link,
.mps-new-arrivals-section .product-grid-item .product-element-top,
.mps-new-arrivals-section .product-grid-item .product-image-link,
.mps-latest-accessories-section .product-grid-item .product-element-top,
.mps-latest-accessories-section .product-grid-item .product-image-link {
  height: 142px !important;
  min-height: 142px !important;
  max-height: 142px !important;
}

.mps-featured-products-section .product-grid-item img,
.mps-new-arrivals-section .product-grid-item img,
.mps-latest-accessories-section .product-grid-item img {
  max-height: 124px !important;
}

.mps-featured-products-section .product-grid-item .product-element-bottom,
.mps-new-arrivals-section .product-grid-item .product-element-bottom,
.mps-latest-accessories-section .product-grid-item .product-element-bottom {
  min-height: 232px !important;
  padding: 11px 13px 14px !important;
}

.mps-featured-products-section .wd-entities-title,
.mps-featured-products-section .wd-entities-title a,
.mps-new-arrivals-section .wd-entities-title,
.mps-new-arrivals-section .wd-entities-title a,
.mps-latest-accessories-section .wd-entities-title,
.mps-latest-accessories-section .wd-entities-title a {
  min-height: 36px !important;
  font-size: 13px !important;
  line-height: 1.24 !important;
}

@media (max-width: 1180px) {
  .mps-featured-products-section .products.wd-products,
  .mps-new-arrivals-section .products.wd-products,
  .mps-latest-accessories-section .products.wd-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .mps-product-grid .product-grid-item .product-element-bottom,
  .products.wd-products .product-grid-item .product-element-bottom,
  .wd-products.elements-grid .product-grid-item .product-element-bottom {
    min-height: 220px !important;
  }
}

@media (max-width: 560px) {
  .mps-featured-products-section .products.wd-products,
  .mps-new-arrivals-section .products.wd-products,
  .mps-latest-accessories-section .products.wd-products {
    grid-template-columns: 1fr !important;
  }

  .mps-product-grid .product-grid-item .product-element-top,
  .mps-product-grid .product-grid-item .product-image-link,
  .products.wd-products .product-grid-item .product-element-top,
  .products.wd-products .product-grid-item .product-image-link,
  .wd-products.elements-grid .product-grid-item .product-element-top,
  .wd-products.elements-grid .product-grid-item .product-image-link {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }
}

/* Keep product-page related items horizontal without collapsing carousel wrappers. */
.mps-product-detail-page .wd-carousel-container.wd-products-element {
  display: block !important;
  overflow: visible !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-inner,
.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel {
  width: 100% !important;
  display: block !important;
  overflow: visible !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-wrap {
  width: 100% !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  transform: none !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
}

/* Final layout corrections for homepage product rows, product pages, shop hero, and footer. */
.elementor-element-4252f13,
.elementor-element-2cc442a,
.elementor-element-4625a4a {
  width: min(1320px, calc(100% - 36px)) !important;
  max-width: 1320px !important;
  margin: 36px auto !important;
}

.elementor-element-4252f13 .wd-tabs,
.elementor-element-2cc442a .wd-tabs,
.elementor-element-4625a4a .wd-tabs,
.elementor-element-4252f13.tabs-design-simple,
.elementor-element-2cc442a.tabs-design-simple,
.elementor-element-4625a4a.tabs-design-simple {
  padding: 18px !important;
  border-radius: 8px !important;
  border: 1px solid var(--MacPhoneStore-line) !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06) !important;
}

.elementor-element-4252f13 .tabs-name,
.elementor-element-2cc442a .tabs-name,
.elementor-element-4625a4a .tabs-name {
  margin: 0 0 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--MacPhoneStore-line) !important;
}

.elementor-element-4252f13 .tabs-text,
.elementor-element-2cc442a .tabs-text,
.elementor-element-4625a4a .tabs-text {
  color: #111 !important;
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  text-align: left !important;
}

.elementor-element-4252f13 .products.wd-products,
.elementor-element-2cc442a .products.wd-products,
.elementor-element-4625a4a .products.wd-products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.elementor-element-4252f13 .product-grid-item,
.elementor-element-2cc442a .product-grid-item,
.elementor-element-4625a4a .product-grid-item,
.mps-product-detail-page .product-grid-item {
  min-width: 0 !important;
}

.elementor-element-4252f13 .product-grid-item .product-wrapper,
.elementor-element-2cc442a .product-grid-item .product-wrapper,
.elementor-element-4625a4a .product-grid-item .product-wrapper,
.mps-product-detail-page .product-grid-item .product-wrapper {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-color: var(--MacPhoneStore-line) !important;
  border-radius: 8px !important;
}

.product-label.onsale,
.onsale,
.mps-card-condition.is-good {
  background: #111 !important;
  color: #fff !important;
}

.elementor-element-4252f13 .product-element-bottom,
.elementor-element-2cc442a .product-element-bottom,
.elementor-element-4625a4a .product-element-bottom,
.mps-product-detail-page .product-element-bottom {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: left !important;
}

.elementor-element-4252f13 .wd-entities-title,
.elementor-element-2cc442a .wd-entities-title,
.elementor-element-4625a4a .wd-entities-title,
.mps-product-detail-page .wd-entities-title {
  min-height: 34px !important;
  margin: 5px 0 6px !important;
  text-align: left !important;
}

.elementor-element-4252f13 .mps-card-actions,
.elementor-element-2cc442a .mps-card-actions,
.elementor-element-4625a4a .mps-card-actions,
.mps-product-detail-page .mps-card-actions {
  margin-top: auto !important;
}

.mps-product-detail-page .related,
.mps-product-detail-page .upsells,
.mps-product-detail-page .wd-carousel-container.wd-products-element {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 34px auto !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-inner,
.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel,
.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-wrap {
  width: 100% !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  transform: none !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.mps-product-detail-page .related > h2,
.mps-product-detail-page .upsells > h2,
.mps-product-detail-page .wd-products-element + h2 {
  text-align: left !important;
}

.mps-footer-ready {
  padding: 0 !important;
}

.mps-footer-shell {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(130px, 1fr)) !important;
  gap: 28px !important;
  align-items: start !important;
  padding: 28px 0 !important;
}

.mps-footer-shell > div {
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
}

.mps-footer-shell h3 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.mps-footer-shell a,
.mps-footer-shell span,
.mps-footer-shell p {
  margin: 0 !important;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.mps-footer-brand-block img {
  width: 180px !important;
  max-width: 100% !important;
}

@media (max-width: 980px) {
  .elementor-element-4252f13 .products.wd-products,
  .elementor-element-2cc442a .products.wd-products,
  .elementor-element-4625a4a .products.wd-products,
  .mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-inner,
  .mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel,
  .mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mps-footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .elementor-element-4252f13,
  .elementor-element-2cc442a,
  .elementor-element-4625a4a,
  .mps-product-detail-page .related,
  .mps-product-detail-page .upsells,
  .mps-product-detail-page .wd-carousel-container.wd-products-element {
    width: min(100% - 24px, 1280px) !important;
  }

  .elementor-element-4252f13 .products.wd-products,
  .elementor-element-2cc442a .products.wd-products,
  .elementor-element-4625a4a .products.wd-products,
  .mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-inner,
  .mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel,
  .mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-wrap,
  .mps-footer-shell {
    grid-template-columns: 1fr !important;
  }
}

.mps-category-link-missing > a::after {
  content: "Unavailable" !important;
  margin-left: auto !important;
  padding: 3px 7px !important;
  border-radius: 999px !important;
  background: #f0eeee !important;
  color: #8a817d !important;
  font-size: 10px !important;
  font-weight: 950 !important;
}

.mps-category-link-missing .mps-cat-code {
  display: none !important;
}

@media (max-width: 560px) {
  .mps-product-page-code-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Clean rebuilt top surface */
.mps-clean-header,
.mps-clean-header * {
  box-sizing: border-box;
}

.mps-clean-header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #ead8d1;
  box-shadow: none;
  font-family: BMDupletTXT, Manrope, Helvetica, Arial, sans-serif;
}

.mps-top-bar {
  min-height: 36px;
  background: #C3856D;
  color: #fff;
}

.mps-top-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 36px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.mps-top-inner a {
  color: #fff !important;
  text-decoration: none !important;
}

.mps-top-links,
.mps-top-help,
.mps-top-inner p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}

.mps-top-inner p {
  justify-content: center;
  text-align: center;
}

.mps-top-help {
  justify-content: flex-end;
}

.mps-header-shell {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  background: #fff;
}

.mps-main-header {
  height: 82px;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(520px, 650px) minmax(260px, 1fr);
  align-items: center;
  gap: 28px;
}

.mps-clean-logo {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none !important;
}

.mps-clean-logo img {
  width: 178px;
  max-height: 62px;
  object-fit: contain;
  display: block;
}

.mps-clean-search {
  width: 100%;
  height: 52px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0 6px 0 18px;
  background: #faf7f5 !important;
  border: 1px solid #ead8d1 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  overflow: hidden;
}

.mps-clean-search svg,
.mps-header-actions svg,
.mps-nav-row svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.mps-clean-search input {
  width: 100%;
  min-width: 0;
  height: 50px;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  color: #111 !important;
  font: 800 15px/1 BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
}

.mps-clean-search input::placeholder {
  color: rgba(17, 17, 17, .55);
}

.mps-clean-search button {
  height: 42px;
  min-width: 88px;
  border: 0 !important;
  border-radius: 10px !important;
  background: #C3856D !important;
  color: #fff !important;
  box-shadow: none !important;
  padding: 0 18px !important;
  font: 900 14px/1 BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
}

.mps-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.mps-header-actions a {
  min-width: 72px;
  height: 54px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #111 !important;
  text-decoration: none !important;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.mps-header-actions a:hover {
  color: #C3856D !important;
  background: #faf7f5;
}

.mps-header-actions svg {
  width: 23px;
  height: 23px;
}

.mps-nav-row {
  height: 52px;
  display: flex;
  align-items: center;
  border-top: 1px solid #ead8d1;
}

.mps-nav-row ul {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mps-nav-item {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
}

.mps-nav-item > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  color: #111 !important;
  text-decoration: none !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
}

.mps-nav-item > a:hover {
  color: #C3856D !important;
}

.mps-nav-item > a.is-active,
.mps-nav-item > a.is-active:hover {
  background: #C3856D;
  color: #fff !important;
}

.mps-nav-row svg {
  width: 15px;
  height: 15px;
}

.mps-mega-menu {
  position: absolute;
  top: 52px;
  left: 0;
  width: clamp(900px, 76vw, 1000px);
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr 260px;
  gap: 26px;
  padding: 26px;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  pointer-events: none;
  z-index: 80;
}

.mps-has-mega:hover .mps-mega-menu,
.mps-has-mega:focus-within .mps-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mps-mega-col {
  display: grid;
  align-content: start;
  gap: 11px;
}

.mps-mega-col h3 {
  margin: 0 0 6px;
  color: #111 !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mps-mega-col a {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #111 !important;
  text-decoration: none !important;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 14px;
  font-weight: 800;
}

.mps-mega-col a:hover {
  color: #C3856D !important;
  background: #faf7f5;
}

.mps-brand-list img {
  width: 28px;
  height: 28px;
  border: 1px solid #ead8d1;
  border-radius: 8px;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}

.mps-mega-promo-card {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  color: #111 !important;
  text-decoration: none !important;
  background: linear-gradient(145deg, #fff7f3, rgba(195, 133, 109, .22));
  border: 1px solid #ead8d1;
  border-radius: 16px;
  overflow: hidden;
}

.mps-mega-promo-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  align-self: start;
}

.mps-mega-promo-card strong {
  font-size: 18px;
  font-weight: 900;
}

.mps-mega-promo-card span {
  color: rgba(17, 17, 17, .68);
  font-size: 13px;
  font-weight: 800;
}

.mps-clean-hero {
  width: min(1280px, 100%);
  min-height: 420px;
  margin: 16px auto 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 34px;
  padding: 46px 54px;
  background: linear-gradient(135deg, #fff7f3 0%, rgba(195, 133, 109, .13) 100%);
  border: 1px solid #ead8d1;
  border-radius: 22px;
  overflow: hidden;
}

.mps-hero-content {
  display: grid;
  align-content: center;
  gap: 18px;
}

.mps-hero-kicker {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #ead8d1;
  border-radius: 999px;
  background: #fff;
  color: #C3856D;
  font-size: 13px;
  font-weight: 900;
}

.mps-clean-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #111 !important;
  font: 900 52px/1.02 BMDupletDSP, BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.mps-clean-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(17, 17, 17, .74);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.mps-hero-actions,
.mps-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mps-primary-btn,
.mps-secondary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 900;
}

.mps-primary-btn {
  background: #C3856D;
  color: #fff !important;
}

.mps-secondary-btn {
  background: #fff;
  color: #111 !important;
  border: 1px solid #ead8d1;
}

.mps-hero-trust {
  color: rgba(17, 17, 17, .7);
  font-size: 13px;
  font-weight: 900;
}

.mps-hero-trust span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #ead8d1;
}

.mps-hero-visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.mps-hero-phone-card {
  width: min(360px, 86%);
  height: 310px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(70, 38, 24, .14);
  transform: rotate(-3deg);
}

.mps-hero-phone-card img {
  width: 90%;
  height: 270px;
  object-fit: contain;
}

.mps-hero-brand-stack {
  position: absolute;
  right: 6px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #ead8d1;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

.mps-hero-brand-stack img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 1100px) {
  .mps-top-inner,
  .mps-main-header,
  .mps-clean-hero {
    width: min(100% - 24px, 1280px);
  }

  .mps-main-header {
    grid-template-columns: 180px minmax(280px, 1fr);
    height: auto;
    min-height: 82px;
    padding: 12px 0;
  }

  .mps-header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .mps-mega-menu {
    width: min(920px, calc(100vw - 32px));
  }
}

@media (max-width: 820px) {
  .mps-top-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 0;
    text-align: center;
  }

  .mps-top-links,
  .mps-top-help,
  .mps-top-inner p {
    justify-content: center;
    white-space: normal;
  }

  .mps-main-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mps-clean-logo img {
    width: 150px;
  }

  .mps-clean-search {
    min-width: 0;
  }

  .mps-nav-row,
  .mps-nav-row ul {
    height: auto;
  }

  .mps-nav-row ul {
    overflow-x: auto;
    padding: 8px 0;
  }

  .mps-nav-item {
    height: 44px;
    flex: 0 0 auto;
  }

  .mps-mega-menu {
    display: none !important;
  }

  .mps-clean-hero {
    grid-template-columns: 1fr;
    padding: 34px 22px;
  }

  .mps-clean-hero h1 {
    font-size: 38px !important;
  }

  .mps-hero-visual {
    min-height: 260px;
  }

  .mps-hero-phone-card {
    height: 250px;
  }

  .mps-hero-phone-card img {
    height: 210px;
  }
}

/* Reference layout pass */
.content-layout-wrapper.container,
.wd-content-area,
.entry-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mps-clean-header {
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(234, 216, 209, .78);
}

.mps-top-bar {
  height: 36px;
  min-height: 36px;
  background: linear-gradient(90deg, #c95134, #d87554);
}

.mps-top-inner {
  width: min(1280px, calc(100% - 48px));
  height: 36px;
  min-height: 36px;
  grid-template-columns: 260px minmax(0, 1fr) 250px;
  gap: 18px;
  font-size: 12px;
  font-weight: 900;
}

.mps-top-inner p {
  justify-content: center;
  gap: clamp(18px, 4vw, 62px);
}

.mps-top-feature,
.mps-top-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mps-top-feature svg,
.mps-top-help svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mps-header-shell {
  width: min(1280px, calc(100% - 48px));
}

.mps-main-header {
  height: 80px;
  grid-template-columns: 250px minmax(520px, 660px) minmax(300px, 1fr);
  gap: 28px;
}

.mps-clean-logo img {
  width: 220px;
  max-height: 56px;
}

.mps-clean-search {
  height: 48px;
  grid-template-columns: 22px minmax(0, 1fr) 42px;
  padding: 0 4px 0 22px;
  background: #fff !important;
  border-color: #ead8d1 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(70, 38, 24, .04) !important;
}

.mps-clean-search input {
  height: 46px;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.mps-clean-search button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px !important;
  background: #fff0ea !important;
  color: #cf5538 !important;
  padding: 0 !important;
}

.mps-clean-search button svg {
  width: 20px;
  height: 20px;
}

.mps-header-actions {
  gap: 20px;
}

.mps-header-actions a {
  min-width: 62px;
  height: 54px;
  gap: 6px;
  color: #3c2118 !important;
  font-size: 12px;
  line-height: 1;
}

.mps-header-actions a::after {
  color: rgba(17, 17, 17, .62);
  font-size: 11px;
  font-weight: 700;
}

.mps-header-actions a:nth-child(1)::after {
  content: "Sign in";
}

.mps-header-actions a:nth-child(2)::after,
.mps-header-actions a:nth-child(3)::after {
  content: "0 items";
}

.mps-header-actions svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.7;
}

.mps-nav-row {
  height: 50px;
  justify-content: center;
  border-top: 0;
}

.mps-nav-row ul {
  width: auto;
  height: 50px;
  justify-content: center;
  gap: 18px;
}

.mps-nav-item {
  height: 50px;
}

.mps-nav-item > a {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 900;
  color: #111 !important;
}

.mps-nav-item > a.is-active {
  min-width: 78px;
  justify-content: center;
  background: #cf5538;
  border-radius: 8px;
}

.mps-hot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 5px;
  background: #ff3f3f;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.mps-mega-menu {
  top: 50px;
  width: min(900px, calc(100vw - 64px));
  min-height: 274px;
  grid-template-columns: 170px 160px 190px 220px;
  gap: 24px;
  padding: 24px;
  border-color: #ead8d1;
  border-radius: 12px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .12);
}

.mps-mega-col {
  gap: 9px;
  padding-right: 20px;
  border-right: 1px solid #ead8d1;
}

.mps-mega-col:nth-child(3) {
  border-right: 0;
}

.mps-mega-col h3 {
  margin-bottom: 8px;
  font-size: 12px;
}

.mps-mega-col a {
  min-height: 30px;
  padding: 3px 0;
  font-size: 12px;
  font-weight: 800;
}

.mps-brand-list img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.mps-mega-promo-card {
  min-height: 224px;
  align-content: center;
  background: linear-gradient(135deg, #fff1ec, #f8ded3);
  border: 0;
  border-radius: 10px;
}

.mps-mega-promo-card img {
  height: 112px;
}

.mps-mega-promo-card strong {
  font-size: 21px;
  line-height: 1.1;
}

.mps-clean-hero {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  min-height: 312px;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  margin: 10px auto 16px;
  padding: 34px 26px;
  background:
    linear-gradient(90deg, rgba(255, 244, 238, .98) 0%, rgba(255, 244, 238, .92) 26%, rgba(255, 244, 238, .18) 48%, rgba(255, 244, 238, 0) 100%),
    url("Hero image (2).png") center right / cover no-repeat;
  border-color: #f0d8cf;
  border-radius: 10px;
}

.mps-clean-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(255, 246, 242, .2), transparent 58%);
  pointer-events: none;
}

.mps-hero-content,
.mps-hero-visual {
  position: relative;
  z-index: 1;
}

.mps-hero-content {
  gap: 16px;
}

.mps-hero-kicker {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #cf5538;
  border-radius: 0;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.mps-clean-hero h1 {
  max-width: 310px;
  font-size: 34px !important;
  line-height: 1.02 !important;
}

.mps-clean-hero h1::first-letter {
  color: #111;
}

.mps-clean-hero h1 {
  color: #111 !important;
}

.mps-clean-hero h1::after {
  content: "";
}

.mps-clean-hero p {
  max-width: 270px;
  color: #21140f;
  font-size: 14px;
  line-height: 1.55;
}

.mps-primary-btn,
.mps-secondary-btn {
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12px;
}

.mps-primary-btn {
  background: #cf5538;
}

.mps-secondary-btn {
  border-color: #cf5538;
  color: #cf5538 !important;
  background: #fff7f3;
}

.mps-hero-trust {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 22px;
  margin-top: 36px;
  font-size: 11px;
}

.mps-hero-trust span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, .62);
}

.mps-hero-trust strong {
  color: #111;
  font-size: 14px;
}

.mps-hero-visual {
  min-height: 244px;
  justify-items: end;
}

.mps-hero-phone-card {
  display: none;
}

.mps-hero-phone-card img {
  display: none;
}

.mps-hero-brand-stack {
  display: none;
}

.elementor-element-5359ef26 {
  display: none !important;
}

.mps-benefit-strip,
.mps-featured-heading,
.mps-featured-products-section > .elementor-container,
.mps-popular-brands {
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.mps-benefit-strip {
  min-height: 66px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(70, 38, 24, .04);
  overflow: hidden;
}

.mps-benefit-strip article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 18px;
  border-right: 1px solid #ead8d1;
}

.mps-benefit-strip article:last-child {
  border-right: 0;
}

.mps-benefit-strip svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #cf5538;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.mps-benefit-strip strong,
.mps-benefit-strip span {
  display: block;
}

.mps-benefit-strip strong {
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

.mps-benefit-strip span {
  color: rgba(17, 17, 17, .68);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.mps-featured-heading {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 6px;
}

.mps-featured-heading h2,
.mps-popular-brands h2 {
  margin: 0;
  color: #111 !important;
  font: 900 16px/1.2 BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
}

.mps-featured-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #ead8d1;
  border-radius: 8px;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 900;
}

.mps-featured-heading svg,
.mps-brand-view svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mps-featured-products-section {
  margin: 0 !important;
}

.mps-featured-products-section > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.mps-featured-products-section .elementor-column,
.mps-featured-products-section .elementor-widget-wrap {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.mps-featured-products-section .wd-tabs-header {
  display: none !important;
}

.mps-featured-products-section .products.wd-products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.mps-featured-products-section .product-grid-item:nth-child(n+5) {
  display: none !important;
}

.mps-featured-products-section .product-grid-item .product-wrapper {
  min-height: 0;
  height: auto;
  border: 1px solid #ead8d1;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(70, 38, 24, .04);
  overflow: hidden;
}

.mps-featured-products-section .product-grid-item .product-element-top,
.mps-featured-products-section .product-grid-item .product-image-link {
  min-height: 118px;
  height: 118px;
  padding: 12px 12px 0;
}

.mps-featured-products-section .product-grid-item img {
  max-width: 82%;
  max-height: 112px;
  object-fit: contain;
}

.mps-featured-products-section .product-grid-item .product-element-bottom,
.mps-featured-products-section .product-grid-item .product-wrapper {
  text-align: left !important;
}

.mps-featured-products-section .product-grid-item .product-element-bottom {
  padding: 8px 14px 12px !important;
}

.mps-card-condition {
  width: max-content;
  margin: 0 0 7px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #e6f7e8;
  color: #159447;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.mps-card-condition.is-good {
  background: #fff0cf;
  color: #bd7412;
}

.mps-card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  color: #6c534a;
}

.mps-card-wishlist svg,
.mps-card-whatsapp svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.mps-featured-products-section .product-grid-item .wd-entities-title,
.mps-featured-products-section .product-grid-item .wd-entities-title a {
  margin-bottom: 5px !important;
  min-height: 32px;
  color: #111 !important;
  font: 900 13px/1.18 BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
}

.mps-featured-products-section .mps-card-rating {
  margin-bottom: 7px;
  color: #f4a000;
  font-size: 10px;
}

.mps-featured-products-section .mps-card-rating em {
  color: rgba(17, 17, 17, .55);
  font-size: 9px;
  font-weight: 800;
}

.mps-card-features {
  display: grid;
  gap: 2px;
  margin: 0 0 8px !important;
  padding: 0 !important;
  list-style: none !important;
}

.mps-card-features li {
  color: rgba(17, 17, 17, .7);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.mps-card-features li::before {
  content: "✓";
  margin-right: 5px;
  color: #111;
}

.mps-featured-products-section .product-grid-item .price {
  margin: 0 0 10px !important;
  color: #111 !important;
  font: 900 15px/1.1 BMDupletTXT, Manrope, Helvetica, Arial, sans-serif !important;
}

.mps-featured-products-section .product-grid-item .price del,
.mps-featured-products-section .product-grid-item .price .screen-reader-text {
  display: none !important;
}

.mps-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.mps-view-details {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ead8d1;
  border-radius: 7px;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 800;
}

.mps-card-whatsapp {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #13a044;
  color: #fff !important;
}

.mps-side-rail {
  display: grid;
  gap: 10px;
}

.mps-side-card {
  min-height: 124px;
  display: grid;
  align-content: center;
  padding: 18px;
  background: linear-gradient(135deg, #fff8f5, #f9e4dc);
  border: 1px solid #ead8d1;
  border-radius: 10px;
  overflow: hidden;
}

.mps-trade-card {
  position: relative;
  min-height: 124px;
  padding: 0;
  background: #fff4ef;
}

.mps-trade-card img {
  width: 100%;
  height: 144px;
  object-fit: cover;
  display: block;
}

.mps-trade-card a {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  box-shadow: 0 10px 24px rgba(207, 85, 56, .28);
}

.mps-side-card strong,
.mps-side-card span,
.mps-side-card p {
  display: block;
}

.mps-side-card strong {
  color: #111;
  font-size: 15px;
  font-weight: 900;
}

.mps-side-card span,
.mps-side-card p {
  margin: 8px 0 0;
  color: rgba(17, 17, 17, .72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.mps-side-card a {
  width: max-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 0 12px;
  border-radius: 6px;
  background: #cf5538;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 900;
}

.mps-review-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.mps-review-score b {
  color: #111;
  font-size: 16px;
}

.mps-review-score span {
  color: #f4a000;
  margin: 0;
}

.mps-review-score small {
  color: rgba(17, 17, 17, .58);
  font-size: 11px;
}

.mps-avatar-row {
  display: flex;
  align-items: center;
  margin: 12px 0 4px;
}

.mps-avatar-row img {
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  margin-left: -8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.mps-avatar-row img:first-child {
  margin-left: 0;
}

.mps-popular-brands {
  margin-top: 12px;
  margin-bottom: 28px;
}

.mps-brand-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr)) 112px;
  gap: 12px;
  margin-top: 8px;
}

.mps-brand-row a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 8px;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 900;
}

.mps-brand-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.mps-brand-text {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
}

.mps-brand-text + strong {
  display: none;
}

.mps-brand-view {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .mps-top-inner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 8px 0;
  }

  .mps-main-header {
    grid-template-columns: 220px minmax(320px, 1fr);
    height: auto;
    padding: 12px 0;
  }

  .mps-header-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .mps-benefit-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mps-benefit-strip article:nth-child(3n) {
    border-right: 0;
  }

  .mps-featured-products-section > .elementor-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .mps-top-inner,
  .mps-header-shell,
  .mps-clean-hero,
  .mps-benefit-strip,
  .mps-featured-heading,
  .mps-featured-products-section > .elementor-container,
  .mps-popular-brands {
    width: min(100% - 24px, 1280px) !important;
  }

  .mps-main-header {
    grid-template-columns: 1fr;
  }

  .mps-clean-logo img {
    width: 190px;
  }

  .mps-nav-row ul {
    justify-content: flex-start;
  }

  .mps-clean-hero {
    grid-template-columns: 1fr;
  }

  .mps-hero-trust {
    grid-template-columns: repeat(2, max-content);
    margin-top: 8px;
  }

  .mps-benefit-strip {
    grid-template-columns: 1fr;
  }

  .mps-benefit-strip article {
    border-right: 0;
    border-bottom: 1px solid #ead8d1;
  }

  .mps-featured-products-section .products.wd-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mps-brand-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Global subpage polish */
.MacPhoneStore-original-header-hidden,
.whb-header.MacPhoneStore-original-header-hidden,
header.header.MacPhoneStore-original-header-hidden {
  display: none !important;
}

body:not(.home) .mps-clean-header {
  margin-bottom: 18px;
}

body:not(.home) .page-title,
body:not(.home) .wd-page-title,
body:not(.home) .title-size-default {
  background: linear-gradient(135deg, #fff7f3, rgba(195, 133, 109, .14)) !important;
  border-bottom: 1px solid #ead8d1;
}

body:not(.home) .main-page-wrapper,
body:not(.home) .wd-page-content {
  background: #faf7f5 !important;
}

body:not(.home) .site-content,
body:not(.home) article,
body:not(.home) .wd-content-area {
  color: #111;
}

.products.wd-products,
.wd-products.elements-grid,
.products.elements-grid {
  align-items: stretch !important;
}

.product-grid-item .product-wrapper {
  min-height: 0 !important;
  height: auto !important;
  border-radius: 12px !important;
}

.product-grid-item .product-element-top,
.product-grid-item .product-image-link {
  min-height: 150px !important;
  height: 150px;
  padding: 14px 14px 4px !important;
}

.product-grid-item img {
  max-height: 140px !important;
  max-width: 88% !important;
}

.product-grid-item .product-element-bottom {
  padding: 12px 16px 16px !important;
}

.product-grid-item .wd-entities-title,
.product-grid-item .wd-entities-title a {
  min-height: 0 !important;
  font-size: 15px !important;
  line-height: 1.22 !important;
}

.product-grid-item .price {
  font-size: 17px !important;
}

.mps-featured-products-section .product-grid-item .product-element-top,
.mps-featured-products-section .product-grid-item .product-image-link {
  min-height: 118px !important;
  height: 118px;
}

.mps-featured-products-section .product-grid-item img {
  max-height: 112px !important;
}

.mps-featured-products-section .product-grid-item .product-wrapper {
  min-height: 0 !important;
}

.mps-cookie-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10000;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #ead8d1;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .14);
  backdrop-filter: blur(10px);
}

.mps-cookie-notice strong {
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.mps-cookie-notice span {
  grid-column: 1 / -1;
  color: rgba(17, 17, 17, .72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.mps-cookie-notice button {
  grid-column: 2;
  grid-row: 1;
  min-height: 34px;
  border: 0 !important;
  border-radius: 9px !important;
  background: #cf5538 !important;
  color: #fff !important;
  box-shadow: none !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.mps-footer-ready {
  background: #111 !important;
  color: rgba(255, 255, 255, .78) !important;
  padding: 0 !important;
}

.mps-footer-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  padding: 46px 0;
}

.mps-footer-shell img {
  width: 210px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

.mps-footer-shell h3 {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
}

.mps-footer-shell p,
.mps-footer-shell span,
.mps-footer-shell a {
  display: block;
  color: rgba(255, 255, 255, .72) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.mps-footer-shell a:hover {
  color: #fff !important;
}

.mps-footer-brand-block p {
  max-width: 360px;
  margin-top: 14px;
}

.mps-policy-page {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 44px !important;
  padding: 0 !important;
}

.mps-policy-hero {
  margin: 0 0 22px;
  padding: 34px;
  background: linear-gradient(135deg, #fff7f3, rgba(195, 133, 109, .16));
  border: 1px solid #ead8d1;
  border-radius: 18px;
}

.mps-policy-hero span {
  color: #cf5538;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mps-policy-hero h1 {
  margin: 8px 0 10px;
  color: #111 !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.04 !important;
}

.mps-policy-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(17, 17, 17, .72);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.mps-policy-page h2,
.mps-policy-page h3,
.mps-policy-page h4 {
  color: #111 !important;
  margin-top: 26px !important;
}

.mps-policy-page p,
.mps-policy-page li {
  color: rgba(17, 17, 17, .76);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .mps-footer-shell {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1280px);
  }

  .mps-policy-page {
    width: min(100% - 24px, 980px);
  }
}

/* Final storefront alignment and brand-color correction */
:root {
  --mps-brand: #c58b79;
  --mps-brand-strong: #b97867;
  --mps-brand-soft: #fff3ee;
  --mps-ink: #15100e;
  --MacPhoneStore-primary: var(--mps-brand);
  --MacPhoneStore-primary-dark: var(--mps-brand-strong);
  --wd-primary-color: var(--mps-brand);
}

.mps-top-bar {
  background: linear-gradient(90deg, #bd7d6d, #d19b88) !important;
}

.mps-nav-item > a.is-active,
.mps-primary-btn,
.mps-clean-search button,
.mps-side-card a,
.mps-cookie-notice button {
  background: var(--mps-brand) !important;
  color: #fff !important;
}

.mps-secondary-btn {
  border-color: var(--mps-brand) !important;
  color: var(--mps-brand-strong) !important;
}

.mps-hero-kicker,
.mps-mega-col a:hover,
.mps-nav-item > a:hover {
  color: var(--mps-brand-strong) !important;
}

.mps-clean-logo img {
  width: 218px;
  max-height: 58px;
  object-fit: contain;
}

.mps-mega-menu {
  grid-template-columns: 180px 170px 218px 228px;
  align-items: stretch;
}

.mps-mega-col {
  min-width: 0;
}

.mps-mega-col a {
  justify-content: flex-start;
  text-align: left;
  line-height: 1.25;
}

.mps-mega-col:nth-child(3) a {
  min-height: 42px;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  padding: 6px 0;
}

.mps-mega-col:nth-child(3) a::after {
  content: "From KSh 45,000";
  color: rgba(21, 16, 14, .62);
  font-size: 11px;
  font-weight: 700;
}

.mps-mega-promo-card {
  text-align: left;
}

.mps-clean-hero h1,
.mps-clean-hero p,
.mps-hero-actions,
.mps-hero-trust {
  text-align: left;
}

.mps-hero-trust {
  align-items: start;
}

.mps-trade-card {
  min-height: 146px;
}

.mps-trade-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 247, 243, .96) 0%, rgba(255, 247, 243, .74) 45%, rgba(255, 247, 243, .08) 100%);
  pointer-events: none;
}

.mps-trade-card img {
  height: 156px;
}

.mps-trade-copy {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 16px;
  max-width: 155px;
  display: grid;
  gap: 6px;
}

.mps-trade-copy strong {
  color: var(--mps-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.08;
}

.mps-trade-copy span {
  margin: 0;
  color: rgba(21, 16, 14, .72);
  font-size: 11px;
  font-weight: 700;
}

.mps-trade-card a {
  z-index: 3;
}

.mps-review-card {
  text-align: left;
}

.mps-avatar-row img {
  object-position: top center;
}

.product-grid-item .product-wrapper,
.mps-featured-products-section .product-grid-item .product-wrapper {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.product-grid-item .product-element-bottom,
.mps-featured-products-section .product-grid-item .product-element-bottom {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
  text-align: left !important;
}

.product-grid-item .wd-entities-title,
.product-grid-item .wd-entities-title a {
  display: block;
  text-align: left !important;
  color: var(--mps-ink) !important;
}

.mps-card-condition {
  align-self: flex-start;
  margin-bottom: 8px;
}

.mps-card-rating {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100%;
  color: #f4a000 !important;
  text-align: left !important;
}

.mps-card-rating span {
  display: inline-flex;
  letter-spacing: .5px;
  line-height: 1;
  color: #f4a000 !important;
}

.mps-card-rating strong,
.mps-card-rating em {
  color: rgba(21, 16, 14, .62) !important;
  font-size: 11px;
  font-weight: 800;
}

.mps-card-features {
  text-align: left;
}

.product-grid-item .price {
  text-align: left !important;
  color: var(--mps-ink) !important;
  white-space: normal !important;
}

.product-grid-item .price,
.product-grid-item .price * {
  letter-spacing: 0 !important;
}

.mps-price-kicker {
  display: none !important;
}

.mps-card-actions {
  margin-top: 10px;
}

.mps-featured-products-section .product-grid-item .product-wrapper {
  height: 100% !important;
}

.mps-featured-products-section .product-grid-item .wd-entities-title,
.mps-featured-products-section .product-grid-item .wd-entities-title a {
  min-height: 30px !important;
}

/* Catalog tabs, search, footer, and responsive product-page polish */
.mps-clean-search {
  position: relative;
}

.mps-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 10020;
  display: none;
  max-height: 430px;
  overflow: auto;
  padding: 10px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #ead8d1;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
}

.mps-search-results.is-open {
  display: grid;
  gap: 8px;
}

.mps-search-results a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 12px;
  color: #111 !important;
  text-decoration: none !important;
}

.mps-search-results a:hover {
  background: #fff3ee;
}

.mps-search-results img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: #faf7f5;
}

.mps-search-results strong,
.mps-search-results em {
  display: block;
  font-style: normal;
  line-height: 1.25;
}

.mps-search-results strong {
  font-size: 13px;
  font-weight: 900;
}

.mps-search-results em,
.mps-search-results p {
  margin: 0;
  color: rgba(17, 17, 17, .62);
  font-size: 12px;
  font-weight: 700;
}

.mps-apple-tabs {
  padding: 18px;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(120, 69, 47, .07);
}

.mps-apple-tabs .wd-tabs-header {
  margin-bottom: 18px !important;
}

.mps-apple-tabs .products-tabs-title {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 !important;
}

.mps-apple-tabs .products-tabs-title li {
  margin: 0 !important;
}

.mps-apple-tabs .products-tabs-title a,
.mps-apple-tabs .products-tabs-title a .nav-link-text {
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
  border-radius: 999px;
  background: transparent !important;
  color: #2b211e !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.mps-apple-tabs .products-tabs-title .wd-active a,
.mps-apple-tabs .products-tabs-title .wd-active a .nav-link-text {
  background: var(--mps-brand) !important;
  color: #fff !important;
}

.mps-tab-panel {
  display: none;
}

.mps-tab-panel.is-active {
  display: block;
}

.mps-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mps-catalog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(120, 69, 47, .06);
}

.mps-catalog-media {
  height: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg, #fffaf8, #fff);
}

.mps-catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mps-catalog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
  text-align: left;
}

.mps-catalog-title {
  min-height: 38px;
  color: #111 !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none !important;
}

.mps-catalog-price {
  margin-top: auto;
  color: #111;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}

.elementor-element-4252f13,
.elementor-element-2cc442a,
.elementor-element-4625a4a {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.elementor-element-4252f13 .wd-tabs,
.elementor-element-2cc442a .wd-tabs,
.elementor-element-4625a4a .wd-tabs,
.tabs-design-simple {
  background: #fff !important;
  border: 1px solid #ead8d1;
  border-radius: 18px;
  padding: 18px !important;
  box-shadow: 0 14px 40px rgba(120, 69, 47, .07);
}

.tabs-design-simple .tabs-name {
  margin-bottom: 16px !important;
}

.tabs-design-simple .tabs-text {
  color: #111 !important;
  font-size: clamp(22px, 3vw, 34px) !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.tabs-design-simple .wd-nav-wrapper {
  display: none !important;
}

.tabs-design-simple .products.wd-products,
.elementor-element-4252f13 .products.wd-products,
.elementor-element-2cc442a .products.wd-products,
.elementor-element-4625a4a .products.wd-products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.elementor-element-4252f13 .product-grid-item .product-element-top,
.elementor-element-4252f13 .product-grid-item .product-image-link,
.elementor-element-2cc442a .product-grid-item .product-element-top,
.elementor-element-2cc442a .product-grid-item .product-image-link,
.elementor-element-4625a4a .product-grid-item .product-element-top,
.elementor-element-4625a4a .product-grid-item .product-image-link {
  height: 156px !important;
  min-height: 156px !important;
}

.elementor-element-4252f13 .product-grid-item img,
.elementor-element-2cc442a .product-grid-item img,
.elementor-element-4625a4a .product-grid-item img {
  max-height: 146px !important;
}

.mps-footer-ready {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #120c0a url("Hero image (2).png") center right / cover no-repeat !important;
}

.mps-footer-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 12, 10, .96) 0%, rgba(18, 12, 10, .9) 48%, rgba(18, 12, 10, .72) 100%);
}

.mps-footer-cta {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 30px;
  align-items: end;
  padding: 50px 0 22px;
}

.mps-footer-cta span {
  color: #f3b39e;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mps-footer-cta h2 {
  max-width: 740px;
  margin: 8px 0 10px;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 950;
}

.mps-footer-cta p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.mps-footer-subscribe {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
}

.mps-footer-subscribe small {
  grid-column: 1 / -1;
  min-height: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
}

.mps-footer-subscribe input,
.mps-footer-subscribe button {
  min-height: 46px;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.mps-footer-subscribe input {
  width: 100%;
  padding: 0 14px;
  background: #fff;
  color: #111;
  font-weight: 800;
}

.mps-footer-subscribe button {
  padding: 0 18px !important;
  background: var(--mps-brand) !important;
  color: #fff !important;
  font-weight: 950 !important;
}

.mps-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mps-footer-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .86) !important;
  font-size: 11px;
}

.mps-footer-bottom {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.mps-footer-bottom,
.mps-footer-bottom a {
  color: rgba(255, 255, 255, .72) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.mps-contact-page,
.mps-account-page {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 52px !important;
  padding: 0 !important;
}

.mps-contact-hero,
.mps-auth-hero,
.mps-category-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 30px;
  align-items: center;
  min-height: 280px;
  margin: 18px 0 24px;
  padding: 34px;
  background: linear-gradient(135deg, #fff7f3 0%, rgba(195, 133, 109, .18) 100%);
  border: 1px solid #ead8d1;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(120, 69, 47, .08);
}

.mps-auth-hero {
  grid-template-columns: minmax(0, 720px);
  background: linear-gradient(90deg, rgba(18, 12, 10, .92), rgba(18, 12, 10, .56)), url("Hero image (2).png") center right / cover no-repeat;
}

.mps-contact-hero span,
.mps-auth-hero span,
.mps-category-hero span {
  color: var(--mps-brand-strong);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mps-auth-hero span {
  color: #f3b39e;
}

.mps-contact-hero h1,
.mps-auth-hero h1,
.mps-category-hero h1 {
  margin: 8px 0 12px;
  color: #111 !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.mps-auth-hero h1,
.mps-auth-hero p {
  color: #fff !important;
}

.mps-contact-hero p,
.mps-auth-hero p,
.mps-category-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(17, 17, 17, .72);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.mps-contact-hero img,
.mps-category-hero img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .16));
}

.mps-contact-layout,
.mps-auth-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.mps-auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) 340px;
}

.mps-contact-card,
.mps-contact-form,
.mps-auth-panel,
.mps-auth-benefits {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(120, 69, 47, .07);
}

.mps-contact-card h2,
.mps-auth-panel h2,
.mps-auth-benefits h2 {
  margin: 0 0 16px;
  color: #111 !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
}

.mps-contact-card a {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px;
  color: #111 !important;
  text-decoration: none !important;
  background: #fff7f3;
  border: 1px solid #ead8d1;
  border-radius: 12px;
  font-weight: 900;
}

.mps-contact-card svg,
.mps-category-hero svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.mps-contact-card p,
.mps-contact-card span,
.mps-auth-benefits li {
  color: rgba(17, 17, 17, .72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.mps-contact-form,
.mps-auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mps-auth-form {
  grid-template-columns: 1fr;
}

.mps-form-wide,
.mps-contact-form button,
.mps-contact-form small {
  grid-column: 1 / -1;
}

.mps-contact-form label,
.mps-auth-form label {
  display: grid;
  gap: 7px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.mps-contact-form input,
.mps-contact-form select,
.mps-contact-form textarea,
.mps-auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #111;
  background: #faf7f5;
  border: 1px solid #ead8d1 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-weight: 800;
}

.mps-contact-form textarea {
  min-height: 140px;
  padding-top: 12px;
}

.mps-contact-form button,
.mps-auth-form button[type="submit"] {
  min-height: 48px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--mps-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 950 !important;
}

.mps-contact-form small,
.mps-auth-form small {
  min-height: 18px;
  color: var(--mps-brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.mps-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #ead8d1 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(120, 69, 47, .06) !important;
  font-weight: 950 !important;
}

.mps-google-btn svg {
  width: 22px;
  height: 22px;
}

.mps-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(17, 17, 17, .55);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mps-auth-divider::before,
.mps-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ead8d1;
}

.mps-auth-benefits {
  overflow: hidden;
  align-self: stretch;
}

.mps-auth-benefits img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.mps-auth-benefits ul {
  margin: 0;
  padding-left: 18px;
}

.mps-product-category-page .wd-content-layout,
.mps-product-category-page .wd-page-content {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.mps-category-hero {
  grid-column: 1 / -1;
  margin-top: 18px;
  background: radial-gradient(circle at 85% 40%, rgba(195, 133, 109, .28), transparent 28%), linear-gradient(135deg, #fff 0%, #fff7f3 100%);
}

.mps-category-hero a {
  width: max-content;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  padding: 11px 16px;
  color: #fff !important;
  text-decoration: none !important;
  background: var(--mps-brand);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 950;
}

.mps-shop-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 20px !important;
  padding: 16px;
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(120, 69, 47, .07);
}

.mps-shop-tools {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 !important;
}

.mps-shop-tools .woocommerce-breadcrumb,
.mps-shop-tools .woocommerce-breadcrumb a,
.mps-shop-tools .woocommerce-result-count {
  margin: 0 !important;
  color: rgba(17, 17, 17, .66) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

.mps-shop-tools .wd-show-sidebar-btn a,
.mps-shop-tools .wd-products-per-page,
.mps-shop-tools .wd-products-shop-view,
.mps-shop-tools .woocommerce-ordering {
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #faf7f5;
  border: 1px solid #ead8d1;
  border-radius: 12px;
}

.mps-shop-tools .wd-show-sidebar-btn a {
  color: #111 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 950;
}

.mps-shop-tools .wd-products-shop-view a,
.mps-shop-tools .per-page-variation {
  width: 30px;
  height: 30px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #111 !important;
  background: #fff;
  border-radius: 9px;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 950;
}

.mps-shop-tools .current-variation {
  background: var(--mps-brand) !important;
  color: #fff !important;
}

.mps-shop-tools .orderby {
  min-height: 30px;
  padding: 0 28px 0 8px !important;
  border: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.mps-product-category-page .woocommerce-pagination,
.mps-product-category-page .page-numbers {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 !important;
}

.mps-product-category-page .page-numbers a,
.mps-product-category-page .page-numbers span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #ead8d1;
  color: #111 !important;
  background: #fff;
  font-weight: 950;
  text-decoration: none !important;
}

.mps-product-category-page .page-numbers .current {
  background: var(--mps-brand) !important;
  color: #fff !important;
  border-color: var(--mps-brand) !important;
}

.wd-sidebar,
.sidebar-container,
.shop-content-area + aside,
.area-sidebar-shop {
  border-radius: 18px !important;
  border: 1px solid #ead8d1 !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(120, 69, 47, .07) !important;
}

.wd-sidebar .widget,
.sidebar-container .widget {
  padding: 16px !important;
  border-bottom: 1px solid #f1ded7 !important;
}

.wd-sidebar .widget:last-child,
.sidebar-container .widget:last-child {
  border-bottom: 0 !important;
}

.wd-sidebar .widget-title,
.sidebar-container .widget-title {
  margin-bottom: 12px !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.wd-sidebar a,
.sidebar-container a,
.widget_product_categories a {
  color: #2b211e !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

.wd-sidebar a:hover,
.sidebar-container a:hover,
.widget_product_categories a:hover {
  color: var(--mps-brand-strong) !important;
}

@media (max-width: 1180px) {
  .mps-catalog-grid,
  .tabs-design-simple .products.wd-products,
  .elementor-element-4252f13 .products.wd-products,
  .elementor-element-2cc442a .products.wd-products,
  .elementor-element-4625a4a .products.wd-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .mps-catalog-grid,
  .tabs-design-simple .products.wd-products,
  .elementor-element-4252f13 .products.wd-products,
  .elementor-element-2cc442a .products.wd-products,
  .elementor-element-4625a4a .products.wd-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .elementor-element-4252f13,
  .elementor-element-2cc442a,
  .elementor-element-4625a4a,
  .mps-footer-cta,
  .mps-footer-bottom,
  .mps-contact-page,
  .mps-account-page,
  .mps-product-category-page .wd-content-layout,
  .mps-product-category-page .wd-page-content {
    width: min(100% - 24px, 1280px);
  }

  .mps-footer-cta,
  .mps-contact-hero,
  .mps-category-hero,
  .mps-contact-layout,
  .mps-auth-grid {
    grid-template-columns: 1fr;
  }

  .mps-auth-hero {
    grid-template-columns: 1fr;
  }

  .mps-contact-form {
    grid-template-columns: 1fr;
  }

  .mps-footer-subscribe {
    grid-template-columns: 1fr;
  }

  .mps-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .mps-catalog-grid,
  .products.wd-products,
  .wd-products.elements-grid,
  .products.elements-grid,
  .tabs-design-simple .products.wd-products,
  .elementor-element-4252f13 .products.wd-products,
  .elementor-element-2cc442a .products.wd-products,
  .elementor-element-4625a4a .products.wd-products,
  .mps-featured-products-section .products.wd-products {
    grid-template-columns: 1fr !important;
  }

  .mps-catalog-media,
  .product-grid-item .product-element-top,
  .product-grid-item .product-image-link,
  .elementor-element-4252f13 .product-grid-item .product-element-top,
  .elementor-element-4252f13 .product-grid-item .product-image-link,
  .elementor-element-2cc442a .product-grid-item .product-element-top,
  .elementor-element-2cc442a .product-grid-item .product-image-link,
  .elementor-element-4625a4a .product-grid-item .product-element-top,
  .elementor-element-4625a4a .product-grid-item .product-image-link {
    height: 180px !important;
    min-height: 180px !important;
  }

  .mps-top-inner p {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .mps-header-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .mps-header-actions a {
    justify-content: center;
  }
}

/* Final category archive overrides. Keep this at EOF so it wins over legacy WoodMart patches. */
.mps-product-category-page .mps-native-category-title-hidden {
  display: none !important;
}

.mps-product-category-page .wd-page-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.mps-product-category-page .wd-content-layout {
  width: min(1320px, calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.mps-product-category-page .mps-category-hero {
  width: 100% !important;
  min-height: clamp(280px, 36vw, 470px) !important;
  display: grid !important;
  align-items: end !important;
  grid-template-columns: 1fr !important;
  margin: 0 0 32px !important;
  padding: clamp(34px, 6vw, 78px) max(24px, calc((100vw - 1320px) / 2 + 24px)) !important;
  border-radius: 0 !important;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 42%, rgba(0, 0, 0, .2) 100%),
    var(--mps-category-hero-image) !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
}

.mps-product-category-page .mps-category-hero img {
  display: none !important;
}

.mps-category-hero-copy {
  width: min(700px, 100%) !important;
  display: grid !important;
  gap: 16px !important;
}

.mps-category-hero-copy > span {
  width: max-content !important;
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.mps-category-hero-copy h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: BMDupletDSP, BMDupletTXT, Manrope, sans-serif !important;
  font-size: clamp(42px, 7vw, 94px) !important;
  line-height: .92 !important;
  letter-spacing: 0 !important;
}

.mps-category-hero-copy p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, .86) !important;
  font-size: clamp(15px, 1.8vw, 19px) !important;
  font-weight: 750 !important;
}

.mps-category-hero-actions,
.mps-category-hero-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

.mps-category-hero-actions a {
  min-height: 46px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.mps-category-hero-actions a:first-child {
  background: var(--MacPhoneStore-primary) !important;
  border-color: var(--MacPhoneStore-primary) !important;
}

.mps-category-hero-actions svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.mps-category-hero-stats strong {
  padding: 8px 12px !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.mps-apple-category-page .mps-category-hero {
  background-position: center right !important;
}

.mps-product-category-page .wd-products-per-page,
.mps-product-category-page .wd-products-shop-view,
.mps-product-category-page .woocommerce-ordering {
  display: none !important;
}

.mps-product-category-page .mps-shop-toolbar {
  padding: 14px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mps-product-category-page .mps-shop-tools {
  justify-content: space-between !important;
}

.mps-product-category-page .woocommerce-result-count {
  padding: 10px 13px !important;
  border: 1px solid var(--MacPhoneStore-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
}

.mps-product-category-page .wd-show-sidebar-btn a,
.mps-product-category-page .wd-toolbar-sidebar {
  min-height: 42px !important;
  padding: 10px 15px !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.mps-product-category-page .sidebar-container,
.mps-product-category-page .wd-sidebar {
  border: 1px solid var(--MacPhoneStore-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.mps-category-sidebar .product-categories,
.mps-category-sidebar .children {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mps-category-sidebar .children {
  margin-top: 6px !important;
  padding-left: 12px !important;
  border-left: 1px solid #eee !important;
}

.mps-category-sidebar .cat-item > a {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  color: #1c1c1c !important;
}

.mps-category-sidebar .cat-item > a:hover,
.mps-category-sidebar .current-cat > a {
  background: var(--MacPhoneStore-primary-soft) !important;
  color: var(--MacPhoneStore-primary-dark) !important;
}

.mps-product-category-page .page-numbers a,
.mps-product-category-page .page-numbers span {
  border-radius: 999px !important;
}

.mps-product-category-page .page-numbers a:hover {
  background: var(--MacPhoneStore-primary-soft) !important;
  border-color: var(--MacPhoneStore-primary) !important;
  color: var(--MacPhoneStore-primary-dark) !important;
}

@media (max-width: 820px) {
  .mps-product-category-page .wd-content-layout {
    width: min(100% - 24px, 1320px) !important;
  }

  .mps-product-category-page .mps-category-hero {
    min-height: 390px !important;
    padding: 32px 18px !important;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .86) 100%),
      var(--mps-category-hero-image) !important;
  }

  .mps-category-hero-actions a {
    width: 100% !important;
  }

  .mps-category-hero-stats strong {
    flex: 1 1 130px !important;
    text-align: center !important;
  }
}

/* EOF guard for the product-code and sidebar UX added after legacy overrides. */
.mps-product-code-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 0 8px !important;
}

.mps-product-code {
  background: #111 !important;
  color: #fff !important;
}

.mps-sidebar-intro {
  margin: -16px -16px 14px !important;
  padding: 16px !important;
  border-bottom: 1px solid var(--MacPhoneStore-line) !important;
  background: linear-gradient(135deg, #111 0%, #2b211e 100%) !important;
  color: #fff !important;
}

.mps-category-sidebar .cat-item > a {
  gap: 8px !important;
  justify-content: space-between !important;
}

.mps-category-sidebar .cat-item > a::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: var(--MacPhoneStore-primary) !important;
  opacity: .55 !important;
}

.mps-cat-code {
  margin-left: auto !important;
}

.mps-category-link-missing > a {
  cursor: not-allowed !important;
  color: #9b918d !important;
  background: #f8f8f8 !important;
}

/* True EOF override: related products must sit side-by-side on product pages. */
.mps-product-detail-page .wd-carousel-container.wd-products-element {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 34px auto !important;
  display: block !important;
  overflow: visible !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-inner,
.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel {
  width: 100% !important;
  display: block !important;
  overflow: visible !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-wrap {
  width: 100% !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  transform: none !important;
}

.mps-product-detail-page .wd-carousel-container.wd-products-element .wd-carousel-item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
}

/* True EOF card guard: keep every listing card aligned after all legacy overrides. */
.products.wd-products .product-grid-item .product-wrapper,
.wd-products.elements-grid .product-grid-item .product-wrapper {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: 8px !important;
}

.products.wd-products .product-grid-item .product-element-top,
.products.wd-products .product-grid-item .product-image-link,
.wd-products.elements-grid .product-grid-item .product-element-top,
.wd-products.elements-grid .product-grid-item .product-image-link {
  height: 178px !important;
  min-height: 178px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.products.wd-products .product-grid-item .product-element-bottom,
.wd-products.elements-grid .product-grid-item .product-element-bottom {
  flex: 1 !important;
  min-height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
  text-align: left !important;
}

.products.wd-products .product-grid-item .wd-entities-title,
.products.wd-products .product-grid-item .wd-entities-title a,
.wd-products.elements-grid .product-grid-item .wd-entities-title,
.wd-products.elements-grid .product-grid-item .wd-entities-title a {
  min-height: 38px !important;
  margin: 0 !important;
  text-align: left !important;
  line-height: 1.35 !important;
}

.products.wd-products .product-grid-item .price,
.wd-products.elements-grid .product-grid-item .price {
  margin-top: auto !important;
  min-height: 32px !important;
  text-align: left !important;
}

.mps-card-actions {
  margin-top: 8px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px !important;
  gap: 8px !important;
}

.mps-card-rating,
.mps-card-features,
.mps-product-code-line {
  justify-content: flex-start !important;
  text-align: left !important;
}

@media (max-width: 560px) {
  .products.wd-products .product-grid-item .product-element-bottom,
  .wd-products.elements-grid .product-grid-item .product-element-bottom {
    min-height: 0 !important;
  }
}
