/*
 * Sublimation Maroc 2 — direction « Maison ».
 * Majorelle blue, saffron, mint for WhatsApp, the khatam star as the single recurring motif.
 * Logical properties throughout so an Arabic (RTL) version can reuse this sheet.
 */

:root {
  --sm-blue: #2E3CB8;
  --sm-blue-dark: #232E94;
  --sm-night: #141A44;
  --sm-saffron: #F2B705;
  --sm-saffron-dark: #D9A300;
  --sm-mint: #0B7A5F;
  --sm-mint-dark: #086149;
  --sm-mint-soft: #EAF6F2;
  --sm-sky: #EEF0FB;
  --sm-line: #E1E4F5;
  --sm-muted: #565C7A;
  --sm-lavender: #C9CDF2;
  --sm-white: #FFFFFF;
  --sm-font: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
  --sm-wrap: 1280px;
  --sm-gutter: clamp(16px, 3vw, 32px);
  --sm-radius: 16px;
  --sm-radius-sm: 12px;
  --sm-khatam-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23141A44' d='M10 10h28v28H10z'/%3E%3Cpath fill='%23141A44' d='M24 4.2 43.8 24 24 43.8 4.2 24z'/%3E%3C/svg%3E");
  --sm-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E3CB8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --sm-star: polygon(50% 0%, 64.64% 14.64%, 85.36% 14.64%, 85.36% 35.36%, 100% 50%, 85.36% 64.64%, 85.36% 85.36%, 64.64% 85.36%, 50% 100%, 35.36% 85.36%, 14.64% 85.36%, 14.64% 64.64%, 0% 50%, 14.64% 35.36%, 14.64% 14.64%, 35.36% 14.64%);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body.smtheme {
  margin: 0;
  background: var(--sm-white);
  color: var(--sm-night);
  font-family: var(--sm-font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.smtheme h1, .smtheme h2, .smtheme h3, .smtheme h4 {
  font-family: var(--sm-font);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: inherit;
  margin: 0;
  text-wrap: balance;
}
.smtheme p { margin: 0; text-wrap: pretty; }
.smtheme img { max-width: 100%; height: auto; }
.smtheme a { color: var(--sm-blue); }
.smtheme a:hover { color: var(--sm-blue-dark); }
.smtheme :focus-visible { outline: 3px solid var(--sm-saffron); outline-offset: 2px; border-radius: 4px; }
.smtheme button, .smtheme input, .smtheme select, .smtheme textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--sm-wrap) + 2 * var(--sm-gutter)); margin-inline: auto; padding-inline: var(--sm-gutter); }
.section { padding-block: clamp(56px, 7vw, 88px); }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
  background: var(--sm-night); color: var(--sm-white) !important; padding: 12px 18px; border-radius: var(--sm-radius-sm);
}
.skip-link:focus { top: 12px; }

.sm-icon { width: 20px; height: 20px; flex: none; }
.sm-khatam { flex: none; display: block; }

/* Arabic subtitles: isolated, slightly larger so the script reads at the same size as the Latin. */
.sm-ar {
  display: block;
  width: fit-content;
  max-width: 100%;
  text-align: start;
  font-family: var(--sm-font);
  font-weight: 400;
  font-size: 1.08em;
  line-height: 1.5;
  letter-spacing: 0;
  unicode-bidi: isolate;
}

.sm-muted { color: var(--sm-muted); }
.sm-notice { padding: 16px 20px; border-radius: var(--sm-radius-sm); background: var(--sm-sky); color: var(--sm-night); }

/* ---------- Buttons ---------- */

.smtheme .btn,
.smtheme .button.sm-whatsapp-button,
.smtheme .button.sm-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--sm-radius-sm);
  font-family: var(--sm-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.smtheme .sm-whatsapp-button { background: var(--sm-mint); color: var(--sm-white); }
.smtheme .sm-whatsapp-button:hover { background: var(--sm-mint-dark); color: var(--sm-white); }
.smtheme .sm-contact-button,
.smtheme .sm-btn-primary { background: var(--sm-blue); color: var(--sm-white); }
.smtheme .sm-contact-button:hover,
.smtheme .sm-btn-primary:hover { background: var(--sm-blue-dark); color: var(--sm-white); }
.smtheme .btn.sm-btn-saffron { background: var(--sm-saffron); color: var(--sm-night); }
.smtheme .btn.sm-btn-saffron:hover { background: var(--sm-saffron-dark); color: var(--sm-night); }
.smtheme .btn.sm-btn-ghost { background: transparent; border-color: var(--sm-white); color: var(--sm-white); }
.smtheme .btn.sm-btn-ghost:hover { background: var(--sm-white); color: var(--sm-blue); }

.sm-text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.sm-text-link .sm-icon { width: 18px; height: 18px; }
[dir="rtl"] .sm-text-link .sm-icon { transform: scaleX(-1); }

/* ---------- Top bar and header ---------- */

.sm-topbar { background: var(--sm-blue); color: var(--sm-white); font-size: 14px; }
.sm-topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 42px; padding-block: 8px; }
.sm-topbar-item { display: inline-flex; align-items: center; gap: 8px; color: var(--sm-white); }
.sm-topbar-item .sm-icon { width: 18px; height: 18px; }
.smtheme a.sm-topbar-item { color: var(--sm-white); text-decoration: none; }
.smtheme a.sm-topbar-channel { color: var(--sm-saffron); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-inline-start: auto; }
.smtheme a.sm-topbar-channel:hover { color: var(--sm-white); }

