/* ==========================================================================
   بشاير — WordPress-only styles (loaded after style.css)
   inner pages · blog · shop archive · product page extras · WooCommerce (notices, reviews, cart, checkout,
   thank-you, account) · popups (login, search, discount) · date picker · contact forms
   Look: white + neutral black + golden yellow, rounded rectangles 20–24px, pills, circles, soft neutral shadow.
   --------------------------------------------------------------------------
   00 tokens · 01 page hero + breadcrumb · 02 page content · 03 blog · 04 pagination · 05 shop archive
   06 notices · 07 product page · 08 reviews · 09 cart · 10 checkout · 11 thank-you · 12 account
   13 login popup · 14 user menu + wishlist · 15 search · 16 date picker · 17 forms (WooCommerce / CF7)
   18 404 · 19 video lightbox · 20 store seal · 21 responsive · 22 product cards in grids / sliders
   (the home banner, the discount popup and the WhatsApp panel are styled in style.css)
   ========================================================================== */

/* 00. local tokens ---------------------------------------------------------- */
:root {
  --w-r-xl: 28px;
  --w-r-card: 22px;
  --w-r-box: 20px;
  --w-r-md: 14px;
  --w-r-sm: 12px;
  --w-shadow: 0 10px 30px rgba(17, 17, 17, .07);
  --w-shadow-lg: 0 24px 60px rgba(17, 17, 17, .18);
  --w-tint: var(--c-brand-soft, #fef5dd);
  --w-tint-line: var(--c-brand-tint, #fdebba);
  --w-grad: linear-gradient(135deg, #fbd35c, #f7bd1a);
  --w-ring: 0 0 0 4px rgba(247, 189, 26, .28);
  --w-star-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231c1c1c' d='M12 0c.9 6.9 5.1 11.1 12 12-6.9.9-11.1 5.1-12 12-.9-6.9-5.1-11.1-12-12 6.9-.9 11.1-5.1 12-12z'/%3E%3C/svg%3E");
  --w-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --w-i-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --w-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M12 11v6.2M12 6.9v.1'/%3E%3C/svg%3E");
  --w-i-alert-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M12 6.5v6.6M12 17.2v.1'/%3E%3C/svg%3E");
  --w-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E");
  --w-i-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.5h10.8L21 8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
  --w-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}

/* 01. inner page hero + breadcrumb ------------------------------------------
   a plain light rounded panel inside the container (not a full-width band): breadcrumb, then the big title
   (no stars or discs) */
.page-hero { position: relative; padding: 14px 0 0; background: none; color: var(--c-ink); overflow: visible; }
.page-hero::before { content: none; }
.page-hero .container { position: relative; z-index: 0; padding-top: 26px; padding-bottom: 34px; padding-inline: calc(var(--gutter) + clamp(18px, 3.4vw, 46px)); }
.page-hero .container::before { content: ""; position: absolute; z-index: -1; inset: 0 var(--gutter); border-radius: var(--w-r-xl); background: var(--c-soft); }
.page-hero .container::after { content: none; }
.page-hero .breadcrumb { margin: 0 0 14px; }
.page-hero__title { max-width: 780px; color: var(--c-dark); font-size: clamp(27px, 3.6vw, 44px); font-weight: 800; line-height: 1.25; }
.page-hero__title::before { content: none; }
.page-hero__title::after { content: none; }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* breadcrumb: one white pill — home in a circle, dots between the steps, the current page as a light-yellow chip */
.breadcrumb { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 8px; max-width: 100%; margin: 18px 0 0; padding: 5px 6px; overflow: hidden; border-radius: var(--radius-pill); background: var(--c-white); border: 1px solid var(--c-line); font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.breadcrumb a { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 28px; padding: 0 8px; white-space: nowrap; border-radius: var(--radius-pill); color: var(--c-muted); font-weight: 500; transition: background var(--t-fast), color var(--t-fast); }
.breadcrumb a:first-child { width: 28px; padding: 0; background: var(--c-soft); color: var(--c-dark); }
.breadcrumb a:hover { background: var(--w-tint); color: var(--c-dark); }
.breadcrumb .icon { font-size: 15px; }
.breadcrumb > span:not([aria-current]) { flex: none; width: 4px; height: 4px; overflow: hidden; border-radius: 50%; background: #d4d4d0; font-size: 0; }
.breadcrumb span[aria-current] { display: inline-block; flex: 0 1 auto; min-width: 0; max-width: 420px; min-height: 28px; padding: 3px 12px; overflow: hidden; border-radius: var(--radius-pill); background: var(--w-tint); color: var(--c-dark); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }

/* 02. generic page + article content ---------------------------------------- */
.page-single, .article-single { padding-top: 34px; }
.page-single .page-content { padding: clamp(20px, 4vw, 44px); border-radius: 24px; background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--w-shadow); }
.page-content, .article-body { font-size: 16px; }
.page-content > * + *, .article-body > * + * { margin-top: 18px; }
.page-content h2, .article-body h2 { font-size: 25px; margin-top: 36px; }
.page-content h3, .article-body h3 { font-size: 20px; margin-top: 28px; }
.page-content h2:first-child, .article-body h2:first-child, .page-content h3:first-child, .article-body h3:first-child { margin-top: 0; }
.page-content ul:not([class]), .article-body ul:not([class]) { display: grid; gap: 8px; margin-bottom: 0; padding: 0; list-style: none; }
.page-content ul:not([class]) > li, .article-body ul:not([class]) > li { position: relative; padding-inline-start: 30px; }
.page-content ul:not([class]) > li::before, .article-body ul:not([class]) > li::before { content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--c-brand) var(--w-i-check) center / 12px no-repeat; }
.page-content ol, .article-body ol { display: grid; gap: 8px; padding-inline-start: 24px; list-style: decimal; }
.page-content ol > li::marker, .article-body ol > li::marker { color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 800; }
.page-content li + li, .article-body li + li { margin-top: 0; }
.page-content a:not(.btn, .button), .article-body a:not(.btn, .button) { color: var(--c-dark); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--c-brand-dark); text-underline-offset: 4px; }
.page-content a:not(.btn, .button):hover, .article-body a:not(.btn, .button):hover { background: var(--c-brand-light); color: var(--c-dark); }
.page-content img, .article-body img { height: auto; border-radius: var(--w-r-box); }
.page-content blockquote, .article-body blockquote { position: relative; margin-inline: 0; padding: 22px 24px; padding-inline-start: 70px; border: 0; border-radius: var(--w-r-card); background: var(--w-tint); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 18px; font-weight: 700; line-height: 1.7; }
.page-content blockquote::before, .article-body blockquote::before { content: "\201D"; position: absolute; inset-inline-start: 20px; top: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 78px; line-height: 1; color: var(--c-brand); }
.page-content table, .article-body table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--c-line); border-radius: var(--w-r-md); font-size: 14px; }
.page-content th, .page-content td, .article-body th, .article-body td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--c-line); text-align: right; }
.page-content tr:last-child td, .article-body tr:last-child td { border-bottom: 0; }
.page-content th, .article-body th { background: var(--c-soft); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 700; color: var(--c-dark); }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: 8px; font-size: 13px; color: var(--c-muted); text-align: center; }
.alignleft { float: left; margin: 0 0 16px 20px; }
.alignright { float: right; margin: 0 20px 16px 0; }
.aligncenter { display: block; margin: 0 auto 16px; }
.article-meta { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 16px; padding-inline-start: 12px; border-radius: var(--radius-pill); background: var(--w-tint); color: var(--c-dark); font-size: 13.5px; font-weight: 600; }
.article-meta .icon { color: var(--c-dark); font-size: 16px; }
.article-figure { margin-bottom: 28px; overflow: hidden; aspect-ratio: 1110 / 450; border-radius: 24px; background: var(--c-soft); }
.article-body + .article-figure { margin-top: 26px; }
.article-figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* 03. blog ------------------------------------------------------------------
   filter bar (also the shop categories): a soft track with pill tabs, the active one yellow */
.blog-page, .shop-page, .search-page, .page-hero + .section, .page-hero + .wc-page { padding-top: 34px; }
.blog-cats { display: flex; flex-wrap: nowrap; gap: 4px; width: fit-content; max-width: 100%; margin: 0 0 30px; padding: 6px; overflow-x: auto; border-radius: var(--radius-pill); background: var(--c-soft); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.blog-cats::-webkit-scrollbar { display: none; }
.blog-cats a { flex: none; padding: 9px 22px; border: 0; border-radius: var(--radius-pill); background: none; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--c-muted); white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.blog-cats a:hover { background: var(--c-white); color: var(--c-dark); }
.blog-cats a.is-active { background: var(--c-brand); color: var(--c-dark-deep); box-shadow: inset 0 0 0 1px var(--c-brand-dark); }

/* card: the picture sits inside the card with its own rounded corners, the read link ends in a yellow arrow disc */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { position: relative; display: flex; flex-direction: column; padding: 10px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--w-r-card); overflow: visible; transition: opacity .7s var(--ease) var(--delay, 0s), transform .7s var(--ease) var(--delay, 0s), translate var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.blog-card:hover { translate: 0 -5px; border-color: var(--c-brand-dark); box-shadow: var(--w-shadow); }
.blog-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1000 / 410; border-radius: 16px; background: var(--c-soft); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med) var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__media .ph { height: 100%; background: var(--c-soft); color: #c2c2be; }
.blog-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 10px 6px; }
.blog-card__date { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 2px 12px; padding-inline-start: 9px; border-radius: var(--radius-pill); background: var(--c-soft); font-size: 12.5px; color: var(--c-muted); }
.blog-card__date .icon { color: var(--c-muted); font-size: 14px; }
.blog-card__title { font-size: 19px; line-height: 1.4; }
.blog-card__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--c-brand-dark); text-underline-offset: 6px; }
.blog-card__excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.75; color: var(--c-muted); }
.blog-card__more { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--c-line); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; color: var(--c-dark); }
.blog-card__more .icon { width: 36px; height: 36px; padding: 9px; border: 1px solid var(--c-brand-dark); border-radius: 50%; background: var(--c-brand); color: var(--c-dark-deep); transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.blog-card__more:hover .icon { transform: translateX(-4px); background: var(--c-brand-light); }
/* the first article of the archive leads the page as a wide card (picture beside the text) */
@media (min-width: 768px) {
  .blog-page .blog-grid > .blog-card:first-child { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: 14px; }
  .blog-page .blog-grid > .blog-card:first-child .blog-card__media { flex: 0 0 58%; align-self: center; }
  .blog-page .blog-grid > .blog-card:first-child .blog-card__body { justify-content: center; gap: 12px; padding: 14px 18px; }
  .blog-page .blog-grid > .blog-card:first-child .blog-card__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; }
  .blog-page .blog-grid > .blog-card:first-child .blog-card__excerpt { -webkit-line-clamp: 3; font-size: 15px; }
  .blog-page .blog-grid > .blog-card:first-child .blog-card__more { margin-top: 6px; }
}

/* 04. pagination ------------------------------------------------------------ */
.pagination-bs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination-bs .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-white); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; font-weight: 700; color: var(--c-dark); transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.pagination-bs a.page-numbers:hover { border-color: var(--c-brand-dark); background: var(--w-tint); }
.pagination-bs .page-numbers.current { border-color: var(--c-brand-dark); background: var(--c-brand); color: var(--c-dark-deep); }
.pagination-bs .page-numbers.prev, .pagination-bs .page-numbers.next { padding: 0; border-color: var(--c-dark); background: var(--c-dark); color: var(--c-white); }
.pagination-bs a.page-numbers.prev:hover, .pagination-bs a.page-numbers.next:hover { border-color: var(--c-dark-light); background: var(--c-dark-light); }
.pagination-bs .page-numbers.dots { min-width: 22px; padding: 0; border: 0; background: none; }
.pagination-bs .icon { width: 18px; height: 18px; }
.pagination-bs ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-width: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; list-style: none; }
.pagination-bs .btn { min-width: 0; }
.woocommerce-pagination .page-numbers { display: inline-flex; gap: 8px; margin-top: 20px; list-style: none; }

/* 05. shop archive + empty states -------------------------------------------- */
.shop-page__desc { max-width: 780px; margin: -10px 0 28px; padding: 16px 20px; border-radius: var(--w-r-md); background: var(--c-soft); color: var(--c-muted); }
.shop-page__desc > :last-child { margin-bottom: 0; }
.cart-empty { padding: 52px 20px; border: 0; border-radius: 24px; background: var(--c-soft); color: var(--c-muted); font-size: 15.5px; text-align: center; }
.cart-empty::before { content: ""; display: block; width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-brand) var(--w-i-cart) center / 36px no-repeat; box-shadow: 0 0 0 10px var(--c-white); }
.cart-empty .btn { margin-top: 18px; }
.search-empty::before, .blog-page .cart-empty::before, .page-404::before { background-image: var(--w-i-search); }
.search-empty .search-popular__chips { justify-content: center; margin-top: 16px; }

