/* TaibaPack — ستايل منقول من إضافة roots-ai-bridge القديمة (بعد التنضيف). المصدر: scripts/staging/port_rab_css.py */
/* ROOTS quote-only finishing — 2026-08-31 */
600;700;800&family=Tajawal:wght@400;500;700&display=swap");


a[href="https://staging.taibapack.com/cart/"],
a[href="/cart/"]{ display: none !important; }
/* ROOTS catalog language fixes — 2026-08-31 */
/* ROOTS product story v2 — START */
.pixfort-header-area.pix-topbar{ background: linear-gradient(90deg, #087b8c, #159fb1) !important; }
.pixfort-header-area.pix-topbar a,
.pixfort-header-area.pix-topbar .pix-header-text{ color: #fff !important; }
.pix-header-desktop nav a,
.pix-header-desktop .nav-link{ color: #263b50 !important; font-size: 14px !important; font-weight: 700 !important; }
.pix-header-desktop nav a:hover,
.pix-header-desktop .nav-link:hover{ color: #087b8c !important; }
.text-body-default,
.text-gray{ color: #52667a !important; }
.pix-main-intro.bg-primary{ background: linear-gradient(125deg, #0d2538 0%, #113b50 55%, #159fb1 100%) !important; }
.pix-main-intro .pix-intro-title,
.pix-main-intro .pix-intro-title *{ color: #fff !important; opacity: 1 !important; visibility: visible !important; }
.pix-main-intro .breadcrumb,
.pix-main-intro .breadcrumb a{ color: rgba(255,255,255,.82) !important; }
body.single-product{ background: #f4f8fa; color: #293b50; }
body.single-product .pix-main-intro.bg-primary{ min-height: 280px !important; background: linear-gradient(125deg, #0d2538 0%, #113b50 52%, #159fb1 100%) !important; }
body.single-product .pix-intro-container{ min-height: 280px !important; }
body.single-product .pix-intro-title,
body.single-product .pix-intro-title *{ color: #fff !important; text-shadow: 0 3px 18px rgba(4,25,39,.2); }
body.single-product .pix-intro-title,
body.single-product #pix-intro-sliding-text,
body.single-product .pix-sliding-headline-2{ display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; }
body.single-product .pix-intro-title{ font-size: clamp(28px,3vw,42px) !important; line-height: 1.35 !important; }
body.single-product .pix-main-intro .breadcrumb,
body.single-product .pix-main-intro .breadcrumb a{ color: rgba(255,255,255,.82) !important; }
body.single-product .pix-intro-container::after{ content: ""; position: absolute; inset-inline-start: auto !important; right: auto !important; left: 50% !important; bottom: 34px; width: 110px; height: 4px; border-radius: 99px; background: #70d5df; transform: translateX(-50%) skewX(-28deg) !important; }
body.single-product #main{ padding-top: 54px; }
body.single-product div.product > .row,
body.single-product div.product > div:first-child{ align-items: flex-start; }
body.single-product .woocommerce-product-gallery{ overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(13,37,56,.08); }
body.single-product .woocommerce-product-gallery img{ border-radius: 18px; }
body.single-product .summary.entry-summary{ padding: clamp(22px,3vw,34px) !important; border: 1px solid #dce8eb; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 18px 48px rgba(13,37,56,.08); }
body.single-product .summary .product_title{ color: #0d2538 !important; font-size: clamp(28px,3vw,42px) !important; line-height: 1.35 !important; text-wrap: balance; word-break: normal; overflow-wrap: normal; }
body.single-product .woocommerce-product-details__short-description{ color: #4a6075 !important; font-size: 17px !important; line-height: 1.95 !important; }
body.single-product .summary > a .badge{ color: #385064 !important; background: #edf4f6 !important; border: 1px solid #d7e5e8; }
body.single-product table.variations{ margin-top: 24px; }
body.single-product table.variations th.label{ color: #18364a !important; font-weight: 800 !important; }
body.single-product table.variations select{ min-height: 52px; padding: 10px 16px; border: 1px solid #cfe0e4; border-radius: 12px; background-color: #f8fbfc; color: #21384b; box-shadow: none; }
body.single-product table.variations select:focus{ border-color: #159fb1; outline: 3px solid rgba(21,159,177,.13); }
body.single-product .product_meta{ display: none !important; }
body.single-product .quantity{ min-height: 54px; border: 1px solid #cfe0e4; border-radius: 12px; background: #fff; }
body.single-product .quantity input{ color: #18364a !important; font-weight: 700; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs{ display: flex !important; flex-wrap: nowrap !important; gap: 10px; margin: 12px 0 0 !important; padding: 4px 2px 10px !important; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #9bcfd6 #edf6f7; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{ flex: 0 0 76px !important; width: 76px !important; margin: 0 !important; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs img{ width: 76px !important; height: 76px !important; border: 2px solid transparent; border-radius: 11px !important; object-fit: cover; opacity: .72; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active{ border-color: #159fb1; opacity: 1; box-shadow: 0 5px 14px rgba(21,159,177,.18); }
body.single-product .woocommerce-tabs ul.tabs{ display: flex; gap: 8px; padding: 8px !important; border: 1px solid #dce8eb; border-radius: 14px; background: #fff; }
body.single-product .woocommerce-tabs ul.tabs li{ margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; }
body.single-product .woocommerce-tabs ul.tabs li.active{ background: transparent !important; }
body.single-product .woocommerce-tabs ul.tabs li.active a{ padding: 9px 18px !important; border-radius: 9px; background: #159fb1 !important; color: #fff !important; box-shadow: 0 7px 18px rgba(21,159,177,.18); }
/* Product description v3: content module only; gallery and quote controls live above it. */
body.single-product #tab-description > h2:first-child,
body.single-product #pills-description > h2:first-child{ display: none !important; }
body.single-product #tab-description,
body.single-product #pills-description{ padding-top: 18px; }
body.single-product .woocommerce-tabs a.woo-tab-link{ border-radius: 10px !important; color: #40576a !important; background: transparent !important; background-image: none !important; box-shadow: none !important; }
body.single-product .woocommerce-tabs a.woo-tab-link.active{ background: #159fb1 !important; background-image: none !important; color: #fff !important; box-shadow: 0 7px 18px rgba(21,159,177,.18) !important; }
.tb-icon-capacity::before{ inset: 9px 13px; border-radius: 3px 3px 7px 7px; }
.tb-icon-capacity::after{ inset: 14px 18px; border-width: 0 0 0 2px; border-radius: 0; }
.tb-icon-measure::before{ inset: 18px 8px; height: 4px; border-width: 2px 0; border-radius: 0; }
.tb-icon-measure::after{ inset: 12px 11px; border-width: 0 2px; border-radius: 0; }
.tb-icon-colors::before{ inset: 8px; border-radius: 50%; }
.tb-icon-colors::after{ inset: 14px; border-radius: 50%; background: #fff; }
.tb-icon-use::before{ inset: 8px 14px 14px; border-radius: 9px 9px 4px 4px; }
.tb-icon-use::after{ inset: 23px 10px 8px; border-width: 2px 0 0; border-radius: 0; }
body.single-product .yith-ywraq-add-to-quote,
body.single-product .yith-ywraq-add-button{ display: block !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
body.single-product a.add-request-quote-button,
body.single-product button.add-request-quote-button{ display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; min-width: 210px; min-height: 54px; padding: 14px 24px !important; border: 1px solid rgba(255,255,255,.22) !important; border-radius: 14px !important; background: linear-gradient(135deg, #22b7c8, #108b9c) !important; color: #fff !important; font-size: 16px !important; font-weight: 900 !important; box-shadow: 0 12px 28px rgba(16,139,156,.22) !important; opacity: 1 !important; transform: none !important; }
body.single-product a.add-request-quote-button:hover,
body.single-product button.add-request-quote-button:hover{ background: linear-gradient(135deg, #139fb1, #087687) !important; transform: translateY(-2px) !important; }
body.single-product a.add-request-quote-button:hover::after,
body.single-product button.add-request-quote-button:hover::after{ transform: translateX(-3px); }
body.single-product a.add-request-quote-button.disabled,
body.single-product button.add-request-quote-button:disabled{ border-color: #81cfda !important; background: linear-gradient(135deg, #eaf9fb, #c9edf1) !important; color: #0a6470 !important; box-shadow: none !important; filter: none !important; cursor: not-allowed; }
body.single-product a.add-request-quote-button.disabled::after{ display: none; }
/* Catalog cards: keep YITH's structural wrappers neutral and style one CTA only. */
.woocommerce ul.products li.product .yith-ywraq-add-to-quote,
.woocommerce ul.products li.product .yith-ywraq-add-button{ display: block !important; width: 100% !important; min-height: 0 !important; margin: 12px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; transform: none !important; }
.woocommerce ul.products li.product a.add-request-quote-button::after,
.woocommerce ul.products li.product button.add-request-quote-button::after{ display: none !important; content: none !important; }
.woocommerce ul.products li.product.product-type-simple .pix-product-item > .d-flex.align-items-center.pix-pt-20{ display: none !important; }
@media (max-width: 991px){
body.single-product .pix-main-intro.bg-primary{ height: 230px !important; min-height: 230px !important; max-height: 230px !important; overflow: hidden; }
body.single-product .pix-intro-container{ display: flex; align-items: center; justify-content: center; height: 230px !important; min-height: 0 !important; }
body.single-product .pix-intro-container::after{ bottom: 25px; }
body.single-product #main{ padding-top: 32px; }
body.single-product.woocommerce div.product div.images.woocommerce-product-gallery,
  body.single-product.woocommerce div.product div.summary.entry-summary{ float: none !important; clear: both !important; width: 100% !important; max-width: none !important; }
body.single-product .summary.entry-summary{ position: static !important; margin-top: 24px !important; margin-bottom: 36px !important; }
body.single-product .woocommerce-product-gallery{ margin-bottom: 0 !important; }
body.single-product .summary .product_title{ font-size: clamp(28px,5vw,38px) !important; }
body.single-product .variations_form table.variations,
  body.single-product .variations_form table.variations tbody,
  body.single-product .variations_form table.variations tr{ display: block; width: 100%; }
body.single-product .variations_form table.variations tr{ margin-bottom: 14px; }
body.single-product .variations_form table.variations th,
  body.single-product .variations_form table.variations td{ display: block; width: 100% !important; padding: 0 !important; }
body.single-product .variations_form table.variations th{ margin-bottom: 7px; }
body.single-product .variations_form table.variations select{ width: 100% !important; }
}
@media (max-width: 620px){
.pix-main-intro.bg-primary,
  .pix-main-intro .pix-intro-container{ height: 220px !important; min-height: 220px !important; max-height: 220px !important; }
body.single-product .pix-intro-title{ max-width: 92%; margin-inline: auto !important; font-size: clamp(21px,6vw,25px) !important; line-height: 1.45 !important; text-wrap: balance; }
body.single-product #tab-description,
  body.single-product #pills-description{ padding-top: 10px; }
body.single-product a.add-request-quote-button,
  body.single-product button.add-request-quote-button{ width: 100%; min-width: 0; }
body.single-product .related.products ul.products{ display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; margin: 0 !important; }
body.single-product .related.products ul.products::before,
  body.single-product .related.products ul.products::after{ display: none !important; content: none !important; }
body.single-product .related.products ul.products li.product{ float: none !important; clear: none !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
body.single-product .related.products li.product .pix-product-item{ display: flex; flex-direction: column; height: 100%; padding: 12px !important; border-radius: 16px !important; }
body.single-product .related.products li.product .pix-pb-20{ min-height: 66px; padding-bottom: 10px !important; }
body.single-product .related.products li.product .secondary-font{ font-size: 14px !important; line-height: 1.55 !important; }
body.single-product .related.products li.product .pix-product-preview{ display: none !important; }
body.single-product .related.products li.product a.woocommerce-LoopProduct-link{ overflow: hidden; border-radius: 12px; }
body.single-product .related.products li.product a.woocommerce-LoopProduct-link img{ width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important; }
body.single-product .related.products li.product .yith-ywraq-add-to-quote,
  body.single-product .related.products li.product .yith-ywraq-add-button{ display: block !important; width: 100% !important; min-height: 0 !important; margin: 9px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
body.single-product .related.products li.product a.add-request-quote-button{ width: 100% !important; min-height: 42px !important; padding: 9px 8px !important; border-radius: 10px !important; font-size: 13px !important; }
body.single-product .related.products li.product > .pix-product-item > .pix-pt-20{ display: none !important; }
}
@media (prefers-reduced-motion: reduce){
body.single-product a.add-request-quote-button,
  body.single-product button.add-request-quote-button{ transition: none !important; }
}
/* ROOTS product story v2 — END */
/* ROOTS TaibaPack theme system v1 — START */
/* Brand system: industrial clarity, food-safe surfaces, one cyan signature. */
:root{ --tb-ink: #102c3a; --tb-ink-2: #183f50; --tb-teal: #0f8f9d; --tb-teal-dark: #08717e; --tb-cyan: #2bc0c9; --tb-ice: #edf8f9; --tb-surface: #f7fafb; --tb-line: #dbe7ea; --tb-muted: #5c7180; --tb-white: #ffffff; --tb-shadow: 0 16px 44px rgba(16, 44, 58, .10); --tb-shadow-sm: 0 8px 24px rgba(16, 44, 58, .08); --tb-radius: 16px; }
html{ scroll-behavior: smooth; }
a{ transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
:focus-visible{ outline: 3px solid rgba(43, 192, 201, .46) !important; outline-offset: 3px; }
/* Content must never be blank while decorative entrance scripts initialise. */
.pix-waiting,
.pix-animate,
.animating-init,
.pix-sliding-item,
.slide-in-container{ opacity: 1 !important; visibility: visible !important; }
.pix-waiting,
.animating-init{ transform: none !important; }
/* Header and primary navigation. */
.pix-topbar,
.pix-header-topbar,
body > .pix-topbar{ min-height: 38px !important; background: var(--tb-ink) !important; border: 0 !important; }
header .navbar,
.pix-header,
.pix-header-desktop{ background: rgba(255, 255, 255, .97) !important; box-shadow: 0 1px 0 var(--tb-line), 0 8px 28px rgba(16, 44, 58, .05) !important; }
header nav{ min-height: 68px !important; }
header img,
.pix-header img{ max-height: 48px !important; width: auto !important; }
#menu-taibapack{ gap: 8px !important; }
#menu-taibapack > li > a,
header .menu-item > a{ position: relative; color: #334d5c !important; font-family: "Cairo", sans-serif !important; font-size: 14px !important; font-weight: 700 !important; }
#menu-taibapack > li:not(.tb-menu-quote) > a::after{ position: absolute; right: 12px; bottom: 10px; left: 12px; height: 2px; border-radius: 999px; background: var(--tb-cyan); content: ""; opacity: 0; transform: scaleX(.25); transition: opacity .18s ease, transform .18s ease; }
#menu-taibapack > li:hover > a::after,
#menu-taibapack > li.current-menu-item > a::after{ opacity: 1; transform: scaleX(1); }
#menu-taibapack > li.tb-menu-quote > a{ min-height: 42px; margin: 12px 8px !important; padding: 10px 18px !important; border-radius: 11px; background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark)) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(15, 143, 157, .20); }
#menu-taibapack > li.tb-menu-quote > a,
#menu-taibapack > li.tb-menu-quote > a *{ color: #fff !important; }
#menu-taibapack > li.tb-menu-quote > a:hover{ transform: translateY(-1px); box-shadow: 0 12px 24px rgba(15, 143, 157, .27); }
/* Page title strip: compact, readable and consistent. */
body .pix-main-intro.pix-intro-1.bg-primary{ height: 188px !important; min-height: 188px !important; max-height: 188px !important; background: linear-gradient(118deg, var(--tb-ink) 0%, #124a5d 58%, var(--tb-teal) 100%) !important; overflow: hidden; }
body:not(.home) .pix-main-intro{ margin-top: 125px !important; }
/* الموبايل/التابلت (≤1024): الهيدر مش عائم، فمفيش داعي للمسافة دي — كانت بتسيب فراغ أبيض تحت الهيدر */
@media (max-width: 1024px){ body:not(.home) .pix-main-intro{ margin-top: 0 !important; } }
.pix-main-intro .pix-main-intro-placeholder{ display: none !important; height: 0 !important; min-height: 0 !important; }
.pix-main-intro .pix-intro-container{ height: 100% !important; }
.pix-main-intro .pix-intro-container > .row{ height: 100% !important; align-items: center !important; }
.pix-main-intro .intro-content-div{ margin-top: 0 !important; margin-bottom: 0 !important; }
.pix-main-intro .intro-content-div,
.pix-main-intro .pix-animate,
.pix-main-intro .animated,
.pix-main-intro .slide-in-container,
.pix-main-intro .pix-sliding-item{ opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; }
.pix-main-intro .pix-intro-title{ font-size: clamp(30px, 3vw, 46px) !important; line-height: 1.25 !important; }
.pix-main-intro .pix-intro-title{ width: 100% !important; max-width: none !important; }
.pix-main-intro .pix-intro-title .slide-in-container,
.pix-main-intro .pix-intro-title .pix-sliding-item{ display: inline-block !important; width: auto !important; max-width: none !important; white-space: nowrap !important; }
.pix-main-intro .breadcrumb{ margin-top: 8px !important; }
.pix-main-intro::after{ display: block; width: 72px; height: 4px; margin: 18px auto 0; border-radius: 999px; background: var(--tb-cyan); content: ""; }
/* Unified action language — remove imported purple/pink accents. */
.btn-primary,
.bg-primary,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button{ border-color: transparent !important; background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark)) !important; color: #fff !important; box-shadow: 0 9px 22px rgba(15, 143, 157, .18) !important; }
.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover{ background: linear-gradient(135deg, #0b7f8c, #075e69) !important; transform: translateY(-1px); }
.text-primary{ color: var(--tb-teal) !important; }
.bg-secondary,
.badge-primary,
.badge-secondary{ background: var(--tb-ink) !important; color: #fff !important; }
/* Shop archive: equal cards, stable imagery and calmer sidebar. */
body.woocommerce-shop .site-content,
body.tax-product_cat .site-content{ background: var(--tb-surface) !important; }
.woocommerce ul.products{ align-items: stretch; }
.woocommerce ul.products li.product .pix-product-item{ height: 100%; border: 1px solid var(--tb-line) !important; border-radius: 15px !important; background: #fff !important; box-shadow: var(--tb-shadow-sm) !important; }
.woocommerce ul.products li.product .pix-product-item:hover{ transform: translateY(-3px); box-shadow: var(--tb-shadow) !important; }
.woocommerce ul.products li.product img{ background: #f0f4f5; border-radius: 11px !important; }
.woocommerce ul.products li.product .secondary-font{ color: var(--tb-ink) !important; line-height: 1.55 !important; }
.woocommerce ul.products li.product .badge{ background: #f1f5f6 !important; color: #617480 !important; }
.woocommerce .widget-area .widget{ margin-bottom: 14px !important; padding: 20px !important; border: 1px solid var(--tb-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(16,44,58,.045); }
.woocommerce-ordering select{ border: 1px solid var(--tb-line) !important; border-radius: 11px !important; background-color: #fff !important; }
/* Product details: stronger reading contrast and a tighter first decision. */
body.single-product .site-content{ background: var(--tb-surface) !important; }
body.single-product div.product > .row{ align-items: flex-start !important; }
body.single-product div.product .summary,
body.single-product .woocommerce-product-gallery{ border-color: var(--tb-line) !important; box-shadow: var(--tb-shadow-sm) !important; }
body.single-product div.product .summary{ padding: clamp(24px, 3vw, 38px) !important; }
body.single-product div.product .summary .woocommerce-product-details__short-description,
body.single-product div.product .summary .woocommerce-product-details__short-description p{ color: #546b79 !important; font-size: 16px !important; line-height: 1.95 !important; opacity: 1 !important; }
body.single-product table.variations th{ color: var(--tb-ink) !important; font-weight: 800 !important; }
body.single-product table.variations select{ min-height: 48px; border: 1px solid #cfe0e4 !important; border-radius: 10px !important; background-color: #fff !important; color: #294452 !important; }
body.single-product .woocommerce-tabs{ margin-top: 56px !important; }
body.single-product .woocommerce-tabs .tabs a{ color: var(--tb-muted) !important; }
body.single-product .woocommerce-tabs .tabs .active a{ background: var(--tb-teal) !important; color: #fff !important; }
/* Quote and contact forms. */
.woocommerce .ywraq-form-table-wrapper,
.yith-ywraq-mail-form-wrapper,
.wpcf7-form{ border-color: var(--tb-line) !important; border-radius: var(--tb-radius) !important; }
.ywraq_list_empty_message{ color: var(--tb-muted) !important; }
.return-to-shop a.wc-backward{ border-radius: 11px !important; background: var(--tb-teal) !important; color: #fff !important; }
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]),
.wpcf7-form select,
.wpcf7-form textarea{ min-height: 48px; border: 1px solid #cfdee2 !important; border-radius: 10px !important; background: #fff !important; color: var(--tb-ink) !important; }
.wpcf7-form textarea{ min-height: 150px; }
/* Branded Arabic 404. */
body.error404 #content{ min-height: 68vh; background: var(--tb-surface) !important; }
body.error404 .page-header img{ width: 190px; filter: hue-rotate(132deg) saturate(.75); }
body.error404 h1.page-title2 > *{ display: none !important; }
body.error404 input[type="search"]::placeholder{ color: transparent !important; }
/* موبايل: آخر عنصر في البريدكرامب (اسم المنتج) بيلف لسطر تاني ويتقص — الاسم أصلاً هو العنوان */
@media (max-width: 620px){ body.single-product .pix-main-intro .breadcrumb .breadcrumb-item:last-child{ display: none !important; } }
