/* ==========================================================================
   ADI Gadget - Main Stylesheet
   Professional WooCommerce Theme for the Algerian Market
   ========================================================================== */


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {

  /* -----------------------------------------------------------------------
     1.1 Color Palette
     ----------------------------------------------------------------------- */

  /* Primary Colors */
  --color-white:              #ffffff;
  --color-black:              #000000;

  /* Background Colors */
  --color-bg-primary:         #ffffff;
  --color-bg-secondary:       #f5f5f5;
  --color-bg-tertiary:        #eaeaea;
  --color-bg-dark:            #1a1a2e;

  /* Accent / Brand Colors */
  --color-accent:             #1a1a2e;
  --color-accent-light:       #2d2d44;
  --color-accent-dark:        #0f0f1a;
  --color-accent-hover:       #2d2d44;

  /* Price & Offer Colors */
  --color-price:              #e63946;
  --color-price-light:        #ff6b6b;
  --color-price-dark:         #c5303c;
  --color-sale-badge:         #e63946;
  --color-old-price:          #999999;

  /* Status Colors */
  --color-success:            #2ecc71;
  --color-success-light:      #d4edda;
  --color-warning:            #f39c12;
  --color-warning-light:      #fff3cd;
  --color-error:              #e63946;
  --color-error-light:        #f8d7da;
  --color-info:               #3498db;
  --color-info-light:         #d1ecf1;

  /* Text Colors */
  --color-text-primary:       #1a1a2e;
  --color-text-secondary:     #6c757d;
  --color-text-tertiary:      #999999;
  --color-text-muted:         #b0b0b0;
  --color-text-inverse:       #ffffff;
  --color-text-link:          #1a1a2e;
  --color-text-link-hover:    #e63946;

  /* Border Colors */
  --color-border:             #e0e0e0;
  --color-border-light:       #f0f0f0;
  --color-border-dark:        #cccccc;
  --color-border-focus:       #1a1a2e;

  /* Overlay Colors */
  --color-overlay-light:      rgba(0, 0, 0, 0.05);
  --color-overlay-medium:     rgba(0, 0, 0, 0.3);
  --color-overlay-dark:       rgba(0, 0, 0, 0.6);
  --color-overlay-heavy:      rgba(0, 0, 0, 0.8);


  /* -----------------------------------------------------------------------
     1.2 Typography
     ----------------------------------------------------------------------- */

  /* Font Families */
  --font-primary:             'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-secondary:           'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-monospace:            'Courier New', Courier, monospace;

  /* Font Size Scale */
  --font-size-xs:             0.75rem;    /* 12px */
  --font-size-sm:             0.875rem;   /* 14px */
  --font-size-base:           1rem;       /* 16px */
  --font-size-md:             1.125rem;   /* 18px */
  --font-size-lg:             1.25rem;    /* 20px */
  --font-size-xl:             1.5rem;     /* 24px */
  --font-size-2xl:            1.875rem;   /* 30px */
  --font-size-3xl:            2.25rem;    /* 36px */
  --font-size-4xl:            3rem;       /* 48px */
  --font-size-5xl:            3.75rem;    /* 60px */

  /* Font Weights */
  --font-weight-light:        300;
  --font-weight-regular:      400;
  --font-weight-medium:       500;
  --font-weight-semibold:     600;
  --font-weight-bold:         700;
  --font-weight-extrabold:    800;
  --font-weight-black:        900;

  /* Line Heights */
  --line-height-tight:        1.2;
  --line-height-snug:         1.375;
  --line-height-normal:       1.5;
  --line-height-relaxed:      1.625;
  --line-height-loose:        1.8;

  /* Letter Spacing */
  --letter-spacing-tight:     -0.025em;
  --letter-spacing-normal:    0;
  --letter-spacing-wide:      0.025em;
  --letter-spacing-wider:     0.05em;


  /* -----------------------------------------------------------------------
     1.3 Spacing Scale
     ----------------------------------------------------------------------- */

  --space-1:                  4px;
  --space-2:                  8px;
  --space-3:                  12px;
  --space-4:                  16px;
  --space-5:                  20px;
  --space-6:                  24px;
  --space-7:                  28px;
  --space-8:                  32px;
  --space-10:                 40px;
  --space-12:                 48px;
  --space-16:                 64px;
  --space-20:                 80px;
  --space-24:                 96px;


  /* -----------------------------------------------------------------------
     1.4 Border Radius
     ----------------------------------------------------------------------- */

  --radius-sm:                4px;
  --radius-md:                8px;
  --radius-lg:                16px;
  --radius-xl:                24px;
  --radius-full:              9999px;


  /* -----------------------------------------------------------------------
     1.5 Box Shadows
     ----------------------------------------------------------------------- */

  --shadow-xs:                0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:                0 1px 3px rgba(0, 0, 0, 0.06),
                              0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:                0 4px 6px rgba(0, 0, 0, 0.07),
                              0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg:                0 10px 15px rgba(0, 0, 0, 0.08),
                              0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl:                0 20px 25px rgba(0, 0, 0, 0.1),
                              0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl:               0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-inner:             inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Card & Component Shadows */
  --shadow-card:              0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-card-hover:        0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-dropdown:          0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-modal:             0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-sticky:            0 4px 12px rgba(0, 0, 0, 0.1);


  /* -----------------------------------------------------------------------
     1.6 Transitions
     ----------------------------------------------------------------------- */

  --transition-fast:          150ms ease;
  --transition-base:          300ms ease;
  --transition-slow:          500ms ease;
  --transition-bounce:        300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Specific Transition Properties */
  --transition-color:         color var(--transition-fast);
  --transition-bg:            background-color var(--transition-fast);
  --transition-border:        border-color var(--transition-fast);
  --transition-shadow:        box-shadow var(--transition-base);
  --transition-transform:     transform var(--transition-base);
  --transition-opacity:       opacity var(--transition-base);
  --transition-all-fast:      all var(--transition-fast);
  --transition-all-base:      all var(--transition-base);


  /* -----------------------------------------------------------------------
     1.7 Z-Index Scale
     ----------------------------------------------------------------------- */

  --z-dropdown:               100;
  --z-sticky:                 200;
  --z-fixed:                  300;
  --z-modal-backdrop:         400;
  --z-modal:                  500;
  --z-popover:                600;
  --z-tooltip:                700;
  --z-toast:                  800;


  /* -----------------------------------------------------------------------
     1.8 Layout
     ----------------------------------------------------------------------- */

  --container-max-width:      1280px;
  --container-padding:        20px;
  --grid-gutter:              20px;
  --sidebar-width:            280px;
  --header-height:            70px;
  --header-top-height:        36px;
}


