/* Marble Castle global tokens and document styles. */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-medium.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-bold.woff2") format("woff2");
}

:root {
  --mc-black: #0b0b0c;
  --mc-text: #191918;
  --mc-text-secondary: #666560;
  --mc-white: #fff;
  --mc-warm-white: #faf9f6;
  --mc-surface: #f3f2ee;
  --mc-stone: #e8e4dc;
  --mc-marble: #d7cfc0;
  --mc-oak: #a88158;
  --mc-iron: #292927;
  --mc-steel: #a7a8a5;
  --mc-border: #d8d6d0;
  --mc-champagne: #92703e;
  --mc-champagne-soft: #f2ecdf;
  --mc-focus: #73551f;
  --mc-success: #1e6b45;
  --mc-warning: #8a5b12;
  --mc-error: #b42318;
  --mc-font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --mc-container: 1480px;
  --mc-content: 920px;
  --mc-gutter: clamp(1.25rem, 2.36vw, 2.125rem);
  --mc-header-main: 72px;
  --mc-header-height: 104px;
  --mc-section-space: clamp(5rem, 8vw, 7.5rem);
  --mc-space-1: 0.5rem;
  --mc-space-2: 0.75rem;
  --mc-space-3: 1rem;
  --mc-space-4: 1.5rem;
  --mc-space-5: 2rem;
  --mc-space-6: 3rem;
  --mc-space-7: 4.5rem;
  --mc-space-8: 7rem;
  --mc-radius-sm: 6px;
  --mc-radius: 12px;
  --mc-radius-lg: 22px;
  --mc-shadow-sm: 0 10px 30px rgb(16 16 14 / 5%);
  --mc-shadow-lg: 0 28px 70px rgb(16 16 14 / 9%);
  --mc-ease: 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
  --mc-breakpoint-mobile: 782px;
  --mc-breakpoint-wide: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mc-white);
  color: var(--mc-text);
  font-family: var(--mc-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body * {
  font-weight: 700 !important;
}

body :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong,
  b,
  th,
  .mc-button,
  .wp-element-button,
  .mc-text-link,
  .mc-eyebrow,
  .site-brand__text,
  .site-footer__wordmark,
  .mc-product-card__price,
  .mc-product-card__action,
  .product-preview-card__price,
  .product-preview-card__action,
  .mc-filter-toggle,
  .mc-catalog-filters legend,
  .mc-filter-options > label:has(input:checked),
  .mc-catalog-filters fieldset > label:not(.mc-filter-search):has(input:checked),
  .mc-filter-more,
  .mini_cart_item > a:not(.remove),
  .stock,
  .price,
  .button,
  button[type="submit"],
  input[type="submit"]
) {
  font-weight: 900 !important;
  -webkit-text-stroke: 0.012em currentColor;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin-inline: 0;
}

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

a:hover {
  text-decoration-color: var(--mc-champagne);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 0 0.65em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.65rem, 5.1vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.35vw, 3.35rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p {
  margin-block: 0 1.3em;
}

::selection {
  background: var(--mc-champagne-soft);
  color: var(--mc-black);
}

:focus-visible {
  outline: 3px solid var(--mc-focus);
  outline-offset: 3px;
}

.site {
  min-height: 100vh;
  overflow: clip;
}

.site-main {
  min-height: 55vh;
}

.mc-container {
  width: min(100% - (2 * var(--mc-gutter)), var(--mc-container));
  margin-inline: auto;
}

.mc-section {
  padding-block: var(--mc-section-space);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 0.75rem;
  right: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--mc-black);
  color: var(--mc-white);
  border-radius: var(--mc-radius-sm);
}

.alignwide {
  width: min(100%, var(--mc-container));
  max-width: var(--mc-container);
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.singular-content,
.content-list {
  max-width: var(--mc-content);
}

.entry-content > * + * {
  margin-block-start: 1.5rem;
}

.entry-content a {
  color: var(--mc-champagne);
}

.entry-content blockquote {
  margin-inline: 0;
  padding-inline-start: 1.5rem;
  border-inline-start: 3px solid var(--mc-champagne);
  color: var(--mc-text-secondary);
}

.page-header {
  margin-block-end: 3rem;
}

.entry-card {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--mc-border);
}

.entry-card:first-of-type {
  padding-block-start: 0;
}

.entry-card__image {
  display: block;
  margin-block-end: 1.5rem;
  overflow: hidden;
  border-radius: var(--mc-radius);
  background: var(--mc-surface);
}

.entry-title a {
  text-decoration: none;
}

.entry-meta {
  color: var(--mc-text-secondary);
  font-size: 0.875rem;
}

.navigation.pagination,
.post-navigation,
.posts-navigation {
  margin-block-start: 3rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.comments-area {
  margin-block-start: 4rem;
  padding-block-start: 3rem;
  border-top: 1px solid var(--mc-border);
}

.comment-list {
  padding-inline-start: 1.5rem;
}

@media (max-width: 781px) {
  :root {
    --mc-header-main: 64px;
    --mc-header-height: 96px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
