/* =====================================================================
   Saudi National Day 2026 — TEMPORARY identity overlay
   =====================================================================
   Purpose : apply the Saudi National Day green (#006C35) on top of the
             store's existing purple identity, store-wide, without editing
             any of the site's original stylesheets or Blade files.

   Loaded  : as the LAST <link> in <head> (resources/views/layouts/
             front_layout.blade.php), after every other stylesheet
             (bootstrap, style.min.css, custom.css, header_v2.css and any
             per-page CSS from @yield('css')) — this is what lets a few
             targeted rules below override the site's current colors
             without touching them.

   REMOVAL : delete the single <link> tag that loads this file from
             front_layout.blade.php (search "national-day-2026.css").
             Nothing else needs to change — the store returns to its
             normal purple identity immediately, with no broken layout,
             no missing classes, no JS/Controller dependency on this file.

   Scope   : CSS only. No HTML/Blade structure, Controllers, Routes,
             Models, cart/checkout logic or JavaScript were changed to
             build this file.
   ===================================================================== */


/* ========================================================================
   CSS VARIABLES
   ======================================================================== */
:root {
    --national-green: #006C35;
    --national-green-dark: #004D27;
    --national-green-darker: #003B1D;
    --national-green-light: #E8F5EE;
    --national-green-lighter: #F4FAF6;

    /*
       The theme's own color system (public/web/assets/css/style.min.css)
       exposes the site's primary/secondary accent as CSS custom properties
       and is consumed by dozens of theme rules (discount badges, cart
       count, checkout "selected payment method" radio, pagination,
       coupon/update button hovers, wishlist button, blog links, slick
       dots, breadcrumb "active" state, ...). Re-pointing these two
       variables to the National Day green is what gives this file most of
       its reach with almost no risk: every rule below already existed and
       already reacted to these variables — we are only changing what
       color they resolve to.
    */
    --color-primary: var(--national-green);
    --color-secondary: var(--national-green-dark);

    /* header_v2.css declares "--brand" / "--brand-300" globally on :root
       for the navbar/search accents. Several checkout pages
       (order/create.blade.php, order/create_main.blade.php) redeclare
       "--brand" / "--brand-2" again on their own :root inside their
       @section('css') <style> block for the "إتمام الطلب" button
       gradient. Re-declaring the same names again here, in a stylesheet
       loaded after all of that, wins the cascade everywhere these
       variables are used - navbar and checkout alike - without editing
       header_v2.css or the checkout Blade files. */
    --brand: var(--national-green);
    --brand-300: var(--national-green-dark);
    --brand-2: var(--national-green-dark);
}

/* Same idea for the two other pages built earlier that keep their own
   scoped brand variable and already extend this layout. Harmless no-op if
   either page is not present on a given request. */
.ip18-page {
    --ip18-brand: var(--national-green);
    --ip18-brand-dark: var(--national-green-dark);
    --ip18-brand-2: var(--national-green-dark);
    /* .ip18-btn-primary (the "احجز الآن" hero button, the booking form's
       "تأكيد الحجز المسبق" submit and the closing CTA) is built from this
       red variable rather than --ip18-brand. */
    --ip18-red: var(--national-green);
    --ip18-red-dark: var(--national-green-dark);
}

.offers-page {
    --off-brand: var(--national-green);
    --off-brand-d: var(--national-green-dark);
}


/* ========================================================================
   BUTTONS
   ======================================================================== */
/* Theme "primary" buttons (.axil-btn.btn-bg-primary is used for actions
   like "إتمام الطلب" / continue-to-checkout / newsletter subscribe, and
   .btn-outline turns solid-primary on hover) already read
   var(--color-primary) above, but a few of these are compiled with a
   literal fallback in some pages, so we pin them explicitly too. */
.axil-btn.btn-bg-primary,
.axil-btn.btn-bg-primary:before,
button.axil-btn.btn-bg-primary,
.btn-success,
.btn.btn-success {
    background-color: var(--national-green) !important;
    border-color: var(--national-green) !important;
    color: #fff !important;
}

.axil-btn.btn-bg-primary:hover,
.btn-success:hover,
.btn.btn-success:hover {
    background-color: var(--national-green-dark) !important;
    border-color: var(--national-green-dark) !important;
}