/* ==========================================================================
   2. CSS RESET (Modern Professional Reset with Full RTL Support)
   ========================================================================== */

/* -----------------------------------------------------------------------
   2.1 Box Sizing & Document Defaults
   ----------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set RTL direction and base typography for Arabic */
html {
  direction: rtl;
  text-align: right;
  font-size: 16px;
  line-height: var(--line-height-normal);
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  tab-size: 4;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

/* -----------------------------------------------------------------------
   2.2 Sectioning & Grouping Elements
   ----------------------------------------------------------------------- */

main {
  display: block; /* IE11 fix */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  overflow: visible;
  margin: var(--space-6) 0;
}

/* -----------------------------------------------------------------------
   2.3 Text-level Semantics
   ----------------------------------------------------------------------- */

a {
  color: var(--color-text-link);
  text-decoration: none;
  background-color: transparent;
  transition: var(--transition-color);
  cursor: pointer;
}

a:hover {
  color: var(--color-text-link-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

small {
  font-size: var(--font-size-sm);
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* -----------------------------------------------------------------------
   2.4 Embedded Content
   ----------------------------------------------------------------------- */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
  vertical-align: middle;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

iframe {
  border: 0;
}

/* -----------------------------------------------------------------------
   2.5 Form Elements
   ----------------------------------------------------------------------- */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: var(--line-height-normal);
  margin: 0;
  color: inherit;
  direction: rtl;
  text-align: right;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
  border: none;
  background: none;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 1px;
  border-radius: var(--radius-sm);
}

fieldset {
  border: 1px solid var(--color-border);
  padding: var(--space-4);
  margin: 0;
}

legend {
  display: table;
  max-width: 100%;
  padding: 0 var(--space-2);
  white-space: normal;
  color: inherit;
}

textarea {
  overflow: auto;
  resize: vertical;
}

[type="checkbox"],
[type="radio"] {
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Remove placeholder opacity in Firefox */
::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

/* -----------------------------------------------------------------------
   2.6 Lists
   ----------------------------------------------------------------------- */

ol,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* RTL list indentation support */
ol[role="list"],
ul[role="list"] {
  padding-right: var(--space-6);
  padding-left: 0;
}

/* -----------------------------------------------------------------------
   2.7 Tables
   ----------------------------------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  text-align: right; /* RTL alignment */
}

th {
  text-align: right; /* RTL alignment instead of default left */
  font-weight: var(--font-weight-semibold);
}

td,
th {
  padding: var(--space-3) var(--space-4);
}

/* -----------------------------------------------------------------------
   2.8 Misc Reset
   ----------------------------------------------------------------------- */

/* Remove default summary arrow in some browsers */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* Remove touch highlight on mobile */
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

/* Hidden attribute support for older browsers */
[hidden] {
  display: none !important;
}

/* Ensure all interactive elements have a pointer cursor */
[role="button"],
label[for],
select,
summary {
  cursor: pointer;
}

/* Prevent transition flash on page load (FOUC transition bug) */
.no-transition,
.no-transition *,
.no-transition *::before,
.no-transition *::after {
  transition: none !important;
  animation: none !important;
}

/* Reduce motion for users who prefer it */
@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;
  }
}

/* Print styles */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* ==========================================================================
   3. TYPOGRAPHY BASE
   ========================================================================== */

/* -----------------------------------------------------------------------
   3.1 Headings (h1 - h6)
   ----------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);    /* 48px */
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--font-size-3xl);    /* 36px */
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
}

