/*
Theme Name: BOUKLI LOCATION Tlemcen
Theme URI: https://amindigital.store
Description: BOUKLI LOCATION Tlemcen est un thème WordPress de location de voitures pour les agences en Algérie. Il permet de recevoir des demandes de réservation en ligne 24 h/24, de gérer les véhicules, les disponibilités et les réservations depuis un tableau de bord, et d’envoyer des notifications par e-mail. Il propose une interface adaptée aux mobiles, la prise en charge du français et de l’arabe et des tarifs en dinars algériens (DZD).
Author: Amin Digital
Author URI: https://amindigital.store
Version: 3.9.28
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kira
Tags: e-commerce, custom-colors, custom-logo, custom-menu, rtl-language-support, translation-ready
*/

/* AMIN AUTO 1.1.27: booking access card immediately below mobile header. */
@media (max-width: 767px) {
 body.page .ogmb { margin-top: 0 !important; }
 body.page .ogmb .ogmb-heading { margin-top: 0 !important; }
}

/* AMIN AUTO 1.1.28: compact booking access layout on mobile only. */
@media(max-width:767px){
 body.ogmb-compact-active .ogmb{margin-top:0!important}
 body.ogmb-compact-active .ogmb-card{margin-top:0!important}
 body.ogmb-compact-active .ogmb-steps{row-gap:5px!important}
}

