/* ============================================================
   Club Tino — custom styles (Bootstrap 5 + vanilla JS)
   ============================================================ */
:root {
  --ct-black: #111;
  --ct-white: #fff;
  --ct-gray: #f5f2ef;
  --ct-gray-2: #ece8e3;
  --ct-line: #e2deda;
  --ct-muted: #6f6a64;
  --ct-font: "Space Mono", "Courier New", monospace;
}

* { border-radius: 0 !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ct-font);
  color: var(--ct-black);
  background: var(--ct-white);
  font-size: 14px;
  line-height: 1.6;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ct-black); text-decoration: none; }
a:hover { color: var(--ct-muted); }

h1, h2, h3, h4, h5, h6 { font-family: var(--ct-font); font-weight: 700; text-transform: lowercase; }

::selection { background: var(--ct-black); color: var(--ct-white); }

/* ---------- buttons ---------- */
.btn-ct {
  display: inline-block;
  background: var(--ct-black);
  color: var(--ct-white);
  border: 1px solid var(--ct-black);
  padding: 10px 34px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: lowercase;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-ct:hover { background: transparent; color: var(--ct-black); }

.btn-ct-outline {
  display: inline-block;
  background: transparent;
  color: var(--ct-white);
  border: 1px solid var(--ct-white);
  padding: 10px 34px;
  font-size: 13px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.btn-ct-outline:hover { background: var(--ct-white); color: var(--ct-black); }

/* ---------- header ---------- */
.ct-header {
  border-bottom: 1px solid var(--ct-line);
  background: var(--ct-white);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.ct-header .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
}
.ct-nav { display: flex; gap: 26px; align-items: center; }
.ct-nav > .nav-item > a,
.ct-nav > a,
.ct-nav .drop-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 22px 0;
  display: inline-block;
}
.ct-logo { display: inline-flex; align-items: center; }
.ct-logo img { height: 26px; width: auto; }
.ct-icons { display: flex; gap: 18px; align-items: center; justify-content: flex-end; }
.ct-icons a, .ct-icons button {
  color: var(--ct-black);
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.ct-icons svg { width: 19px; height: 19px; }
.ct-badge {
  position: absolute;
  inset: 0;
  padding-top: 7px;
  background: none;
  color: var(--ct-black);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-currency { font-size: 14px; }

/* shop mega dropdown — full width from the page edge */
.ct-dropdown { position: static; }
.ct-dropdown .drop-label { cursor: pointer; }
.ct-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ct-white);
  border: 0;
  border-bottom: 1px solid var(--ct-line);
  padding: 30px 40px 34px;
  display: none;
  gap: 0;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  z-index: 1030;
  text-align: left;
}
.ct-dropdown:hover .ct-mega,
.ct-dropdown:focus-within .ct-mega { display: flex; }
.ct-mega > div { flex: 1 1 0; min-width: 158px; padding: 0 34px; border-left: 1px solid var(--ct-line); }
.ct-mega > div:first-child { padding-left: 0; border-left: 0; }
.ct-mega > div:last-child { padding-right: 0; }
.ct-mega h6 { font-size: 12px; margin: 0 0 10px; border-bottom: 1px solid var(--ct-line); padding-bottom: 8px; }
.ct-mega h6 + h6 { margin-top: 18px; }
.ct-mega h6 a { color: var(--ct-black); }
.ct-mega ul { list-style: none; margin: 0; padding: 0; }
.ct-mega li a { display: block; font-size: 13px; font-weight: 700; line-height: 1.5; padding: 4px 0; color: var(--ct-black); }
.ct-mega li a:hover { color: var(--ct-muted); }
.ct-mega li li a { padding-left: 14px; position: relative; }
.ct-mega li li a::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--ct-line); }

