@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap");

:root {
  --color-primary: #d4af37;
  --color-primary-hover: #f5d060;
  --color-primary-text: #000;
  --color-primary-text-hover: #000;
  --color-secondary: #aa8c2e;
  --color-secondary-hover: #d4af37;
  --color-secondary-text: #000;
  --color-secondary-text-hover: #000;
  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(212,175,55,.1);
  --color-tertiary-text: #f2f2f2;
  --color-tertiary-text-hover: #d4af37;
  --color-bg: #030303;
  --color-brighter-bg: #0c0c0c;
  --color-text: #f2f2f2;
  --color-text-darker: #e0e0e0;
  --color-text-secondary: #8b8b8b;
  --color-text-dark: #000;
  --color-removed: #c12e2e;
  --color-sale-banner-bg: var(--color-primary);
  --color-sale-banner-text: var(--color-primary-text);
}

body { font-family: "Tajawal", sans-serif; }
html { scrollbar-color: #aa8c2e #030303; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #030303; }
::-webkit-scrollbar-thumb { background: #aa8c2e; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }
::selection { background: rgba(212,175,55,.22); color: #f5d060; }

.btn-primary,
.btn-secondary,
.btn-tertiary,
.widget-title,
.site-title,
.store-product .product-title,
.store-product-tiered .product-title,
.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 { font-family: "Tajawal", sans-serif; }

.btn-primary,
.btn-secondary,
.btn-tertiary { border-radius: 8px; font-weight: 700; }

.btn-primary {
  background: linear-gradient(135deg,#e8c84a 0%,#aa8c2e 100%);
  box-shadow: 0 4px 14px rgba(212,175,55,.22);
  transition: filter .22s ease, box-shadow .22s ease;
}

.btn-primary:hover,
.btn-primary:focus { box-shadow: 0 8px 22px rgba(212,175,55,.32); filter: brightness(1.05); }

.btn-secondary:hover,
.btn-secondary:focus { box-shadow: 0 5px 16px rgba(212,175,55,.2); }

body, html, .site { background: #030303 !important; }
.site-header {
  z-index: 1;
  border-bottom: 1px solid rgba(212,175,55,.18);
  background: rgba(3,3,3,.96);
  backdrop-filter: blur(10px);
}
.site-title {
  font-weight: 900;
  color: #d4af37;
  text-shadow: 0 0 26px rgba(212,175,55,.28);
}
.site-footer {
  background: #020202;
  border-top: 1px solid rgba(212,175,55,.18);
}
.site-footer-credit {
  background: #020202;
  border-top: 1px solid rgba(212,175,55,.12);
}
.site-footer-credit .legal a:hover,
.site-footer-inner .site-footer-nav a:hover,
.link-text,
.navigation-horizontal a:hover,
.navigation-horizontal a.link-active,
.navigation-vertical a:hover,
.navigation-vertical a.link-active { color: #d4af37; }
.link-text:hover { color: #f5d060; }

.navigation-horizontal .menu {
  background: rgba(3,3,3,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,.18);
}
.navigation-horizontal li li a:hover,
.navigation-horizontal li li a.link-active {
  background-color: #d4af37 !important;
  color: #000 !important;
}
.navigation-horizontal .has-children > ul {
  background: rgba(3,3,3,.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 10px;
}
.site-navigation .menu {
  background: #030303;
  border-right: 1px solid rgba(212,175,55,.18);
}
.navigation-vertical {
  background: #0c0c0c !important;
  border: 1px solid rgba(212,175,55,.18) !important;
  border-radius: 18px !important;
  padding: 16px !important;
}
.navigation-vertical .menu { background: transparent !important; }
.navigation-vertical:hover { border-color: rgba(212,175,55,.4) !important; }

.widget,
.store-product,
.store-product-full,
.store-text,
.no-products,
.store-category-tiered,
.popup-content {
  background: #0c0c0c;
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 18px;
}

.widget { transition: border-color .25s ease, box-shadow .25s ease; }
.widget:hover {
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 24px rgba(212,175,55,.04);
}
.widget-title {
  font-weight: 800;
  color: #d4af37;
  text-align: center;
}
.store-sidebar .widget { box-shadow: none !important; }
.store-sidebar .widget:hover { box-shadow: none !important; }

.store-product {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.store-product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(212,175,55,.045) 0%,transparent 55%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.store-product:hover {
  border-color: rgba(212,175,55,.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.35), 0 0 24px rgba(212,175,55,.05);
}
.store-product:hover::before { opacity: 1; }
.store-product .product-title,
.store-product-tiered .product-title { font-weight: 700; }
.store-product .product-title a:hover { color: #d4af37; }
.store-product .price strong,
.store-product-tiered .price strong,
.basket .basket-item .price,
.basket .basket-item .price strong,
.basket .basket-checkout .total,
.basket .basket-checkout .total strong { color: #d4af37; }

.store-product-full .actions {
  background: rgba(12,12,12,.85);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(212,175,55,.15);
}
.category-description {
  background: #0c0c0c;
  border: 1px solid rgba(212,175,55,.18);
  border-right: 4px solid #d4af37;
  border-radius: 10px;
}
.no-products { color: #777; }

.site-home-categories .category {
  background: #0c0c0c;
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 10px;
  padding: 12px !important;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
@media (width > 960px) {
  .site-home-categories .category { padding: 16px !important; }
}
.site-home-categories .category:hover {
  color: #d4af37;
  border-color: rgba(212,175,55,.45);
  box-shadow: 0 8px 22px rgba(212,175,55,.08);
}

.site-sale-banner {
  background: linear-gradient(135deg,#e8c84a 0%,#aa8c2e 100%);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(212,175,55,.22);
}

.popup {
  background-color: rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
}
.popup-close:hover { background-color: rgba(212,175,55,.1); }
.popup-close::before { background-color: #d4af37; }

.basket-popup { z-index: 9999 !important; }
.basket-popup-content {
  background: #030303;
  border-left: 1px solid rgba(212,175,55,.18);
  border-radius: 0;
}
.basket-popup-content .popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10000;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 50%;
  opacity: 1;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.basket-popup-content .popup-close::before {
  content: "×";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  color: #d4af37;
  font: 700 26px/1 Arial, sans-serif;
}
.basket-popup-content .popup-close:hover {
  background: rgba(212,175,55,.32) !important;
  transform: scale(1.03);
}

.basket .basket-header {
  background: rgba(12,12,12,.8);
  border-bottom: 1px solid rgba(212,175,55,.18);
}
.basket .basket-second-header {
  background: rgba(12,12,12,.9);
  border-bottom: 1px solid rgba(212,175,55,.12);
}
.basket .basket-title::before { background-color: #d4af37; }
.basket .basket-item {
  background: #0c0c0c;
  border: 1px solid rgba(212,175,55,.15);
  border-radius: 10px;
  transition: border-color .2s ease;
}
.basket .basket-item:hover { border-color: rgba(212,175,55,.35); }
.basket .basket-item .remove {
  --btn-size: 42px;
  --btn-icon: url("https://template-assets.tebex.io/images/delete.svg");
  --btn-icon-size: 22px;
  background: rgba(193,46,46,.16) !important;
  border: 1px solid rgba(193,46,46,.45) !important;
  border-radius: 8px !important;
  opacity: 1 !important;
}
.basket .basket-item .remove::before {
  background-color: #ff4d4d !important;
  mask: url("https://template-assets.tebex.io/images/delete.svg") center/contain no-repeat !important;
  -webkit-mask: url("https://template-assets.tebex.io/images/delete.svg") center/contain no-repeat !important;
}
.basket .basket-item .remove:hover {
  background: rgba(193,46,46,.32) !important;
  border-color: rgba(193,46,46,.75) !important;
}

.quantity-field,
.widget-gift-card .gift-card-input,
.store-form input[type="text"],
.store-form input[type="password"],
.store-form input[type="email"],
.store-form input[type="number"],
.store-form input[type="search"],
.store-form select,
.store-form textarea {
  background: #0c0c0c;
  border: 1px solid rgba(212,175,55,.24);
  border-radius: 8px;
  color: #f2f2f2;
}
.quantity-field { border-color: rgba(212,175,55,.3); }
.store-form input:focus,
.store-form select:focus,
.store-form textarea:focus {
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 0 0 2px rgba(212,175,55,.08);
}
.popup .store-form input[type="text"],
.popup .store-form input[type="password"],
.popup .store-form input[type="email"],
.popup .store-form input[type="number"],
.popup .store-form select,
.popup .store-form textarea { background: #111; }

.widget-community-goal .progress,
.widget-goal .progress { background: rgba(212,175,55,.1); border-radius: 4px; }
.widget-community-goal .progress-bar,
.widget-goal .progress-bar { background: linear-gradient(135deg,#e8c84a 0%,#aa8c2e 100%); border-radius: 4px; }
.widget-top-donator .avatar { border-radius: 50%; border: 2px solid rgba(212,175,55,.4); }
.widget-recent .avatar { border-radius: 50%; border: 1px solid rgba(212,175,55,.3); }

.media-slider .slider,
.media-slider .thumb { border-radius: 10px; background: #0c0c0c; }
.media-slider .thumb.active { border: 1px solid rgba(212,175,55,.6); }
.popup.popup-media-slider { backdrop-filter: blur(10px); background: rgba(3,3,3,.92); }
.popup.popup-media-slider .thumb { border-radius: 10px; background: rgba(12,12,12,.8); }

.store-product-tiered {
  background: rgba(3,3,3,.6);
  border: 1px solid rgba(212,175,55,.15);
  border-radius: 12px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.store-product-tiered:hover {
  border-color: rgba(212,175,55,.42);
  box-shadow: 0 10px 26px rgba(0,0,0,.34);
}
.store-product-tiered.store-product-cta { background-image: linear-gradient(to bottom,transparent 67%,rgba(212,175,55,.12)); }
.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 { text-align: center; color: #d4af37; }

.toast {
  background: #0c0c0c;
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,.42);
}
.toast.toast-success { background: #1a3d1a; border-color: rgba(76,175,80,.4); }
.toast.toast-error { background: #3d1a1a; border-color: rgba(193,46,46,.4); }
.toast.toast-warning { background: #3d341a; border-color: rgba(212,175,55,.4); }
.toast-close { border-radius: 6px; }
.toast-close::before { background-color: #d4af37; }

.site-header-inner .open-basket {
  --btn-icon: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.site-header-inner .open-basket::before {
  content: "" !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask: none !important;
  filter: drop-shadow(0 0 5px rgba(212,175,55,.7)) !important;
}
.site-header-inner .open-basket:hover::before { filter: drop-shadow(0 0 8px rgba(212,175,55,.9)) !important; }
@media (width <= 960px) { .site-header-inner .open-basket::before { margin-right: 0 !important; } }

.site-header-inner .user-name {
  --btn-icon: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header-inner .user-name::before {
  content: "" !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask: none !important;
  filter: drop-shadow(0 0 4px rgba(212,175,55,.6)) !important;
}

.basket .basket-item .remove {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.basket .basket-item .remove::before {
  content: "" !important;
  width: 20px !important;
  height: 20px !important;
  background-color: #d4af37 !important;
  mask: url("https://template-assets.tebex.io/images/close.svg") center / contain no-repeat !important;
  -webkit-mask: url("https://template-assets.tebex.io/images/close.svg") center / contain no-repeat !important;
}

.basket-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-right: 2px;
  padding: 0 3px;
  border-radius: 50%;
  background: #d4af37;
  color: #000;
  font-size: 11px;
  font-weight: 700;
}

.store-products-images .store-product { text-align: center; }