:root,body{--hx-primary:#161616!important;--hx-primary-dark:#0A0A0A!important;--hx-primary-soft:#E8EEFC!important;--hx-primary-softer:#F5F7FF!important;--hx-accent:#D5AD42!important;--hx-price:#161616!important;--accent:#161616!important;--accent-hover:#0A0A0A!important;--ogh-bg:#161616!important;--ogf-bg:#0A0A0A!important}
.ogx2-logoimg{max-width:210px!important;max-height:58px!important;width:auto!important;height:auto!important;object-fit:contain}
.ogfb-logoimg{max-width:220px!important;max-height:76px!important;width:auto!important;height:auto!important;object-fit:contain}
@media(max-width:767px){.ogx2-logoimg{max-width:155px!important;max-height:48px!important}.ogfb-logoimg{max-width:180px!important}}

/* NISSOU v1.4 — restore the original AMIN AUTO mobile layout.
   The transparent overlay is disabled in PHP as well, so the search block
   follows the header instead of being covered by it. */
@media (max-width: 1024px) {
  body .ogx2 {position:relative!important;top:auto!important;margin-bottom:0!important;background:#fff!important;color:#15171b!important;box-shadow:0 1px 2px rgba(0,0,0,.10)!important;}
  body .ogx2 .ogx2-in {height:72px!important;min-height:72px!important;padding-inline:16px!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important;}
  body .ogx2 .ogx2-logo {max-width:48vw!important;overflow:visible!important;}
  body .ogx2 .ogx2-logoimg {max-width:min(43vw,190px)!important;max-height:54px!important;width:auto!important;height:auto!important;object-fit:contain!important;}
  body .ogx2 .ogx2-dd[data-dd=lang] {max-width:27vw!important;}
  body .ogx2 .ogx2-burger {flex-shrink:0!important;}
  body .ogx2 .ogx2-search {display:none!important;}
  body .ogx2 .ogx2-globe,body .ogx2 .ogx2-dd,body .ogx2 .ogx2-burger {color:#17191e!important;}
  body .ogx2-hb-m .ogx2-hr-main,body .ogx2-hb-m .ogx2-hr-main .ogx2-hri {background:#fff!important;color:#17191e!important;}
  body .ogx2-hb-m .ogx2-hr-main .ogx2-hri {height:72px!important;min-height:72px!important;}
}
@media (max-width:767px) {
  body .ogx2-hb-m .ogx2-hr-main .ogx2-hri {padding-inline:12px!important;}
}

/* NISSOU v1.6 — concise two-column mobile car cards. */
.og-cars .og-perks{display:none!important}
@media(max-width:767px){
 .og-cars{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .og-cars .og-v{min-width:0;display:flex;flex-direction:column;height:100%;border-radius:16px}
 .og-cars .og-media{aspect-ratio:4/3;overflow:hidden}
 .og-cars .og-media img{width:100%;height:100%;object-fit:cover}
 .og-cars .og-body{min-width:0;display:flex;flex-direction:column;flex:1;padding:12px!important}
 .og-cars .og-name{font-size:16px!important;line-height:1.3!important;min-height:2.6em;margin-bottom:6px!important;overflow-wrap:anywhere}
 .og-cars .og-meta{margin:0 0 6px!important}
 .og-cars .og-specs{margin:0 0 8px!important;display:flex;flex-wrap:wrap;gap:5px 8px;font-size:12px!important}
 .og-cars .og-specs li:nth-child(n+3){display:none!important}
 .og-cars .og-loc{display:none!important}
 .og-cars .og-foot{margin-top:auto!important;padding-top:10px!important;display:flex;flex-direction:column;gap:8px}
 .og-cars .og-price{font-size:19px!important;line-height:1.25!important;white-space:normal}
 .og-cars .og-price small{font-size:11px!important}
 .og-cars .og-more{width:100%;min-height:42px;display:flex;justify-content:center;align-items:center;text-align:center;font-size:12px!important;padding:9px 5px!important}
}

/* BOUKLI v3.9.15 — premium cars catalogue, no demo imagery/data injected. */
body.og-cars-page .car-grid{gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.og-cars-page .car-card{border:1px solid #e9e4d8;border-radius:20px;background:#fff;box-shadow:0 9px 26px rgba(20,17,10,.09);overflow:hidden}
body.og-cars-page .car-card:hover{border-color:#d6ab4e;box-shadow:0 12px 30px rgba(20,17,10,.14)}
body.og-cars-page .car-card__media{aspect-ratio:16/10;background:#f4f1ea}
body.og-cars-page .car-card__media img{object-fit:contain;background:#f4f1ea}
body.og-cars-page .car-card__body{padding:17px;gap:11px}
body.og-cars-page .car-card__title{font-weight:800;color:#171717}
body.og-cars-page .car-card__foot{border-top:1px solid #e5d6b8;padding-top:13px}
body.og-cars-page .car-card .price{color:#987017;font-weight:800}
body.og-cars-page .car-card .btn{background:#171717;color:#f1c65b;border:1px solid #d6aa47;border-radius:11px;font-weight:800}
body.og-cars-page .car-card .btn:hover{background:#32260d;color:#ffdb77}
body.og-cars-page .ogtb{border-color:#e8dfc8;border-radius:20px}
body.og-cars-page .ogtb-go{background:#e9b93e!important;color:#161616!important;border-radius:14px;font-weight:800}
body.og-cars-page .ogtb-f{background:#f7f5f0}
body.og-cars-page .og-mpill.is-on{border-color:#c9a047;color:#8b661a}
body.og-cars-page .og-mpill b{background:#171717;color:#e9bc55}
@media(max-width:767px){
 body.og-cars-page .car-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 body.og-cars-page .ogtb{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px}
 body.og-cars-page .ogtb-q{min-width:0}
 body.og-cars-page .ogtb-q small{display:none}
 body.og-cars-page .ogtb-q input{height:30px;font-size:14px}
 body.og-cars-page .ogtb-go{padding:0 13px;font-size:14px}
 body.og-cars-page .og-mpill{border-radius:999px;border-color:#e2d8c4}
}

/* BOUKLI v3.9.19: undo legacy NISSOU hiding of third spec. */
.og-cars .og-specs li:nth-child(n+3){display:flex!important}
.og-cars .og-specs{display:flex!important;flex-wrap:wrap!important;gap:7px 12px!important;visibility:visible!important}
.og-cars .og-boukli-summary{display:-webkit-box!important;margin:3px 0 5px!important;line-height:1.45!important}
@media(max-width:767px){.og-cars .og-specs li:nth-child(n+3){display:flex!important}.og-cars .og-body{gap:8px!important}.og-cars .og-name{min-height:0!important;margin-bottom:0!important}}

/* BOUKLI 3.9.21: actual mobile viewport, not desktop-mode emulation. */
@media screen and (max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 body.og-cars-page #content,body.og-cars-page .elementor,body.og-cars-page .e-con,body.og-cars-page .e-con-inner{max-width:100%;min-width:0}
 body.og-cars-page .og-grid.og-cars:not(.og-cars-none),body.og-cars-page .og-cars:not(.og-cars-none){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:16px!important}
 body.og-cars-page .og-cars .og-card.og-v{width:100%!important;min-width:0!important;max-width:100%!important}
 body.og-cars-page .og-cars .og-media{aspect-ratio:16/10!important}
 body.og-cars-page .og-cars .og-body{padding:15px!important}
 body.og-cars-page .og-cars .og-name{font-size:18px!important;min-height:0!important}
 body.og-cars-page .og-cars .og-specs li:nth-child(n+3){display:flex!important}
 body.og-cars-page .og-cars .og-foot{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important}
 body.og-cars-page .og-cars .og-more{width:auto!important;min-height:44px!important;padding:10px 14px!important}
}
@media screen and (min-width:768px) and (max-width:1024px){body.og-cars-page .og-grid.og-cars:not(.og-cars-none){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media screen and (min-width:1025px){body.og-cars-page .og-grid.og-cars:not(.og-cars-none){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