/* ---------- hero slider ---------- */
.ct-hero { position: relative; overflow: hidden; background: var(--ct-gray-2); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ct-hero.dragging { cursor: grabbing; }
.ct-hero img { -webkit-user-drag: none; }
.ct-hero .caption, .ct-hero .dots { cursor: auto; }
.ct-hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.ct-hero .slide.active { opacity: 1; position: relative; }
.ct-hero .slide img { width: 100%; height: min(42vw, 800px); min-height: 340px; object-fit: cover; display: block; }
.ct-hero .caption {
  position: absolute;
  left: 6%;
  bottom: 42px;
  max-width: 700px;
  color: var(--ct-white);
  text-align: left;
}
.ct-hero .caption h1 { font-size: 35px; line-height: 1.4; margin-bottom: 10px; }
.ct-hero .caption p { font-size: 18px; line-height: 28px; margin-bottom: 30px; }
.ct-hero .caption .btn-ct { text-shadow: none; }
.ct-hero .dots {
  position: absolute;
  right: 5%;
  bottom: 4%;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.ct-hero .dots button {
  width: 11px;
  height: 11px;
  border: 1px solid var(--ct-white);
  background: transparent;
  padding: 0;
}
.ct-hero .dots button.active { background: var(--ct-white); }

/* ---------- sections ---------- */
.ct-section { padding: 64px 0; }
.ct-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.ct-section-head h2 { font-size: 20px; margin: 0; }
.ct-arrows { display: flex; gap: 14px; }
.ct-arrows button {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--ct-black);
}
.ct-arrows button:hover { color: var(--ct-muted); }
.ct-arrows svg { width: 20px; height: 20px; }

/* ---------- product carousel / cards ---------- */
.ct-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 18px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.ct-carousel::-webkit-scrollbar { display: none; }
.ct-carousel > * { scroll-snap-align: start; }

.product-card { display: block; }
.product-card .thumb {
  position: relative;
  background: var(--ct-gray);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease;
}
.product-card .thumb .hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .thumb .hover-img { opacity: 1; }
.product-card .thumb .main-img { position: relative; z-index: 1; }
.product-card:hover .thumb .main-img { opacity: 0; }
.product-card h5 { font-size: 14px; margin: 14px 0 0; }

/* ---------- inspired banner ---------- */
.ct-banner { position: relative; overflow: hidden; }
.ct-banner img { width: 100%; height: min(52vh, 460px); object-fit: cover; display: block; }
.ct-banner .caption { position: absolute; left: 5%; bottom: 12%; color: var(--ct-white); }
.ct-banner .caption h2 { font-size: clamp(20px, 2.6vw, 30px); margin-bottom: 18px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* ---------- best products ---------- */
.best-card .thumb { background: var(--ct-gray); overflow: hidden; }
.best-card .thumb img { width: 100%; height: 340px; object-fit: cover; transition: transform .5s ease; }
.best-card:hover .thumb img { transform: scale(1.04); }
.best-card h5 { font-size: 15px; margin: 18px 0 8px; }
.best-card p { font-size: 12.5px; color: var(--ct-muted); margin: 0; }

/* ---------- footer ---------- */
.ct-footer { border-top: 1px solid var(--ct-line); padding: 56px 0 26px; margin-top: 40px; }
.ct-footer h4 { font-size: 17px; margin-bottom: 6px; }
.ct-footer .fine { font-size: 12px; color: var(--ct-muted); }
.ct-footer .fine a { color: var(--ct-muted); text-decoration: underline; }
.newsletter-form { display: flex; border-bottom: 1px solid var(--ct-black); max-width: 420px; margin-top: 22px; }
.newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 0;
  font-family: var(--ct-font);
  font-size: 13px;
  background: transparent;
  text-transform: lowercase;
}
.newsletter-form button { background: none; border: 0; padding: 0 6px; }
.newsletter-form button svg { width: 20px; height: 20px; }
.ct-footer .foot-links { list-style: none; margin: 0; padding: 0; }
.ct-footer .foot-links li a { display: block; font-size: 13px; font-weight: 700; padding: 3px 0; color: var(--ct-black); }
.ct-footer .foot-links li a:hover { color: var(--ct-muted); }
.ct-social { display: flex; gap: 16px; margin-top: 26px; }
.ct-social a svg { width: 17px; height: 17px; }
.ct-copy { font-size: 12px; color: var(--ct-muted); text-align: right; margin-top: 40px; }
.newsletter-msg { font-size: 12px; margin-top: 8px; color: var(--ct-muted); }

/* ---------- modals / offcanvas ---------- */
.modal-content, .offcanvas { font-family: var(--ct-font); text-transform: lowercase; }
.modal-title { font-size: 19px; }
.ct-modal-sub { font-size: 12.5px; color: var(--ct-muted); }
.ct-modal-sub-2 { font-size: 12px; color: var(--ct-muted); margin-bottom: 22px; }
.ct-input, .ct-select, .ct-textarea {
  width: 100%;
  border: 1px solid var(--ct-line);
  background: var(--ct-white);
  font-family: var(--ct-font);
  font-size: 13px;
  padding: 11px 14px;
  margin-bottom: 12px;
  outline: none;
  text-transform: lowercase;
}
.ct-input:focus, .ct-select:focus, .ct-textarea:focus { border-color: var(--ct-black); }
.ct-form-close { position: absolute; top: 14px; right: 16px; z-index: 5; }

.insider-img { object-fit: cover; width: 100%; height: 100%; min-height: 420px; }

/* cart offcanvas */
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ct-line); }
.cart-item img { width: 74px; height: 92px; object-fit: cover; background: var(--ct-gray); }
.cart-item h6 { font-size: 12.5px; margin-bottom: 4px; }
.cart-item p { font-size: 11.5px; color: var(--ct-muted); margin: 0; }
.cart-item .price { font-size: 12.5px; margin-top: 6px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; padding: 16px 0 4px; }
.cart-ship { font-size: 11.5px; color: var(--ct-muted); margin-bottom: 18px; }

