/* Add custom CSS styles below */ 
/* --------------------------------------------------------------------------- */
/* الخـــــــــــــــــــــــــــــــــــــــــــــــط                                 */
@font-face {
    font-family: 'GESSTextMedium';
    src: url('https://arbfonts.com//wp-content/fonts/kufi-arabic-fonts//Rubik-Regular.ttf');
}

body, *:not(i) {
    font-family: 'GESSTextMedium' !important;
} 


.s-block {
    margin-top: 2rem;
}

.navbar-brand img {
    max-height: 7rem;
    width: auto;
    max-width: 100px;
}
.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 110px;
}

.s-menu-footer-item {
    margin-bottom: 1.25rem;
    display: grid;
    font-size: .875rem;
    line-height: 1.25rem;
    line-height: 2;
}

/* ======      NAV      ======      */
.mm-spn ul.main-menu li:before {
    opacity: 1;
    border: 0;
    margin-right: 5px;
    --tw-content: "︾";
    content: var(--tw-content);
    display: inline-block;
    width: 1rem;
    font-family: sallaicons;
    font-size: .75rem;
    line-height: 1rem;
    transform: rotate(0deg) translate(0,-50%);
    rotate: 90deg;
    position: absolute;
    left: 8%;
}

.mm-spn li a:after{
    color: inherit;
    margin-right: 5px;
    --tw-content: "︾";
    content: var(--tw-content);
    display: inline-block;
    width: 1rem;
    font-family: sallaicons;
    font-size: .75rem;
    line-height: 1rem;
    rotate: 90deg;
    position: absolute;
    left: 8%;
    animation-delay: 450ms;
    transition: all 500ms ease-in-out;
}

.mm-spn li a:hover:after{
    color: #fff;
    animation-delay: 450ms;
    transition: all 500ms ease-in-out;
}

.mm-spn li a, .mm-spn li span {
    padding: 18px;
    text-align: initial;
}

:is([dir=rtl] .mm-spn.mm-spn--navbar.mm-spn--main):after {
    padding-right: .75rem;
    text-align: initial;
}

.mm-spn li a:before {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0%;
    height: 100%;
    z-index: -1;
    content: "";
    color: #f1f1f1;
    background: #3a6b35; /* تم تفتيح الأخضر */
    transition: all 500ms ease-in-out;
}

.mm-spn li a:hover:before{
    right: 0%;
    left: auto;
    width: 100%;
}

.mm-spn li a:hover{
    color:#fff;
}

/* ======      TOP      ======      */
.btn--rounded-gray {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 6px;
    background-color: rgba(229,231,235,.5);
    padding: .5rem .875rem;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
}

.top-navbar .s-search-input {
    border-style: none;
    background-color: rgba(229,231,235,.5);
    border-radius: 6px !important;
}

.top-navbar {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    background: #fff;
}

.s-cart-summary-total {
    display: none;
}

.s-user-menu-trigger-avatar-only .s-user-menu-trigger-avatar {
    border-width: 0;
    height: 33px;
    width: 33px;
    border-radius: 6px;
    outline: #3a6b35 solid 1px; /* تم تفتيح الأخضر */
    object-fit: cover;
    border: #fff solid 5px !important;
}

.header-btn__icon {
    overflow: hidden;
    position: relative;
    display: flex;
    height: 34px;
    width: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: #3a6b35 solid 1px; /* تم تفتيح الأخضر */
    font-size: 1.25rem;
    color: rgb(55 65 81);
    z-index: 1;
}

.header-btn__icon:after{
    content: "";
    height: 0%;
    width: 0%;
    background: #3a6b35;
    position: absolute;
    top: 50%;
    right: 50%;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.5s ease;
    transform: translateX(50%) translateY(-50%) rotate(45deg);
}

.header-btn__icon:hover:after{
    animation: btn-17 2s;
    background-color: #3a6b35;
}

.header-btn__icon:hover {
    color: #fff!important;
    border-color: #3a6b35;
    background-color: #3a6b35!important;
    transition: background-color 0.5s ease-in-out 0.8s;
}

.s-cart-summary-count {
    top: -8px;
    z-index: 3;
    background-color: #d4af37 !important;
}

/* ======      TOP PR      ======      */
.s-block--slider-with-bg .s-slider-block__display-all {
    width: 100%;
    cursor: pointer;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    background-color: #fff!important;
    color: #3a6b35!important ;
    border: 1px solid #3a6b35;
    padding: 4px 50px 10px 50px;
}

.s-block--slider-with-bg .s-slider-block__display-all:hover {
    color: #fff!important ;
    background-color: #3a6b35!important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ======      PR      ======      */
[dir=rtl] .rtl\:pl-3 {
    background: #3a6b35;
    padding: 0px 15px;
    height: 40px;
    line-height: 40px;
    border-radius: 6px;
    color: #fff;
}

.form-input {
    height: 2.5rem;
    border-radius: 6px;
    border-color: #3a6b35;
}

[dir=rtl] .rtl\:ml-3 {
    background: #3a6b35;
    height: 40px;
    line-height: 40px;
    padding: 0px 15px;
    border-radius: 6px;
    color: #fff;
}

.s-product-card-entry {
    border-radius: .75rem;
    box-shadow: 2px 2px 12px rgba(58, 107, 53, 0.1);
}

/* ======      CART PR      ======      */
.s-product-card-vertical .s-product-card-wishlist-btn button {
    background-color: #3a6b35 !important;
}

.s-button-btn {
    border-radius: 6px!important;
    background: #3a6b35;
    color: #fff;
}

.s-button-btn:before, .s-button-btn:after, .s-button-primary-outline:before, .s-button-primary-outline:after {
    background: linear-gradient(to left, transparent, #d4af37);
}

.s-button-primary:hover {
    background-color: #fff;
    color: #3a6b35;
    border: 1px solid #3a6b35;
}

.s-button-primary-outline {
    color: #fff;
    background: #3a6b35;
    border: 0;
}

.s-button-primary-outline:hover {
    background-color: #fff;
    color: #3a6b35;
}

/* تأثيرات التدرج الذهبي المتحرك */
.s-button-text:after, .s-button-text:before {
    background: linear-gradient(to bottom, transparent, #d4af37);
}

/* ======      FEATURES      ======      */
.s-block--features__item .feature-icon {
    background-color: #3a6b35;
}

.s-block--features__item:before {
    background-image: conic-gradient(transparent 13deg,#d4af37 0deg,#d4af37 89deg,transparent 90deg,transparent 191deg,#d4af37 180deg,#d4af37 268deg,transparent 180deg,transparent 300deg);
}

/* ======      FOOTER      ======      */
.store-footer__inner {
    background-color: #3a6b35; /* الفوتر بالأخضر الفاتح */
}

.border:hover {
    color: #3a6b35 !important;
}

.store-footer .social-link:hover {
    color: #3a6b35 !important;
}

.store-footer h3 {
    color: #3a6b35;
}

.store-footer h3:before, .store-footer h3:after {
    background: linear-gradient(to left, transparent, #d4af37);
}

/* Keyframes Animations */
@keyframes btn-17 {
  0% { height: 0%; width: 0%; }
  100% { height: 400%; width: 600%; }
}

@keyframes btn-22-right {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes btn-22-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes feature {
  0%{ transform: translate(-50%,-50%) rotate(0deg); }
  50%{ transform: translate(-50%,-50%) rotate(-100deg); }
}