/* =====================================================
   REGALIA STORE
   ROYAL BURGUNDY & GOLD
   SALLA - RAED THEME
   VERSION 6.0
   ===================================================== */


/* =====================================================
   01 - BRAND VARIABLES
   ===================================================== */

:root {
  --rg-bg: #14070e;
  --rg-header: #350719;
  --rg-burgundy: #590e2d;
  --rg-card: #26101d;
  --rg-card-dark: #1b0a14;

  --rg-gold: #d4af37;
  --rg-gold-light: #f5d77e;

  --rg-white: #fff8f0;
  --rg-muted: #cdbac3;

  --rg-border: rgba(212,175,55,.28);
  --rg-radius: 16px;
}


/* =====================================================
   02 - GENERAL
   ===================================================== */

body,
.store-page,
.store-container {
  background-color: var(--rg-bg);
  color: var(--rg-white);
}

body {
  font-family: "Tajawal", Arial, sans-serif;
}

::selection {
  background: var(--rg-gold);
  color: #170910;
}


/* =====================================================
   03 - HEADER
   ===================================================== */

body .store-header,
body .main-header,
body header.navbar,
body .salla-header,
body .main-nav,
body #mainnav,
body .mainnav-container,
body .header-wrapper,
body .inner-header,
body .header-components {
  background: var(--rg-header) !important;
  color: var(--rg-white) !important;
  border-color: var(--rg-border) !important;
}

body .navbar-brand,
body .header-buttons {
  background: transparent !important;
}

body .main-nav a,
body .main-nav button,
body .header-buttons a,
body .header-buttons button,
body #mainnav a,
body #mainnav button {
  color: var(--rg-gold-light) !important;
}

body .sicon-menu,
body .sicon-search,
body .sicon-user-circle,
body .sicon-shopping-bag,
body .sicon-shopping-cart,
body .sicon-heart {
  color: var(--rg-gold) !important;
}


/* =====================================================
   04 - ACCOUNT ICON
   ===================================================== */