.axil-btn.btn-outline:hover,
.axil-product-cart-wrap .product-cupon .axil-btn:hover,
.axil-product-cart-wrap .update-btn .axil-btn:hover,
.axil-checkout-notice .axil-checkout-coupon .axil-btn:hover {
    background-color: var(--national-green) !important;
    border-color: var(--national-green) !important;
    color: #fff !important;
}

/* Native Bootstrap primary buttons (Bootstrap's own CSS ships the blue
   #0d6efd as a literal value, not a variable, so it needs an explicit
   override rather than a variable re-point). Used across several forms /
   modals site-wide (login, account, WFCO cashier flow, dashboard-style
   confirmation buttons reused on the storefront). */
.btn-primary,
.btn.btn-primary {
    background-color: var(--national-green) !important;
    border-color: var(--national-green) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:focus {
    background-color: var(--national-green-dark) !important;
    border-color: var(--national-green-dark) !important;
}

/* Product-card quick "add to cart" bag icon in the hover overlay
   (.cart-action li.select-option) is a hard-coded purple in custom.css on
   every product grid (home, category, search, most-sale, offers, tag). */
.axil-product .cart-action li.select-option button,
.axil-product .cart-action li.select-option button:before,
.axil-product .cart-action li.select-option a,
.axil-product .cart-action li.select-option a:before {
    background-color: var(--national-green) !important;
}

.axil-product .cart-action li.select-option a:hover,
.axil-product .cart-action li.select-option a:hover:before {
    background-color: var(--national-green-dark) !important;
}

/* THE main "أضف إلى السلة" button - product cards, the product detail page
   and the AppleCare protection-plan modal all share this one class
   (public/web/assets/css/custom.css: ".add-product{background-color:#670756}"),
   a literal hex not driven by any variable. This single override is what
   actually re-colors every visible "Add to Cart" button on the site. */
.add-product,
.add-product:before {
    background-color: var(--national-green) !important;
}

.add-product:hover,
.add-product:hover:before {
    background-color: var(--national-green-dark) !important;
}

/* Checkout's main CTA ("إتمام الطلب" / continue / pay), used via
   .btn-brand on order/create.blade.php and order/create_main.blade.php.
   Its background is a gradient built from --brand/--brand-2 (already
   re-pointed above), pinned again explicitly since header_v2.css also
   ships a plain literal "#883576" fallback for the same class. */
.btn-brand {
    background: linear-gradient(90deg, var(--national-green), var(--national-green-dark)) !important;
}

/* Cart's "متابعة إلى الدفع" (continue to checkout) button and other
   primary action buttons sharing this class - literal hex with
   !important in custom.css, so matched here the same way. */
.btn-search {
    background-color: var(--national-green) !important;
}

/* "اشترِ الآن" (Buy Now) - product cards, product detail page and the
   offers page all render this button with the same red (category.blade.php
   / show.blade.php: ".addToCheckoutFormbtn{background:red}"; offers.css:
   ".offers-btn-buy{background:var(--off-buy)}"). This task's brief
   explicitly lists "اشترِ الآن" among the buttons to re-color, so both are
   switched to the national green here. */
.addToCheckoutFormbtn,
.offers-btn-buy {
    background-color: var(--national-green) !important;
}

.addToCheckoutFormbtn:hover,
.offers-btn-buy:hover:not(:disabled) {
    filter: none !important;
    background-color: var(--national-green-dark) !important;
}

/* Dedicated Offers-page "Add to cart" button, pinned explicitly for
   certainty (it already follows --color-primary via .offers-btn-cart in
   most cases). */
.offers-btn-cart {
    background-color: var(--national-green) !important;
}

.offers-btn-cart:hover:not(:disabled) {
    filter: none !important;
    background-color: var(--national-green-dark) !important;
}


/* ========================================================================
   LINKS
   ======================================================================== */
.color1,
a.color1 {
    color: var(--national-green) !important;
}

.blog-grid .content .axil-btn:hover,
.blog-grid .content .axil-btn:hover i,
.blog-grid .content .axil-btn:after,
.main-slider-style-2 .main-slider-content .axil-btn:hover,
.main-slider-style-2 .main-slider-content .axil-btn:hover i,
.main-slider-style-2 .main-slider-content .axil-btn:hover:after,
.axil-dashboard-aside .nav-link:hover,
a:hover.offers-card-name,
.offers-card-name:hover {
    color: var(--national-green) !important;
}


/* ========================================================================
   PRODUCT CARDS
   ======================================================================== */
/* Discount ribbon on every product thumbnail already reads
   var(--color-primary) in the theme, pinned explicitly here since a couple
   of pages set it with their own !important (e.g. category.blade.php's
   ".product-badget{background:red!important}" for the "Special Offer"
   ribbon) which would otherwise still win on equal specificity. */
.axil-product > .thumbnail .label-block .product-badget,
.product-badget {
    background-color: var(--national-green) !important;
    color: #fff !important;
}

/* Light green hover border on the card itself, kept subtle - no full green
   background on the card. */
.axil-product:hover > .thumbnail > a img {
    outline: none;
}

.offers-card:hover {
    border-color: var(--national-green-light) !important;
    box-shadow: 0 12px 30px rgba(0, 108, 53, .12) !important;
}

.offers-card-badge {
    background-color: var(--national-green) !important;
}


/* ========================================================================
   PRICES
   ======================================================================== */
.axil-product .product-content .product-price-variant span.price.current-price,
.axil-product-list .product-content .product-price-variant .price.current-price,
.single-product-content .inner .price-amount.price-offer-amount,
.offers-card-price,
.price.current-price {
    color: #000 !important;
}
#megaCats .section-title{
    color: #006c35 !important;
}
.pill{
    color: #006c35;
    border: 1px solid #006c35;
}
.section-title-wrapper .title ,.toggle-specs-btn ,.categories-slider h2{
    color: #006c35 !important;
}
.axil-breadcrumb-area .axil-breadcrumb-item a{
    color: #006c35 !important;
} 
.text-tax ,.step-number{
    color: #006c35 !important;
}
.badge.bg-success ,.verify-btn.active, .verify-btn:not(:disabled) {
    background-color: #006c35 !important;
}
.axil-product>.thumbnail>a ,.brand-circle{
    background-color: #E8F5EE !important;
}
.arrow-top-slide .slide-arrow.next-arrow ,.arrow-top-slide .slide-arrow.prev-arrow  ,.btn.btn-shop ,.canva-btn-show,.whatsapp ,.btn-apply-filter{
    background-color: #006c35 !important;
}
.category-title ,.installment-conditions .condition-card h6,.section-1 .title ,.installment-conditions .section-title
{
    color:#006c35 !important;
}

