/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** RIMA BRAND SYSTEM ***************/
:root {
  --rima-black: #100d0b;
  --rima-charcoal: #1d1815;
  --rima-gold: #cda77a;
  --rima-rose: #ead0bd;
  --rima-cream: #f8f3ed;
  --rima-taupe: #78675d;
}

body { background: #fff; color: #2a2522; }
body, button, input, textarea, select { font-family: "Tajawal", "Arial", sans-serif; }
h1, h2, h3, h4, h5, h6 { color: var(--rima-black); letter-spacing: 0; }
.elementor-widget-heading .elementor-heading-title { color: var(--rima-black) !important; }
a { color: var(--rima-charcoal); }
a:hover { color: #a77d51; }
.rima-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

#header .header-main,
#header .header-wrapper.stuck .header-main { background: var(--rima-black) !important; }
#header .header-main .nav > li > a,
#header .header-main .header-button a,
#header .header-main .icon-menu,
#header .header-main .icon-search,
#header .header-main .cart-icon { color: #f5e9df !important; }
#header .header-main .nav > li > a:hover,
#header .header-main .nav > li.active > a { color: var(--rima-gold) !important; }
#header .header-main .nav > li > a:before { background: var(--rima-gold) !important; }
#header .header-logo img { max-height: 78px !important; object-fit: contain; }
#header .header-main { border-bottom: 1px solid rgba(205,167,122,.25); }
.absolute-footer { background: var(--rima-black) !important; color: #e4d7cd !important; border-top: 1px solid rgba(205,167,122,.25); }

.rima-site-header {
  background: rgba(16,13,11,.98);
  border-bottom: 1px solid rgba(234,208,189,.22);
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
}
.rima-header-logo img { max-height: 76px; width: auto; object-fit: contain; }
.rima-main-nav .elementor-nav-menu--main .elementor-item {
  color: #f7eee8 !important; font-weight: 500; padding: 13px 14px !important;
}
.rima-main-nav .elementor-nav-menu--main .elementor-item:hover,
.rima-main-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--rima-gold) !important; }
.rima-main-nav .elementor-nav-menu--dropdown { background: var(--rima-charcoal) !important; }
.rima-header-button .elementor-button,
.rima-gold-button .elementor-button {
  background: linear-gradient(135deg,#e8c5a4,#bd8f61) !important;
  color: #17110e !important; border: 0; border-radius: 0; padding: 15px 27px;
  font-weight: 700; box-shadow: 0 10px 30px rgba(190,143,97,.22);
}
.rima-outline-button .elementor-button {
  background: transparent !important; color: var(--rima-black) !important;
  border: 1px solid var(--rima-black); border-radius: 0; padding: 14px 26px;
}
.rima-header-button .elementor-button:hover,
.rima-gold-button .elementor-button:hover { transform: translateY(-2px); filter: brightness(1.05); }

.rima-hero { color: #fff; position: relative; }
.rima-hero:before { display: none; }
.rima-slider .swiper-slide-inner { padding: 50px 7vw !important; }
.rima-slider .swiper-slide-contents {
  margin-left: auto !important; margin-right: 0 !important; width: 52%; max-width: 680px !important;
}
.rima-slider .elementor-slide-heading {
  color: #fff !important; font-size: clamp(40px,5.2vw,76px); line-height: 1.12; font-weight: 600;
  text-shadow: 0 3px 22px rgba(0,0,0,.34);
}
.rima-slider .elementor-slide-description { color: #f7eee8 !important; font-size: 20px; line-height: 1.9; }
.rima-slider .elementor-slide-button {
  background: linear-gradient(135deg,#e8c5a4,#bd8f61) !important; color: #17110e !important;
  border: 0 !important; border-radius: 0 !important; padding: 15px 27px !important; font-weight: 700;
}
.rima-slider .elementor-swiper-button { color: #f5e9df !important; }
.rima-slider .swiper-pagination-bullet { background: #f5e9df !important; }
.rima-hero-title .elementor-heading-title {
  color: #fff !important; font-size: clamp(38px,5.2vw,76px); line-height: 1.12; font-weight: 500;
  text-shadow: 0 3px 20px rgba(0,0,0,.28);
}
.rima-hero-copy { color: #f7eee8; max-width: 600px; font-size: 20px; line-height: 1.9; }
.rima-white-section { background: #fff; }
.rima-soft-section { background: var(--rima-cream); }
.rima-section-intro { color: var(--rima-taupe); font-size: 17px; }

.rima-category-card { background: #fff; transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.rima-category-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(33,24,20,.13); }
.rima-category-card .elementor-image-box-img { overflow: hidden; margin-bottom: 22px !important; }
.rima-category-card .elementor-image-box-img { width: 100% !important; }
.rima-category-card img { width: 100%; aspect-ratio: 1.05/1; object-fit: cover; transition: transform .5s ease; }
.rima-category-card:hover img { transform: scale(1.025); }
.rima-category-card .elementor-image-box-title,
.rima-category-card .elementor-image-box-title a { color: var(--rima-black) !important; font-size: 25px; margin-bottom: 10px; }
.rima-category-card .elementor-image-box-description { color: var(--rima-taupe); padding: 0 18px 24px; }

.rima-products .products { margin-top: 35px; }
.rima-products .product-small.box { background: #fff; border: 1px solid #eee7df; transition: transform .25s ease, box-shadow .25s ease; }
.rima-products .product-small.box:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(44,32,26,.10); }
.rima-products .box-image { background: #f8f5f1; }
.rima-products .box-image img { aspect-ratio: 1.05/1; object-fit: cover; }
.rima-products .box-text { padding: 18px 15px 22px; text-align: center; }
.rima-products .woocommerce-Price-amount { color: #8e6543; font-weight: 700; }
.rima-products .badge-container .badge-inner { background: var(--rima-black); color: #fff; }

.rima-story-section { background: #fff; }
.rima-brand-image img { max-height: 690px; width: 100%; object-fit: cover; object-position: center; }
.rima-benefits { background: var(--rima-black); color: #efe3da; }
.rima-benefits h3 { color: var(--rima-gold) !important; font-size: 22px; }
.rima-benefits .elementor-widget-text-editor { color: #e8ddd5; }

.rima-page-hero { background: linear-gradient(135deg,#0e0b09 0%,#271c17 58%,#6c4f3e 100%); }
.rima-page-hero { position: relative; overflow: hidden; }
.rima-page-hero:before,
.rima-page-hero:after {
  content: ""; position: absolute; border: 1px solid rgba(205,167,122,.18); border-radius: 50%; pointer-events: none;
}
.rima-page-hero:before { width: 420px; height: 420px; top: -250px; right: -90px; }
.rima-page-hero:after { width: 280px; height: 280px; bottom: -190px; left: 5%; }
.rima-light-title .elementor-heading-title { color: #f7eee8 !important; font-size: clamp(38px,5vw,68px); font-weight: 500; }
.rima-light-copy { color: var(--rima-gold); font-size: 18px; }
.rima-eyebrow, .rima-kicker { color: var(--rima-gold); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.rima-about-image { position: relative; }
.rima-about-image:before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 1px solid var(--rima-gold); z-index: 0; }
.rima-about-image img { position: relative; z-index: 1; width: 100%; height: 590px; object-fit: cover; object-position: center; box-shadow: 0 24px 55px rgba(25,18,15,.16); }
.rima-about-copy { color: #665850; font-size: 17px; line-height: 2; }
.rima-value-card .elementor-icon-box-wrapper,
.rima-contact-card .elementor-icon-box-wrapper {
  height: 100%; background: #fff; padding: 38px 28px; border: 1px solid #eadfd5; border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rima-value-card:hover .elementor-icon-box-wrapper,
.rima-contact-card:hover .elementor-icon-box-wrapper { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(45,31,24,.12); border-color: var(--rima-gold); }
.rima-value-card .elementor-icon,
.rima-contact-card .elementor-icon { color: var(--rima-gold) !important; font-size: 34px; }
.rima-value-card .elementor-icon svg,
.rima-contact-card .elementor-icon svg { fill: var(--rima-gold) !important; }
.rima-value-card .elementor-icon-box-title,
.rima-contact-card .elementor-icon-box-title { color: var(--rima-black) !important; font-size: 21px; margin: 14px 0 8px; }
.rima-value-card .elementor-icon-box-description,
.rima-contact-card .elementor-icon-box-description { color: var(--rima-taupe); line-height: 1.8; }
.rima-contact-cards { position: relative; z-index: 3; }
.rima-contact-cards .elementor-column { padding: 0 8px; }
.rima-contact-card .elementor-icon-box-wrapper { box-shadow: 0 16px 38px rgba(45,31,24,.09); }
.rima-about-cta { background: linear-gradient(120deg,#f8f3ed,#efe2d7); position: relative; overflow: hidden; }
.rima-about-cta:after { content: "R"; position: absolute; left: 6%; top: -50px; color: rgba(205,167,122,.12); font: 260px/1 Georgia,serif; }
.rima-centered-button .elementor-button-wrapper { text-align: center; }
.rima-contact-details { font-size: 17px; line-height: 1.9; }
.rima-contact-details strong { color: #9b714e; }
.rima-small-heading .elementor-heading-title { font-size: 18px; margin-top: 24px; }
.rima-response-note { display: inline-flex; gap: 9px; align-items: center; margin-top: 15px; color: #8b6a50; background: var(--rima-cream); padding: 10px 15px; border-radius: 30px; }
.rima-contact-social .elementor-social-icon,
.rima-footer-social .elementor-social-icon { transition: transform .25s ease, background .25s ease; }
.rima-contact-social .elementor-social-icon:hover,
.rima-footer-social .elementor-social-icon:hover { transform: translateY(-4px) rotate(-4deg); background: #e2bd91 !important; }
.rima-contact-form { background: #fff; border: 1px solid #eadfd5; border-radius: 22px; box-shadow: 0 22px 60px rgba(45,31,24,.10); }
.rima-contact-form label { color: var(--rima-black); font-weight: 600; }
.rima-contact-form input, .rima-contact-form textarea {
  background: #fbf8f5 !important; border: 1px solid #e7ddd4 !important; border-radius: 10px !important; min-height: 48px;
}
.rima-contact-form input:focus, .rima-contact-form textarea:focus { border-color: var(--rima-gold) !important; box-shadow: 0 0 0 3px rgba(205,167,122,.12); }
.rima-contact-form button { background: linear-gradient(135deg,#1a1411,#0c0908) !important; color: #fff !important; border-radius: 10px !important; min-height: 50px; }
.rima-track-form form { background: #fff; border: 1px solid #eadfd5; border-radius: 20px; padding: 35px; box-shadow: 0 18px 50px rgba(45,31,24,.09); }
.rima-track-form input { border-radius: 9px !important; background: #fbf8f5 !important; }

.rima-elementor-footer + footer .footer-wrapper > .footer-1,
.rima-elementor-footer + footer .footer-wrapper > .footer-2 { display: none; }
.rima-site-footer { background: radial-gradient(circle at 80% 0,#2a1d17 0,var(--rima-black) 42%); color: #e7dcd3; border-top: 2px solid var(--rima-gold); }
.rima-footer-logo img { max-height: 92px; width: auto; }
.rima-footer-heading .elementor-heading-title { color: var(--rima-gold) !important; font-size: 20px; }
.rima-footer-copy, .rima-footer-links { color: #d8cbc2; line-height: 1.9; }
.rima-footer-copy { max-width: 310px; }
.rima-footer-links ul { list-style: none; margin: 0; padding: 0; }
.rima-footer-links li { margin: 0 0 9px; }
.rima-footer-links li a:before { content: "‹"; display: inline-block; color: var(--rima-gold); margin-left: 9px; transition: transform .2s ease; }
.rima-footer-links li a:hover:before { transform: translateX(-3px); }
.rima-footer-links a, .rima-site-footer a { color: #f2e7df; }
.rima-footer-links a:hover, .rima-site-footer a:hover { color: var(--rima-gold); }
.rima-footer-location { color: var(--rima-gold); }
.rima-footer-email { margin-top: 18px; direction: ltr; text-align: right; }
.rima-footer-bottom { background: #090706; color: #bfaea3; border-top: 1px solid rgba(205,167,122,.22); }
.rima-footer-legal p { margin: 0; font-size: 13px; }
.rima-payment-marks { display: flex; align-items: center; justify-content: flex-start; gap: 10px; direction: ltr; }
.rima-payment-marks span { display: grid; place-items: center; width: 53px; height: 35px; border-radius: 7px; background: #fff; color: #1a1411; font-size: 29px; box-shadow: 0 5px 16px rgba(0,0,0,.16); }
.rima-payment-marks small { color: #c9b8ad; margin-left: 4px; direction: rtl; }
.rima-payment-marks .rima-pay-visa { color: #15357a; font: italic 800 17px/1 Arial,sans-serif; letter-spacing: -.7px; }
.rima-payment-marks .rima-pay-paypal { color: #15357a; font: italic 700 14px/1 Arial,sans-serif; }
.rima-payment-marks .rima-pay-mastercard { position: relative; display: block; }
.rima-pay-mastercard b { position: absolute; width: 19px; height: 19px; border-radius: 50%; top: 8px; }
.rima-pay-mastercard b:first-child { left: 10px; background: #eb001b; }
.rima-pay-mastercard b:last-child { right: 10px; background: #f79e1b; opacity: .92; }
.absolute-footer { display: none !important; }

.shop-page-title, .product-main { background: #fff; }
.woocommerce-page .page-title { color: var(--rima-black); }
.single_add_to_cart_button.button,
.checkout-button.button,
#place_order.button { background: var(--rima-black) !important; color: #fff !important; border-radius: 0; }
.price, .price ins .woocommerce-Price-amount { color: #9b714e !important; }

/* Unified product cards on shop, category, home and related-product grids. */
.products .product-small.box {
  height: 100%; background: #fff; border: 1px solid #ece4dc; border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(38,27,22,.06); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.products .product-small.box:hover { transform: translateY(-8px); border-color: #d9bd9e; box-shadow: 0 22px 50px rgba(38,27,22,.14); }
.products .product-small .box-image { background: #f6f2ed; overflow: hidden; }
.products .product-small .box-image img { aspect-ratio: .82/1; width: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.products .product-small.box:hover .box-image img { transform: scale(1.045); }
.products .product-small .box-text { padding: 20px 18px 23px; text-align: center; }
.products .product-small .category { color: #a18e81; font-size: 11px; letter-spacing: .7px; }
.products .product-small .product-title { font-size: 16px; font-weight: 600; margin: 7px 0 9px; }
.products .product-small .product-title a { color: var(--rima-black); }
.products .product-small .price { font-size: 16px; }
.products .product-small .badge-container { margin: 13px 0 0 13px; }
.products .product-small .badge-inner { background: var(--rima-black) !important; color: #fff; border-radius: 50%; font-size: 12px; }
.products .product-small .quick-view { background: rgba(16,13,11,.92); color: #fff; font-weight: 600; letter-spacing: 0; }
.products .product-small .wishlist-button { background: #fff !important; box-shadow: 0 5px 18px rgba(0,0,0,.12); }

.shop-container { padding-bottom: 70px; }
.shop-page-title { border-bottom: 1px solid #eee5dd; }
.shop-page-title .page-title-inner { padding-top: 28px; padding-bottom: 28px; }
.woocommerce-ordering select { border: 1px solid #e2d7ce; border-radius: 9px; background-color: #fff; box-shadow: none; }
.product-main { padding: 58px 0 42px; }
.product-gallery .flickity-viewport,
.product-gallery .product-gallery-slider img { border-radius: 16px; }
.product-info { padding-right: 42px; }
.product-info h1 { font-size: clamp(28px,3vw,42px); line-height: 1.35; }
.product-info .price { font-size: 24px; margin: 15px 0; }
.product-short-description { color: #665850; line-height: 1.9; }
.quantity.buttons_added { border-radius: 9px; overflow: hidden; border: 1px solid #e2d7ce; }
.quantity.buttons_added input { border: 0 !important; box-shadow: none !important; }
.single_add_to_cart_button.button { border-radius: 9px !important; min-height: 44px; padding: 0 28px; }
.product-footer .woocommerce-tabs { border-top: 1px solid #eee5dd; padding-top: 28px; }
.product-footer .nav-tabs > li > a { font-weight: 700; }

.woocommerce-cart .cart-container,
.woocommerce-checkout .checkout-page-title,
.woocommerce-checkout form.checkout,
.woocommerce-account .account-container { padding-top: 48px; padding-bottom: 70px; }
.woocommerce-cart .shop_table,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .col-inner.has-border,
.woocommerce-account .account-login-inner,
.woocommerce-account .woocommerce-MyAccount-content {
  border-color: #eadfd5 !important; border-radius: 16px; background: #fff; box-shadow: 0 12px 35px rgba(45,31,24,.06);
}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-account .account-login-inner { padding: 28px; }
.woocommerce form input[type="text"], .woocommerce form input[type="email"], .woocommerce form input[type="tel"],
.woocommerce form input[type="password"], .woocommerce form select, .woocommerce form textarea {
  border: 1px solid #e3d8cf; border-radius: 9px; background: #fbf8f5; box-shadow: none;
}
.woocommerce form input:focus, .woocommerce form select:focus, .woocommerce form textarea:focus { border-color: var(--rima-gold); box-shadow: 0 0 0 3px rgba(205,167,122,.12); }
.checkout-button.button, #place_order.button { border-radius: 9px !important; min-height: 48px; font-weight: 700; }
.cart_totals { border: 1px solid #eadfd5; border-radius: 16px; padding: 25px; background: #fbf8f5; }
.woocommerce-message, .woocommerce-info { border-radius: 10px; border-color: var(--rima-gold); background: #faf5ef; }
.woocommerce-MyAccount-navigation-link a { border-radius: 8px; }
.woocommerce-MyAccount-navigation-link.is-active a { background: var(--rima-black); color: #fff; }

.rima-faq .elementor-accordion-item { border: 1px solid #eadfd5 !important; border-radius: 12px; overflow: hidden; margin-bottom: 13px; }
.rima-faq .elementor-tab-title { padding: 20px 22px; font-weight: 700; color: var(--rima-black); }
.rima-faq .elementor-tab-content { color: #665850; line-height: 1.9; padding: 5px 22px 24px; border: 0 !important; }
.rima-policy-content { color: #5e514a; font-size: 16px; line-height: 1.95; }
.rima-policy-content h2 { font-size: 23px; margin-top: 34px; }
.rima-owner-note { padding: 17px 20px; background: #fff7e8; border-right: 4px solid #c8934e; border-radius: 9px; color: #694c2b; }
.rima-policy-links { margin-top: 7px !important; }
.rima-policy-links a { color: #d4c5bb; }


@media only screen and (max-width: 48em) {
  .rima-hero { min-height: 70vh !important; background-position: 64% center !important; }
  .rima-slider .swiper-slide-contents { width: 100% !important; max-width: 100% !important; margin: 0 auto !important; text-align: center !important; }
  .rima-slider .elementor-slide-heading { font-size: 34px !important; line-height: 1.2; }
  .rima-slider .elementor-slide-description { font-size: 16px !important; line-height: 1.7; }
  .rima-slider .swiper-slide-inner { padding: 38px 24px !important; }
  .rima-hero-title .elementor-heading-title { font-size: 39px; }
  .rima-hero-copy { font-size: 17px; }
  .rima-header-logo img { max-height: 62px; }
  .rima-story-section .elementor-column:last-child { padding: 35px 20px !important; }
  .rima-contact-form { margin-top: 35px; }
  .rima-page-hero { min-height: 300px !important; }
  .rima-about-image:before { inset: 12px -8px -10px 14px; }
  .rima-about-image img { height: 440px; }
  .rima-contact-cards { margin-top: -30px !important; }
  .rima-contact-cards .elementor-column { margin-bottom: 14px; }
  .rima-value-card .elementor-icon-box-wrapper, .rima-contact-card .elementor-icon-box-wrapper { padding: 28px 20px; }
  .rima-site-footer .elementor-column { margin-bottom: 26px; }
  .rima-footer-bottom .elementor-column { width: 100% !important; margin: 0 0 12px; }
  .rima-payment-marks { justify-content: center; }
  .rima-footer-legal { text-align: center; }
  .product-info { padding: 28px 15px 10px; }
  .woocommerce-cart .cart-container, .woocommerce-checkout form.checkout, .woocommerce-account .account-container { padding-top: 28px; }
  .woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields { padding: 20px; }
  .header-search.current-dropdown > #ux-search-dropdown {
    position: fixed !important; top: 70px !important; right: 12px !important; left: 12px !important;
    width: auto !important; min-width: 0 !important; transform: none !important; padding: 14px !important;
    border: 1px solid #eadfd5; border-radius: 10px; box-shadow: 0 14px 35px rgba(0,0,0,.18);
  }
  .header-search.current-dropdown .header-search-form-wrapper,
  .header-search.current-dropdown .searchform { width: 100% !important; }
}

@media only screen and (max-width: 549px) {
  .products .product-small .box-text { padding: 14px 10px 18px; }
  .products .product-small .product-title { font-size: 14px; min-height: 38px; }
  .products .product-small .price { font-size: 14px; }
  .products .product-small.box { border-radius: 13px; }
  .rima-contact-form { border-radius: 16px; }
  .rima-payment-marks span { width: 47px; height: 32px; font-size: 26px; }
}