body .s-user-menu-trigger,
body .s-user-menu-login-btn,
body .s-user-menu-login-btn--avatar-only {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;

  padding: 0 !important;
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid var(--rg-gold) !important;
  border-radius: 50% !important;

  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body .s-user-menu-login-btn--avatar-only svg {
  width: 24px !important;
  height: 24px !important;
  color: var(--rg-gold) !important;
  fill: currentColor !important;
}

body .s-user-menu-login-btn--avatar-only svg path {
  fill: currentColor !important;
}

body .s-user-menu-trigger img,
body .s-user-menu-trigger .avatar {
  display: none !important;
}

body .s-user-menu-trigger::after {
  content: "\1F464";
  font-size: 23px;
  line-height: 1;
  color: var(--rg-gold);
}


/* =====================================================
   05 - SEARCH
   ===================================================== */

body .search-bar,
body .search-container,
body .header-search,
body .s-search-container,
body .s-search-input,
body input[type="search"] {
  background: var(--rg-burgundy) !important;
  color: var(--rg-white) !important;
  border: 1px solid var(--rg-gold) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body input[type="search"]::placeholder,
body .s-search-input::placeholder {
  color: #e4cbd6 !important;
  opacity: 1;
}


/* =====================================================
   06 - DESKTOP NAVIGATION
   ===================================================== */

body .main-menu,
body .navbar-nav,
body .nav-desktop,
body .header-menu {
  background: #260612 !important;
  border-color: var(--rg-border) !important;
}

body .main-menu a,
body .navbar-nav a,
body .header-menu a {
  color: var(--rg-white) !important;
}

body .main-menu a:hover,
body .navbar-nav a:hover,
body .header-menu a:hover {
  color: var(--rg-gold-light) !important;
}


/* =====================================================
   07 - MOBILE MENU
   ===================================================== */

body .mm-spn,
body .mm-spn ul,
body .mm-spn li,
body .mobile-menu,
body .side-menu,
body .sidebar-menu,
body .salla-menu,
body .menu-drawer {
  background-color: var(--rg-header) !important;
}

body .mm-spn a,
body .mm-spn span,
body .mobile-menu a,
body .side-menu a,
body .salla-menu a,
body .menu-drawer a {
  color: var(--rg-white) !important;
  -webkit-text-fill-color: var(--rg-white) !important;
}

body .mm-spn li,
body .mobile-menu li,
body .side-menu li {
  border-color: var(--rg-border) !important;
}

body salla-menu,
body salla-menu .menu-item,
body salla-menu .menu-item a {
  color: var(--rg-white) !important;
}


/* =====================================================
   08 - SECTION HEADINGS
   ===================================================== */

section h2,
.section-title,
.s-block__title,
.s-block__title h2 {
  color: var(--rg-gold-light);
  font-weight: 800;
}


/* =====================================================
   09 - PRODUCT CARDS
   ===================================================== */

.s-product-card-entry,
.product-card,
.product-item {
  background: linear-gradient(
    155deg,
    var(--rg-card),
    var(--rg-card-dark)
  ) !important;

  border: 1px solid var(--rg-border) !important;
  border-radius: var(--rg-radius) !important;

  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.s-product-card-entry:hover,
.product-card:hover,
.product-item:hover {
  transform: translateY(-4px);
  border-color: var(--rg-gold) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.32);
}


/* =====================================================
   10 - PRODUCT IMAGES
   ===================================================== */

body .s-product-card-image {
  background: var(--rg-card) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body .s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;

  object-fit: contain !important;
  object-position: center !important;

  background: var(--rg-card) !important;
  transform: none !important;
  transition: none !important;
}

body .s-product-card-entry:hover
.s-product-card-image img {
  transform: none !important;
}


/* =====================================================
   11 - PRODUCT TITLES
   ===================================================== */

.s-product-card-content-title,
.s-product-card-content-title a,
.product-card h3 {
  color: var(--rg-white) !important;
  font-weight: 700;
  line-height: 1.7;
}


/* =====================================================
   12 - PRODUCT DETAIL TITLES
   ===================================================== */

body .product-single h1,
body .product-details h1,
body .product-title,
body .product-name,
body .product-entry__title,
body .s-product-title,
body .product__title,
body .product-single__title,
body .product-details__title {
  color: var(--rg-gold-light) !important;
  -webkit-text-fill-color: var(--rg-gold-light) !important;
  opacity: 1 !important;
}


/* =====================================================
   13 - PRODUCT DESCRIPTION
   ===================================================== */

body .product-description,
body .product-description p,
body .product-description li,
body .product-details p {
  color: var(--rg-white) !important;
  line-height: 1.9;
}

body .product-description h2,
body .product-description h3,
body .product-details h3 {
  color: var(--rg-gold-light) !important;
}


/* =====================================================
   14 - PRICES
   ===================================================== */

.s-product-card-price,
.s-product-card-sale-price,
.product-price,
.price {
  color: var(--rg-gold-light) !important;
  font-weight: 800;
}


/* =====================================================
   15 - PRODUCT OPTIONS
   ===================================================== */

body .product-options,
body .product-options-wrapper,
body .product-options-container,
body .product-custom-fields,
body .product-fields {
  background: var(--rg-card) !important;
  border-color: var(--rg-border) !important;
  color: var(--rg-white) !important;
}

body .product-options label,
body .product-custom-fields label,
body .product-fields label {
  color: var(--rg-gold-light) !important;
}

body .product-options input,
body .product-custom-fields input,
body .product-fields input,
body .product-options textarea {
  background: var(--rg-white) !important;
  color: var(--rg-card) !important;
  -webkit-text-fill-color: var(--rg-card) !important;
  border: 1px solid var(--rg-gold) !important;
  border-radius: 12px !important;
}


/* =====================================================
   16 - BUTTONS
   ===================================================== */

.s-button-primary,
button[type="submit"].s-button-primary,
.btn-primary {
  background: linear-gradient(
    135deg,
    #b98a25,
    #f0d47b
  ) !important;

  color: #21120b !important;
  border: 1px solid #f4df9d !important;
  border-radius: 12px !important;
  font-weight: 800 !important;

  transition:
    filter .2s ease,
    transform .2s ease;
}

.s-button-primary:hover,
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}


/* =====================================================
   17 - CATEGORY CARDS
   ===================================================== */

.s-block--categories a,
.category-card,
.categories-item {
  border-radius: var(--rg-radius) !important;
  transition: transform .25s ease;
}

.s-block--categories a:hover,
.category-card:hover,
.categories-item:hover {
  transform: translateY(-3px);
}


/* =====================================================
   18 - BANNERS
   ===================================================== */

.s-block--banners img,
.s-block--fixed-banner img,
.s-block--photos-slider img {
  border-radius: 12px;
}


/* =====================================================
   19 - FOUR IMAGE GRID
   ===================================================== */

/*
   Targets common Salla banner layouts.
   Verify actual classes in Raed theme.
*/

.s-block--banners,
.s-block--fixed-banner {
  background: transparent !important;
}

.s-block--banners .container {
  background: transparent !important;
}

.s-block--banners img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

.s-block--banners a {
  display: block;
  background: var(--rg-bg) !important;
  overflow: hidden !important;
}

/* Four-image layout candidates */

.s-block--banners .grid,
.s-block--banners .row {
  background: transparent !important;
}

.s-block--banners .grid > *,
.s-block--banners .row > * {
  min-width: 0;
}

/* Avoid changing global containers */


/* =====================================================
   20 - GENERAL FORMS
   ===================================================== */

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  border-radius: 12px;
}