/* 06. WooCommerce notices: soft tinted bars with a round icon ----------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 56px; margin: 0 0 18px; padding: 11px 16px; padding-inline-start: 60px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-white); color: var(--c-dark); font-size: 14.5px; font-weight: 600; line-height: 1.6; list-style: none; }
.woocommerce-error::before, .woocommerce-message::before, .woocommerce-info::before { content: ""; position: absolute; inset-inline-start: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand) var(--w-i-info) center / 20px no-repeat; }
.woocommerce-error, ul.woocommerce-error { display: grid; gap: 4px; align-content: center; margin: 0 0 18px; padding: 11px 16px; padding-inline-start: 60px; border-color: #f2cdc7; background: #fdf1ef; color: #8c2a21; list-style: none; } /* ul.…: keeps its own box inside rich text too */
.woocommerce-error::before { background-color: var(--c-danger); background-image: var(--w-i-alert-white); }
.woocommerce-error li { list-style: none; }
.woocommerce-message { border-color: #cbe6d6; background: #f0f8f3; color: #1f5c3a; }
.woocommerce-message::before { background-color: var(--c-success); background-image: var(--w-i-check-white); background-size: 18px; }
.woocommerce-info { border-color: var(--w-tint-line); background: var(--w-tint); }
.woocommerce-error:focus, .woocommerce-message:focus, .woocommerce-info:focus { outline: 0; } /* WooCommerce moves the focus to a new notice (screen readers): no ring around the whole bar */
/* :is(a, button) raises these above the big page buttons (.wc-page .button) further down */
:is(.woocommerce-message, .woocommerce-info, .woocommerce-error) :is(a, button).button { order: 2; display: inline-flex; align-items: center; min-height: 0; border: 0; margin-inline-start: auto; padding: 7px 16px; border-radius: var(--radius-pill); background: var(--c-dark); color: var(--c-white); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 13.5px; font-weight: 700; }
:is(.woocommerce-message, .woocommerce-info, .woocommerce-error) :is(a, button).button:hover { background: var(--c-dark-light); color: var(--c-white); transform: none; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.cart .woocommerce-notices-wrapper, .product .woocommerce-notices-wrapper { margin-bottom: 16px; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { max-width: calc(var(--container) + var(--gutter) * 2); margin: 16px auto -8px; padding: 0 var(--gutter); }

/* 07. product page ----------------------------------------------------------
   gallery (rounded frame, thumbs slider) · badges row · fixed line · share · features strip · mobile buy bar */
.product-card .added_to_cart { display: none !important; }
.product-card .btn.loading { opacity: .7; pointer-events: none; }
.product-card .btn.added { --bg: var(--c-success); --bd: var(--c-success); --fg: #fff; background: var(--c-success); border-color: var(--c-success); color: #fff; }
.stock.out-of-stock { display: inline-flex; width: fit-content; padding: 6px 16px; border-radius: var(--radius-pill); background: #fdecea; color: var(--c-danger); font-weight: 700; }
.stock.in-stock { display: none; }

/* desktop: the details start the page (on the right) and the gallery sits on the left; phones: the gallery first */
@media (min-width: 992px) { .product__grid > .gallery { order: 2; } }
/* gallery: the picture in a plain rounded frame; the column stays in view while the description scrolls;
   thumbs = a small slider with rounded-square arrows */
.gallery { top: calc(var(--header-h) + 14px); }
.gallery__main { position: relative; z-index: 0; width: min(100%, max(360px, calc(100vh - var(--header-h) - 150px))); height: auto; min-height: 0; margin-inline: auto; aspect-ratio: 1; overflow: visible; border-radius: 0; background: none; } /* a square that always fits the screen height together with its thumbs */
.gallery__frame { position: relative; height: 100%; overflow: hidden; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: none; }
.gallery__main .badge-promo { top: 16px; right: 16px; }
.gallery__wish { top: 16px; left: 16px; width: 46px; height: 46px; }
.gallery__wish .icon { font-size: 21px; }
.gallery__thumbs-wrap { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.gallery__thumbs { display: block; flex: 1; min-width: 0; margin-top: 0; }
.gallery__thumbs .swiper-slide { width: 88px; }
.gallery__thumb { display: block; width: 88px; height: 88px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: var(--c-soft); cursor: pointer; transition: border-color var(--t-fast); }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--c-brand-dark); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; background: none; }
.gallery__nav { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--c-dark); color: var(--c-white); transition: background var(--t-fast), color var(--t-fast); } /* same rounded-square arrows as the sliders */
.gallery__nav:hover { background: var(--c-brand); color: var(--c-dark-deep); }
.gallery__nav .icon { stroke-width: 2.2; }
.gallery__nav.swiper-button-disabled { opacity: .25; pointer-events: none; }

/* info column */
/* the three promises above the title: a quiet row of icon + text (no chips) */
.pinfo__badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.pinfo__badges span { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--c-dark); font-size: 13px; font-weight: 600; }
.pinfo__badges .icon { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; color: var(--c-dark); }
.pinfo__sub { margin-top: 6px; font-family: var(--f-body); word-spacing: normal; font-size: 15px; font-weight: 500; line-height: 1.7; color: var(--c-muted); }
.pinfo__line { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; padding: 8px 14px; border: 0; border-inline-start: 3px solid var(--c-brand-dark); border-radius: 12px 4px 4px 12px; background: var(--w-tint); font-size: 14.5px; font-weight: 700; line-height: 1.5; color: var(--c-dark); }
.pinfo__line .icon { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; color: var(--c-dark-deep); }
.pinfo .rating { color: inherit; }
.rating__stars .icon.is-off { opacity: .25; }
.pinfo__sold { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 16px; padding-inline-start: 12px; border: 0; border-radius: var(--radius-pill); background: #fdf0ec; color: var(--c-danger); font-size: 13px; font-weight: 600; }
.pinfo__sold .icon { font-size: 18px; }
.pinfo__desc.rich { font-size: 14.5px; }
.pinfo__desc.rich > * + * { margin-top: 12px; }
.pinfo__desc.rich h2 { font-size: 18px; margin-top: 20px; }
.pinfo__desc.rich ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.pinfo__desc.rich ul li { position: relative; padding-right: 0; padding-inline-start: 28px; }
.pinfo__desc.rich ul li::before { content: ""; position: absolute; right: auto; inset-inline-start: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--c-brand) var(--w-i-check) center / 11px no-repeat; transform: none; }
.pinfo__desc.rich a:not(.btn, .button) { color: var(--c-dark); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--c-brand-dark); text-underline-offset: 4px; }
.pinfo__share { gap: 8px; }
.pinfo__share a, .pinfo__copy { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c-soft); color: var(--c-dark); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.pinfo__share a:hover, .pinfo__copy:hover { background: var(--c-brand); color: var(--c-dark-deep); transform: translateY(-2px); }
.pinfo__copy.is-copied { background: var(--c-success); color: #fff; }

/* "what your order includes" (inside the shared dark rounded panel): rows with a yellow icon tile */
.pfeatures__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pfeatures__item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; background: rgba(255, 255, 255, .06); text-align: right; transition: opacity .7s var(--ease) var(--delay, 0s), transform .7s var(--ease) var(--delay, 0s), translate var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pfeatures__item:hover { translate: 0 -3px; border-color: rgba(247, 189, 26, .7); background: rgba(255, 255, 255, .1); }
.pfeatures__icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; margin: 0; border-radius: 16px; background: var(--c-brand); color: var(--c-dark); font-size: 26px; box-shadow: none; }
.pfeatures__item h3 { font-size: 17px; line-height: 1.45; color: var(--c-white); }

/* related products slider: equal-height cards; four in a row from 1200px, each card the same width as in the home
   grid. With fewer cards than places (a small store: 3 other products) the slider stands still (no loop) and the
   cards keep that width, lined up from the start (right) like a grid row; the arrows and dashes are then hidden */
.related-slider .swiper-slide { display: flex; height: auto; }
.related-slider .product-card { width: 100%; }
@media (min-width: 1200px) {
  .related-slider .product-card__title { font-size: 19px; }
  .related-slider .product-card .btn { padding-inline: 14px; }
}
.slider-nav:has(.swiper-button-lock) { display: none; }

/* 08. reviews ---------------------------------------------------------------
   the original's structure, one centred column: title → the add-review form (text box; then name / e-mail beside
   the stars + «تعليق») → count + sort → review rows divided by thin lines (first 4, then «عرض المزيد»).
   bshayr's look: soft grey form panel with white fields, charcoal type, yellow stars and button */
.reviews .rv { padding-top: 0; }
.previews { padding: 50px 0; }
.rv { max-width: 1100px; margin: 0 auto; }
.rv__title, .rv > .rv__title { margin-bottom: 14px; font-size: 26px; }
.rv__form-title { margin-bottom: 14px; font-size: 17px; }
.rv__form-wrap { margin: 0 0 22px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-soft); }
#review_form_wrapper { margin-top: 0; }
#review_form .comment-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; align-items: center; }
#review_form .comment-form-comment, #review_form .comment-form-cookies-consent, #review_form .comment-notes { grid-column: 1 / -1; }
#review_form .comment-form-comment + .rv__submit { grid-column: 1 / -1; } /* signed in: no name / e-mail row, the stars + button take the whole line */
#review_form .comment-form-rating, #review_form #cancel-comment-reply-link, #review_form .comment-reply-title { display: none; }
.rv__form-wrap p { margin: 0; }
.rv__row, .rv__form-wrap .rv__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 0; }
.rv__form-wrap .comment-form-comment { margin: 0; }
.rv__form-wrap label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-dark); }
.rv__form-wrap label .required { color: var(--c-danger); }
.rv__form-wrap input[type=text], .rv__form-wrap input[type=email], .rv__form-wrap textarea { display: block; width: 100%; padding: 12px 16px; border: 1.5px solid transparent; border-radius: var(--w-r-md); background: var(--c-white); font-size: 14.5px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.rv__form-wrap textarea { min-height: 112px; resize: vertical; }
.rv__form-wrap input:focus, .rv__form-wrap textarea:focus { outline: 0; border-color: var(--c-brand-dark); box-shadow: var(--w-ring); }
.rv__submit, .rv__form-wrap .rv__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rv__stars-pick, .rv__form-wrap .rv__stars-pick { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; background: none; }
.rv__stars-pick > span { font-size: 13.5px; font-weight: 600; color: var(--c-dark); }
.rv__picker { display: inline-flex; gap: 3px; direction: ltr; }
.rv__picker button { display: inline-flex; color: #d7d7d3; font-size: 24px; transition: transform var(--t-fast), color var(--t-fast); }
.rv__picker button.is-on { color: var(--c-brand-dark); }
.rv__picker button:hover { transform: scale(1.15); }
.rv__rating-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rv__stars-pick p.stars { display: none; } /* WooCommerce's script adds its own star links before the select: the picker above already does that job */
.rv__form-wrap .form-submit { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.rv__form-wrap input[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 30px; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark-deep); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15.5px; font-weight: 800; cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); }
.rv__form-wrap input[type=submit]:hover { background: var(--c-brand-light); color: var(--c-dark-deep); transform: translateY(-1px); }
.rv__form-wrap .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); }
.rv__form-wrap .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.rv__moderation { display: flex; align-items: center; gap: 6px; margin: 12px 0 0 !important; font-size: 12.5px; color: var(--c-muted); }
.rv__moderation .icon { color: var(--c-muted); }
.reviews .woocommerce-verification-required, #reviews .woocommerce-noreviews { color: var(--c-muted); }
.rv__head, .rv > .rv__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 0 14px; border: 0; border-bottom: 2px solid var(--c-dark); }
.rv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rv__count { display: inline-flex; align-items: center; color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 19px; font-weight: 800; }
.rv__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--c-muted); }
.rv__sort select { padding: 8px 14px; padding-inline-end: 34px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background-color: var(--c-white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 13px center; font-weight: 600; color: var(--c-dark); appearance: none; -webkit-appearance: none; }
.rv__list { display: block; overflow: hidden; }
.rv__item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.rv__item.is-hidden { display: none; }
.rv__list.is-collapsed .rv__item:nth-child(n+5) { display: none; } /* first 4, then «عرض المزيد» */
.rv__avatar { display: grid; flex: none; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--c-soft); color: var(--c-dark); font-size: 22px; }
.rv__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv__body { flex: 1; min-width: 0; }
.rv__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rv__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; }
.rv__name { font-size: 17px; line-height: 1.35; }
.rv__badge { display: inline-flex; align-items: center; gap: 5px; color: var(--c-muted); font-size: 12.5px; font-weight: 500; }
.rv__badge .icon { color: var(--c-success); font-size: 15px; }
.rv__date { direction: ltr; padding-top: 3px; font-size: 12.5px; color: var(--c-muted); white-space: nowrap; }
.rv__time { color: var(--c-muted); }
.rv__pending { width: fit-content; margin: 6px 0 0; padding: 1px 12px; border-radius: 8px; background: var(--w-tint); font-size: 12.5px; color: var(--c-dark); }
.rv__text { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--c-ink); }
.rv__text p { margin: 0; }
.rv__stars { display: inline-flex; gap: 3px; margin-top: 8px; color: var(--c-brand-dark); }
.rv__stars .icon { font-size: 15px; }
.rv__stars .icon.is-off { opacity: .22; }
.rv__more { margin: 24px 0 6px; text-align: center; }
.rv__empty, .rv__note { padding: 18px 0; color: var(--c-muted); }