.feature-card , footer{
    background-color: #E8F5EE !important;
}
.socail-media-footer i ,.brand-circle i , .feature-card h4, .container-head-review h4 ,.map-image-container a i,.feature-icon ,.partners-section  h3 ,.btn-load-more, .axil-breadcrumb li.axil-breadcrumb-item.active{
    color: #006c35 !important;
}
.review-head,.steps-section ,.card-non-auth,.card-info-user ,.offers-card-thumb ,.checkout-section-badge ,.address-card input:checked+.wrapper{
    background: #e8f5ee;
}
.verify-btn{
        background: #d6ede1 !important;
}
#globalSearchMobile{
        background-color: #e8f5ee;
    color: #006c35;
}
.hgi-stroke , .m-cats span ,.bi-person-circle{
    color: #006c35 !important;
}
.axil-product .cart-action li.wishlist a:before, .product-min-size .axil-product .cart-action li.select-option1 a:before, .axil-product .cart-action li.quickview a:before{
        border: #006c35 solid 1px;
    background-color: #e8f5ee;
}
.product-hover-action i {
    color: #006c35;
}
.single-product-content  button.btn {
    color: #fff;
}
.mobile-checkout-btn{
    background-color: #006c35 !important;
}
.small-thumb-style-two .small-thumb-img img{
        background-color: #e8f5ee;
}
.pro-qty .qtybtn{
        color: #006c35;
    border: #006c35 1px solid;
}
.pro-qty input ,a.axil-btn.wishlist-btn i, button.axil-btn.wishlist-btn i {
     color: #006c35;
}
a.axil-btn.wishlist-btn, button.axil-btn.wishlist-btn{
    border: #006c35 1px solid;
}
/* Old / struck-through price always stays neutral gray, never the
   identity color, regardless of any page-specific override elsewhere
   (e.g. most_sale.blade.php currently forces it red inline). */
.axil-product .product-content .product-price-variant span.price.old-price,
.axil-product-list .product-content .product-price-variant .price.old-price,
.single-product-content .inner .price-amount.price-offer-amount .old-price,
.offers-card-old,
.price.old-price {
    color: #9a9a9a !important;
}