.sm-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 40;
  background: var(--sm-white);
  border-bottom: 1px solid var(--sm-line);
}
.sm-header-inner { position: relative; display: flex; align-items: center; gap: 16px 32px; min-height: 76px; padding-block: 10px; }
.sm-brand-wrap { flex: none; }
.sm-brand { display: flex; align-items: center; gap: 12px; color: var(--sm-night) !important; text-decoration: none; }
.sm-brand-words { display: flex; flex-direction: column; gap: 2px; }
.sm-brand-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.sm-brand-ar { font-size: 14px; color: var(--sm-muted); line-height: 1.3; }
.custom-logo-link img { display: block; max-height: 56px; width: auto; }

.sm-primary-nav { flex: 1; display: flex; justify-content: center; }
.sm-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.sm-menu li { position: relative; }
.sm-menu a { display: block; padding-block: 10px; color: var(--sm-night); font-weight: 500; text-decoration: none; }
.sm-menu a:hover { color: var(--sm-blue); }
.sm-menu .current-menu-item > a,
.sm-menu .current_page_item > a,
.sm-menu .current-menu-ancestor > a { color: var(--sm-blue); box-shadow: inset 0 -3px 0 var(--sm-saffron); }
.sm-menu .sub-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; inset-inline-start: -12px; min-width: 220px;
  background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: var(--sm-radius-sm);
  display: none; z-index: 5;
}
.sm-menu li:hover > .sub-menu, .sm-menu li:focus-within > .sub-menu { display: block; }
.sm-menu .sub-menu a { padding: 8px 12px; border-radius: 8px; }
.sm-menu .sub-menu a:hover { background: var(--sm-sky); }

.sm-header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.sm-icon-btn {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); background: var(--sm-white); color: var(--sm-night);
  cursor: pointer; list-style: none;
}
.sm-icon-btn::-webkit-details-marker { display: none; }
.sm-icon-btn:hover { border-color: var(--sm-lavender); color: var(--sm-blue); }
.sm-header-search { position: relative; }
.sm-header-search > summary { list-style: none; }
.sm-search-dropdown {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: min(360px, calc(100vw - 32px));
  padding: 12px; background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: var(--sm-radius);
  box-shadow: 0 18px 40px rgba(20, 26, 68, .12);
}
.smtheme .btn.sm-header-cta { min-height: 46px; padding-inline: 18px; }
.sm-menu-toggle { display: none; }