/* 09. cart (woocommerce/cart/cart.php) ---------------------------------------
   every product is a rounded card: picture + name + quantity, its total in a soft tile, and its "بيانات التنفيذ"
   as a soft panel inside the card with a status chip; the summary is a sticky card with a yellow total tile */
section.cart { padding: 30px 0 70px; } /* section.…: the product order form also carries WooCommerce's class "cart" */
.cart__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; font-size: clamp(26px, 3vw, 36px); }
.cart__title small { display: inline-flex; align-items: center; gap: 4px; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--w-tint); color: var(--c-dark); font-family: var(--f-body); word-spacing: normal; font-size: 13.5px; font-weight: 600; line-height: 1.6; }
.cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-item { position: relative; margin-bottom: 18px; overflow: visible; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
.cart-item__top { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; }
.cart-item__img { display: block; width: 104px; height: 104px; border-radius: 16px; background: var(--c-soft); object-fit: cover; }
.cart-item__name { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 19px; font-weight: 800; line-height: 1.35; color: var(--c-dark); }
.cart-item__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--c-brand-dark); text-underline-offset: 5px; }
.cart-item__sub { margin-top: 2px; font-size: 13px; color: var(--c-muted); }
.cart-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.cart-item .qty { gap: 2px; padding: 4px; border: 0; background: var(--c-soft); }
.cart-item .qty button { width: 34px; height: 34px; border-radius: 50%; background: var(--c-white); }
.cart-item .qty button:hover { background: var(--c-brand); color: var(--c-dark-deep); }
.cart-item .qty input { width: 40px; height: 34px; font-size: 16px; }
.cart-item.is-updating .qty input { color: var(--c-muted); }
.cart-item__meta .price__now { font-size: 20px; }
.cart-item__remove { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; padding-inline-start: 9px; border-radius: var(--radius-pill); background: #fdf0ee; color: var(--c-danger); font-size: 12.5px; font-weight: 600; transition: background var(--t-fast), color var(--t-fast); }
.cart-item__remove:hover { background: var(--c-danger); color: #fff; }
.cart-item__total { min-width: 118px; padding: 10px 16px; border-radius: 16px; background: var(--c-soft); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 20px; font-weight: 800; line-height: 1.4; color: var(--c-dark); text-align: center; white-space: nowrap; }
.cart-item__total small { display: block; font-family: var(--f-body); word-spacing: normal; font-size: 12px; font-weight: 400; color: var(--c-muted); }
.cart-item.is-updating .cart-item__total span, .cart-item.is-updating ~ .cart-summary [data-cart-total] { opacity: .45; transition: opacity .2s; }
.cart-item__fields { display: grid; gap: 14px; margin: 0 10px 10px; padding: 16px; border: 0; border-radius: 16px; background: var(--c-soft); }
.cart-item__fields-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item__fields-head h4 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; }
.cart-item__fields-head h4 .icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--c-brand); color: var(--c-dark-deep); }
.cart-item__status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px; padding-inline-start: 11px; border-radius: var(--radius-pill); background: #fdecea; color: var(--c-danger); font-size: 12.5px; font-weight: 600; line-height: 1.7; }
.cart-item__status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(178, 58, 47, .16); }
.cart-item__status.is-ok { background: #e4f3ea; color: var(--c-success); }
.cart-item__status.is-ok::before { box-shadow: 0 0 0 3px rgba(46, 125, 79, .16); }
.cart-item__status.is-shake { animation: bsShake .5s ease; }
@keyframes bsShake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .cart-item__status.is-shake { animation: none; } }
.cart-item__row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.cart-item__fields .field__label { font-size: 14px; }
.cart-item__fields .input, .cart-item__fields .select, .cart-item__fields .textarea { min-height: 48px; border-color: transparent; border-radius: var(--w-r-md); background-color: var(--c-white); }
.cart-item__fields .input:focus, .cart-item__fields .select:focus, .cart-item__fields .textarea:focus { border-color: var(--c-brand-dark); }
.cart-item__fields .choice span { min-height: 46px; border-radius: var(--w-r-md); font-size: 13.5px; }
.cart-item__fields .choice input:not(:checked) + span { border-color: transparent; background: var(--c-white); }
.cart-item__fields .field__note { border-radius: var(--w-r-sm); background: var(--c-white); }
/* «إتمام الطلب» stays tappable while data is missing; a tap goes up to the first product and marks the field */
.cart-summary [data-checkout].is-blocked { opacity: .78; }
.cart .field.is-error .input, .cart .field.is-error .select, .cart .field.is-error .textarea, .cart .field.is-error .choice span { border-color: var(--c-danger); box-shadow: 0 0 0 4px rgba(178, 58, 47, .14); }
.cart .field.is-error .field__label { color: var(--c-danger); }
/* summary */
.cart-summary { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
.cart-summary h3 { display: flex; align-items: center; gap: 9px; padding-bottom: 0; border: 0; font-size: 21px; }
.cart-summary h3::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--c-brand-dark); }
.cart-summary .coupon { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-soft); }
.cart-summary .coupon .input { flex: 1; min-width: 0; min-height: 42px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: transparent; box-shadow: none; }
.cart-summary .coupon .input:focus { background: var(--c-white); }
.cart-summary .coupon .btn { flex: none; min-height: 42px; padding: 0 20px; --bg: var(--c-dark); --fg: var(--c-white); --bd: var(--c-dark); font-size: 14.5px; }
.cart-summary .coupon .btn:hover { --bg: var(--c-dark-light); --bd: var(--c-dark-light); --fg: var(--c-white); }
.cart-summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14.5px; color: var(--c-muted); }
.cart-summary__row b { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; color: var(--c-dark); }
.cart-summary__row[data-coupon-row] b { color: var(--c-success); }
.cart-summary .woocommerce-remove-coupon { margin-inline-start: 6px; font-family: var(--f-body); word-spacing: normal; font-size: 12px; font-weight: 500; color: var(--c-danger); text-decoration: underline; text-underline-offset: 3px; }
.cart-summary__total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--w-tint); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; font-weight: 800; color: var(--c-dark); }
.cart-summary__total b { font-size: 28px; line-height: 1.2; color: var(--c-dark); }
.cart-summary__note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: var(--w-r-sm); background: var(--c-soft); font-size: 12.5px; color: var(--c-muted); }
.cart-summary__note .icon { flex: none; margin-top: 4px; color: var(--c-dark); }
.cart > .container > .cart-empty { max-width: 640px; margin: 0 auto; }

/* 10. checkout like Salla (woocommerce/checkout/*, functions/checkout.php) ----
   back pill → summary card (yellow top edge, logo tile, total, thumbs, coupon, «تفاصيل الطلب» row) →
   customer + payment tiles → confirm; order details in a floating drawer (bottom sheet on phones) */
.wc-page { padding: 34px 0 64px; }
.wc-page .woocommerce { max-width: 1100px; margin: 0 auto; }
.co-page-wrap { min-height: 100vh; padding: 28px 0 64px; background: var(--c-soft); }
.co-container { max-width: calc(760px + var(--gutter) * 2); }
.co-page-wrap .woocommerce { max-width: none; }
.co { display: grid; gap: 16px; }
.co-card { border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
.co-back { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 5px 16px; padding-inline-start: 5px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-white); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 14.5px; font-weight: 700; color: var(--c-dark); transition: border-color var(--t-fast); }
.co-back .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--c-soft); transition: background var(--t-fast); }
.co-back:hover { border-color: var(--c-brand-dark); color: var(--c-dark); }
.co-back:hover .icon { background: var(--c-brand); }
.co-login-note { padding: 40px 0; color: var(--c-muted); text-align: center; }
.co .woocommerce-message, .co .woocommerce-error, .co .woocommerce-info { margin: 0; }

/* summary card */
.co-sum { position: relative; margin: 0; padding: 26px 20px 20px; overflow: hidden; }
.co-sum::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--w-grad); }
.co-sum__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.co-sum__store { display: flex; align-items: center; gap: 14px; min-width: 0; }
/* the logo tile takes the logo's own shape: a square mark or a wide lockup */
.co-sum__logo { display: grid; flex: none; place-items: center; min-width: 62px; height: 62px; padding: 0 10px; overflow: hidden; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-white); }
.co-sum__logo img { width: auto; height: auto; max-width: 112px; max-height: 42px; object-fit: contain; }
.co-sum__title { margin: 0 0 8px; font-family: var(--f-body); word-spacing: normal; font-size: 14px; font-weight: 500; color: var(--c-muted); }
.co-sum__thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.co-sum__thumb { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-soft); font-size: 12px; font-weight: 700; color: var(--c-dark); }
.co-sum__thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-sum__thumb--more { border-color: var(--c-dark); background: var(--c-dark); color: var(--c-brand); }
.co-sum__amount { display: grid; gap: 8px; justify-items: end; text-align: left; }
.co-sum__total { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 30px; font-weight: 800; line-height: 1.15; color: var(--c-dark); white-space: nowrap; }
.co-sum__total .woocommerce-Price-currencySymbol { font-size: .5em; font-weight: 700; color: var(--c-muted); }
.co-sum__coupon-link { display: inline-flex; align-items: center; padding: 4px 13px; border: 1px dashed var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--w-tint); color: var(--c-dark); font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background var(--t-fast); }
.co-sum__coupon-link:hover { background: var(--c-brand-light); color: var(--c-dark-deep); }
.co-sum__coupon { display: grid; gap: 4px; justify-items: end; }
/* bshayr colours (owner's pick 2026-11-17): light yellow + black text instead of the original's orange/brown */
.co-card-again { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--c-brand-soft); color: var(--c-dark); font-size: 14px; font-weight: 700; line-height: 1.6; }
.co-sum__coupon-on { font-size: 13px; font-weight: 700; color: var(--c-success); background: #eef8f0; border: 1px solid #bfe3c8; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.co-sum__coupon-on a { color: var(--c-danger); font-weight: 600; margin-inline-start: 6px; text-decoration: underline; text-underline-offset: 3px; }
.co-coupon { position: relative; margin: 16px 0 0; }
.co-coupon__row { display: flex; gap: 6px; padding: 5px; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-soft); }
.co-coupon__field { display: flex; flex: 1; min-width: 0; }
.co-coupon__input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 0 !important; border-radius: var(--radius-pill); background: transparent; font-size: 15px; box-shadow: none !important; outline: 0; }
.co-coupon__input.has-error { color: var(--c-danger); }
.co-coupon__btn { flex: none; padding: 0 26px; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark-deep); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 800; transition: background var(--t-fast); }
.co-coupon__btn:hover { background: var(--c-brand-light); }
.co-coupon .coupon-error-notice { position: absolute; top: calc(100% + 6px); right: 14px; color: var(--c-danger); font-size: 13px; font-weight: 600; }
.co-coupon:has(.coupon-error-notice) { margin-bottom: 26px; }
.co-sum__details { position: static; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 16px; padding: 10px 16px; padding-inline-end: 10px; border: 0; border-radius: var(--w-r-md); background: var(--c-soft); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 14.5px; font-weight: 700; color: var(--c-dark); white-space: nowrap; box-shadow: none; transform: none; transition: background var(--t-fast); }
.co-sum__details::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-white) var(--w-i-chev) center / 14px no-repeat; }
.co-sum__details:hover { background: var(--w-tint); color: var(--c-dark); }