h3 {
  font-size: var(--font-size-2xl);    /* 30px */
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: var(--font-size-xl);     /* 24px */
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-4);
}

h5 {
  font-size: var(--font-size-lg);     /* 20px */
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-3);
}

h6 {
  font-size: var(--font-size-md);     /* 18px */
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-3);
}

/* -----------------------------------------------------------------------
   3.2 Paragraphs & Body Text
   ----------------------------------------------------------------------- */

p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

/* Lead / Intro paragraph */
.text-lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-regular);
}

/* Small / Caption text */
.text-small {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.text-xs {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
}

/* -----------------------------------------------------------------------
   3.3 Font Weight Utilities
   ----------------------------------------------------------------------- */

.font-light       { font-weight: var(--font-weight-light); }
.font-regular     { font-weight: var(--font-weight-regular); }
.font-medium      { font-weight: var(--font-weight-medium); }
.font-semibold    { font-weight: var(--font-weight-semibold); }
.font-bold        { font-weight: var(--font-weight-bold); }
.font-extrabold   { font-weight: var(--font-weight-extrabold); }
.font-black       { font-weight: var(--font-weight-black); }

/* -----------------------------------------------------------------------
   3.4 Text Color Utilities
   ----------------------------------------------------------------------- */

.text-primary     { color: var(--color-text-primary); }
.text-secondary   { color: var(--color-text-secondary); }
.text-tertiary    { color: var(--color-text-tertiary); }
.text-muted       { color: var(--color-text-muted); }
.text-inverse     { color: var(--color-text-inverse); }
.text-accent      { color: var(--color-accent); }
.text-price       { color: var(--color-price); }
.text-success     { color: var(--color-success); }
.text-warning     { color: var(--color-warning); }
.text-error       { color: var(--color-error); }

/* -----------------------------------------------------------------------
   3.5 Text Alignment Utilities (RTL-aware)
   ----------------------------------------------------------------------- */

.text-start       { text-align: right; }   /* Start = Right in RTL */
.text-end         { text-align: left; }    /* End = Left in RTL */
.text-center      { text-align: center; }

/* -----------------------------------------------------------------------
   3.6 Blockquote
   ----------------------------------------------------------------------- */

blockquote {
  border-right: 4px solid var(--color-accent); /* RTL: border on right side */
  border-left: none;
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background-color: var(--color-bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--font-size-md);
  font-style: italic;
  color: var(--color-text-secondary);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------
   3.7 Code & Pre
   ----------------------------------------------------------------------- */

code,
kbd,
samp,
pre {
  font-family: var(--font-monospace);
  font-size: var(--font-size-sm);
}

code {
  background-color: var(--color-bg-secondary);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--color-price);
}

pre {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  overflow-x: auto;
  direction: ltr; /* Code is always LTR */
  text-align: left;
  margin-bottom: var(--space-6);
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
  border-radius: 0;
}

/* -----------------------------------------------------------------------
   3.8 Selection
   ----------------------------------------------------------------------- */

::selection {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
}

::-moz-selection {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
}


/* ==========================================================================
   4. GRID SYSTEM & LAYOUT
   ========================================================================== */

/* -----------------------------------------------------------------------
   4.1 Container
   ----------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

/* Fluid container (full width with padding) */
.container-fluid {
  width: 100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

/* Narrow container for content pages */
.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

/* Wide container for product grids */
.container-wide {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

/* -----------------------------------------------------------------------
   4.2 Flexbox Row
   ----------------------------------------------------------------------- */

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--grid-gutter) / -2);
  margin-left: calc(var(--grid-gutter) / -2);
}

