/* Six Percent brand layer for Elessi. Brand book: y99.tech/sixpercent/  (2026-11-27) */
:root{
  --sp-charcoal:#393E46; --sp-coral:#F76B6A; --sp-coral-deep:#D13F3C; --sp-ink:#222; --sp-muted:#5F636B;
  --sp-paper:#F6F5F2; --sp-line:#DCDCDC; --sp-radius:14px;
  --sp-ease:cubic-bezier(.2,.7,.2,1);
}

/* Arabic: Nunito Sans has no Arabic letters, so Cairo takes over for them */
html[dir="rtl"] body, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .nasa-title, html[dir="rtl"] .price, html[dir="rtl"] button, html[dir="rtl"] input, html[dir="rtl"] .button{
  font-family:"Nunito Sans", Cairo, sans-serif;
}

::selection{background:var(--sp-coral);color:var(--sp-ink)}
:focus-visible{outline:2px solid var(--sp-coral-deep);outline-offset:2px}

/* Section headings */
.nasa-heading-title, .nasa-box-heading, .nasa-title .nasa-title-wrap h3, .elementor-heading-title{letter-spacing:-.2px}

/* ---------- Product cards ---------- */
.product-item .product-img-wrap{border-radius:var(--sp-radius);overflow:hidden;background:var(--sp-paper);
  transition:transform .35s var(--sp-ease), box-shadow .35s var(--sp-ease)}
.product-item .product-img-wrap img{transition:transform .6s var(--sp-ease), opacity .35s ease}
@media (hover:hover){
  .product-item:hover .product-img-wrap{transform:translateY(-6px);box-shadow:0 14px 30px rgba(34,34,34,.14)}
  .product-item:hover .product-img-wrap .main-img img,
  .product-item.nasa-no-effect:hover .product-img-wrap img{transform:scale(1.04)}
}
.product-item .name a, .product-item .woocommerce-loop-product__title a{color:var(--sp-ink);font-weight:700;transition:color .2s ease}
.product-item .name a:hover{color:var(--sp-coral-deep)}
.product-item .price{color:var(--sp-ink);font-weight:800}
.product-item .price del{color:var(--sp-muted);font-weight:400}
.product-item .price ins{color:var(--sp-coral-deep);text-decoration:none}

/* Badges: coral pills */
.nasa-badges-wrap .badge{border-radius:999px;font-weight:800;letter-spacing:.2px}
.nasa-badges-wrap .badge.sale-label{background:var(--sp-coral);color:var(--sp-ink)}
.nasa-badges-wrap .badge.featured-label{background:var(--sp-charcoal);color:#fff}
.nasa-badges-wrap .badge.out-of-stock-label{background:#fff;color:var(--sp-charcoal);border:1px solid var(--sp-line)}

/* Buttons: charcoal, coral-deep on hover (white text passes 4.5:1 on both) */
.single_add_to_cart_button.button, .checkout-button.button, #place_order, .woocommerce .button.alt{
  background:var(--sp-charcoal)!important;border-color:var(--sp-charcoal)!important;color:#fff!important;
  transition:background-color .25s ease, border-color .25s ease, transform .2s var(--sp-ease)}
.single_add_to_cart_button.button:hover, .checkout-button.button:hover, #place_order:hover, .woocommerce .button.alt:hover{
  background:var(--sp-coral-deep)!important;border-color:var(--sp-coral-deep)!important}
.single_add_to_cart_button.button:active, .checkout-button.button:active, #place_order:active{transform:translateY(1px)}

/* Single product price */
.single-product .summary .price{color:var(--sp-ink);font-weight:800}
.single-product .summary .price ins{color:var(--sp-coral-deep);text-decoration:none}

/* Header: soft shadow once scrolled */
.sps-scrolled .nasa-header-sticky, .sps-scrolled .sticky-wrapper.fixed-already{box-shadow:0 6px 18px rgba(34,34,34,.08)}
.nasa-header-sticky, .sticky-wrapper{transition:box-shadow .3s ease}

/* Theme's own scroll-in animation: brand easing, shorter travel */
.wow.fadeInUp{animation-timing-function:var(--sp-ease)!important;animation-duration:.6s!important}

/* Links in content */
.entry-content a:not(.button), .woocommerce-product-details__short-description a{color:var(--sp-coral-deep)}

@media (prefers-reduced-motion: reduce){
  .product-item .product-img-wrap, .product-item .product-img-wrap img, .button, .wow{transition:none!important;animation:none!important;transform:none!important}
}

/* Card "Add to cart" bar: deep coral so white text passes 4.5:1, charcoal on hover */
.product-item .add-to-cart-grid.button{background:var(--sp-coral-deep)!important;border-color:var(--sp-coral-deep)!important;color:#fff!important;transition:background-color .25s ease}
.product-item .add-to-cart-grid.button:hover{background:var(--sp-charcoal)!important;border-color:var(--sp-charcoal)!important}

/* "Designed & built by Y99" footer badge (the child theme that held these styles is inactive) */
.sp-y99{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--sp-muted);text-decoration:none!important;vertical-align:middle;transition:color .2s ease}
.sp-y99:hover{color:var(--sp-ink)}
.sp-y99__logo{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 8px;border-radius:6px;background:#0E0E0E;
  border:1px solid rgba(57,255,136,.25);color:#F5F4F0;font-family:"Space Grotesk",system-ui,-apple-system,sans-serif;font-weight:700;font-size:13px;line-height:1;
  letter-spacing:-.02em;box-shadow:0 1px 3px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06);transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease}
.sp-y99__logo b{color:#39FF88;font-weight:700}
.sp-y99:hover .sp-y99__logo{border-color:rgba(57,255,136,.6);box-shadow:0 0 0 3px rgba(57,255,136,.2),inset 0 1px 0 rgba(255,255,255,.1);transform:translateY(-1px)}
html[dir=rtl] .sp-y99{direction:ltr}
/* Footer copyright + Y99 badge: let the badge drop to its own line on phones (it pushed the page 14px wide) */
.sp-y99{max-width:100%;flex-wrap:wrap}
@media (max-width:767px){.sp-y99{display:flex;width:max-content;margin-top:8px}}