/* main card: customer + payment */
form.checkout.co-main { display: block; padding: 22px 20px 20px; }
.co-who { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px dashed var(--c-line); }
.co-who__ic, .co-pay__ic { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-soft); color: var(--c-dark); }
.co-who__ic { background: var(--c-brand); color: var(--c-dark-deep); }
.co-who__ic .icon { width: 22px; height: 22px; }
.co-who__name { display: block; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--c-dark); }
.co-who__phone { display: block; margin-top: 1px; font-size: 13px; color: var(--c-muted); text-align: right; }
.co-hidden-fields { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.co-pay { padding-top: 18px; }
.co-pay__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.co-pay__ic { font-size: 18px; }
.co-pay__title { margin: 0; font-size: 18px; line-height: 1.4; color: var(--c-dark); }
.co-pay__chosen { display: block; min-height: 1em; margin-top: 1px; font-size: 13px; color: var(--c-muted); }
form.checkout.co-main #order_review { display: block; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
form.checkout.co-main #payment { margin: 0; background: none; }
#payment .wc_payment_methods { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
form.checkout.co-main #payment .wc_payment_methods.co-pay__grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0; padding: 0; list-style: none; }
form.checkout.co-main #payment .co-pay__grid > li.wc_payment_method { display: contents; padding: 0; border: 0; }
#payment .co-pay__tile > input[name="payment_method"] { position: absolute; top: 0; right: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
/* tile: radio first (right side in RTL), then the logos / icon + name; the chosen one turns light yellow */
.co-pay__tile { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; min-width: 124px; min-height: 58px; padding: 9px 16px; border: 1.5px solid var(--c-line); border-radius: 16px; background: var(--c-white); font-weight: 600; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.co-pay__tile:hover { border-color: var(--c-brand-dark); }
.co-pay__radio { position: relative; flex: none; width: 20px; height: 20px; border: 1.5px solid #c2c2be; border-radius: 50%; background: var(--c-white); transition: border-color var(--t-fast), background var(--t-fast); }
.co-pay__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--c-dark); transform: scale(0); transition: transform .2s var(--ease); }
#payment .co-pay__tile:has(> input:checked) { border-color: var(--c-brand-dark); background: var(--w-tint); box-shadow: 0 0 0 3px rgba(247, 189, 26, .25); }
#payment .co-pay__tile > input:checked ~ .co-pay__radio { border-color: var(--c-brand-dark); background: var(--c-brand); }
#payment .co-pay__tile > input:checked ~ .co-pay__radio::after { transform: scale(1); }
#payment .co-pay__tile:has(> input:focus-visible) { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.co-pay__logos { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.co-pay__logos img { float: none !important; width: auto; max-height: 26px !important; margin: 0 !important; }
.co-pay__logos .pay { width: 40px; height: 26px; border: 1px solid var(--c-line); border-radius: 6px; }
.co-pay__logos .pay svg { width: 34px; height: 20px; }
/* a single method: nothing to choose, so no tile — its form shows straight under «الدفع» */
form.checkout.co-main #payment .co-pay__grid--single .co-pay__tile { display: none; }
form.checkout.co-main #payment .co-pay__grid--single .payment_box { margin-top: 0; }
.co-pay__text { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; color: var(--c-dark); white-space: nowrap; }
.co-pay__text i { font-size: 18px; color: var(--c-dark); }
/* the chosen method's form: full width under the tiles */
#payment .payment_box { margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: var(--c-soft); font-size: 13.5px; color: var(--c-muted); }
#payment .payment_box p { margin: 0; }
form.checkout.co-main #payment .co-pay__grid .payment_box { flex: 0 0 100%; order: 99; margin: 6px 0 0; padding: 16px; border: 0; border-radius: 16px; background: var(--c-soft); color: var(--c-ink); font-size: 14px; }
form.checkout.co-main #payment .co-pay__grid .payment_box::before { display: none; }
form.checkout.co-main #payment .co-pay__empty { flex: 0 0 100%; list-style: none; }
/* Stripe card form: one frame only — the box around it goes, Stripe's own fields keep theirs */
form.checkout.co-main #payment .co-pay__grid .payment_box.payment_method_stripe { padding: 0; border: 0; border-radius: 0; background: none; }
form.checkout.co-main #payment .payment_box.payment_method_stripe > fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
form.checkout.co-main #payment .payment_box.payment_method_stripe > p { margin: 0 0 12px; font-size: 13.5px; color: var(--c-muted); }
form.checkout.co-main #payment .payment_box.payment_method_stripe .testmode-info { padding: 10px 14px; border: 1px dashed var(--c-brand-dark); border-radius: var(--w-r-sm); background: var(--w-tint); color: var(--c-ink); }
form.checkout.co-main #payment .payment_box.payment_method_stripe .woocommerce-SavedPaymentMethods-saveNew { margin: 12px 0 0; font-size: 13.5px; }
/* first paint: Stripe's script hides these a moment later — hide them from the start so the old look never flashes.
   No saved cards = no list. The "save card" box: with Stripe's Optimized Checkout it always ends up hidden (the card
   form handles saving itself), but it showed for a second while the form loaded — so it stays hidden. */
form.checkout.co-main #payment .payment_method_stripe ul.wc-saved-payment-methods[data-count="0"] { display: none !important; }
form.checkout.co-main #payment .payment_box.payment_method_stripe .woocommerce-SavedPaymentMethods-saveNew { display: none !important; }
form.checkout.co-main #payment .payment_box.payment_method_stripe ul.wc-saved-payment-methods { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
form.checkout.co-main #payment .payment_box.payment_method_stripe .woocommerce-SavedPaymentMethods-saveNew label { font-weight: 600; color: var(--c-ink); }
/* card form placeholder until Stripe mounts it (same size, so nothing jumps) */
form.checkout.co-main #payment .payment_box.payment_method_stripe .wc-stripe-upe-element:not(:has(iframe)) { min-height: 160px; border: 1px solid var(--c-line); border-radius: var(--w-r-md); background: linear-gradient(90deg, #f8f8f7 25%, #ededeb 37%, #f8f8f7 63%); background-size: 400% 100%; animation: coShimmer 1.4s ease infinite; }
@keyframes coShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
form.checkout.co-main #wc-stripe-upe-errors:not(:empty) { margin-top: 8px; color: var(--c-danger); font-size: 13px; font-weight: 600; }
/* Apple Pay / Google Pay buttons (Stripe) inside the payment section + «أو ادفع بالبطاقة» */
.co-express #wc-stripe-express-checkout-element { flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.co-express #wc-stripe-express-checkout-element > div { flex: 1 1 200px; min-width: 0; }
.co-express #wc-stripe-express-checkout-button-separator { display: flex; align-items: center; gap: 12px; margin: 16px 0 !important; color: var(--c-muted); font-size: 13px; font-weight: 600; }
.co-express #wc-stripe-express-checkout-button-separator::before, .co-express #wc-stripe-express-checkout-button-separator::after { content: ""; flex: 1; height: 0; border-top: 1px dashed #d4d4d0; }
/* «🔒 الدفع مشفّر ومؤمّن» + badges above the confirm button */
.co-secure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 12px; padding: 9px 14px; border-radius: var(--w-r-sm); background: var(--c-soft); font-size: 13px; color: var(--c-muted); }
.co-secure__text { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.co-secure__text i { font-size: 12px; color: var(--c-success, #2e7d32); }
.co-secure__logos { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.co-secure__logos .pay { width: 38px; height: 24px; border: 1px solid var(--c-line); border-radius: 6px; }
.co-secure__logos .pay svg { width: 32px; height: 19px; }
#payment .place-order { margin: 20px 0 0; padding: 0; }
#payment .woocommerce-terms-and-conditions-wrapper { margin: 0 0 14px; font-size: 13px; }
#payment .woocommerce-privacy-policy-text a { color: var(--c-dark); text-decoration: underline; text-decoration-color: var(--c-brand-dark); }
#place_order, .woocommerce-account .button, .wc-page .button, .woocommerce-form-login .button, .woocommerce-form-register .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark-deep); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; font-weight: 800; cursor: pointer; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
#place_order { width: 100%; }
#place_order:hover, .woocommerce-account .button:hover, .wc-page .button:hover { background: var(--c-brand-light); color: var(--c-dark-deep); transform: translateY(-1px); }
form.checkout.co-main #place_order.co-submit { width: 100%; min-height: 58px; margin: 0; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark-deep); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 18px; font-weight: 800; box-shadow: 0 12px 26px rgba(17, 17, 17, .1); }
form.checkout.co-main #place_order.co-submit:hover { background: var(--c-brand-light); color: var(--c-dark-deep); }
form.checkout.co-main .woocommerce-NoticeGroup { margin-bottom: 14px; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .7) !important; }
/* checkout before login: WooCommerce's own notice/form stay hidden, our popup is forced */
body.auth-required .woocommerce-info, body.auth-required .woocommerce-form-login, body.auth-required form.checkout.woocommerce-checkout { display: none !important; }
body.auth-required .checkout-login-placeholder { padding: 60px 16px; color: var(--c-muted); text-align: center; }

/* order details drawer: floating side card (desktop) / bottom sheet (phones) */
.co-drawer { position: fixed; inset: 0; z-index: 2000; visibility: hidden; pointer-events: none; }
.co-drawer.is-open { visibility: visible; pointer-events: auto; }
.co-drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .5); opacity: 0; transition: opacity .3s var(--ease); }
.co-drawer.is-open .co-drawer__backdrop { opacity: 1; }
.co-drawer__panel { position: absolute; top: 12px; bottom: 12px; left: 12px; display: flex; flex-direction: column; width: min(440px, calc(100vw - 24px)); overflow: hidden; border-radius: 24px; background: var(--c-white); box-shadow: var(--w-shadow-lg); transform: translateX(calc(-100% - 24px)); transition: transform .35s var(--ease); }
.co-drawer.is-open .co-drawer__panel { transform: none; }
.co-drawer__handle { display: none; }
.co-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border: 0; background: var(--w-tint); }
.co-drawer__head h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 20px; }
.co-drawer__head h3::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--c-brand-dark); }
.co-drawer__close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-white); color: var(--c-dark); transition: background var(--t-fast); }
.co-drawer__close:hover { background: var(--c-brand); }
.co-drawer__close .icon { width: 16px; height: 16px; }
.co-drawer__body { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.co-items { display: grid; flex: 1; gap: 10px; align-content: start; margin: 0; padding: 18px 20px 14px; overflow: auto; list-style: none; }
.co-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--c-line); border-radius: 16px; }
.co-item__img { position: relative; width: 60px; height: 60px; overflow: visible; border: 0; border-radius: 12px; background: var(--c-soft); }
.co-item__img img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.co-item__img i { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border: 2px solid var(--c-white); border-radius: 12px; background: var(--c-brand); color: var(--c-dark-deep); font-size: 11.5px; font-style: normal; font-weight: 800; }
.co-item__name { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--c-dark); }
.co-item__price { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 800; white-space: nowrap; }
.co-totals { display: grid; gap: 10px; margin: 0 14px 14px; padding: 16px; border: 0; border-radius: 18px; background: var(--c-soft); }
.co-totals__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.co-totals__row b { white-space: nowrap; }
.co-totals__row--coupon { color: var(--c-success); }
.co-totals__row--coupon a { margin-inline-start: 6px; font-size: 12px; color: var(--c-danger); text-decoration: underline; }
.co-totals__row--grand { padding-top: 12px; border-top: 1px dashed #d4d4d0; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 20px; font-weight: 800; color: var(--c-dark); }
body.co-drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .co-drawer__panel, .co-drawer__backdrop { transition: none; } }

/* order review table (pay-for-order page and any default WooCommerce checkout part) */
.woocommerce-checkout-review-order-table, .woocommerce-table--order-details, .woocommerce-orders-table, table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td, .woocommerce-table--order-details th, .woocommerce-table--order-details td, .woocommerce-orders-table th, .woocommerce-orders-table td, table.shop_table th, table.shop_table td { padding: 11px 4px; border: 0; border-bottom: 1px dashed var(--c-line); text-align: right; vertical-align: top; }
.woocommerce-checkout-review-order-table thead th, .woocommerce-table--order-details thead th, table.shop_table thead th { font-size: 12.5px; font-weight: 600; color: var(--c-muted); }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td, .woocommerce-table--order-details .product-total, .woocommerce-table--order-details tfoot td, table.shop_table .product-total, table.shop_table tfoot td { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 800; text-align: left; }
.woocommerce-checkout-review-order-table tfoot tr:last-child th, .woocommerce-checkout-review-order-table tfoot tr:last-child td, .woocommerce-table--order-details tfoot tr:last-child th, .woocommerce-table--order-details tfoot tr:last-child td, table.shop_table tfoot tr:last-child th, table.shop_table tfoot tr:last-child td { padding-top: 14px; border-bottom: 0; font-size: 18px; color: var(--c-dark); }
.woocommerce-checkout-review-order-table .variation, .woocommerce-checkout-review-order-table dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0; font-size: 12.5px; color: var(--c-muted); }
.woocommerce-checkout-review-order-table dl dt { font-weight: 600; }
.woocommerce-checkout-review-order-table dl dd, .woocommerce-checkout-review-order-table dd p { margin: 0; }
.woocommerce-table--order-details .wc-item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 0; list-style: none; font-size: 12.5px; color: var(--c-muted); }
.woocommerce-table--order-details .wc-item-meta li { padding: 2px 10px; border-radius: var(--radius-pill); background: var(--c-soft); }
.woocommerce-table--order-details .wc-item-meta p { display: inline; margin: 0; }
.woocommerce-shipping-fields, .woocommerce-shipping-totals { display: none !important; }
form#order_review { max-width: 760px; margin: 0 auto; padding: 22px 24px; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
form#order_review #payment { margin-top: 18px; }
.woocommerce-form-coupon-toggle, .checkout_coupon { margin-bottom: 20px; }
.co-sum .checkout_coupon { margin-bottom: 0; }

/* 11. thank-you page (WooCommerce's own template) ------------------------------
   a light-yellow confirmation bar with a round check, the order facts as small tiles, the details in a card */
.woocommerce-order { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.woocommerce-order > * { margin: 0; }
.woocommerce-thankyou-order-received { position: relative; display: flex; align-items: center; min-height: 108px; margin: 0; padding: 22px 24px; padding-inline-start: 110px; border: 1px solid var(--w-tint-line); border-radius: var(--w-r-card); background: var(--w-tint); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; line-height: 1.5; }
.woocommerce-thankyou-order-received::before { content: ""; position: absolute; inset-inline-start: 28px; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: var(--c-brand) var(--w-i-check) center / 28px no-repeat; box-shadow: 0 0 0 9px var(--c-white); }
.woocommerce-thankyou-order-failed { padding: 18px 22px; border: 1px solid #f2cdc7; border-radius: var(--w-r-card); background: #fdf1ef; color: #8c2a21; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 19px; font-weight: 800; }
.woocommerce-thankyou-order-failed-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; border: 0; background: none; list-style: none; }
.woocommerce-order-overview li { flex: 1 1 140px; min-width: 0; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-white); font-size: 12.5px; color: var(--c-muted); }
.woocommerce-order-overview li.email { flex: 2 1 230px; }
.woocommerce-order-overview li strong { display: block; margin-top: 3px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 17px; font-weight: 800; color: var(--c-dark); overflow-wrap: anywhere; }
.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details { margin: 0; padding: 22px 24px; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 20px; }
.woocommerce-order-details__title::before, .woocommerce-column__title::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--c-brand-dark); }
.woocommerce-column--billing-address address { font-style: normal; line-height: 1.9; }
.woocommerce-order .order-again { margin: 14px 0 0; }