/* RTL-aware: flex-direction stays row, 
   browser handles reversal via direction: rtl on html */

/* -----------------------------------------------------------------------
   4.3 Columns (12-column grid)
   ----------------------------------------------------------------------- */

[class*="col-"] {
  padding-right: calc(var(--grid-gutter) / 2);
  padding-left: calc(var(--grid-gutter) / 2);
  width: 100%;
}

.col-1   { flex: 0 0 8.333333%;   max-width: 8.333333%; }
.col-2   { flex: 0 0 16.666667%;  max-width: 16.666667%; }
.col-3   { flex: 0 0 25%;         max-width: 25%; }
.col-4   { flex: 0 0 33.333333%;  max-width: 33.333333%; }
.col-5   { flex: 0 0 41.666667%;  max-width: 41.666667%; }
.col-6   { flex: 0 0 50%;         max-width: 50%; }
.col-7   { flex: 0 0 58.333333%;  max-width: 58.333333%; }
.col-8   { flex: 0 0 66.666667%;  max-width: 66.666667%; }
.col-9   { flex: 0 0 75%;         max-width: 75%; }
.col-10  { flex: 0 0 83.333333%;  max-width: 83.333333%; }
.col-11  { flex: 0 0 91.666667%;  max-width: 91.666667%; }
.col-12  { flex: 0 0 100%;        max-width: 100%; }
.col-auto { flex: 0 0 auto;       width: auto;  max-width: 100%; }

