/*
Theme Name: Smart Gadget BD
Theme URI: https://smartgadgetbd.com/
Author: Smart Gadget BD
Author URI: https://smartgadgetbd.com/
Description: Premium, Apple-inspired minimal ecommerce theme for Smart Gadget BD. Fully WooCommerce-ready with glassmorphism, smooth animations, dark mode, and a fully customizable homepage — no page builders required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-gadget-bd
Tags: e-commerce, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* Tailwind (CDN) supplies utility classes. The file below contains only theme-native CSS + WordPress required styles. */

/* ===== WordPress Required Styles ===== */
.alignleft   { float: left;  margin: 0.5em 1.5em 0.5em 0; }
.alignright  { float: right; margin: 0.5em 0 0.5em 1.5em; }
.aligncenter { display: block; margin: 0.5em auto; }
.alignwide, .alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .875rem; color: #64748b; text-align: center; }
.sticky, .bypostauthor, .gallery-caption, .screen-reader-text { position: relative; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}
.screen-reader-text:focus {
  background:#fff; color:#0F172A; clip:auto; height:auto; width:auto;
  padding:15px 23px 14px; font-weight:600; z-index:100000;
}

/* ===== Design tokens (mirrors Tailwind config) ===== */
:root {
  --sgbd-primary: #2563EB;
  --sgbd-primary-dark: #1E40AF;
  --sgbd-secondary: #0F172A;
  --sgbd-accent: #F97316;
  --sgbd-success: #10B981;
  --sgbd-bg: #F8FAFC;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: var(--sgbd-bg);
  color: var(--sgbd-secondary);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { letter-spacing:-0.025em; font-weight:700; }
.font-bangla, :lang(bn) { font-family:'Hind Siliguri','Inter',sans-serif; }

.glass { background: rgba(255,255,255,0.72); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgba(255,255,255,0.6); }
.glass-dark { background: rgba(15,23,42,0.6); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgba(255,255,255,0.1); }

.btn-premium {
  background: linear-gradient(135deg, var(--sgbd-primary), #3B82F6);
  color:#fff; box-shadow: 0 20px 60px -20px rgba(37,99,235,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 24px 70px -20px rgba(37,99,235,.6); }

.btn-ghost { background: rgba(255,255,255,.9); color: var(--sgbd-secondary); border:1px solid #E2E8F0; transition:all .2s ease; }
.btn-ghost:hover { background:#fff; border-color: var(--sgbd-primary); }

.card-premium {
  background:#fff; border-radius:20px; border:1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -8px rgba(15,23,42,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-premium:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(15,23,42,.06), 0 20px 40px -12px rgba(15,23,42,.12); }

.text-gradient { background: linear-gradient(135deg, var(--sgbd-primary), #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-bg {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(1000px 500px at 90% 30%, rgba(249,115,22,.10), transparent 55%),
    linear-gradient(180deg, #FFFFFF, #F1F5F9);
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { animation: marquee 30s linear infinite; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.float-slow { animation: float 6s ease-in-out infinite; }
.float-med  { animation: float 4s ease-in-out infinite; }

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  100% { box-shadow: 0 0 0 20px rgba(16,185,129,0); }
}
.pulse-ring { animation: pulseRing 2s infinite; }

.marquee-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.no-scrollbar::-webkit-scrollbar { display:none; }
.no-scrollbar { -ms-overflow-style:none; scrollbar-width:none; }
details[open] .faq-chev { transform: rotate(180deg); color: var(--sgbd-primary); }

/* ===== Dark Mode ===== */
.dark body { background:#0B1220; color:#F1F5F9; }
.dark .card-premium { background:#0F172A; border-color: rgba(255,255,255,.08); }
.dark .btn-ghost { background: rgba(15,23,42,.6); color:#F1F5F9; border-color: rgba(255,255,255,.1); }
.dark .glass { background: rgba(15,23,42,.6); border-color: rgba(255,255,255,.08); }
.dark .hero-bg {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(37,99,235,.20), transparent 60%),
    radial-gradient(1000px 500px at 90% 30%, rgba(249,115,22,.15), transparent 55%),
    linear-gradient(180deg, #0B1220, #0F172A);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ===== Comments ===== */
.comment-list { list-style:none; padding:0; }
.comment-list .comment { padding:1rem 0; border-top:1px solid #E2E8F0; }
.comment-meta { font-size:.85rem; color:#64748b; }
.comment-form label { display:block; font-weight:600; margin:.5rem 0 .25rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width:100%; padding:.75rem 1rem; border:1px solid #E2E8F0; border-radius:12px; background:#fff;
}
.comment-form textarea { min-height:140px; }