/* quickview */
.qv-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ct-black); color: var(--ct-white);
  font-size: 11px; padding: 4px 12px;
}
.qv-img { background: var(--ct-gray); width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

/* ---------- page hero (inner pages) ---------- */
.ct-pagehead { padding: 54px 0 10px; }
.ct-pagehead h1 { font-size: 26px; margin-bottom: 10px; }
.ct-breadcrumb { font-size: 12px; color: var(--ct-muted); margin-bottom: 14px; }
.ct-breadcrumb a { color: var(--ct-muted); }
.ct-pagehead p.lead { font-size: 13px; color: var(--ct-muted); max-width: 640px; }

/* ---------- shop ---------- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ct-line);
  border-bottom: 1px solid var(--ct-line);
  padding: 12px 0;
  margin: 26px 0 34px;
  font-size: 13px;
}
.shop-toolbar .sort { display: flex; align-items: center; gap: 10px; }
.shop-toolbar .sort label { font-weight: 700; }
.shop-toolbar select {
  border: 1px solid var(--ct-line); font-family: var(--ct-font); font-size: 13px; font-weight: 700;
  text-transform: lowercase; outline: none; background: var(--ct-white); cursor: pointer;
  padding: 8px 12px; color: var(--ct-black);
}
.shop-toolbar select:focus { border-color: var(--ct-black); }
.filter-btn {
  background: none; border: 0; font-family: var(--ct-font); font-size: 13px; font-weight: 700;
  text-transform: lowercase; display: inline-flex; align-items: center; gap: 8px; padding: 0;
}
.filter-btn svg { width: 16px; height: 16px; }
.shop-card { margin-bottom: 34px; }
.shop-card .thumb { position: relative; background: var(--ct-gray); overflow: hidden; aspect-ratio: 1 / 1; }
.shop-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.shop-card .thumb .hover-img { position: absolute; inset: 0; opacity: 0; }
.shop-card:hover .thumb .hover-img { opacity: 1; }
.shop-card:hover .thumb .main-img { opacity: 0; }
.shop-card h5 { font-size: 13.5px; margin: 12px 0 0; }
.shop-card .quick {
  position: absolute; left: 0; right: 0; bottom: -44px;
  background: var(--ct-black); color: var(--ct-white);
  border: 0; font-size: 12px; padding: 11px; z-index: 2;
  transition: bottom .25s ease; font-family: var(--ct-font); text-transform: lowercase;
}
.shop-card:hover .quick { bottom: 0; }

.filter-block { border-bottom: 1px solid var(--ct-line); padding: 16px 0; }
.filter-block h5 { font-size: 13px; margin-bottom: 10px; }
.filter-block .form-check { font-size: 12.5px; margin-bottom: 4px; }
.filter-block .form-check-label { color: var(--ct-muted); cursor: pointer; }
.filter-block .form-check-input { border-radius: 0 !important; border-color: var(--ct-line); }
.filter-block .form-check-input:checked { background-color: var(--ct-black); border-color: var(--ct-black); }
.filter-scroll { max-height: 220px; overflow-y: auto; }
.filter-actions { flex-shrink: 0; display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--ct-line); background: var(--ct-white); }

.ct-pagination { display: flex; gap: 18px; justify-content: center; margin: 40px 0 10px; }
.ct-pagination a { font-size: 13px; font-weight: 700; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.ct-pagination a.active, .ct-pagination a:hover { border-color: var(--ct-black); color: var(--ct-black); }

/* ---------- gallery ---------- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  border-top: 1px solid var(--ct-line);
  padding: 26px 0 34px;
  margin-bottom: 26px;
}
.gallery-filter button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  color: var(--ct-muted);
  transition: color .2s ease;
}
.gallery-filter button:hover { color: var(--ct-black); }
.gallery-filter button.active { color: var(--ct-black); }
.gallery-grid { position: relative; overflow: hidden; }
.gallery-grid .g-item { width: calc((100% - 44px) / 3); float: left; margin-bottom: 22px; overflow: hidden; display: block; }
.gallery-grid .g-item.g-hide { display: none; }
.gallery-grid .g-item img { width: 100%; transition: transform .5s ease; display: block; }
.gallery-grid .g-item:hover img { transform: scale(1.04); }
.gallery-grid .g-cap { display: block; font-size: 13px; padding-top: 10px; }

/* ---------- about ---------- */
.about-img { width: 100%; display: block; }
.about-join {
  background: var(--ct-white, #fff);
  text-align: center;
  padding: 90px 20px;
}
.about-join h3 { font-size: 15px; margin-bottom: 14px; }
.about-join p { font-size: 13px; max-width: 460px; margin: 0 auto 26px; }
.about-join-link { text-decoration: underline; text-underline-offset: 3px; }
.about-join-link:hover { text-decoration: underline; }

/* ---------- checkout ---------- */
.checkout-wrap { max-width: 1180px; margin: 0 auto; }
.checkout-banner { padding: 16px 22px; font-size: 13px; margin-bottom: 16px; }
.checkout-banner.dark { background: var(--ct-black); color: var(--ct-white); }
.checkout-banner.dark a { color: var(--ct-white); text-decoration: underline; }
.checkout-banner.light { border: 1px solid var(--ct-line); }
.checkout-banner.light a { text-decoration: underline; }
.coupon-form { display: flex; gap: 12px; margin-bottom: 24px; max-width: 460px; }
.checkout-heading { font-size: 22px; margin: 26px 0 18px; }
.ct-label { display: block; font-size: 12.5px; margin: 14px 0 6px; }
.checkout-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 16px 0; }
.order-panel { background: var(--ct-gray); padding: 28px 26px; }
.order-head { display: flex; justify-content: space-between; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; padding-bottom: 14px; border-bottom: 1px solid var(--ct-line); }
.order-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--ct-line); }
.order-item img { width: 74px; height: 92px; object-fit: cover; flex: none; }
.order-item > div { flex: 1; }
.order-item h6 { font-size: 12.5px; margin-bottom: 6px; }
.order-item p { font-size: 11.5px; color: var(--ct-muted); margin: 0 0 4px; }
.order-item .order-stock { color: #b3372f; }
.order-price { font-size: 12.5px; flex: none; }
.order-line { display: flex; justify-content: space-between; font-size: 13px; padding: 14px 0; border-bottom: 1px solid var(--ct-line); }
.order-line.total { font-weight: 700; }
.order-pay { padding: 18px 0 6px; }
.order-pay label { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.order-privacy { font-size: 11.5px; color: var(--ct-muted); margin: 12px 0; }
.checkout-check.terms { margin: 4px 0 18px; }
.order-btn { text-transform: uppercase; letter-spacing: .06em; }

/* ---------- contact ---------- */
.contact-card { border: 1px solid var(--ct-line); padding: 28px 24px; height: 100%; }
.contact-card h5 { font-size: 14.5px; margin-bottom: 8px; }
.contact-card p { font-size: 12.5px; color: var(--ct-muted); margin: 0; }
.contact-form-wrap { max-width: 640px; }
.form-msg { font-size: 13px; margin-top: 14px; }
.form-msg.ok { color: #1c7c3c; }
.form-msg.err { color: #b3261e; }

/* ---------- faq ---------- */
.accordion-item { border: 0; border-bottom: 1px solid var(--ct-line); }
.accordion-button {
  font-family: var(--ct-font); font-size: 14px; font-weight: 700;
  text-transform: lowercase; padding: 20px 0; color: var(--ct-black);
}
.accordion-button:not(.collapsed) { background: transparent; color: var(--ct-black); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border: 0; }
.accordion-body { font-size: 13px; color: var(--ct-muted); padding: 0 0 22px; }

/* ---------- blog ---------- */
.blog-card .thumb { overflow: hidden; background: var(--ct-gray); }
.blog-card .thumb img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb img { transform: scale(1.04); }
.blog-card .date { font-size: 11.5px; color: var(--ct-muted); margin: 14px 0 6px; }
.blog-card h5 { font-size: 14.5px; }
.blog-card .read { font-size: 12.5px; text-decoration: underline; }

/* ---------- blog details ---------- */
.blog-single { text-transform: lowercase; }
.blog-single .hero { width: 100%; margin-bottom: 24px; }
.blog-single .meta { font-size: 12.5px; color: var(--ct-muted); margin-bottom: 12px; }
.blog-single h3 { font-size: 23px; line-height: 1.45; margin-bottom: 22px; }
.blog-single p { color: var(--ct-muted); font-size: 13.5px; line-height: 1.9; margin-bottom: 20px; }
.blog-single h5 { font-size: 16px; margin: 30px 0 18px; }
.blog-single .feat-list { color: var(--ct-muted); font-size: 13.5px; line-height: 1.9; padding-left: 18px; margin: 22px 0 0; }
.blog-single .feat-list li { margin-bottom: 12px; }
.blog-side .widget { border: 1px solid var(--ct-line); padding: 22px; margin-bottom: 24px; }
.blog-side h4 { font-size: 15px; margin-bottom: 16px; }
.latest-posts { list-style: none; margin: 0; padding: 0; }
.latest-posts li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.latest-posts li:last-child { margin-bottom: 0; }
.latest-posts img { width: 82px; height: 82px; object-fit: cover; flex: none; }
.latest-posts .date { font-size: 11.5px; color: var(--ct-muted); }
.latest-posts h6 { font-size: 13px; margin: 5px 0 0; line-height: 1.5; }

/* ---------- offcanvas menu ---------- */
.menu-offcanvas .nav-link { color: var(--ct-black); font-size: 15px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid var(--ct-line); }
.menu-offcanvas .m-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--ct-line); text-align: left; cursor: pointer; font-family: inherit; letter-spacing: inherit; text-transform: inherit; }
.menu-offcanvas .m-toggle .chev { flex: 0 0 auto; transition: transform .25s ease; }
.menu-offcanvas .m-sub.open > .m-toggle .chev { transform: rotate(180deg); }
.menu-offcanvas .m-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.menu-offcanvas .m-sub.open > .m-panel { max-height: 1600px; }
.menu-offcanvas .m-panel .m-sub.open > .m-panel { max-height: 600px; }
.menu-offcanvas .m-sub > .m-panel { margin: 6px 0 10px 2px; padding-left: 16px; border-left: 1px solid var(--ct-line); }
.menu-offcanvas .m-panel .nav-link { font-size: 13px; font-weight: 700; color: var(--ct-muted); border: 0; padding: 5px 0; }
.menu-offcanvas .m-panel .m-toggle { color: var(--ct-muted); }
.menu-offcanvas .m-panel .m-panel { margin: 4px 0 6px 2px; padding-left: 14px; border-left: 1px solid var(--ct-line); }
.menu-utility { font-size: 12.5px; color: var(--ct-muted); margin-top: 22px; }
.menu-utility span { margin-right: 12px; cursor: pointer; }
.menu-utility span.active { color: var(--ct-black); font-weight: 700; }

/* ---------- tile calculator ---------- */
.calc-card { background: var(--ct-gray); padding: 34px 30px; }
.calc-card .ct-input, .calc-card .ct-select { height: 46px; }
.calc-card h2 { font-size: 20px; margin-bottom: 22px; }
.calc-label { display: block; font-size: 13px; margin-bottom: 8px; }
.calc-size-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.size-btn {
  border: 1px solid var(--ct-line);
  background: var(--ct-white);
  padding: 9px 16px;
  font-size: 12.5px;
  font-family: var(--ct-font);
  cursor: pointer;
}
.size-btn.active { border-color: var(--ct-black); font-weight: 700; }
.calc-box-size { font-size: 12.5px; margin: 4px 0 14px; }
.calc-note { font-size: 11px; color: var(--ct-muted); line-height: 1.7; }
.calc-min { color: #b3261e; font-size: 11.5px; display: block; text-align: right; margin-top: 8px; }
.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--ct-line);
  padding-top: 16px;
  margin-top: 18px;
  font-size: 13px;
  flex-wrap: wrap;
}
.calc-total { font-weight: 700; }
.calc-stock { font-size: 12px; margin: 16px 0 0; display: flex; align-items: center; gap: 8px; }
.calc-stock svg { width: 16px; height: 16px; flex: none; }
.calc-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.calc-steps li { counter-increment: step; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ct-line); font-size: 13px; }
.calc-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 700;
  flex: none;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .ct-nav { display: none; }
  .ct-header .header-inner { grid-template-columns: auto 1fr auto; }
  .ct-logo { justify-self: center; }
  .ct-icons .hide-m { display: none; }
  .ct-carousel { grid-auto-columns: calc(50% - 12px); }
  .gallery-grid .g-item { width: calc((100% - 22px) / 2); }
  .ct-hero .slide img { height: 62vh; }
  .ct-hero .caption { right: 6%; max-width: none; }
  .ct-hero .caption h1 { font-size: 28px; line-height: 1.2; }
  .ct-copy { text-align: center; }
}
@media (max-width: 575.98px) {
  .ct-carousel { grid-auto-columns: 78%; }
  .gallery-grid .g-item { width: 100%; }
  .ct-section { padding: 44px 0; }
  .ct-hero .caption h1 { font-size: 24px; }
  .ct-hero .caption p { font-size: 15px; line-height: 23px; margin-bottom: 15px; }
}

