/* Glassmorphic Theme - Light Background Version */
/* Only applies styling effects, keeps existing background colors */

/* Remove dark background - let theme default show through */
body.gstore-desktop,
body.glassmorphic-theme,
body:not(.gstore-mobile) {
  font-family: 'TBC Contractica', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove background blobs */
body.gstore-desktop::before,
body.glassmorphic-theme::before,
body:not(.gstore-mobile)::before,
body.gstore-desktop::after,
body.glassmorphic-theme::after,
body:not(.gstore-mobile)::after {
  content: none;
  display: none;
}

/* Glassmorphic Effect Utility Class for Light Backgrounds */
.glass-effect {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-effect-strong {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Global glassmorphic badges (live search, single product, mini-cart) - same style everywhere */
.gstore-badge-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}
.gstore-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 6px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}
.gstore-badge.condition {
  background: #E8F5E9;
  color: #2E7D32;
}
.gstore-badge.sale {
  background: #FDECEA;
  color: #C62828;
}

/* Site Wrapper */
#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Content Wrapper */
.site-content {
  flex: 1;
}

/* Hide on mobile */
@media (max-width: 768px) {
  body.gstore-mobile .glass-effect,
  body.gstore-mobile .glass-effect-strong {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Remove default margins */
body, html {
  margin: 0;
  padding: 0;
}

/* Links */
a {
  color: #3713ec;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2910c0;
}

/* Selection */
::selection {
  background: rgba(55, 19, 236, 0.2);
  color: #000;
}

::-moz-selection {
  background: rgba(55, 19, 236, 0.2);
  color: #000;
}

/* =====================
   GLOBAL WOOCOMMERCE NOTICES (ULTRA GLASS)
   ===================== */
.woocommerce-NoticeGroup,
.woocommerce-notices-wrapper {
  margin: 16px 0;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-warning {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 22px 24px 22px 88px;
  margin-bottom: 26px;
  border-radius: 22px;
  overflow: hidden;
  max-width: 100%;
  border: none;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 25px 70px rgba(0,0,0,0.08), rgba(0,0,0,0);
  transition: .35s ease;
  animation: floatIn .45s ease;
}

.woocommerce-error:hover,
.woocommerce-message:hover,
.woocommerce-info:hover,
.woocommerce-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 90px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,1);
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-warning::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 1px rgba(255,255,255,.95), 0 8px 18px rgba(0,0,0,.08);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

.woocommerce-error::after,
.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-warning::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 22px 0 0 22px;
}

.woocommerce-error {
  color: #7f1d1d;
  background-image: linear-gradient(90deg, rgba(239,68,68,.3), transparent);
}
.woocommerce-error::after { background: #ef4444; }
.woocommerce-error::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%237f1d1d' stroke-width='1.6' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6'/%3E%3C/svg%3E");
}

.woocommerce-warning {
  color: #7a4a00;
  background-image: linear-gradient(90deg, rgba(245,158,11,.3), transparent);
}
.woocommerce-warning::after { background: #f59e0b; }
.woocommerce-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%237a4a00' stroke-width='1.6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 9v4'/%3E%3Ccircle cx='12' cy='17' r='1'/%3E%3Cpath d='M3 19h18L12 3z'/%3E%3C/svg%3E");
}

.woocommerce-info {
  color: #1e3a8a;
  background-image: linear-gradient(90deg, rgba(59,130,246,.3), transparent);
}
.woocommerce-info::after { background: #3b82f6; }
.woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='1.6' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E");
}

.woocommerce-message {
  color: #065f46;
  background-image: linear-gradient(90deg, rgba(16,185,129,.3), transparent);
}
.woocommerce-message::after { background: #10b981; }
.woocommerce-message::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='1.6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.woocommerce-error ul,
.woocommerce-message ul,
.woocommerce-info ul,
.woocommerce-warning ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li,
.woocommerce-warning li {
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  opacity: .85;
}

/* Cart empty info padding */
body.woocommerce-cart .woocommerce-info {
  padding-left: 100px;
}

.woocommerce-error strong,
.woocommerce-message strong,
.woocommerce-info strong,
.woocommerce-warning strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Hide search dropdown by default (only show when search is active) - GLOBAL FIX */
.wd-search-results-wrapper {
  display: none !important;
}

.wd-search-results-wrapper.wd-search-active,
.wd-search-results-wrapper.is-active,
.wd-search-results-wrapper[style*="display: block"] {
  display: block !important;
}

/* Elementor homepage section padding */
.elementor-element-1b3502f {
  padding-right: 8% !important;
}