.sm-search-form { display: flex; align-items: stretch; border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); background: var(--sm-white); overflow: hidden; }
.sm-search-form:focus-within { border-color: var(--sm-blue); }
.sm-search-form input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 14px; font-size: 16px; background: transparent; }
.sm-search-form button { border: 0; background: var(--sm-blue); color: var(--sm-white); width: 50px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sm-search-form button:hover { background: var(--sm-blue-dark); }

@media (max-width: 1000px) {
  .sm-menu-toggle { display: inline-flex; }
  .sm-js .sm-primary-nav { display: none; }
  .sm-js .sm-primary-nav.is-open {
    display: block; position: absolute; top: 100%; inset-inline: 0; z-index: 30;
    background: var(--sm-white); border-bottom: 1px solid var(--sm-line); padding: 8px var(--sm-gutter) 20px;
    box-shadow: 0 18px 30px rgba(20, 26, 68, .08);
  }
  .sm-primary-nav .sm-menu { flex-direction: column; gap: 0; }
  .sm-primary-nav .sm-menu a { padding-block: 14px; border-bottom: 1px solid var(--sm-line); font-size: 17px; }
  .sm-menu .current-menu-item > a, .sm-menu .current_page_item > a { box-shadow: none; }
  .sm-menu .sub-menu { position: static; display: block; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .sm-header-inner { min-height: 68px; }
}
@media (max-width: 600px) {
  .sm-topbar-inner { justify-content: center; text-align: center; }
  .sm-topbar-item:first-child:not(:only-child) { display: none; }
  .smtheme a.sm-topbar-channel { margin-inline-start: 0; }
  .sm-brand .sm-khatam { width: 38px; height: 38px; }
  .sm-brand-name { font-size: 16px; }
  .sm-brand-ar { font-size: 12px; }
  .smtheme .btn.sm-header-cta span { display: none; }
  .smtheme .btn.sm-header-cta { width: 46px; padding: 0; }
  .sm-header-inner { gap: 10px; }
}

/* ---------- Homepage: hero ---------- */

.sm-hero { background: var(--sm-blue); color: var(--sm-white); overflow: hidden; }
.sm-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center;
  gap: 40px 56px; padding-block: clamp(48px, 7vw, 88px);
}
.sm-hero h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.sm-hero-ar { margin-top: 22px; font-size: clamp(18px, 1.6vw, 22px); color: var(--sm-lavender); }
.sm-hero-text { margin-top: 14px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: #E3E6FA; max-width: 54ch; }
.sm-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.sm-hero-actions .btn { min-height: 56px; padding-inline: 26px; font-size: 17px; }

.sm-hero-visual { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sm-hero-star {
  width: min(100%, 460px); aspect-ratio: 1 / 1; background: var(--sm-white); clip-path: var(--sm-star);
  display: flex; align-items: center; justify-content: center;
}
.sm-hero-star .sm-hero-img { width: 60%; height: 60%; object-fit: contain; }
.sm-hero-star.is-photo .sm-hero-img { width: 100%; height: 100%; object-fit: cover; }
.sm-hero-caption a {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px;
  padding: 10px 18px; border-radius: 999px; background: var(--sm-night); color: var(--sm-white); text-decoration: none; font-size: 15px;
}
.sm-hero-caption a:hover { background: #0B1033; color: var(--sm-white); }
.sm-hero-caption-price { color: var(--sm-saffron); font-weight: 600; }

@media (max-width: 900px) {
  .sm-hero-grid { grid-template-columns: 1fr; }
  .sm-hero-star { width: min(78vw, 340px); }
}
@media (max-width: 600px) {
  .sm-hero-actions .btn { flex: 1 1 100%; }
  .sm-ar { font-size: 1em; }
  .sm-hero-ar { font-size: 18px; }
  .sm-section-head .sm-ar, .sm-cta-copy .sm-ar, .sm-channel--home .sm-ar { font-size: 17px; }
  .sm-hide-sm { display: none; }
}

/* ---------- Homepage: cities band ---------- */

.sm-cities { background: var(--sm-saffron); color: var(--sm-night); }
.sm-cities-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 20px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 500; }
.sm-cities-lead { font-weight: 600; }
.sm-cities ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.sm-cities li { display: inline-flex; align-items: center; gap: 16px; }
.sm-cities li:not(:last-child)::after { content: ""; width: 12px; height: 12px; background: var(--sm-khatam-night) center / contain no-repeat; }
@media (max-width: 600px) {
  .sm-cities-inner { font-size: 15px; gap: 6px 10px; padding-block: 16px; }
  .sm-cities ul { gap: 4px 10px; }
  .sm-cities li { gap: 10px; }
  .sm-cities li:not(:last-child)::after { width: 9px; height: 9px; }
}

/* ---------- Section heads ---------- */

.sm-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.sm-section-head h2 { font-size: clamp(28px, 3.2vw, 42px); }
.sm-section-head .sm-ar { margin-top: 8px; font-size: 19px; color: var(--sm-muted); }

/* ---------- Homepage: categories ---------- */

.sm-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.smtheme .sm-category-tile {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; min-height: 104px;
  border-radius: var(--sm-radius); background: var(--sm-sky); color: var(--sm-night); text-decoration: none;
  border: 1.5px solid transparent;
}
.smtheme .sm-category-tile:hover { border-color: var(--sm-lavender); color: var(--sm-night); }
.sm-category-icon { width: 58px; height: 58px; flex: none; border-radius: var(--sm-radius-sm); background: var(--sm-white); color: var(--sm-blue); display: flex; align-items: center; justify-content: center; }
.sm-category-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-category-name { font-size: 18px; font-weight: 600; line-height: 1.25; }
.sm-category-words .sm-ar { font-size: 15px; color: var(--sm-muted); }
.sm-category-count { font-size: 13px; color: var(--sm-muted); }
.smtheme .sm-category-tile.is-guides { background: var(--sm-blue); color: var(--sm-white); }
.smtheme .sm-category-tile.is-guides:hover { background: var(--sm-blue-dark); color: var(--sm-white); }
.sm-category-tile.is-guides .sm-category-icon { background: var(--sm-night); }
.sm-category-tile.is-guides .sm-ar,
.sm-category-tile.is-guides .sm-category-count { color: var(--sm-lavender); }

.sm-products-section { padding-top: 0; }

/* ---------- Wholesale WhatsApp channel ---------- */

.sm-channel-section { padding-top: 0; }
.sm-channel--home {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px 44px;
  padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; background: var(--sm-mint); color: var(--sm-white);
}
.sm-channel-badge {
  width: 170px; aspect-ratio: 1 / 1; clip-path: var(--sm-star); background: var(--sm-saffron); color: var(--sm-night);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1;
}
.sm-channel-badge-value { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.sm-channel-badge-label { margin-top: 6px; font-size: 14px; font-weight: 600; }
.sm-channel--home .sm-channel-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.sm-channel--home .sm-ar { margin-top: 10px; font-size: 19px; color: var(--sm-white); }
.sm-channel--home .sm-channel-text { margin-top: 12px; font-size: 17px; line-height: 1.6; max-width: 58ch; }
.sm-channel-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.sm-channel-points li { display: inline-flex; align-items: center; gap: 8px; }
.sm-channel-points .sm-icon { color: var(--sm-saffron); }
.smtheme .sm-channel--home .btn.sm-channel-button { background: var(--sm-white); color: var(--sm-mint-dark); min-height: 58px; padding-inline: 26px; font-size: 17px; }
.smtheme .sm-channel--home .btn.sm-channel-button:hover { background: var(--sm-saffron); color: var(--sm-night); }

.sm-channel--product {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 16px;
  margin-top: 16px; padding: 16px; border-radius: var(--sm-radius); background: var(--sm-mint-soft); color: var(--sm-night);
}
.sm-channel--product .sm-channel-badge { width: 76px; }
.sm-channel--product .sm-channel-badge-value { font-size: 17px; }
.sm-channel--product .sm-channel-badge-label { display: none; }
.sm-channel--product .sm-channel-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sm-channel--product .sm-channel-text { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--sm-night); }
.smtheme .sm-channel--product .btn.sm-channel-button {
  grid-column: 1 / -1; min-height: 46px; width: 100%; background: var(--sm-white); color: var(--sm-mint-dark); border-color: var(--sm-mint);
}
.smtheme .sm-channel--product .btn.sm-channel-button:hover { background: var(--sm-mint); color: var(--sm-white); }

@media (max-width: 900px) {
  .sm-channel--home { grid-template-columns: 1fr; justify-items: start; }
  .sm-channel--home .sm-channel-badge { width: 130px; }
  .sm-channel--home .sm-channel-badge-value { font-size: 30px; }
  .smtheme .sm-channel--home .btn.sm-channel-button { width: 100%; }
}

/* ---------- Promises ---------- */

.sm-promises { border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); }
.sm-promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 48px; padding-block: 56px; }
.sm-promise { display: flex; flex-direction: column; gap: 10px; }
.sm-promise .sm-promise-title { font-size: 20px; }
.sm-promise p { color: var(--sm-muted); font-size: 16px; line-height: 1.6; }

/* ---------- WhatsApp call-to-action panel ---------- */

.sm-cta-band { padding-block: 0 clamp(56px, 7vw, 88px); }
.sm-cta-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--sm-sky);
}
.sm-cta-copy { flex: 1 1 420px; min-width: 0; }
.sm-cta-copy h2 { font-size: clamp(24px, 2.6vw, 34px); }
.sm-cta-copy .sm-ar { margin-top: 10px; font-size: 19px; color: var(--sm-blue); }
.sm-cta-copy p:not(.sm-ar) { margin-top: 12px; color: #3A4066; font-size: 17px; line-height: 1.6; max-width: 60ch; }
.sm-cta-panel.is-large { padding: clamp(28px, 5vw, 64px); }
.sm-project-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sm-project-actions .btn { min-height: 56px; padding-inline: 26px; font-size: 17px; }
.sm-project-actions .sm-text-link { font-size: 15px; }

/* ---------- Guides ---------- */

.sm-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.sm-guide-card { display: flex; flex-direction: column; border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius); overflow: hidden; background: var(--sm-white); }
.sm-guide-cover { display: block; aspect-ratio: 16 / 10; background: var(--sm-sky); }
.sm-guide-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sm-guide-cover-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.sm-guide-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.sm-guide-body time { font-size: 13px; color: var(--sm-muted); }
.sm-guide-title { font-size: 19px; line-height: 1.3; }
.smtheme .sm-guide-title a { color: var(--sm-night); text-decoration: none; }
.smtheme .sm-guide-title a:hover { color: var(--sm-blue); text-decoration: underline; }
.sm-guide-body p { font-size: 15px; line-height: 1.6; color: var(--sm-muted); }