/* 12. my account (woocommerce/myaccount/*) -------------------------------------
   side menu card (active item = light-yellow pill with a yellow icon tile) + content cards */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--header-h) + 16px); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; margin: 0; padding: 10px; overflow: visible; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: var(--w-r-md); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15.5px; font-weight: 700; color: var(--c-dark); transition: background var(--t-fast); }
.woocommerce-account .woocommerce-MyAccount-navigation li a .icon { width: 36px; height: 36px; padding: 9px; border-radius: 12px; background: var(--c-soft); color: var(--c-dark); transition: background var(--t-fast); }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--c-soft); }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover .icon { background: var(--c-white); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--w-tint); color: var(--c-dark); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a .icon { background: var(--c-brand); color: var(--c-dark-deep); }
.woocommerce-account .woocommerce-MyAccount-navigation li.li--logout { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--c-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li.li--logout a { color: #b3261e; }
.woocommerce-account .woocommerce-MyAccount-navigation li.li--logout a .icon { background: #fde8e6; color: #b3261e; }
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.woocommerce-account h2, .woocommerce-account h3 { font-size: 20px; margin-bottom: 16px; }
/* greeting: light-yellow card, charcoal rounded tile with the first letter */
.acct-head { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding: 22px 24px; overflow: hidden; border: 1px solid var(--w-tint-line); border-radius: var(--w-r-card); background: var(--w-tint); color: var(--c-dark); }
.acct-head::before { content: none; }
.acct-head::after { content: none; }
.acct-head > * { position: relative; z-index: 1; }
.acct-head__avatar { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--c-dark); color: var(--c-brand); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 28px; font-weight: 800; }
.acct-head h2 { margin-bottom: 2px; font-size: 23px; color: var(--c-dark); }
.acct-head p { margin: 0; direction: ltr; font-size: 14px; color: var(--c-muted); text-align: right; }
/* shortcuts: the first one charcoal, the others white */
.acct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acct-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 14px; padding: 16px; border: 1px solid var(--c-line); border-radius: var(--w-r-box); background: var(--c-white); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.acct-card:hover { transform: translateY(-3px); border-color: var(--c-brand-dark); box-shadow: var(--w-shadow); }
.acct-card .icon { grid-row: 1 / 3; width: 50px; height: 50px; padding: 13px; border-radius: 16px; background: var(--w-tint); color: var(--c-dark); font-size: 24px; }
.acct-card b { align-self: end; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 17px; line-height: 1.4; color: var(--c-dark); }
.acct-card small { align-self: start; font-size: 13px; color: var(--c-muted); }
.acct-card:first-child { border-color: var(--c-dark); background: var(--c-dark); }
.acct-card:first-child .icon { background: var(--c-brand); color: var(--c-dark-deep); }
.acct-card:first-child b { color: var(--c-white); }
.acct-card:first-child small { color: rgba(245, 245, 244, .75); }
.acct-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 24px; }
.acct-title::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--c-brand-dark); }
.acct-cards + .acct-title, .acct-cards + .acct-empty { margin-top: 28px; }
.acct-title__count { padding: 2px 12px; border-radius: var(--radius-pill); background: var(--c-soft); font-family: var(--f-body); word-spacing: normal; font-size: 13px; font-weight: 500; color: var(--c-muted); }
/* orders as cards */
.acct-orders { display: grid; gap: 14px; }
.acct-order { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--w-r-box); background: var(--c-white); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.acct-order:hover { border-color: var(--c-brand-dark); box-shadow: var(--w-shadow); }
.acct-order__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.acct-order__num { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 18px; font-weight: 800; color: var(--c-dark); }
.acct-order__date { font-size: 13px; color: var(--c-muted); }
.acct-order__items { width: fit-content; max-width: 100%; margin-top: 10px; padding: 6px 14px; border-radius: var(--w-r-sm); background: var(--c-soft); font-size: 14px; color: var(--c-ink); }
.acct-order__total { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 20px; font-weight: 800; color: var(--c-dark); }
.acct-order__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
/* status chips */
.acct-status { display: inline-flex; align-items: center; gap: 7px; padding: 3px 13px; padding-inline-start: 10px; border-radius: var(--radius-pill); background: var(--c-soft); color: var(--c-dark); font-family: var(--f-body); word-spacing: normal; font-size: 12.5px; font-weight: 600; line-height: 1.7; }
.acct-status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.acct-status--processing { background: var(--c-dark); color: var(--c-brand); }
.acct-status--completed { background: #e4f3ea; color: #2e7d4f; }
.acct-status--on-hold, .acct-status--pending { background: var(--c-brand); color: var(--c-dark); box-shadow: inset 0 0 0 1px var(--c-brand-dark); }
.acct-status--cancelled, .acct-status--failed, .acct-status--refunded { background: #fde8e6; color: #b3261e; }
/* empty states */
.acct-empty { padding: 48px 20px; border: 0; border-radius: var(--w-r-card); background: var(--c-soft); text-align: center; }
.acct-empty > .icon { width: 78px; height: 78px; margin: 0 auto 16px; padding: 21px; border-radius: 50%; background: var(--c-brand); color: var(--c-dark-deep); font-size: 36px; box-shadow: 0 0 0 10px var(--c-white); }
.acct-empty p { margin-bottom: 18px; font-size: 15.5px; color: var(--c-muted); }
/* "بياناتي" */
.acct-form { max-width: 560px; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
.acct-form .form-row { margin-bottom: 16px; }
.acct-form label { display: block; margin-bottom: 6px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; color: var(--c-dark); }
.acct-form label small { font-family: var(--f-body); word-spacing: normal; font-weight: 400; color: var(--c-muted); }
.acct-form .input-text { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--c-line); border-radius: var(--w-r-md); background: var(--c-white); font-size: 15px; }
.acct-form .input-text:disabled { border-style: dashed; background: var(--c-soft); color: var(--c-muted); }
.acct-form .acct-note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--c-muted); }
.acct-form > p:last-of-type { margin: 4px 0 0; }
/* one order */
.acct-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.acct-view__box { padding: 22px; border: 1px solid var(--c-line); border-radius: var(--w-r-box); background: var(--c-white); }
.acct-view__box:nth-child(-n+2) { grid-column: 1 / -1; }
.acct-view__box h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding-bottom: 0; border: 0; font-size: 18px; }
.acct-view__box h3::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--c-brand-dark); }
.acct-view__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border: 0; border-radius: var(--w-r-sm); font-size: 14.5px; }
.acct-view__row:nth-of-type(odd) { background: var(--c-soft); }
.acct-view__row span { color: var(--c-muted); }
.acct-view__row b { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); color: var(--c-dark); text-align: left; }
.acct-view > .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.acct-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--c-line); border-radius: 16px; }
.acct-item + .acct-item { margin-top: 10px; }
.acct-item img { width: 72px; height: 72px; border-radius: 12px; background: var(--c-soft); object-fit: cover; }
.acct-item__name { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; font-weight: 700; color: var(--c-dark); }
.acct-item__name small { padding: 0 8px; border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark); font-weight: 800; }
.acct-item__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--c-muted); }
.acct-item__meta span { display: inline-block; margin: 0; padding: 1px 10px; border-radius: var(--radius-pill); background: var(--c-soft); }
.acct-item__total { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; font-weight: 800; color: var(--c-dark); white-space: nowrap; }
/* status steps: round marks joined by a dashed line, done = yellow */
.acct-steps { position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin: 6px 0 2px; }
.acct-steps::before { content: none; }
.acct-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 6px; font-size: 13px; line-height: 1.5; color: var(--c-muted); text-align: center; }
.acct-step::before { content: ""; position: absolute; inset-inline-start: 50%; top: 21px; width: 100%; border-top: 2px dashed #d7d7d3; }
.acct-step:last-child::before { content: none; }
.acct-step.is-done:has(+ .is-done)::before { border-top: 2px solid var(--c-brand-dark); }
.acct-step i { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 2px dashed #c2c2be; border-radius: 50%; background: var(--c-white); color: transparent; font-size: 18px; font-style: normal; font-weight: 800; }
.acct-step.is-done { color: var(--c-dark); font-weight: 600; }
.acct-step.is-done i { border: 2px solid var(--c-brand-dark); background: var(--c-brand); color: var(--c-dark-deep); box-shadow: 0 0 0 5px var(--w-tint); }
.acct-step.is-cancelled { color: #b3261e; font-weight: 600; }
.acct-step.is-cancelled i { border: 2px solid #b3261e; background: #fde8e6; color: #b3261e; }
/* wishlist */
.products__grid--wish { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* default WooCommerce account screens that may still show (lost password…) */
.woocommerce-account form.login, .woocommerce-account form.register, .woocommerce-ResetPassword { max-width: 560px; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--w-r-card); background: var(--c-white); box-shadow: var(--w-shadow); }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.woocommerce-account .u-columns .col-1, .woocommerce-account .u-columns .col-2 { float: none; width: 100%; }
.woocommerce-form-login .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.woocommerce-LostPassword { font-size: 13px; }
.woocommerce-LostPassword a { color: var(--c-dark); text-decoration: underline; text-decoration-color: var(--c-brand-dark); }
.woocommerce-password-strength { padding: 4px 0; font-size: 12.5px; }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { color: var(--c-danger); }
.woocommerce-password-strength.good, .woocommerce-password-strength.strong { color: var(--c-success); }
.show-password-input { display: none; }
.woocommerce-orders-table__cell-order-actions .button { min-height: 38px; padding: 0 16px; font-size: 13.5px; }

/* 13. login popup (phone → code → welcome) -------------------------------------
   white card, yellow head with the logo tile hanging over its edge; a bottom sheet on phones */
.auth { position: fixed; inset: 0; z-index: 1400; display: none; align-items: center; justify-content: center; padding: 16px; }
.auth.is-open { display: flex; }
.auth__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .62); backdrop-filter: blur(4px); animation: fadeIn .25s var(--ease); }
.auth__card { position: relative; width: min(430px, 100%); max-height: calc(100vh - 32px); padding: 0 26px 24px; overflow: auto; border-radius: 24px; background: var(--c-white); box-shadow: var(--w-shadow-lg); text-align: right; scrollbar-width: none; animation: dropIn .35s var(--ease); }
.auth__card::-webkit-scrollbar { display: none; }
.auth__head { position: relative; height: 92px; margin: 0 -26px 50px; background: var(--c-brand); }
.auth__head::after { content: none; }
.auth__brand { position: absolute; right: 26px; bottom: -36px; display: grid; place-items: center; min-width: 78px; height: 78px; margin: 0; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 22px; background: var(--c-white); box-shadow: var(--w-shadow); } /* as wide as the logo: a square mark or a wide lockup */
.auth__brand img { width: auto; height: auto; max-width: 128px; max-height: 50px; object-fit: contain; }
.auth__close { position: absolute; top: 14px; left: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-dark); transition: background var(--t-fast), color var(--t-fast); }
.auth__close:hover { background: var(--c-dark); color: var(--c-white); }
.auth[data-forced="1"] .auth__close { display: none; }
.auth__title { margin-bottom: 6px; font-size: 25px; font-weight: 800; color: var(--c-dark); }
.auth__text { margin-bottom: 16px; font-size: 14.5px; line-height: 1.8; color: var(--c-muted); }
.auth__text:empty { display: none; }
.auth__text--notice { margin-bottom: 10px; padding: 10px 14px; border: 0; border-radius: var(--w-r-md); background: var(--w-tint); color: var(--c-dark); font-weight: 600; }
.auth__label { display: block; margin: 14px 0 6px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; color: var(--c-dark); text-align: right; }
.auth__label small { font-family: var(--f-body); word-spacing: normal; font-weight: 400; color: var(--c-muted); }
.auth__input { width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--c-line); border-radius: var(--w-r-md); background: var(--c-white); font-size: 16px; color: var(--c-ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.auth__input:focus { outline: 0; border-color: var(--c-brand-dark); box-shadow: var(--w-ring); }
.auth__phone { display: flex; gap: 8px; }
.auth__phone .auth__input { flex: 1; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 700; letter-spacing: .06em; }
.auth__input--phone { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 19px; font-weight: 700; letter-spacing: .08em; text-align: left; }
.auth__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--c-muted); text-align: right; transition: color var(--t-fast); }
.auth__sub img { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.auth__sub.is-bad { color: #b3261e; font-weight: 600; }
.auth__sub.is-ok { color: #1e7b45; font-weight: 600; }
.auth__input.is-bad { border-color: #d9534f; }
.auth__input.is-ok { border-color: #2e9e5b; }
.auth__error { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--w-r-sm); background: #fde8e6; color: #b3261e; font-size: 13.5px; font-weight: 600; text-align: right; }
.auth__submit { min-height: 54px; margin-top: 18px; font-size: 17px; }
.auth__submit[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.auth__submit.is-busy { opacity: .7; pointer-events: none; }
.btn--wa { --bg: #25d366; --fg: #fff; --bd: #25d366; }
.btn--wa:hover { --bg: #1ebe5b; --bd: #1ebe5b; }
.auth__btn-ic { display: inline-flex; font-size: 22px; line-height: 1; }
.auth__btn-ic:empty { display: none; }
.auth__hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12px; color: var(--c-muted); }
.auth__hint .icon { font-size: 14px; color: var(--c-muted); }
.auth__otp { display: flex; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.auth__otp input { flex: 1 1 0; min-width: 0; max-width: 60px; height: 64px; padding: 0; border: 1.5px solid var(--c-line); border-radius: 16px; background: var(--c-soft); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 28px; font-weight: 800; color: var(--c-dark); text-align: center; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.auth__otp input:focus { outline: 0; border-color: var(--c-brand-dark); background: var(--c-white); box-shadow: var(--w-ring); }
.auth__otp input.is-filled { border-color: var(--c-brand-dark); background: var(--w-tint); }
.auth__links { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.auth__link { padding: 6px 14px; border: 0; border-radius: var(--radius-pill); background: var(--c-soft); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background var(--t-fast); }
.auth__link:hover { background: var(--w-tint); }
.auth__link:disabled { background: none; color: var(--c-muted); cursor: default; }
.auth__step--done { padding-top: 4px; text-align: center; }
.auth__done-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-brand); color: var(--c-dark-deep); box-shadow: 0 0 0 10px var(--w-tint); }
.auth__done-icon .icon { font-size: 40px; }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
/* optional country picker: flag + code button, searchable list */
.ccp { position: relative; flex: none; }
.ccp__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 12px 0 10px; border: 1.5px solid var(--c-line); border-radius: var(--w-r-md); background: var(--c-white); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 14.5px; font-weight: 700; color: var(--c-dark); white-space: nowrap; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.ccp__btn .icon { font-size: 14px; color: var(--c-muted); transition: transform .2s; }
.ccp.is-open .ccp__btn { border-color: var(--c-brand-dark); box-shadow: var(--w-ring); }
.ccp.is-open .ccp__btn .icon { transform: rotate(180deg); }
.ccp__flag { flex: none; width: 24px; height: 18px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
/* the list is moved to <body> by JS (the popup card scrolls and would clip it) and floats under the button */
.ccp__panel { position: fixed; top: 0; left: 0; z-index: 1450; width: 320px; padding: 10px; border: 1px solid var(--c-line); border-radius: var(--w-r-box); background: var(--c-white); box-shadow: var(--w-shadow-lg); direction: rtl; text-align: right; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.ccp__panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ccp__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ccp__search { flex: 1; min-height: 44px; padding: 0 14px; border: 1.5px solid transparent; border-radius: var(--radius-pill); background: var(--c-soft); font-size: 14px; }
.ccp__search:focus { outline: 0; border-color: var(--c-brand-dark); background: var(--c-white); box-shadow: var(--w-ring); }
.ccp__close { display: none; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-soft); color: var(--c-dark); }
.ccp__list { max-height: 300px; margin: 0; padding: 0; overflow: auto; list-style: none; scrollbar-width: thin; }
.ccp__list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--w-r-sm); font-size: 14px; color: var(--c-ink); cursor: pointer; }
.ccp__list li:hover { background: var(--c-soft); }
.ccp__list li.is-selected { background: var(--w-tint); color: var(--c-dark); font-weight: 600; }
.ccp__list li[hidden] { display: none; }
.ccp__name { flex: 1; }
.ccp__list .ccp__code { direction: ltr; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 700; color: var(--c-muted); }
.ccp__empty { padding: 14px; font-size: 13px; color: var(--c-muted); text-align: center; }
.ccp__backdrop { position: fixed; inset: 0; z-index: 1440; display: none; background: rgba(17, 17, 17, .45); opacity: 0; transition: opacity .2s; }

/* 14. user menu (dropdown on desktop, bottom sheet on phones) + wishlist hearts -- */
.header-icon--user { background: var(--c-dark); color: var(--c-brand); }
.header-icon--user:hover { background: var(--c-dark-light); color: var(--c-brand); }
.umenu { position: relative; }
.umenu__initial { font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 18px; font-weight: 800; line-height: 1; }
/* the panel is moved to <body> by JS (the sticky header would trap a fixed element), positioned under the button */
.umenu__panel { position: fixed; top: 0; left: 0; z-index: 1300; width: 272px; padding: 8px; border: 1px solid var(--c-line); border-radius: var(--w-r-box); background: var(--c-white); box-shadow: var(--w-shadow-lg); direction: rtl; text-align: right; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.umenu__panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.umenu__panel::before { content: none; }
.umenu__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 12px; border: 0; border-radius: var(--w-r-md); background: var(--w-tint); }
.umenu__avatar { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-dark); color: var(--c-brand); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 19px; font-weight: 800; }
.umenu__head b { display: block; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; line-height: 1.3; color: var(--c-dark); }
.umenu__head small { display: block; font-size: 12px; color: var(--c-muted); text-align: right; }
.umenu__close { display: none; place-items: center; width: 34px; height: 34px; margin-right: auto; border-radius: 50%; background: var(--c-white); color: var(--c-dark); }
.umenu__panel a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--w-r-sm); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; color: var(--c-dark); transition: background var(--t-fast); }
.umenu__panel a .icon { font-size: 18px; color: var(--c-dark); }
.umenu__panel a:hover { background: var(--c-soft); }
.umenu__logout { margin-top: 6px; border-top: 0; border-radius: var(--w-r-sm) !important; background: #fdf0ee; color: #b3261e !important; }
.umenu__logout:hover { background: #fde8e6 !important; }
.umenu__logout .icon { color: #b3261e !important; }
.umenu__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-right: auto; padding: 0 6px; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark-deep); font-size: 11.5px; font-weight: 800; }
.umenu__count[hidden] { display: none; }
.umenu__backdrop { position: fixed; inset: 0; z-index: 1290; display: none; background: rgba(17, 17, 17, .55); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s; }
/* heart: a white disc over the picture; saved = yellow disc with a filled charcoal heart */
.wish { position: absolute; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c-white); color: var(--c-dark); box-shadow: 0 6px 16px rgba(17, 17, 17, .14); cursor: pointer; transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast); }
.wish .icon { font-size: 18px; transition: transform .25s var(--ease); }
.wish:hover { transform: scale(1.08); background: var(--c-brand-light); color: var(--c-dark); }
.wish.is-active { background: var(--c-brand); color: var(--c-dark-deep); box-shadow: 0 0 0 1px var(--c-brand-dark), 0 6px 16px rgba(17, 17, 17, .14); }
.wish.is-active .icon { fill: currentColor; }
.wish.is-pop .icon { animation: wishPop .45s var(--ease); }
@keyframes wishPop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.product-card__wish { top: 14px; left: 14px; }

/* 15. search popup + results page ---------------------------------------------
   white card with a light-yellow head; results as rows (picture, name, price at the far side) */
.search-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.search-modal.is-open { display: block; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .62); backdrop-filter: blur(4px); animation: fadeIn .25s var(--ease); }
.search-modal__panel { position: relative; display: flex; flex-direction: column; width: min(680px, calc(100% - 32px)); max-height: 82vh; margin: 8vh auto 0; overflow: hidden; border: 0; border-radius: 24px; background: var(--c-white); box-shadow: var(--w-shadow-lg); animation: dropIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-24px) scale(.98); } to { opacity: 1; transform: none; } }
.search-modal__form { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 0; background: var(--w-tint); }
.search-modal__icon { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-brand); color: var(--c-dark-deep); font-size: 21px; }
.search-modal__input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 20px; font-weight: 700; color: var(--c-dark); outline: 0; }
.search-modal__input::placeholder { color: #989898; font-weight: 500; }
.search-modal__input::-webkit-search-cancel-button { display: none; }
.search-modal__close { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-white); color: var(--c-dark); transition: background var(--t-fast), color var(--t-fast); }
.search-modal__close:hover { background: var(--c-dark); color: var(--c-white); }
.search-modal__body { padding: 18px; overflow: auto; }
body.is-locked .search-modal__body { overscroll-behavior: contain; }
.search-popular__title { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 16px; font-weight: 800; color: var(--c-dark); }
.search-popular__title .icon { color: var(--c-dark); }
.search-popular__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; padding-inline-start: 12px; border: 0; border-radius: var(--radius-pill); background: var(--c-soft); color: var(--c-dark); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.search-chip .icon { font-size: 14px; color: var(--c-muted); }
.search-chip:hover { background: var(--c-brand); color: var(--c-dark-deep); }
.search-chip:hover .icon { color: var(--c-dark-deep); }
.search-results { margin-top: 16px; }
.search-results:empty { display: none; }
.search-results__title { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 14px; font-weight: 800; color: var(--c-muted); }
.search-results__title::after { content: ""; flex: 1; border-top: 1px dashed var(--c-line); }
.search-results__products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 8px; padding-inline-end: 16px; border: 1px solid transparent; border-radius: 16px; background: var(--c-soft); transition: background var(--t-fast), border-color var(--t-fast); }
.search-item:hover { border-color: var(--c-brand-dark); background: var(--w-tint); }
.search-item img { flex: none; width: 60px; height: 60px; border-radius: 12px; background: var(--c-white); object-fit: contain; }
.search-item > div { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; min-width: 0; }
.search-item__title { grid-column: 1; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--c-dark); }
.search-item__meta { grid-column: 1; font-size: 12px; color: var(--c-muted); }
.search-item .price { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
.search-item .price__now { font-size: 17px; }
.search-item .price__old { font-size: 12.5px; }
.search-results__articles { display: grid; gap: 8px; }
.search-results__articles a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border: 1px solid var(--c-line); border-radius: var(--w-r-md); background: var(--c-white); font-size: 14px; font-weight: 600; color: var(--c-dark); transition: border-color var(--t-fast), background var(--t-fast); }
.search-results__articles a:hover { border-color: var(--c-brand-dark); background: var(--w-tint); }
.search-results__articles small { font-weight: 400; color: var(--c-muted); white-space: nowrap; }
.search-results__more { display: flex; justify-content: center; margin-top: 16px; }
.search-results__state { padding: 22px 0; color: var(--c-muted); text-align: center; }
.search-page__form { display: flex; align-items: center; gap: 10px; max-width: 660px; margin: 0 auto 38px; padding: 6px; padding-inline-start: 20px; border: 1.5px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-white); box-shadow: var(--w-shadow); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color var(--t-fast); }
.search-page__form:focus-within { border-color: var(--c-brand-dark); }
.search-page__form > .icon { color: var(--c-dark); font-size: 22px; }
.search-page__form .input { flex: 1; min-width: 0; min-height: 46px; padding: 8px 0; border: 0; background: none; box-shadow: none; }
.search-page__form .btn { min-height: 46px; }
.search-page .section-head + .products__grid, .search-page .section-head + .blog-grid { margin-top: 0; }
.search-page .blog-grid + .section-head, .search-page .products__grid + .section-head { margin-top: 44px; }
.search-empty { max-width: 640px; margin: 0 auto; }