/* -----------------------------------------------------------------------
   4.4 Responsive Columns
   ----------------------------------------------------------------------- */

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
  .col-sm-1   { flex: 0 0 8.333333%;   max-width: 8.333333%; }
  .col-sm-2   { flex: 0 0 16.666667%;  max-width: 16.666667%; }
  .col-sm-3   { flex: 0 0 25%;         max-width: 25%; }
  .col-sm-4   { flex: 0 0 33.333333%;  max-width: 33.333333%; }
  .col-sm-5   { flex: 0 0 41.666667%;  max-width: 41.666667%; }
  .col-sm-6   { flex: 0 0 50%;         max-width: 50%; }
  .col-sm-7   { flex: 0 0 58.333333%;  max-width: 58.333333%; }
  .col-sm-8   { flex: 0 0 66.666667%;  max-width: 66.666667%; }
  .col-sm-9   { flex: 0 0 75%;         max-width: 75%; }
  .col-sm-10  { flex: 0 0 83.333333%;  max-width: 83.333333%; }
  .col-sm-11  { flex: 0 0 91.666667%;  max-width: 91.666667%; }
  .col-sm-12  { flex: 0 0 100%;        max-width: 100%; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-1   { flex: 0 0 8.333333%;   max-width: 8.333333%; }
  .col-md-2   { flex: 0 0 16.666667%;  max-width: 16.666667%; }
  .col-md-3   { flex: 0 0 25%;         max-width: 25%; }
  .col-md-4   { flex: 0 0 33.333333%;  max-width: 33.333333%; }
  .col-md-5   { flex: 0 0 41.666667%;  max-width: 41.666667%; }
  .col-md-6   { flex: 0 0 50%;         max-width: 50%; }
  .col-md-7   { flex: 0 0 58.333333%;  max-width: 58.333333%; }
  .col-md-8   { flex: 0 0 66.666667%;  max-width: 66.666667%; }
  .col-md-9   { flex: 0 0 75%;         max-width: 75%; }
  .col-md-10  { flex: 0 0 83.333333%;  max-width: 83.333333%; }
  .col-md-11  { flex: 0 0 91.666667%;  max-width: 91.666667%; }
  .col-md-12  { flex: 0 0 100%;        max-width: 100%; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .col-lg-1   { flex: 0 0 8.333333%;   max-width: 8.333333%; }
  .col-lg-2   { flex: 0 0 16.666667%;  max-width: 16.666667%; }
  .col-lg-3   { flex: 0 0 25%;         max-width: 25%; }
  .col-lg-4   { flex: 0 0 33.333333%;  max-width: 33.333333%; }
  .col-lg-5   { flex: 0 0 41.666667%;  max-width: 41.666667%; }
  .col-lg-6   { flex: 0 0 50%;         max-width: 50%; }
  .col-lg-7   { flex: 0 0 58.333333%;  max-width: 58.333333%; }
  .col-lg-8   { flex: 0 0 66.666667%;  max-width: 66.666667%; }
  .col-lg-9   { flex: 0 0 75%;         max-width: 75%; }
  .col-lg-10  { flex: 0 0 83.333333%;  max-width: 83.333333%; }
  .col-lg-11  { flex: 0 0 91.666667%;  max-width: 91.666667%; }
  .col-lg-12  { flex: 0 0 100%;        max-width: 100%; }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .col-xl-1   { flex: 0 0 8.333333%;   max-width: 8.333333%; }
  .col-xl-2   { flex: 0 0 16.666667%;  max-width: 16.666667%; }
  .col-xl-3   { flex: 0 0 25%;         max-width: 25%; }
  .col-xl-4   { flex: 0 0 33.333333%;  max-width: 33.333333%; }
  .col-xl-5   { flex: 0 0 41.666667%;  max-width: 41.666667%; }
  .col-xl-6   { flex: 0 0 50%;         max-width: 50%; }
  .col-xl-7   { flex: 0 0 58.333333%;  max-width: 58.333333%; }
  .col-xl-8   { flex: 0 0 66.666667%;  max-width: 66.666667%; }
  .col-xl-9   { flex: 0 0 75%;         max-width: 75%; }
  .col-xl-10  { flex: 0 0 83.333333%;  max-width: 83.333333%; }
  .col-xl-11  { flex: 0 0 91.666667%;  max-width: 91.666667%; }
  .col-xl-12  { flex: 0 0 100%;        max-width: 100%; }
}

/* -----------------------------------------------------------------------
   4.5 CSS Grid Utilities
   ----------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--grid-gutter);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* Auto-fill grid (responsive without media queries) */
.grid-auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Auto-fit grid */
.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Responsive grid adjustments */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  :root {
    --container-padding: 0px;
  }
  .container,
  .container-fluid,
  .container-narrow,
  .container-wide,
  .ct-container,
  .entry-content,
  .woocommerce,
  .site-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------------
   4.6 Flex Utilities
   ----------------------------------------------------------------------- */

.d-flex           { display: flex; }
.d-inline-flex    { display: inline-flex; }
.flex-row         { flex-direction: row; }
.flex-column      { flex-direction: column; }
.flex-wrap        { flex-wrap: wrap; }
.flex-nowrap      { flex-wrap: nowrap; }

/* Justify Content */
.justify-start    { justify-content: flex-start; }
.justify-center   { justify-content: center; }
.justify-end      { justify-content: flex-end; }
.justify-between  { justify-content: space-between; }
.justify-around   { justify-content: space-around; }
.justify-evenly   { justify-content: space-evenly; }

/* Align Items */
.align-start      { align-items: flex-start; }
.align-center     { align-items: center; }
.align-end        { align-items: flex-end; }
.align-stretch    { align-items: stretch; }
.align-baseline   { align-items: baseline; }

/* Gap Utilities */
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-5  { gap: var(--space-5); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* -----------------------------------------------------------------------
   4.7 Display Utilities
   ----------------------------------------------------------------------- */

.d-none           { display: none; }
.d-block          { display: block; }
.d-inline         { display: inline; }
.d-inline-block   { display: inline-block; }
.d-grid           { display: grid; }

/* Responsive display */
@media (max-width: 767px) {
  .d-md-none      { display: none; }
}

@media (min-width: 768px) {
  .d-md-block     { display: block; }
  .d-md-flex      { display: flex; }
  .d-md-none      { display: none; }
}

@media (max-width: 991px) {
  .d-lg-none      { display: none; }
}

@media (min-width: 992px) {
  .d-lg-block     { display: block; }
  .d-lg-flex      { display: flex; }
}

/* -----------------------------------------------------------------------
   4.8 Spacing Utilities (Margin & Padding)
   ----------------------------------------------------------------------- */

/* Margin utilities */
.m-0   { margin: 0; }
.m-1   { margin: var(--space-1); }
.m-2   { margin: var(--space-2); }
.m-3   { margin: var(--space-3); }
.m-4   { margin: var(--space-4); }
.m-6   { margin: var(--space-6); }
.m-8   { margin: var(--space-8); }
.m-auto { margin: auto; }

/* Margin top */
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: var(--space-1); }
.mt-2  { margin-top: var(--space-2); }
.mt-3  { margin-top: var(--space-3); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

/* Margin bottom */
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: var(--space-1); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-3  { margin-bottom: var(--space-3); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* Margin inline (RTL-aware: start = right, end = left) */
.ms-0  { margin-inline-start: 0; }
.ms-1  { margin-inline-start: var(--space-1); }
.ms-2  { margin-inline-start: var(--space-2); }
.ms-3  { margin-inline-start: var(--space-3); }
.ms-4  { margin-inline-start: var(--space-4); }
.ms-auto { margin-inline-start: auto; }

.me-0  { margin-inline-end: 0; }
.me-1  { margin-inline-end: var(--space-1); }
.me-2  { margin-inline-end: var(--space-2); }
.me-3  { margin-inline-end: var(--space-3); }
.me-4  { margin-inline-end: var(--space-4); }
.me-auto { margin-inline-end: auto; }

/* Padding utilities */
.p-0   { padding: 0; }
.p-1   { padding: var(--space-1); }
.p-2   { padding: var(--space-2); }
.p-3   { padding: var(--space-3); }
.p-4   { padding: var(--space-4); }
.p-6   { padding: var(--space-6); }
.p-8   { padding: var(--space-8); }

/* Padding top */
.pt-0  { padding-top: 0; }
.pt-1  { padding-top: var(--space-1); }
.pt-2  { padding-top: var(--space-2); }
.pt-3  { padding-top: var(--space-3); }
.pt-4  { padding-top: var(--space-4); }
.pt-6  { padding-top: var(--space-6); }
.pt-8  { padding-top: var(--space-8); }

/* Padding bottom */
.pb-0  { padding-bottom: 0; }
.pb-1  { padding-bottom: var(--space-1); }
.pb-2  { padding-bottom: var(--space-2); }
.pb-3  { padding-bottom: var(--space-3); }
.pb-4  { padding-bottom: var(--space-4); }
.pb-6  { padding-bottom: var(--space-6); }
.pb-8  { padding-bottom: var(--space-8); }

/* Padding inline (RTL-aware) */
.ps-0  { padding-inline-start: 0; }
.ps-1  { padding-inline-start: var(--space-1); }
.ps-2  { padding-inline-start: var(--space-2); }
.ps-3  { padding-inline-start: var(--space-3); }
.ps-4  { padding-inline-start: var(--space-4); }

.pe-0  { padding-inline-end: 0; }
.pe-1  { padding-inline-end: var(--space-1); }
.pe-2  { padding-inline-end: var(--space-2); }
.pe-3  { padding-inline-end: var(--space-3); }
.pe-4  { padding-inline-end: var(--space-4); }

/* Padding X (horizontal) and Y (vertical) */
.px-0  { padding-right: 0; padding-left: 0; }
.px-2  { padding-right: var(--space-2); padding-left: var(--space-2); }
.px-4  { padding-right: var(--space-4); padding-left: var(--space-4); }
.px-6  { padding-right: var(--space-6); padding-left: var(--space-6); }

.py-0  { padding-top: 0; padding-bottom: 0; }
.py-2  { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4  { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6  { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8  { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }

/* -----------------------------------------------------------------------
   4.9 Width & Height Utilities
   ----------------------------------------------------------------------- */

.w-25  { width: 25%; }
.w-50  { width: 50%; }
.w-75  { width: 75%; }
.w-100 { width: 100%; }
.w-auto { width: auto; }

.h-100 { height: 100%; }
.h-auto { height: auto; }

/* -----------------------------------------------------------------------
   4.10 Overflow
   ----------------------------------------------------------------------- */

.overflow-hidden  { overflow: hidden; }
.overflow-auto    { overflow: auto; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-y-auto  { overflow-y: auto; }

/* -----------------------------------------------------------------------
   4.11 Position Utilities
   ----------------------------------------------------------------------- */

.position-relative  { position: relative; }
.position-absolute  { position: absolute; }
.position-fixed     { position: fixed; }
.position-sticky    { position: sticky; }

/* -----------------------------------------------------------------------
   4.12 Visibility
   ----------------------------------------------------------------------- */

.visible      { visibility: visible; }
.invisible    { visibility: hidden; }

/* Screen reader only (accessible hide) */
.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;
}

/* ==========================================================================
   5. BACK TO TOP BUTTON
   ========================================================================== */

.adigadget-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transition: opacity var(--transition-base),
                visibility var(--transition-base),
                transform var(--transition-bounce),
                background-color var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.adigadget-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.adigadget-back-to-top:hover {
    background-color: var(--color-price);
    color: var(--color-text-inverse);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.adigadget-back-to-top svg {
    transition: transform var(--transition-fast);
}

.adigadget-back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .adigadget-back-to-top {
        bottom: 85px; /* Shift up to clear mobile toolbars/bottom bars */
        left: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   6. TOAST NOTIFICATIONS
   ========================================================================== */

.adigadget-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    max-width: 400px;
    pointer-events: none;
}

.adigadget-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    background-color: var(--color-accent-dark);
    color: var(--color-white);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-right: 4px solid var(--color-success);
    transform: translateX(50px);
    opacity: 0;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
                opacity 400ms ease;
    backdrop-filter: blur(10px);
}

.adigadget-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.adigadget-toast.is-hiding {
    transform: translateY(-20px) scale(0.9);
    opacity: 0;
}

.toast-body {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.toast-icon-wrap {
    color: var(--color-success);
    background-color: rgba(46, 204, 113, 0.15);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-msg {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.toast-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
    padding: 0 var(--space-1);
    align-self: center;
}

.toast-close-btn:hover {
    color: var(--color-white);
}

/* ==========================================================================
   7. FOOTER COMMUNICATION & NEWSLETTER BANNER
   ========================================================================== */

.adigadget-footer-promo-banner {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: var(--space-12) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Background glowing circles for premium WOW feel */
.adigadget-footer-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.adigadget-footer-promo-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(26, 26, 46, 0.8) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.adigadget-footer-promo-banner .banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 2;
}

.adigadget-footer-promo-banner .banner-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.adigadget-footer-promo-banner .banner-col:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.adigadget-footer-promo-banner .col-icon-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.adigadget-footer-promo-banner .title-emoji {
    font-size: var(--font-size-xl);
}

.adigadget-footer-promo-banner .banner-col h4 {
    color: var(--color-white);
    margin-bottom: 0;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
}

.adigadget-footer-promo-banner .banner-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

/* Newsletter form */
.adigadget-footer-promo-banner .newsletter-inline-form {
    display: flex;
    gap: var(--space-2);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 4px;
}

.adigadget-footer-promo-banner .newsletter-inline-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: var(--space-2) var(--space-4);
    color: var(--color-white);
    font-size: var(--font-size-sm);
}

.adigadget-footer-promo-banner .newsletter-inline-form input:focus {
    outline: none;
}

.adigadget-footer-promo-banner .btn-subscribe {
    background: var(--color-price);
    color: var(--color-white);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.adigadget-footer-promo-banner .btn-subscribe:hover {
    background: var(--color-price-light);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.adigadget-footer-promo-banner .btn-subscribe .icon-arrow {
    transition: transform var(--transition-fast);
}

.adigadget-footer-promo-banner .btn-subscribe:hover .icon-arrow {
    transform: translateX(-3px); /* Move left in RTL */
}

/* Contact List */
.adigadget-footer-promo-banner .contact-details-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.adigadget-footer-promo-banner .contact-item-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.adigadget-footer-promo-banner .contact-item-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding-inline-start: var(--space-4);
}

.adigadget-footer-promo-banner .contact-item-link.contact-whatsapp:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.adigadget-footer-promo-banner .contact-icon {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.adigadget-footer-promo-banner .contact-item-link:hover .contact-icon {
    transform: scale(1.15) rotate(-5deg);
}

.adigadget-footer-promo-banner .contact-text {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

/* Social media tab */
.adigadget-footer-promo-banner .social-intro {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.adigadget-footer-promo-banner .social-icons-wrapper {
    display: flex;
    gap: var(--space-3);
}

.adigadget-footer-promo-banner .social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-bounce);
}

.adigadget-footer-promo-banner .social-icon-btn:hover {
    color: var(--color-white);
    transform: translateY(-5px) scale(1.1);
}

.adigadget-footer-promo-banner .social-icon-btn.facebook:hover {
    background-color: #3b5998;
    border-color: #3b5998;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.4);
}

.adigadget-footer-promo-banner .social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.adigadget-footer-promo-banner .social-icon-btn.tiktok:hover {
    background-color: #010101;
    border-color: #00f2ea;
    box-shadow: 0 4px 15px rgba(1, 1, 1, 0.4);
}

.adigadget-footer-promo-banner .social-icon-btn.whatsapp-btn:hover {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}


/* ==========================================================================
   8. MOBILE STICKY BOTTOM NAVIGATION BAR
   ========================================================================== */

.adigadget-mobile-sticky-bottom-bar {
    display: none; /* Hidden by default on Desktop */
}

@media (max-width: 991px) {
    body {
        padding-bottom: 75px !important; /* Leave space so bottom content is not covered by fixed bar */
    }

    .adigadget-mobile-sticky-bottom-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
        padding: var(--space-2) 0 calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .adigadget-mobile-sticky-bottom-bar .bottom-bar-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: 600px;
        margin: 0 auto;
        padding: 0 var(--space-4);
    }

    .adigadget-mobile-sticky-bottom-bar .bottom-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: rgba(255, 255, 255, 0.65);
        text-align: center;
        flex: 1;
        background: none;
        border: none;
        padding: var(--space-1) 0;
        transition: all var(--transition-fast);
        position: relative;
    }

    .adigadget-mobile-sticky-bottom-bar .bottom-bar-item:active {
        transform: scale(0.92);
    }

    .adigadget-mobile-sticky-bottom-bar .bottom-bar-item.is-active,
    .adigadget-mobile-sticky-bottom-bar .bottom-bar-item:hover {
        color: var(--color-white);
    }

    .adigadget-mobile-sticky-bottom-bar .bottom-bar-item.is-active::after {
        content: '';
        position: absolute;
        bottom: -4px;
        width: 14px;
        height: 3px;
        background-color: var(--color-price);
        border-radius: var(--radius-full);
        box-shadow: 0 0 8px var(--color-price);
    }

    .adigadget-mobile-sticky-bottom-bar .bar-icon {
        transition: transform var(--transition-bounce);
        color: inherit;
    }

    .adigadget-mobile-sticky-bottom-bar .bottom-bar-item.is-active .bar-icon {
        color: var(--color-price-light);
        transform: scale(1.15) translateY(-2px);
    }

    .adigadget-mobile-sticky-bottom-bar .bar-label {
        font-size: 10px;
        font-weight: var(--font-weight-medium);
        letter-spacing: normal;
        color: inherit;
    }

    .adigadget-mobile-sticky-bottom-bar .bar-icon-badge-wrapper {
        position: relative;
        display: inline-flex;
    }

    .adigadget-mobile-sticky-bottom-bar .bar-badge {
        position: absolute;
        top: -6px;
        left: -8px; /* Left aligned on badges for RTL visual balance */
        background-color: var(--color-price);
        color: var(--color-white);
        font-size: 8px;
        font-weight: var(--font-weight-bold);
        width: 16px;
        height: 16px;
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        border: 1.5px solid #1a1a2e;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        transition: all var(--transition-fast);
    }
}

/* Responsive styles for communication banner */
@media (max-width: 991px) {
    .adigadget-footer-promo-banner .banner-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .adigadget-footer-promo-banner {
        padding: var(--space-8) 0;
    }
}

/* ==========================================================================
   END OF MAIN STYLESHEET
   ========================================================================== */