/* ---------- Homepage FAQ (page content) and long-form text ---------- */

.sm-front-content { padding-top: 0; }
.sm-prose { max-width: 780px; font-size: 17px; line-height: 1.75; }
.sm-prose > * + * { margin-top: 1.1em; }
.sm-prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 1.8em; }
.sm-prose h3 { font-size: 21px; margin-top: 1.6em; }
.sm-prose h2 + *, .sm-prose h3 + * { margin-top: .6em; }
.sm-prose > :first-child { margin-top: 0; }
.sm-prose ul, .sm-prose ol { padding-inline-start: 1.3em; }
.sm-prose li + li { margin-top: .4em; }
.sm-prose a { text-decoration: underline; text-underline-offset: 3px; }
.sm-prose img, .sm-prose figure img { border-radius: var(--sm-radius-sm); }
.sm-prose figure { margin-inline: 0; }
.sm-prose blockquote { margin-inline: 0; padding: 20px 24px; background: var(--sm-sky); border-radius: var(--sm-radius); }
.sm-prose table, .smtheme .woocommerce-Tabs-panel table {
  width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5;
  border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); overflow: hidden; display: table;
}
.sm-prose th, .sm-prose td,
.smtheme .woocommerce-Tabs-panel th, .smtheme .woocommerce-Tabs-panel td {
  padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--sm-line);
}
.sm-prose th, .smtheme .woocommerce-Tabs-panel th { width: 38%; background: var(--sm-sky); font-weight: 600; }
.sm-prose tr:last-child th, .sm-prose tr:last-child td,
.smtheme .woocommerce-Tabs-panel tr:last-child th, .smtheme .woocommerce-Tabs-panel tr:last-child td { border-bottom: 0; }