/* 16. date picker (flatpickr) -------------------------------------------------
   white rounded card, yellow head, round days, charcoal selected day, closed days greyed and struck through */
.input--date { padding-left: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='4'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; cursor: pointer; }
/* the calendar lives inside the field (static) — nothing on the way may clip it */
.flatpickr-wrapper { position: relative; display: block; }
.cart-item, .cart-item__fields, .cart-item__row2, .field, .pform { overflow: visible; }
.field:has(.flatpickr-calendar.open) { position: relative; z-index: 20; }
.flatpickr-calendar.static { top: calc(100% + 10px); right: 0; left: auto; z-index: 30; }
.flatpickr-calendar { width: 322px; padding: 0 0 10px; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--w-r-box); background: var(--c-white); box-shadow: var(--w-shadow-lg); direction: rtl; font-family: var(--f-body); word-spacing: normal; }
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none; }
.flatpickr-months { padding: 8px 6px; border: 0; border-radius: 0; background: var(--c-brand); }
.flatpickr-months .flatpickr-month { height: 44px; background: transparent; color: var(--c-dark-deep); }
.flatpickr-current-month { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 9px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 18px; font-weight: 800; color: var(--c-dark-deep); }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month span.cur-month, .flatpickr-current-month input.cur-year, .flatpickr-current-month .numInputWrapper { background: transparent; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 800; color: var(--c-dark-deep) !important; }
.flatpickr-current-month input.cur-year { font-size: 18px; color: var(--c-dark-deep) !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months option { background: #fff; color: var(--c-dark); }
.flatpickr-current-month .numInputWrapper:hover, .flatpickr-current-month .flatpickr-monthDropdown-months:hover { background: rgba(17, 17, 17, .08); }
.flatpickr-current-month .numInputWrapper span { display: none; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { top: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); color: var(--c-dark-deep) !important; fill: var(--c-dark-deep); }
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { background: var(--c-dark); color: var(--c-white) !important; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--c-white); }
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg { width: 12px; height: 12px; fill: currentColor; }
.flatpickr-innerContainer { padding: 8px 10px 0; }
.flatpickr-rContainer { width: 100%; }
.flatpickr-weekdays { height: 34px; margin-bottom: 4px; border: 0; background: transparent; }
.flatpickr-weekdaycontainer { padding: 0; }
span.flatpickr-weekday { background: transparent; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 12.5px; font-weight: 700; color: var(--c-muted); }
.flatpickr-days { width: 100% !important; }
.dayContainer { width: 100% !important; min-width: 0 !important; max-width: none !important; padding: 2px 0; gap: 3px 0; }
.flatpickr-day { flex-basis: 13.6%; max-width: 13.6%; height: 38px; margin: 0 .34%; border: 1.5px solid transparent; border-radius: var(--radius-pill); background: var(--c-white); color: var(--c-dark-deep); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; line-height: 35px; }
.flatpickr-day:hover, .flatpickr-day:focus { border-color: var(--c-brand-dark); background: var(--w-tint); color: var(--c-dark-deep); }
.flatpickr-day.today { border-color: var(--c-brand-dark); background: var(--w-tint); color: var(--c-dark); }
.flatpickr-day.today:hover { background: var(--c-brand-light); color: var(--c-dark-deep); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus, .flatpickr-day.startRange, .flatpickr-day.endRange { border-color: var(--c-dark); background: var(--c-dark); color: var(--c-white); font-weight: 800; box-shadow: 0 6px 14px rgba(17, 17, 17, .24); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { border-color: transparent; background: #f1f1ef; color: #a3a3a3; font-weight: 500; cursor: not-allowed; }
.flatpickr-day.flatpickr-disabled { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: #8c8c8c; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { visibility: hidden; } /* only the current month's days show, so nothing reads as half-open */

/* 17. forms: default WooCommerce rows + Contact Form 7 ------------------------- */
.form-row { margin: 0 0 14px; }
.form-row label { display: block; margin-bottom: 6px; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 14.5px; font-weight: 700; color: var(--c-dark); }
.form-row label .required { color: var(--c-danger); text-decoration: none; }
.form-row label .optional { font-family: var(--f-body); word-spacing: normal; font-size: 12px; font-weight: 400; color: var(--c-muted); }
.form-row .input-text, .form-row select, .form-row textarea, .select2-container--default .select2-selection--single { width: 100%; height: auto; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--c-line); border-radius: var(--w-r-md); background: var(--c-white); font-size: 14.5px; line-height: 1.5; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.form-row .input-text:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-color: var(--c-brand-dark); box-shadow: var(--w-ring); }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.5; color: var(--c-ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { right: auto; left: 8px; height: 100%; }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: var(--c-danger); }
.form-row.woocommerce-validated .input-text { border-color: var(--c-success); }
.form-row-first, .form-row-last { display: inline-block; width: calc(50% - 7px); vertical-align: top; }
.form-row-first { margin-left: 14px; }
.woocommerce form .form-row .input-checkbox { margin-left: 6px; }
:where(.woocommerce-MyAccount-content) > :where(h2, h3) { margin-bottom: 14px; font-size: 22px; }
.wpcf7 form { display: grid; gap: 14px; }
.wpcf7 form > p { margin: 0; }
/* Contact Form 7 prints its hidden inputs in a <fieldset>: no browser frame around it */
.wpcf7 fieldset.hidden-fields-container { display: none; margin: 0; padding: 0; border: 0; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 .wpcf7-response-output:empty { display: none; }
.wpcf7 .cf7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wpcf7 .cf7-grid > p { margin: 0; }
@media (max-width: 600px) { .wpcf7 .cf7-grid { grid-template-columns: minmax(0, 1fr); } }
.wpcf7 .field { margin-bottom: 0; }
.wpcf7 label { display: block; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 15px; font-weight: 700; color: var(--c-dark); }
.wpcf7 label .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 input[type=number], .wpcf7 input[type=date], .wpcf7 textarea, .wpcf7 select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid transparent; border-radius: var(--w-r-md); background: var(--c-soft); font-family: var(--f-body); word-spacing: normal; font-size: 15px; font-weight: 400; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:not([type=submit]):focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 0; border-color: var(--c-brand-dark); background: var(--c-white); box-shadow: var(--w-ring); }
.wpcf7 input[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 34px; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark-deep); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: 17px; font-weight: 800; cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); }
.wpcf7 input[type=submit]:hover { background: var(--c-brand-light); transform: translateY(-1px); }
.wpcf7-not-valid { border-color: var(--c-danger) !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 5px; font-family: var(--f-body); word-spacing: normal; font-size: 12.5px; font-weight: 500; color: var(--c-danger); }
.wpcf7-response-output { margin: 4px 0 0 !important; padding: 12px 16px !important; border: 1px solid var(--c-line) !important; border-radius: var(--w-r-md); font-size: 14px; font-weight: 600; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #cbe6d6 !important; background: #f0f8f3; color: #1f5c3a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #f2cdc7 !important; background: #fdf1ef; color: #8c2a21; }
.wpcf7-spinner { display: none; }

/* 18. 404 ---------------------------------------------------------------------- */
.page-404 { position: relative; max-width: 640px; margin: 0 auto; padding: 46px 20px 50px; border-radius: 24px; background: var(--c-soft); text-align: center; }
.page-404::before { content: none; }
.page-404__num { display: flex; align-items: center; justify-content: center; gap: .06em; margin-bottom: 14px; color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-size: clamp(92px, 16vw, 150px); font-weight: 900; line-height: 1; direction: ltr; }
.page-404__num i { display: grid; place-items: center; width: 1.06em; height: 1.06em; border-radius: 50%; background: var(--c-brand); font-style: normal; }
.page-404 p { margin: 0 0 22px; font-size: 16px; color: var(--c-muted); }
.page-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* 19. video lightbox ------------------------------------------------------------- */
.vlb { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 20px; }
.vlb.is-open { display: flex; }
.vlb__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .82); backdrop-filter: blur(4px); animation: fadeIn .25s var(--ease); }
.vlb__box { position: relative; width: min(960px, 100%); overflow: hidden; border: 0; border-radius: 24px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: dropIn .35s var(--ease); }
.vlb__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vlb__frame iframe, .vlb__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlb__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--c-dark-deep); color: var(--c-white); font-family: var(--f-head); word-spacing: var(--ws-head, .12em); font-weight: 700; }
.vlb__close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--c-white); }
.vlb__close:hover { background: var(--c-brand); color: var(--c-dark-deep); }

