/*
Theme Name: SeraShopee
Theme URI: https://serashopee.com
Author: SeraShopee
Author URI: https://serashopee.com
Description: A premium WooCommerce theme with iOS-inspired glassmorphism design, optimized for digital product shops with Bangladeshi payment integration (bKash, Nagad, Rocket). Features include AJAX live search, cart drawer, slide menu, price charts, and a mobile-first responsive layout.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serashopee
Tags: woocommerce, e-commerce, light, glassmorphism, mobile-first, bangla, rtl-ready

SeraShopee — Premium Digital Shop Theme
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS (CSS Custom Properties)
   ═══════════════════════════════════════════ */
:root {
  --primary:        #ff8000;
  --primary-light:  #fff4e6;
  --primary-glow:   rgba(255,128,0,0.12);

  /* Backgrounds — soft light */
  --bg-body:        #f2f2f7;   /* Apple iOS light gray */
  --bg-card:        #ffffff;
  --bg-section-alt: #fafafa;
  --bg-header:      rgba(255,255,255,0.88);
  --bg-footer:      #1c1c2e;   /* footer stays dark */

  /* Text */
  --text-h:         #111111;
  --text-p:         #444444;
  --text-muted:     #888888;

  /* Borders */
  --border:         rgba(0,0,0,0.07);
  --border-focus:   #ff8000;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:  0 8px 32px rgba(255,128,0,0.14);
}

/* ═══════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
  min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title .icon {
    width: 28px;
    height: 28px;
}

/* Mobile bottom padding for bottom nav */
@media (max-width: 767px) {
    body {
        padding-bottom: var(--bottom-nav-height);
    }
}