.sm-faq { max-width: 860px; }
.sm-faq h2 { margin-top: 0; }
.sm-faq h3 { margin-top: 28px; padding-top: 24px; border-top: 1.5px solid var(--sm-line); font-size: 19px; }
.sm-faq p { color: #3A4066; }

/* ---------- Inner pages ---------- */

.sm-page-intro { background: var(--sm-sky); padding-block: clamp(40px, 5vw, 64px); }
.sm-page-intro h1 { font-size: clamp(30px, 3.6vw, 48px); max-width: 24ch; }
.sm-page-intro .sm-ar { margin-top: 10px; font-size: 20px; color: var(--sm-blue); }
.sm-intro-text { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #3A4066; max-width: 62ch; }
.sm-intro-text p + p { margin-top: .6em; }
.sm-intro-search { margin-top: 24px; max-width: 520px; }
.sm-page-intro .btn { margin-top: 24px; }
.sm-page-content { display: block; }
.sm-empty { padding: 40px; border-radius: var(--sm-radius); background: var(--sm-sky); display: flex; flex-direction: column; gap: 12px; }
.sm-empty h2 { font-size: 26px; }
.sm-empty .sm-project-actions { flex-direction: row; flex-wrap: wrap; margin-top: 8px; }

.sm-breadcrumb { font-size: 14px; margin-bottom: 14px; }
.sm-breadcrumb a { color: var(--sm-blue); }
.sm-post-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--sm-muted); }
.sm-article-wrap { max-width: calc(860px + 2 * var(--sm-gutter)); }
.sm-article-image { margin: 0 0 40px; }
.sm-article-image img { display: block; width: 100%; border-radius: var(--sm-radius); }
.smtheme .post-navigation { margin-top: 56px; padding-top: 32px; border-top: 1.5px solid var(--sm-line); }
.smtheme .post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.smtheme .post-navigation a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--sm-radius); background: var(--sm-sky); color: var(--sm-night); text-decoration: none; font-weight: 600; line-height: 1.35; }
.smtheme .post-navigation a:hover { color: var(--sm-blue); }
.sm-nav-label { font-size: 13px; font-weight: 400; color: var(--sm-muted); }
.smtheme .post-navigation .nav-next { text-align: end; }

.sm-page-links { margin-top: 24px; display: flex; gap: 8px; }
.sm-comments { margin-top: 56px; max-width: 780px; }
.sm-comments h2, .sm-comments .comment-reply-title { font-size: 22px; margin-bottom: 16px; }
.sm-comment-list { padding-inline-start: 0; list-style: none; }
.smtheme .comment-form label { display: block; font-weight: 500; margin-bottom: 6px; }
.smtheme .comment-form input[type="text"], .smtheme .comment-form input[type="email"], .smtheme .comment-form input[type="url"], .smtheme .comment-form textarea,
.smtheme #review_form textarea, .smtheme #review_form input[type="text"], .smtheme #review_form input[type="email"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); background: var(--sm-white); font-size: 16px;
}
.smtheme .comment-form .submit, .smtheme #review_form #respond input#submit {
  min-height: 48px; padding: 10px 22px; border: 0; border-radius: var(--sm-radius-sm); background: var(--sm-blue); color: var(--sm-white); font-weight: 600; cursor: pointer;
}

.smtheme .pagination, .smtheme nav.woocommerce-pagination { margin-top: 40px; }
.smtheme .pagination .nav-links, .smtheme nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0 !important; margin: 0; padding: 0; list-style: none; }
.smtheme nav.woocommerce-pagination ul li { border: 0 !important; margin: 0; }
.smtheme .pagination .page-numbers, .smtheme nav.woocommerce-pagination ul li .page-numbers {
  min-width: 46px; min-height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); color: var(--sm-night); text-decoration: none; font-weight: 600; background: var(--sm-white);
}
.smtheme .pagination .page-numbers.current, .smtheme nav.woocommerce-pagination ul li span.current { background: var(--sm-night); border-color: var(--sm-night); color: var(--sm-white); }
.smtheme .pagination a.page-numbers:hover, .smtheme nav.woocommerce-pagination ul li a:hover { border-color: var(--sm-blue); color: var(--sm-blue); background: var(--sm-white); }

/* ---------- Contact page ---------- */