/* ---------- preloader-free perf helpers ---------- */
.fade-in { animation: ctFade .6s ease both; }
@keyframes ctFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- language toggle ---------- */
.ct-lang {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ct-black);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  font-family: "IBM Plex Sans Arabic", var(--ct-font);
  transition: background .2s, color .2s;
}
.ct-lang:hover { background: var(--ct-black); color: var(--ct-white); }
.ct-lang-en { font-size: 12px; letter-spacing: .05em; font-family: var(--ct-font); }

/* ---------- product details page ---------- */
.pdp-hero { padding: 30px 0 60px; }
.pdp-imgwrap {
  background: #f3f2f2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 40px;
}
.pdp-imgwrap img { max-height: 520px; width: auto; max-width: 100%; }
.pdp-slider { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.pdp-slide { display: none; text-align: center; animation: ctFade .4s ease; }
.pdp-slide.active { display: flex; align-items: center; justify-content: center; }
.pdp-slide.active { width: 100%; aspect-ratio: 1 / 1; }
.pdp-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ct-white);
  border: 1px solid var(--ct-line);
  border-radius: 50%;
  color: var(--ct-black);
  cursor: pointer;
  z-index: 2;
}
.pdp-arrow:hover { background: var(--ct-black); color: var(--ct-white); border-color: var(--ct-black); }
.pdp-arrow svg { width: 18px; height: 18px; }
.pdp-prev { inset-inline-start: 12px; }
.pdp-next { inset-inline-end: 12px; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pdp-thumb {
  background: #f3f2f2;
  border: 1px solid var(--ct-line);
  padding: 6px;
  width: 84px;
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s, border-color .2s;
}
.pdp-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.pdp-thumb.active, .pdp-thumb:hover { opacity: 1; border-color: var(--ct-black); }
.pdp-360 {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ct-muted);
}
.pdp-360 svg { width: 16px; height: 16px; }
.pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pdp-title-row h1 { font-size: 22px; margin-bottom: 6px; }
.pdp-wish {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--ct-black);
  flex: 0 0 auto;
}
.pdp-wish svg { width: 22px; height: 22px; }
.pdp-wish:hover svg { fill: var(--ct-black); }
.pdp-dim { color: var(--ct-muted); font-size: 13px; margin-bottom: 2px; }
.pdp-sku { color: #1e7a34; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.pdp-meta { color: #1e7a34; font-size: 13px; margin: 10px 0 16px; }
.pdp-swatches { display: flex; gap: 10px; }
.pdp-swatch {
  border: 1px solid var(--ct-line);
  padding: 3px;
  background: var(--ct-white);
  cursor: pointer;
}
.pdp-swatch img { width: 46px; height: 46px; object-fit: cover; display: block; }
.pdp-swatch.active { border-color: var(--ct-black); }
.pdp-order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 1px solid var(--ct-line);
  padding: 16px;
  margin-bottom: 10px;
}
.pdp-price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  margin-bottom: 6px;
}
.pdp-price-row strong { font-weight: 700; }
.pdp-stock { color: #1e7a34; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
@media (max-width: 575.98px) {
  .pdp-order { grid-template-columns: 1fr; }
  .pdp-price-row { flex-direction: column; gap: 2px; }
}

/* ---------- RTL / Arabic ---------- */
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: "IBM Plex Sans Arabic", var(--ct-font);
  text-transform: none;
}
[dir="rtl"] .ct-mega { text-align: right; }
[dir="rtl"] .ct-carousel { direction: rtl; }
[dir="rtl"] .menu-utility span { margin-right: 0; margin-left: 12px; }
.pdp-specs { list-style: none; margin: 0; padding: 0; }
.pdp-specs li { padding: 4px 0; border-bottom: 1px dashed var(--ct-line); font-size: 13px; }
.pdp-specs li:last-child { border-bottom: 0; }
.pdp-specs span { display: inline-block; min-width: 130px; font-weight: 700; color: var(--ct-black); }

