/* Seedra global chrome overrides — loaded after style.css on all theme (inner) pages.
   Makes the inner-page header/footer match the new homepage design. */

/* Arabic typography → Cairo (alias the design's Arabic font names, Arabic glyphs only) */
@font-face{font-family:'GE SS Two';font-style:normal;font-weight:300 700;font-display:swap;
  src:url('/themes/shofy/seedra/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+08A0-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:'GE Hili';font-style:normal;font-weight:300 700;font-display:swap;
  src:url('/themes/shofy/seedra/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+08A0-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFF;}

/* Logo language switch keyed off the <html lang> Botble sets (handles "en", "en_US", ...) */
html[lang^="en"] .logo-ar{display:none}
html[lang^="en"] .logo-en{display:block}

/* Bigger main menu (match homepage) */
.hdr-nav{gap:55px}
.hdr-nav a{font-size:18px!important;font-weight:500!important;letter-spacing:0!important;padding-bottom:6px}

/* Cart badge */
.hdr-icon{position:relative}
.seedra-cart-count{position:absolute;top:-6px;inset-inline-end:-8px;min-width:17px;height:17px;
  padding:0 4px;border-radius:9px;background:#BC9C59;color:#fff;font-size:11px;line-height:17px;
  text-align:center;font-weight:700}
.seedra-cart-count[hidden]{display:none}

/* Language toggle button rendered as a link */
a.lang-btn{text-decoration:none!important}

/* Hide the old Shofy mobile bottom bar so the chrome matches the homepage */
#tp-bottom-menu-sticky{display:none!important}

/* The standalone homepage reserves space with a fixed bar; on inner pages the
   announcement bar + header are in normal flow, so no extra offset is needed. */
.site-header{position:sticky;top:0}


/* ============================================================ */
/* SEEDRA: Uniform product card images (site-wide)              */
/* Forces all product card thumbnails into identical fixed-ratio */
/* boxes regardless of source image dimensions.                 */
/* Covers: search, category, listing, related, cross-sale cards */
/* ============================================================ */
/* ============================================================ */
/* SEEDRA: Uniform product card images — v3                     */
/* ============================================================ */
.tp-product-item {
    display: flex !important;
    flex-direction: column !important;
}

.tp-product-thumb {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    overflow: hidden !important;
    background: #FAF8F3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid var(--tp-border-primary) !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    flex-shrink: 0 !important;
}

.tp-product-thumb a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 24px) !important;
    height: calc(100% - 24px) !important;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
}

.tp-product-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    position: static !important;
    display: block !important;
}

.tp-product-content {
    flex: 1 !important;
}