.sm-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: start; }
.sm-contact-cards { display: flex; flex-direction: column; gap: 12px; }
.sm-contact-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: var(--sm-radius);
  border: 1.5px solid var(--sm-line); color: var(--sm-night); text-decoration: none; background: var(--sm-white);
}
.sm-contact-card .sm-icon { width: 26px; height: 26px; color: var(--sm-blue); margin-top: 2px; }
.sm-contact-card span { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.sm-contact-card strong { font-weight: 600; font-size: 17px; }
.smtheme a.sm-contact-card:hover { border-color: var(--sm-lavender); color: var(--sm-night); }
.smtheme a.sm-contact-card.is-whatsapp { background: var(--sm-mint); border-color: var(--sm-mint); color: var(--sm-white); }
.sm-contact-card.is-whatsapp .sm-icon { color: var(--sm-white); }
.smtheme a.sm-contact-card.is-whatsapp:hover { background: var(--sm-mint-dark); color: var(--sm-white); }
@media (max-width: 860px) { .sm-contact-layout { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.sm-footer { background: var(--sm-night); color: var(--sm-white); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: 15px; }
.sm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.sm-footer-brand { display: flex; flex-direction: column; gap: 16px; }
.sm-footer .sm-brand { color: var(--sm-white) !important; }
.sm-footer .sm-brand-ar { color: var(--sm-lavender); }
.sm-footer-brand p { color: var(--sm-lavender); line-height: 1.6; max-width: 34ch; }
.sm-footer-col h2 { font-size: 16px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.sm-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-footer-menu + .sm-footer-menu { margin-top: 10px; }
.smtheme .sm-footer a { color: var(--sm-white); text-decoration: none; }
.smtheme .sm-footer a:hover { color: var(--sm-saffron); text-decoration: underline; }
.sm-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sm-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--sm-white); }
.sm-contact-list .sm-icon { color: var(--sm-saffron); margin-top: 2px; }
.sm-footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #2B3266; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--sm-lavender); font-size: 14px; }
.smtheme .sm-footer-bottom a { color: var(--sm-lavender); }
@media (max-width: 900px) { .sm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sm-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sm-footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   WooCommerce — catalogue
   ========================================================== */

.sm-commerce-content { padding-block: 28px clamp(56px, 7vw, 88px); }
.smtheme .woocommerce-breadcrumb { margin: 0 0 24px; font-size: 14px; color: var(--sm-muted); }
.smtheme .woocommerce-breadcrumb a { color: var(--sm-blue); }
.smtheme .woocommerce-products-header { margin-bottom: 24px; }
.smtheme .woocommerce-products-header__title.page-title { font-size: clamp(30px, 3.6vw, 46px); }
.sm-archive-ar { margin-top: 8px; font-size: 20px; color: var(--sm-blue); }
.smtheme .term-description, .smtheme .page-description { margin-top: 12px; max-width: 70ch; color: #3A4066; font-size: 17px; line-height: 1.65; }
.smtheme .term-description p + p { margin-top: .6em; }

.sm-catalogue-nav { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.smtheme .sm-catalogue-nav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; background: var(--sm-sky); color: var(--sm-night); text-decoration: none; font-weight: 500; font-size: 15px;
}
.smtheme .sm-catalogue-nav a:hover { background: var(--sm-line); color: var(--sm-night); }
.smtheme .sm-catalogue-nav a[aria-current="page"] { background: var(--sm-night); color: var(--sm-white); }
.sm-count { font-size: 13px; opacity: .75; }

.smtheme .woocommerce-result-count { float: left; margin: 10px 0 18px; font-size: 14px; color: var(--sm-muted); }
.smtheme .woocommerce-ordering { float: right; margin: 0 0 18px; }
[dir="rtl"] .smtheme .woocommerce-result-count { float: right; }
[dir="rtl"] .smtheme .woocommerce-ordering { float: left; }
.smtheme .woocommerce-ordering select, .smtheme .sm-inquiry-field select {
  min-height: 46px; padding: 8px 40px 8px 14px; border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); background-color: var(--sm-white); font-size: 15px;
}

body.smtheme ul.products {
  clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
body.smtheme ul.products::before, body.smtheme ul.products::after { display: none; }
body.smtheme ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.smtheme ul.products li.product {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 16px !important;
  border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius); background: var(--sm-white); overflow: hidden; text-align: start;
}
body.smtheme ul.products li.product:hover { border-color: var(--sm-lavender); }
body.smtheme ul.products li.product .woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1; color: var(--sm-night); text-decoration: none; }
body.smtheme ul.products li.product a img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block;
  margin: 0 !important; padding: 14px; background: var(--sm-white); border-bottom: 1.5px solid var(--sm-line); box-shadow: none;
}
body.smtheme .sm-product-category { display: block; padding: 14px 16px 0; font-size: 13px; color: var(--sm-muted); }
body.smtheme ul.products li.product .woocommerce-loop-product__title {
  padding: 4px 16px 10px; margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--sm-night);
}
body.smtheme ul.products li.product .price {
  display: block; margin: auto 0 0; padding: 0 16px; color: var(--sm-night); font-size: 19px; font-weight: 600; line-height: 1.3;
}
body.smtheme ul.products li.product .price del { font-size: 14px; font-weight: 400; color: var(--sm-muted); opacity: 1; margin-inline-end: 6px; }
body.smtheme ul.products li.product .price ins { text-decoration: none; }
body.smtheme ul.products li.product .star-rating { margin: 0 16px 8px; font-size: 13px; }
.sm-price-on-request { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--sm-saffron); color: var(--sm-night); font-size: 14px; font-weight: 600; line-height: 1.4; }
body.smtheme ul.products li.product .price .sm-price-on-request { font-size: 14px; }
body.smtheme .sm-catalogue-actions { padding: 14px 16px 0; }
body.smtheme ul.products li.product .sm-catalogue-actions .button { display: flex; width: 100%; min-height: 46px; margin: 0; padding: 8px 12px; font-size: 15px; white-space: normal; }
body.smtheme ul.products li.product .sm-catalogue-actions .button .sm-icon { width: 18px; height: 18px; }
body.smtheme ul.products li.product .sm-catalogue-actions .button.sm-whatsapp-button { background: var(--sm-mint); color: var(--sm-white); }
body.smtheme ul.products li.product .sm-catalogue-actions .button.sm-whatsapp-button:hover { background: var(--sm-mint-dark); }
body.smtheme ul.products li.product .sm-catalogue-actions .button.sm-contact-button { background: var(--sm-sky); color: var(--sm-blue); }
body.smtheme ul.products li.product .sm-catalogue-actions .button.sm-contact-button:hover { background: var(--sm-line); }
body.smtheme span.onsale, body.smtheme ul.products li.product .onsale {
  top: 12px; inset-inline-start: 12px; right: auto; margin: 0; min-width: 0; min-height: 0; padding: 4px 10px;
  border-radius: 8px; background: var(--sm-saffron); color: var(--sm-night); font-size: 13px; font-weight: 600; line-height: 1.4;
}