/* 20. verified-store seal (floating button bottom-left + popup card like the official SBC seal) ----
   the official seal's own look, not the shop's colours: royal-blue pill with the center's mark in a light tile,
   royal-blue → navy card above it, page dimmed behind, white SBC lockup, green store name, navy QR in a thin
   green gradient frame, status tile, white button */
.sbc { --sbc-navy: #0d1b4b; --sbc-blue: #0f1f66; --sbc-green: #5fd890; --sbc-w: 300px; position: fixed; left: 16px; bottom: 16px; z-index: 1250; display: flex; flex-direction: column; align-items: flex-start; font-family: var(--f-head); word-spacing: var(--ws-head, .12em); direction: rtl; }
.sbc.is-open { align-items: center; width: var(--sbc-w); }
.sbc-backdrop { position: fixed; inset: 0; z-index: 1249; background: rgba(8, 14, 34, .5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.sbc-backdrop.is-open { opacity: 1; visibility: visible; }
/* badge: royal-blue pill, the mark in a light rounded tile, white text */
.sbc__btn { word-spacing: .3em; position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 7px 0 16px; border-radius: 999px; background: var(--sbc-blue); color: #fff; font-weight: 700; font-size: 13.5px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 18px rgba(8, 14, 40, .38); white-space: nowrap; animation: sbcFloat 2.4s ease-in-out infinite; }
.sbc__emblem { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 3px; border-radius: 8px; background: linear-gradient(180deg, #ffffff 0%, #d3d9e6 100%); color: #1f3f99; }
.sbc__emblem svg, .sbc__lockup-emblem svg { width: 100%; height: 100%; display: block; }
.sbc.is-open .sbc__btn { margin-top: 12px; animation: none; }
@keyframes sbcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* card */
.sbc__card { position: relative; display: none; width: var(--sbc-w); max-height: calc(100vh - 96px); overflow: auto; padding: 22px 18px 22px; border-radius: 24px; background: linear-gradient(180deg, #08176a 0%, #0a1a5c 40%, #091942 100%); border: 1px solid rgba(255, 255, 255, .07); color: #fff; text-align: center; box-shadow: 0 22px 60px rgba(4, 10, 30, .55); scrollbar-width: none; transform-origin: 50% 100%; }
.sbc__card::-webkit-scrollbar { display: none; }
.sbc.is-open .sbc__card { display: block; animation: sbcPop .34s cubic-bezier(.2, .8, .3, 1); }
@keyframes sbcPop { from { opacity: 0; transform: translateY(24px) scale(.55); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.sbc__label { font-size: 16px; font-weight: 500; line-height: 1.4; }
.sbc__logo { margin: 14px auto 0; display: flex; justify-content: center; }
.sbc__logo img { height: 46px; width: auto; max-width: 100%; display: block; object-fit: contain; }
.sbc__lockup { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.sbc__lockup-emblem { width: 40px; height: 44px; flex: none; color: #fff; }
.sbc__lockup-text { display: flex; flex-direction: column; align-items: flex-start; text-align: right; line-height: 1.15; }
.sbc__lockup-text b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.sbc__lockup-text small { font-size: 7px; font-weight: 700; letter-spacing: .01em; font-family: Arial, Helvetica, sans-serif; direction: ltr; margin-top: 3px; white-space: nowrap; }
.sbc__lockup-text em { font-style: normal; font-size: 6.6px; font-family: Arial, Helvetica, sans-serif; letter-spacing: .04em; direction: ltr; margin-top: 3px; opacity: .8; white-space: nowrap; }
.sbc__name { margin-top: 16px; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--sbc-green); }
.sbc__url { margin-top: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 700; word-break: break-all; line-height: 1.4; }
.sbc__url a { color: #fff; }
/* QR: navy code on a white tile inside a thin green gradient frame, navy check in a white ring in the middle */
.sbc__qr-box { position: relative; margin: 18px auto 0; padding: 9px; border-radius: 24px; background: linear-gradient(20deg, #66eaa8 0%, #34a882 40%, #22686b 75%, #1d4f6a 100%); width: fit-content; box-shadow: 0 10px 28px rgba(30, 200, 140, .2); }
.sbc__qr { position: relative; z-index: 1; width: 160px; height: 160px; background: #fff; border-radius: 17px; padding: 13px; }
/* the dashboard's glow option: a light that travels around the green frame + a soft green glow that breathes */
.sbc__qr-box--glow { overflow: hidden; isolation: isolate; animation: sbcQrGlow 2.6s ease-in-out infinite; }
.sbc__qr-box--glow::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(from 0deg, transparent 0 58%, rgba(190, 255, 220, .45) 68%, rgba(255, 255, 255, .9) 76%, rgba(190, 255, 220, .45) 84%, transparent 94%); animation: sbcQrSpin 3s linear infinite; }
@keyframes sbcQrSpin { to { rotate: 1turn; } }
@keyframes sbcQrGlow { 0%, 100% { box-shadow: 0 10px 28px rgba(30, 200, 140, .2); } 50% { box-shadow: 0 10px 34px 4px rgba(60, 230, 160, .42); } }
@media (prefers-reduced-motion: reduce) { .sbc__qr-box--glow, .sbc__qr-box--glow::before { animation: none; } }
.sbc__qr canvas { width: 100% !important; height: 100% !important; display: block; }
.sbc__qr span { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 10px; background: var(--sbc-navy); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px #fff; }
.sbc__qr span svg { width: 22px; height: 22px; }
.sbc__status { display: inline-block; margin-top: 18px; padding: 8px 24px; border-radius: 12px; background: rgba(255, 255, 255, .15); color: #e8ebf3; font-size: 14px; font-weight: 700; }
.sbc__status i { font-style: normal; margin-right: 2px; }
.sbc__date { margin-top: 12px; font-size: 14px; font-weight: 700; }
.sbc__date b { direction: ltr; display: inline-block; font-family: Arial, Helvetica, sans-serif; font-weight: 700; }
.sbc__verify { display: flex; align-items: center; justify-content: center; margin: 16px auto 0; padding: 11px 16px; width: 58%; border-radius: 999px; background: #fff; color: #1b2340; font-weight: 700; font-size: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.sbc__verify:hover { background: #eef2fb; color: #1b2340; }
@media (max-width: 767px) { .sbc { --sbc-w: min(318px, calc(100vw - 40px)); left: 12px; bottom: 30px; } body.has-mobile-buy .sbc { bottom: 100px; } .sbc__card { max-height: calc(100vh - 130px); padding: 20px 16px; } }

/* 21. responsive ------------------------------------------------------------------ */
@media (max-width: 1199px) {
  .cart__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
  .pfeatures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-account .woocommerce { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 1100px) and (min-width: 768px) { .products__grid--wish { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .cart__grid { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
  /* account: the side menu becomes a row of chips that scrolls sideways */
  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; padding: 6px; overflow-x: auto; border-radius: var(--radius-pill); box-shadow: none; scrollbar-width: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { flex: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation li a { gap: 8px; padding: 5px 16px; padding-inline-start: 5px; border-radius: var(--radius-pill); font-size: 14.5px; white-space: nowrap; }
  .woocommerce-account .woocommerce-MyAccount-navigation li a .icon { width: 32px; height: 32px; padding: 8px; border-radius: 50%; }
  .woocommerce-account .woocommerce-MyAccount-navigation li.li--logout { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 900px) {
  .gallery__main { width: 100%; }
  .gallery__thumbs .swiper-slide, .gallery__thumb { width: 72px; height: 72px; }
}
@media (max-width: 767px) {
  .page-hero { padding-top: 10px; }
  .page-hero .container { padding-top: 16px; padding-bottom: 24px; padding-inline: calc(var(--gutter) + 16px); }
  .page-hero .container::before { border-radius: var(--w-r-card); }
  .page-hero .breadcrumb { margin-bottom: 10px; }
  .breadcrumb { font-size: 12.5px; }
  .page-single, .article-single, .blog-page, .shop-page, .search-page { padding-top: 24px; }
  .page-single .page-content { border-radius: var(--w-r-box); }
  .page-content h2, .article-body h2 { font-size: 22px; margin-top: 28px; }
  .page-content h3, .article-body h3 { font-size: 18.5px; margin-top: 22px; }
  .page-content blockquote, .article-body blockquote { padding: 18px 18px 18px 18px; padding-inline-start: 54px; font-size: 16.5px; }
  .page-content blockquote::before, .article-body blockquote::before { inset-inline-start: 14px; font-size: 60px; }
  .article-figure { margin-bottom: 20px; border-radius: var(--w-r-box); }
  .blog-cats { margin-bottom: 22px; }
  .blog-cats a { padding: 8px 17px; font-size: 14.5px; }
  .blog-grid { gap: 16px; }
  .pagination-bs { gap: 6px; margin-top: 32px; }
  .pagination-bs .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; font-size: 15px; }
  .cart-empty { padding: 40px 16px; border-radius: var(--w-r-box); }
  .cart-empty::before { width: 66px; height: 66px; background-size: 30px; }
  .woocommerce-error, .woocommerce-message, .woocommerce-info { font-size: 14px; }
  /* product page */
  .gallery__frame { border-radius: var(--w-r-box); }
  .gallery__main .badge-promo { top: 12px; right: 12px; font-size: 11.5px; }
  .gallery__wish { top: 12px; left: 12px; width: 42px; height: 42px; }
  .gallery__nav { width: 34px; height: 34px; }
  .pinfo__badges { gap: 6px 14px; }
  .pinfo__badges span { font-size: 12px; }
  .pinfo__badges .icon { width: 16px; height: 16px; }
  .pinfo__line { display: flex; width: fit-content; max-width: 100%; font-size: 14px; }
  .pinfo__line .icon { flex: none; }
  /* the fixed buy bar: a white sheet with rounded top corners */
  .mobile-buy { border-top: 0; border-radius: 22px 22px 0 0; background: var(--c-white); box-shadow: 0 -10px 30px rgba(17, 17, 17, .12); }
  .mobile-buy .qty { background: var(--c-soft); border-color: var(--c-soft); }
  .rv__title, .rv > .rv__title { font-size: 23px; }
  .rv__form-wrap { padding: 14px; border-radius: var(--w-r-box); }
  #review_form .comment-form { grid-template-columns: minmax(0, 1fr); }
  .rv__form-wrap .rv__submit { gap: 10px; }
  .rv__item { gap: 10px; padding: 16px 0; }
  .rv__avatar { width: 40px; height: 40px; font-size: 20px; }
  .rv__top { flex-direction: column; gap: 2px; }
  /* cart */
  section.cart { padding: 22px 0 50px; }
  .cart__title { margin-bottom: 16px; }
  .cart-item { border-radius: var(--w-r-box); }
  .cart-item__top { grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px; }
  .cart-item__img { width: 80px; height: 80px; border-radius: 14px; }
  .cart-item__name { font-size: 17px; }
  .cart-item__total { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; min-width: 0; padding: 9px 14px; border-top: 0; border-radius: 14px; text-align: right; }
  .cart-item__total small { font-size: 13px; }
  .cart-item__fields { margin: 0 8px 8px; padding: 14px 12px; border-radius: 14px; }
  .cart-item__row2 { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { padding: 18px; border-radius: var(--w-r-box); }
  .cart-summary__total b { font-size: 25px; }
  /* checkout */
  .wc-page { padding: 24px 0 48px; }
  .co-page-wrap { padding: 16px 0 40px; }
  .co-card { border-radius: var(--w-r-box); }
  .co-sum { padding: 22px 14px 14px; }
  /* phones: the shop tile + thumbs on one line, the total and the coupon chip on the next */
  .co-sum__head { flex-wrap: wrap; gap: 12px; }
  .co-sum__store { flex: 1 1 100%; gap: 10px; }
  .co-sum__amount { display: flex; flex: 1 1 100%; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--c-line); text-align: right; }
  .co-sum__logo { min-width: 50px; height: 50px; padding: 0 8px; border-radius: 15px; }
  .co-sum__logo img { max-width: 92px; max-height: 34px; }
  .co-sum__title { margin-bottom: 6px; font-size: 13px; }
  .co-sum__thumb { width: 34px; height: 34px; border-radius: 10px; }
  .co-sum__total { font-size: 25px; }
  form.checkout.co-main { padding: 18px 14px 16px; }
  .co-who__ic, .co-pay__ic { width: 40px; height: 40px; }
  .co-pay__tile { flex: 1 1 auto; min-height: 54px; padding: 8px 13px; gap: 10px; }
  .co-pay__text { font-size: 14px; }
  .co-secure { justify-content: center; text-align: center; }
  form.checkout.co-main #place_order.co-submit { min-height: 56px; font-size: 17px; }
  .co-coupon__btn { padding: 0 18px; }
  .co-drawer__panel { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: min(86vh, 720px); border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .co-drawer.is-open .co-drawer__panel { transform: none; }
  .co-drawer__handle { position: absolute; top: 8px; left: 50%; display: block; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(17, 17, 17, .18); }
  .co-drawer__head { padding: 22px 18px 14px; }
  .co-items { padding: 16px 16px 12px; }
  .co-totals { margin: 0 12px 12px; padding: 14px; }
  form#order_review { padding: 16px; border-radius: var(--w-r-box); }
  /* thank-you */
  .woocommerce-thankyou-order-received { min-height: 92px; padding: 18px; padding-inline-start: 86px; }
  .woocommerce-thankyou-order-received::before { inset-inline-start: 20px; width: 46px; height: 46px; margin-top: -23px; background-size: 22px; box-shadow: 0 0 0 7px var(--c-white); }
  .woocommerce-order-overview { gap: 10px; }
  .woocommerce-order-overview li { flex: 1 1 calc(50% - 5px); padding: 12px 14px; border-radius: 16px; }
  .woocommerce-order-overview li.email { flex-basis: 100%; }
  .woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details { padding: 16px; border-radius: var(--w-r-box); }
  /* account */
  .acct-view { grid-template-columns: minmax(0, 1fr); }
  .acct-view__box { padding: 16px; }
  .acct-form { padding: 18px; border-radius: var(--w-r-box); }
  .products__grid--wish { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* popups become bottom sheets */
  .auth { align-items: flex-end; padding: 0; }
  .auth__card { width: 100%; max-height: 92vh; padding: 0 18px 22px; border-radius: 24px 24px 0 0; animation: slideUp .35s var(--ease); }
  .auth__head { height: 80px; margin: 0 -18px 46px; }
  .auth__brand { right: 18px; bottom: -32px; min-width: 70px; height: 70px; padding: 0 12px; border-radius: 20px; }
  .auth__brand img { max-width: 118px; max-height: 44px; }
  .auth__title { font-size: 23px; }
  .auth__otp { gap: 8px; }
  .auth__otp input { max-width: 54px; height: 58px; font-size: 24px; }
  .ccp__backdrop { display: block; visibility: hidden; }
  .ccp__backdrop.is-open { opacity: 1; visibility: visible; }
  .ccp__panel { top: auto !important; right: 0; bottom: 0; left: 0 !important; width: auto; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .3s var(--ease), opacity .2s var(--ease), visibility 0s .3s; }
  .ccp__panel.is-open { transform: none; }
  .ccp__close { display: grid; }
  .ccp__list { max-height: 55vh; }
  .ccp__list li { padding: 12px 10px; font-size: 15px; }
  .umenu__backdrop { display: block; }
  .umenu__backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .umenu__panel { top: auto !important; right: 0; bottom: 0; left: 0 !important; width: auto; padding: 22px 12px calc(14px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; transform: translateY(100%); transform-origin: bottom center; transition: transform .35s var(--ease), opacity .2s var(--ease), visibility 0s .35s; }
  .umenu__panel.is-open { transform: none; }
  .umenu__panel::after { content: ""; position: absolute; top: 9px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(17, 17, 17, .16); }
  .umenu__close { display: grid; }
  .umenu__panel a { padding: 13px 12px; font-size: 16px; }
  .product-card__wish { width: 34px; height: 34px; } /* phones: cards are narrow */
  .product-card__wish .icon { font-size: 16px; }
  .flatpickr-calendar.static { right: 0; left: 0; width: 100%; }
  .flatpickr-day { height: 40px; line-height: 37px; }
  .search-page__form { margin-bottom: 26px; }
  .search-page .blog-grid + .section-head, .search-page .products__grid + .section-head { margin-top: 32px; }
  .page-404 { padding: 34px 16px 38px; border-radius: var(--w-r-box); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row-first, .form-row-last { display: block; width: 100%; margin-left: 0; }
  .woocommerce-account .u-columns { grid-template-columns: 1fr; }
  .rv__row, .rv__form-wrap .rv__row { grid-template-columns: minmax(0, 1fr); }
  .pfeatures__grid { gap: 10px; }
  .pfeatures__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; border-radius: 16px; }
  .pfeatures__icon { width: 44px; height: 44px; border-radius: 14px; font-size: 22px; }
  .pfeatures__item h3 { font-size: 15px; }
  .search-modal__panel { width: calc(100% - 20px); max-height: calc(100vh - 20px); margin-top: 10px; border-radius: 22px; }
  .search-modal__form { gap: 10px; padding: 12px 14px; }
  .search-modal__icon { width: 40px; height: 40px; font-size: 19px; }
  .search-modal__input { font-size: 17px; }
  .search-modal__body { padding: 14px; }
  .search-item { padding-inline-end: 12px; }
  .search-item img { width: 52px; height: 52px; }
  .search-item .price__now { font-size: 16px; }
  .search-page__form { padding-inline-start: 16px; }
  .search-page__form .btn { padding: 0 20px; }
  .acct-head { gap: 12px; padding: 18px; border-radius: var(--w-r-box); }
  .acct-head__avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 24px; }
  .acct-head h2 { font-size: 20px; }
  .acct-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .acct-title { font-size: 22px; }
  .acct-order { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .acct-order__actions { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--c-line); }
  .acct-item { grid-template-columns: 56px minmax(0, 1fr); gap: 10px 12px; padding: 10px; }
  .acct-item img { width: 56px; height: 56px; }
  .acct-item__total { grid-column: 2; }
  .acct-view__row { padding: 8px 12px; font-size: 14px; }
  .acct-step { gap: 9px; padding: 0 3px; font-size: 12px; }
  .acct-step::before { top: 18px; }
  .acct-step i { width: 38px; height: 38px; font-size: 16px; }
  .acct-empty { padding: 38px 16px; border-radius: var(--w-r-box); }
  .acct-empty > .icon { width: 66px; height: 66px; padding: 18px; }
}

/* 22. product cards in grids and sliders: equal heights (their look lives in style.css) -- */
.products__grid { align-items: stretch; }
.product-card { height: 100%; }
.product-card__title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 23. the WhatsApp panel opened by itself (main.js): springs up from the button, «بيكتب…» first, then the message.
   Same rules as the original; #waPanel because the panel's look in style.css is written on the id */
#waPanel.is-auto { transform: translateY(40px) scale(.9); }
#waPanel.is-auto.is-open { transform: none; transition: opacity .3s var(--ease), transform .55s cubic-bezier(.34, 1.56, .64, 1), visibility 0s 0s; }
#waPanel .wa-panel__typing { display: none; width: max-content; gap: 5px; padding: 12px 16px; margin-bottom: 4px; background: #fff; border-radius: 14px 14px 14px 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
#waPanel .wa-panel__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9fb3a9; animation: waDot 1s infinite ease-in-out; }
#waPanel .wa-panel__typing i:nth-child(2) { animation-delay: .15s; }
#waPanel .wa-panel__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
#waPanel.is-typing .wa-panel__typing { display: flex; }
#waPanel.is-auto .wa-panel__body > :not(.wa-panel__typing) { transition: opacity .35s var(--ease), transform .35s var(--ease); }
#waPanel.is-typing .wa-panel__body > :not(.wa-panel__typing) { opacity: 0; transform: translateY(8px); }
.wa-float.is-nudge { animation: waNudge .8s ease-in-out 2; }
@keyframes waNudge { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.12); } 70% { transform: scale(.96); } }