/* ========================================================================
   BADGES / ALERTS
   ======================================================================== */
/* Only success-style badges/alerts move to green. Error stays red, warning
   stays amber, info keeps its own color - not touched here. */
.badge-light-success,
.badge.bg-success,
.alert-success {
    background-color: var(--national-green-light) !important;
    color: var(--national-green-darker) !important;
    border-color: var(--national-green) !important;
}

.alert-success .alert-link {
    color: var(--national-green-dark) !important;
}


/* ========================================================================
   FORMS
   ======================================================================== */
.form-control:focus,
.form-select:focus,
.axil-signin-form .form-control:focus,
.axil-dashboard-account .form-group .form-control:focus {
    border-color: var(--national-green) !important;
    box-shadow: 0 0 0 .2rem rgba(0, 108, 53, .15) !important;
}

/* Bootstrap checkboxes / radios used in real forms (checkout notes,
   filters, account, contact) - NOT the product color-swatch pickers,
   which use a different markup (input[type=radio] under .box-color) and
   are intentionally left untouched since they represent actual product
   colors. */
.form-check-input:checked {
    background-color: var(--national-green) !important;
    border-color: var(--national-green) !important;
}

.form-check-input:focus {
    border-color: var(--national-green) !important;
    box-shadow: 0 0 0 .2rem rgba(0, 108, 53, .15) !important;
}

/* Checkout "selected payment method" indicator. */
.axil-order-summery.order-checkout-summery .order-payment-method .single-payment .input-group input[type=radio]:checked ~ label::before {
    background-color: var(--national-green) !important;
}


/* ========================================================================
   NAVBAR
   ======================================================================== */
/* White navbar kept as-is; only active/important accents move to green. */
.axil-mainmenu .nav-link.active,
.axil-mainmenu .nav-link:hover,
.axil-mainmenu.aside-category-menu .header-department .department-nav-menu .nav-link:hover:after {
    color: var(--national-green) !important;
}


/* ========================================================================
   CART
   ======================================================================== */
.cart-count {
    background-color: var(--national-green) !important;
}


/* ========================================================================
   CHECKOUT
   ======================================================================== */
/* Covered above via .axil-btn.btn-bg-primary, .btn-primary and the
   payment-method radio rule - checkout uses the same theme classes as the
   rest of the store, no dedicated checkout-only selectors were found. */


/* ========================================================================
   OFFERS
   ======================================================================== */
.offers-info-type,
.offers-hero-fallback-badge {
    background-color: var(--national-green-light) !important;
    color: var(--national-green-darker) !important;
}

.offers-hero--fallback {
    background: linear-gradient(120deg, var(--national-green-darker), var(--national-green)) !important;
}

.offers-empty-btn {
    background-color: var(--national-green) !important;
}

.offers-empty-btn:hover {
    filter: none !important;
    background-color: var(--national-green-dark) !important;
}

.offers-products-heading {
    border-inline-start-color: var(--national-green) !important;
}


/* ========================================================================
   PAGINATION
   ======================================================================== */
.post-pagination nav.pagination ul li span.current,
.post-pagination nav.pagination ul li a:hover {
    background: var(--national-green) !important;
    border-color: var(--national-green) !important;
    color: #fff !important;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background-color: var(--national-green) !important;
    border-color: var(--national-green) !important;
    color: #fff !important;
}


/* ========================================================================
   RESPONSIVE
   ======================================================================== */
/* Nothing here changes layout, spacing or breakpoints - only colors - so
   no responsive overrides are required. Verified on the existing
   Desktop / Tablet / Mobile breakpoints already defined by the site's own
   CSS and by offers.css / iphone18-preorder.css. */


/* ========================================================================
   UTILITY OVERRIDES
   ======================================================================== */
.text-primary,
.text-success {
    color: var(--national-green) !important;
}

.bg-primary,
.bg-success,
.bg-color-primary {
    background-color: var(--national-green) !important;
}

.border-primary,
.border-success {
    border-color: var(--national-green) !important;


}
.cats-strip{
        background: #E8F5EE !important; 
}
.cats-right span {
    color: var(--national-green) !important;
  
}
.search-desktop{
    background: #E8F5EE !important; 
}
footer .accordion-button{
        background-color: #e8f5ee !important;
}