@media (max-width: 1100px) { body.smtheme ul.products, body.smtheme ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  body.smtheme ul.products, body.smtheme ul.products.columns-4, body.smtheme ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.smtheme ul.products li.product a img { padding: 8px; }
  body.smtheme ul.products li.product .woocommerce-loop-product__title { font-size: 14px; padding-inline: 12px; }
  body.smtheme .sm-product-category { padding-inline: 12px; font-size: 12px; }
  body.smtheme ul.products li.product .price { padding-inline: 12px; font-size: 16px; }
  body.smtheme .sm-catalogue-actions { padding-inline: 12px; }
  body.smtheme ul.products li.product .sm-catalogue-actions .button { font-size: 13px; padding: 8px; min-height: 44px; gap: 6px; }
  .smtheme .woocommerce-result-count { float: none; margin-bottom: 8px; }
  .smtheme .woocommerce-ordering { float: none; }
}

.smtheme .woocommerce-info, .smtheme .woocommerce-message, .smtheme .woocommerce-error { border-top-color: var(--sm-blue); background: var(--sm-sky); color: var(--sm-night); border-radius: var(--sm-radius-sm); }
.smtheme .woocommerce-info::before, .smtheme .woocommerce-message::before { color: var(--sm-blue); }

/* ==========================================================
   WooCommerce — product page
   ========================================================== */

body.smtheme.single-product div.product {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px clamp(32px, 4.5vw, 64px); align-items: start;
}
body.smtheme.single-product div.product::before, body.smtheme.single-product div.product::after { display: none; }
body.smtheme.single-product div.product > * { grid-column: 1 / -1; min-width: 0; }
body.smtheme.single-product div.product > .woocommerce-product-gallery { grid-column: 1; }
body.smtheme.single-product div.product > .summary { grid-column: 2; }
body.smtheme.single-product div.product > span.onsale { position: absolute; z-index: 3; }

body.smtheme div.product div.images,
body.smtheme div.product .woocommerce-product-gallery { width: 100%; float: none; margin: 0; }
body.smtheme div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.smtheme div.product .woocommerce-product-gallery .flex-viewport,
body.smtheme div.product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius); background: var(--sm-white); overflow: hidden;
}
body.smtheme div.product div.images img { display: block; width: 100%; height: auto; }
body.smtheme div.product div.images .flex-control-thumbs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0;
}
body.smtheme div.product div.images .flex-control-thumbs::before, body.smtheme div.product div.images .flex-control-thumbs::after { display: none; }
body.smtheme div.product div.images .flex-control-thumbs li { width: auto; float: none; margin: 0; }
body.smtheme div.product div.images .flex-control-thumbs li img {
  border: 1.5px solid var(--sm-line); border-radius: 10px; opacity: .6; aspect-ratio: 1 / 1; object-fit: contain; background: var(--sm-white);
}
body.smtheme div.product div.images .flex-control-thumbs li img.flex-active,
body.smtheme div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--sm-blue); }
body.smtheme div.product .woocommerce-product-gallery__trigger {
  top: 12px; inset-inline-end: 12px; right: auto; width: 44px; height: 44px; border-radius: var(--sm-radius-sm); background: var(--sm-white); border: 1.5px solid var(--sm-line);
}
[dir="ltr"] body.smtheme div.product .woocommerce-product-gallery__trigger, :root:not([dir="rtl"]) body.smtheme div.product .woocommerce-product-gallery__trigger { right: 12px; left: auto; }