/* ---------- google sign-in ---------- */
.ct-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--ct-muted); font-size: 11px; }
.ct-or::before, .ct-or::after { content: ""; flex: 1; height: 1px; background: var(--ct-line); }
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ct-white);
  color: var(--ct-black);
  border: 1px solid var(--ct-black);
  padding: 10px 34px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: lowercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-google:hover { background: var(--ct-gray); }
.btn-google svg { flex: 0 0 auto; }

/* ---------- mobile toolbar + header polish ---------- */
@media (max-width: 575.98px) {
  .shop-toolbar { flex-wrap: wrap; gap: 10px 14px; }
  .shop-toolbar .sort { flex: 1 1 100%; order: 3; }
  .shop-toolbar .sort select { flex: 1; min-width: 0; }
  .ct-icons { gap: 14px; }
}
.ct-lang-link { font-family: "IBM Plex Sans Arabic", var(--ct-font); font-size: 15px !important; }

/* ---------- Arabic typography ---------- */
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .btn-ct, [dir="rtl"] .btn-ct-outline, [dir="rtl"] .btn-google,
[dir="rtl"] .modal-content, [dir="rtl"] .offcanvas,
[dir="rtl"] .ct-input, [dir="rtl"] .ct-select,
[dir="rtl"] .shop-toolbar select, [dir="rtl"] .filter-btn,
[dir="rtl"] .accordion-button, [dir="rtl"] .newsletter-form input,
[dir="rtl"] .shop-card .quick, [dir="rtl"] .ct-page-link,
[dir="rtl"] .ct-nav > a, [dir="rtl"] .ct-nav .drop-label,
[dir="rtl"] .ct-mega h6, [dir="rtl"] .ct-mega li a,
[dir="rtl"] .foot-links a, [dir="rtl"] .nav-link {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
[dir="rtl"] body { font-size: 15px; line-height: 1.8; }
[dir="rtl"] .ct-nav > a,
[dir="rtl"] .ct-nav .drop-label { font-size: 15px; }
[dir="rtl"] .ct-mega h6 { font-size: 14px; }
[dir="rtl"] .ct-mega li a { font-size: 14.5px; }
[dir="rtl"] .btn-ct,
[dir="rtl"] .btn-ct-outline,
[dir="rtl"] .btn-google { font-size: 14.5px; }
[dir="rtl"] .ct-hero .caption h1 { font-size: clamp(26px, 3.4vw, 40px); }
[dir="rtl"] .ct-hero .caption p { font-size: 15.5px; }
[dir="rtl"] .ct-banner .caption h2 { font-size: 24px; }
[dir="rtl"] .ct-section-head h2,
[dir="rtl"] .ct-section h2 { font-size: 22px; }
[dir="rtl"] .product-card h5,
[dir="rtl"] .best-card h5,
[dir="rtl"] .shop-card h5 { font-size: 15px; }
[dir="rtl"] .ct-footer h4 { font-size: 19px; }
[dir="rtl"] .foot-links a { font-size: 14px; }
[dir="rtl"] .menu-offcanvas .nav-link { font-size: 16px; }
[dir="rtl"] .menu-offcanvas .m-toggle { text-align: right; }
[dir="rtl"] .menu-offcanvas .m-sub > .m-panel { margin: 6px 2px 10px 0; padding-left: 0; padding-right: 16px; border-left: 0; border-right: 1px solid var(--ct-line); }
[dir="rtl"] .menu-offcanvas .m-panel .m-panel { margin: 4px 2px 6px 0; padding-left: 0; padding-right: 14px; border-left: 0; border-right: 1px solid var(--ct-line); }
[dir="rtl"] .accordion-button { font-size: 15.5px; }
[dir="rtl"] .ct-input,
[dir="rtl"] .ct-select,
[dir="rtl"] .shop-toolbar select { font-size: 14px; }
[dir="rtl"] .ct-breadcrumb,
[dir="rtl"] .lead { font-size: 14px; }
.pdp-rating { display: flex; align-items: center; gap: 12px; }
.pdp-stars { display: inline-flex; gap: 3px; }
.pdp-stars svg { width: 15px; height: 15px; fill: var(--ct-black); }
.pdp-stars svg.empty { fill: none; stroke: var(--ct-black); stroke-width: 1.4; }

/* bigger cart bag icon */
.ct-icons button[data-bs-target="#cartOffcanvas"] svg { width: 23px; height: 23px; }
.ct-icons button[data-bs-target="#cartOffcanvas"] .ct-badge { font-size: 11px; font-weight: 700; padding-top: 4px; }

/* cart page */
.cart-wrap { padding: 70px 0 90px; background: var(--ct-white); }
.cart-head h1 { font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.cart-crumb { font-size: 12.5px; color: var(--ct-muted); margin-bottom: 0; }
.cart-crumb a { color: var(--ct-muted); text-decoration: none; }
.cart-crumb a:hover { color: var(--ct-black); }
.cart-crumb span { color: var(--ct-black); }
.cart-table { border: 1px solid var(--ct-line); margin-top: 50px; }
.cart-cols { display: grid; grid-template-columns: 1fr 160px 200px; padding: 14px 24px; border-bottom: 1px solid var(--ct-line); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.cart-cols span:nth-child(2) { text-align: center; }
.cart-cols span:nth-child(3) { text-align: right; }
.cart-row { display: grid; grid-template-columns: 24px 1fr 160px 200px; align-items: center; gap: 16px; padding: 26px 24px; border-bottom: 1px solid var(--ct-line); }
.cart-x { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--ct-black); padding: 0; }
.cart-prod { display: flex; align-items: center; gap: 20px; }
.cart-thumb { flex-shrink: 0; width: 90px; background: var(--ct-cream, #f5f3ef); display: block; }
.cart-thumb img { width: 100%; display: block; }
.cart-name { font-size: 14px; font-weight: 600; color: var(--ct-black); text-decoration: none; }
.cart-name:hover { text-decoration: underline; color: var(--ct-black); }
.cart-stock { font-size: 12px; color: #d24a4a; margin: 4px 0 0; }
.cart-meta { font-size: 12.5px; color: var(--ct-black); margin: 2px 0 0; }
.cart-sub { font-size: 13px; text-align: center; }
.cart-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cart-btn { display: inline-block; font-size: 12.5px; padding: 10px 18px; border-radius: 6px; border: 0; text-decoration: none; color: #fff; }
.cart-btn-remove { background: #e0293b; }
.cart-btn-remove:hover { background: #c22131; color: #fff; }
.cart-btn-edit { background: #1e9e57; }
.cart-btn-edit:hover { background: #178246; color: #fff; }
.cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; flex-wrap: wrap; }
.cart-coupon { display: flex; gap: 10px; }
.cart-coupon input { border: 1px solid var(--ct-line); padding: 10px 14px; font-size: 13px; width: 200px; }
.cart-btn-dark { background: var(--ct-black); color: #fff; border: 0; padding: 12px 26px; font-size: 13px; }
.cart-btn-dark:hover { opacity: .88; }
.totals-title { font-size: 22px; font-weight: 500; margin: 60px 0 18px; }
.totals-panel { border: 1px solid var(--ct-line); max-width: 640px; }
.totals-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--ct-line); font-size: 13.5px; }
.totals-row:last-child { border-bottom: 0; }
.totals-label { color: var(--ct-black); }
.totals-ship label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 10px; }
.totals-note { font-size: 12px; color: var(--ct-muted); margin: 8px 0 10px; }
.totals-calc { font-size: 13.5px; color: var(--ct-black); }
.quote-btn { display: inline-block; background: var(--ct-black); color: #fff; text-decoration: none; padding: 16px 34px; font-size: 13px; letter-spacing: 1px; margin-top: 26px; }
.quote-btn:hover { opacity: .88; color: #fff; }
@media (max-width: 991.98px) {
  .cart-cols { display: none; }
  .cart-row { grid-template-columns: 24px 1fr; }
  .cart-sub { grid-column: 2; text-align: left; }
  .cart-actions { grid-column: 2; justify-content: flex-start; }
  .totals-row { grid-template-columns: 1fr; }
}

/* 360 view popup */
.pdp-360 { background: none; border: 0; cursor: pointer; }
.pdp-360:hover { color: var(--ct-black); }
.v360-content { border-radius: 0; }
.v360-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; }
.v360-body { padding: 44px 30px 30px; }
.v360-title { font-size: 20px; font-weight: 600; margin-bottom: 22px; }
.v360-body iframe { display: block; border: 0; }
@media (max-width: 575.98px) { .v360-body iframe { height: 260px; } }