input:focus,
textarea:focus,
select:focus {
  outline-color: var(--rg-gold);
}


/* =====================================================
   21 - FOOTER
   ===================================================== */

footer,
.store-footer,
.salla-footer {
  background: #10070e !important;
  border-top: 1px solid var(--rg-border);
}

footer h3,
footer h4 {
  color: var(--rg-gold-light);
}

footer a:hover {
  color: var(--rg-gold-light) !important;
}


/* =====================================================
   22 - INFORMATIONAL PAGES
   ===================================================== */

body .page-content,
body .page-description,
body .static-page,
body .page-content-wrapper {
  color: #26101d !important;
}

body .page-content p,
body .page-content li,
body .page-content span,
body .page-description p,
body .page-description li,
body .page-description span,
body .static-page p,
body .static-page li,
body .static-page span,
body .page-content-wrapper p,
body .page-content-wrapper li {
  color: #26101d !important;
  -webkit-text-fill-color: #26101d !important;
}

body .page-content h1,
body .page-content h2,
body .page-content h3,
body .page-description h1,
body .page-description h2,
body .page-description h3,
body .static-page h1,
body .static-page h2,
body .static-page h3 {
  color: #7b173c !important;
  -webkit-text-fill-color: #7b173c !important;
}


/* =====================================================
   23 - MOBILE
   ===================================================== */

@media (max-width: 767px) {

  body .main-nav,
  body #mainnav,
  body .mainnav-container,
  body .header-wrapper,
  body .inner-header {
    background: var(--rg-header) !important;
  }

  body .search-bar,
  body .search-container,
  body .header-search,
  body input[type="search"] {
    border-radius: 12px !important;
  }

  .s-product-card-entry,
  .product-card {
    border-radius: 13px !important;
  }

  .s-product-card-content-title {
    font-size: 13px;
    line-height: 1.6;
  }

  .s-product-card-price,
  .s-product-card-sale-price {
    font-size: 15px;
  }

  section h2,
  .s-block__title h2 {
    font-size: 19px;
  }

  .s-block--banners img,
  .s-block--fixed-banner img {
    border-radius: 12px;
  }
}


/* =====================================================
   24 - ACCESSIBILITY
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

  .s-product-card-entry,
  .product-card,
  .product-item,
  .s-button-primary {
    transition: none !important;
  }
}

/* END - REGALIA V6.0 */