body.smtheme div.product .summary { margin: 0; }
.sm-single-category { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; font-size: 15px; }
.smtheme .sm-single-category a { font-weight: 600; text-decoration: none; }
.sm-single-category .sm-ar { display: inline; font-size: 15px; color: var(--sm-muted); }
body.smtheme div.product .product_title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.025em; }
body.smtheme div.product p.price, body.smtheme div.product span.price { color: var(--sm-night); font-size: 30px; font-weight: 600; line-height: 1.2; margin: 0 0 20px; }
body.smtheme div.product p.price .sm-price-on-request { font-size: 16px; padding: 6px 12px; }
body.smtheme div.product .woocommerce-product-details__short-description { margin: 0 0 24px; color: #3A4066; font-size: 16px; line-height: 1.6; }
body.smtheme div.product .woocommerce-product-details__short-description ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
body.smtheme div.product .woocommerce-product-details__short-description li { padding-inline-start: 30px; background: var(--sm-check) left 2px / 20px no-repeat; }
[dir="rtl"] body.smtheme div.product .woocommerce-product-details__short-description li { background-position: right 2px; }

.sm-product-inquiry { padding: 20px; border-radius: var(--sm-radius); background: var(--sm-sky); scroll-margin-top: 120px; }
.sm-product-inquiry form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.sm-inquiry-field { margin: 0; display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; }
.sm-inquiry-field label { font-size: 14px; font-weight: 600; }
.sm-inquiry-field input[type="number"] {
  width: 120px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--sm-line); border-radius: var(--sm-radius-sm); background: var(--sm-white); font-size: 17px;
}
.sm-inquiry-field:has(input[type="number"]) { flex: 0 0 auto; }
.sm-inquiry-field select { width: 100%; }
.sm-inquiry-actions { flex: 1 1 220px; display: flex; }
.smtheme .sm-inquiry-actions .btn { flex: 1; min-height: 52px; font-size: 17px; }
.sm-inquiry-error { margin-bottom: 12px; padding: 12px 14px; border-radius: var(--sm-radius-sm); background: #FFF1E8; color: #7A2E0B; font-size: 15px; }
.sm-reassure { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #3A4066; }
.sm-reassure li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.sm-reassure .sm-icon { color: var(--sm-blue); }

body.smtheme div.product .product_meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sm-line); font-size: 14px; color: var(--sm-muted); display: flex; flex-direction: column; gap: 4px; }

body.smtheme div.product .woocommerce-tabs { margin-top: 24px; padding-top: 0; }
body.smtheme div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; overflow: visible; }
body.smtheme div.product .woocommerce-tabs ul.tabs::before, body.smtheme div.product .woocommerce-tabs ul.tabs::after { display: none; }
body.smtheme div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; }
body.smtheme div.product .woocommerce-tabs ul.tabs li::before, body.smtheme div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.smtheme div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border-radius: 999px; background: var(--sm-sky); color: var(--sm-night); font-weight: 600; text-decoration: none;
}
body.smtheme div.product .woocommerce-tabs ul.tabs li.active a { background: var(--sm-night); color: var(--sm-white); }
body.smtheme div.product .woocommerce-tabs .panel { margin: 0; max-width: 860px; font-size: 17px; line-height: 1.75; }
body.smtheme div.product .woocommerce-tabs .panel > * + * { margin-top: 1.1em; }
body.smtheme div.product .woocommerce-tabs .panel h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.8em; }
body.smtheme div.product .woocommerce-tabs .panel h3 { font-size: 19px; margin-top: 1.4em; }
body.smtheme div.product .woocommerce-tabs .panel h2 + *, body.smtheme div.product .woocommerce-tabs .panel h3 + * { margin-top: .6em; }
body.smtheme div.product .woocommerce-tabs .panel ul { padding-inline-start: 1.3em; }
body.smtheme div.product .woocommerce-tabs .panel li + li { margin-top: .4em; }
body.smtheme div.product .woocommerce-tabs .panel img { border-radius: var(--sm-radius-sm); }
.smtheme .woocommerce-Tabs-panel table.shop_attributes { border: 1.5px solid var(--sm-line); }
.smtheme .woocommerce-Tabs-panel table.shop_attributes th, .smtheme .woocommerce-Tabs-panel table.shop_attributes td { font-style: normal; padding: 12px 16px; border-top: 0; }
.smtheme .woocommerce-Tabs-panel table.shop_attributes td p { margin: 0; padding: 0; }
.smtheme #reviews #comments h2 { font-size: 22px; }

body.smtheme div.product .related, body.smtheme div.product .upsells { margin-top: 32px; padding-top: 40px; border-top: 1.5px solid var(--sm-line); }
body.smtheme div.product .related > h2, body.smtheme div.product .upsells > h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 24px; }

.sm-sticky-cta { display: none; }

@media (max-width: 900px) {
  body.smtheme.single-product div.product { grid-template-columns: 1fr; }
  body.smtheme.single-product div.product > .woocommerce-product-gallery,
  body.smtheme.single-product div.product > .summary { grid-column: 1; }
}
@media (max-width: 760px) {
  body.smtheme.smtheme-has-sticky-cta { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sm-sticky-cta {
    position: fixed; z-index: 45; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--sm-white); border-top: 1px solid var(--sm-line);
    box-shadow: 0 -10px 30px rgba(20, 26, 68, .08);
  }
  .sm-sticky-cta-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .sm-sticky-cta-name { font-size: 13px; color: var(--sm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-sticky-cta-price { font-size: 17px; font-weight: 600; }
  .sm-sticky-cta-price .sm-price-on-request { font-size: 13px; padding: 2px 8px; }
  .smtheme .sm-sticky-cta .btn { min-height: 50px; flex: none; }
  body.smtheme div.product p.price { font-size: 26px; }
  .sm-product-inquiry { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
