/*
Theme Name: Emall Child
Theme URI: https://demo.theme-sky.com/emall/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: emall
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: emall-child
*/


/* Main secondary menu: horizontal, aligned, clean */
.secondary-menu-items {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px; /* controls spacing between Media and Contacts */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Remove any list-style on top level and sub-menu items */
.secondary-menu-items > li,
.secondary-menu-items li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu item links – aligned center */
.secondary-menu-items > li > a {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

/* Arrow icon styling */
.secondary-menu-items .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    margin-bottom: 2px;
    width: 6px;
    height: 6px;
    border: solid #000;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

/* Dropdown Menu */
.secondary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    min-width: 180px;
    z-index: 999;
}

/* Show dropdown on hover */
.secondary-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Dropdown items – clean spacing */
.secondary-menu .sub-menu li a {
    display: block;
    padding: 8px 0;
    text-align: left;
    font-weight: 400;
}


/* mobile view starts from here */

/* === Mobile Header Fixes === */
/* === Mobile Header: Left Logo + Right Icons + White BG === */
@media (max-width: 768px) {
    .header-middle {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background-color: #ffffff !important; /* White background */
        padding: 10px 20px !important;
        flex-wrap: nowrap;
    }

    .logo-wrapper {
        order: 1;
        width: auto !important;
        text-align: left;
        margin-right: auto;
    }

    .header-left {
        display: none !important;
    }

    .header-right {
        order: 2;
        display: flex !important;
        align-items: center;
        gap: 15px;
    }

    .my-account-wrapper,
    .my-wishlist-wrapper,
    .shopping-cart-wrapper,
    .search-button,
    .ts-mobile-icon-toggle {
        display: inline-flex !important;
    }
}

/* === Mobile Header Fix: Add black stroke/fill to icons on white header === */
@media (max-width: 768px) {
    .header-middle {
        background-color: #ffffff !important;
    }

    .header-right svg,
    .header-right i,
    .header-right .icon,
    .ts-mobile-icon-toggle span.icon,
    .shopping-cart-wrapper svg {
        stroke: #000 !important;
        color: #000 !important;
        fill: #000 !important;
    }

    /* Fix cart icon count (red bubble stays visible) */
    .shopping-cart-wrapper .count {
        background-color: red;
        color: white;
    }

    /* Optional: better spacing for mobile icons */
    .header-right {
        gap: 15px;
        display: flex !important;
        align-items: center;
    }
}


@media (max-width: 768px) {
    /* Make the cart icon black */
    .shopping-cart-wrapper svg {
        stroke: #000 !important;
        fill: none !important;
    }

    /* Ensure the cart icon stays black even when not hovered */
    .shopping-cart-wrapper a:hover svg {
        stroke: red !important; /* Optional: changes stroke to red on hover */
    }

    /* Fix for wishlist icon if needed */
    .my-wishlist-wrapper svg {
        stroke: #000 !important;
        fill: none !important;
    }

    /* Optional: make sure all header icons are aligned and visible */
    .header-right svg,
    .header-right i,
    .ts-mobile-icon-toggle span.icon {
        stroke: #000 !important;
        fill: none !important;
    }

    /* Keep the cart item count red with white text */
    .shopping-cart-wrapper .count {
        background: red !important;
        color: #fff !important;
    }
}

@media (max-width: 768px) {
    /* Make ALL header icons black by default */
    .header-right .shopping-cart-wrapper svg,
    .header-right .shopping-cart-wrapper i,
    .header-right .my-wishlist-wrapper svg,
    .header-right .search-button svg,
    .header-right .search-button i,
    .header-right .ts-mobile-icon-toggle .icon {
        stroke: #000 !important;
        color: #000 !important;
        fill: #000 !important;
    }

    /* Optional: keep cart count red */
    .shopping-cart-wrapper .count {
        background-color: red !important;
        color: white !important;
    }
}

/* Force cart icon to appear black */
.ic-cart::before,
.ic-cart::after,
.ic-cart {
    color: #000 !important;
    fill: #000 !important;
    stroke: #000 !important;
    opacity: 1 !important;
}

/* Optional: keep it red on hover (if it changes color) */
.cart-control:hover .ic-cart::before,
.cart-control:hover .ic-cart::after,
.cart-control:hover .ic-cart {
    color: #d11a1a !important;
    fill: #d11a1a !important;
    stroke: #d11a1a !important;
}


@media (max-width: 767px) {
  img.wp-image-10289 {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
  }

  /* Optional: override padding/margins around it if needed */
  .elementor-element img.wp-image-10289 {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* You can force height if you want a taller effect */
  /* Uncomment if needed */
  /*
  img.wp-image-10289 {
    height: 100vh !important;
    object-fit: cover !important;
  }
  */
}

/* MOBILE MENU SUBMENU TOGGLE STYLES */
@media (max-width: 768px) {
    .menu-item-has-children .sub-menu {
        display: none;
        padding-left: 20px;
    }

    .menu-item-has-children.open .sub-menu {
        display: block !important;
    }

    /* Optional: improve clickable area */
    .menu-item-has-children > a,
    .menu-item-has-children .ts-menu-drop-icon {
        cursor: pointer;
    }
}

@media (max-width: 768px) {
  .header-right {
    display: flex !important;
    align-items: center;
    gap: 15px;
  }

  /* Reorder icons on mobile: Search → Wishlist → Cart */
  .header-right .search-button {
    order: 1;
  }

  .header-right .my-wishlist-wrapper {
    order: 2;
    display: inline-flex !important;
  }

  .header-right .shopping-cart-wrapper {
    order: 3;
  }

  /* Make sure all icons are visible */
  .header-right .my-account-wrapper {
    display: none !important; /* Optional: hide account if you want */
  }
}

@media (max-width: 768px) {
  .header-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end; /* ✅ aligns to the right */
    gap: 15px;
    width: 100%;
  }

  .ts-mobile-icon-toggle {
    order: 3; /* ✅ force menu icon to the right */
  }

  .search-button {
    order: 1;
  }

  .my-wishlist-wrapper {
    order: 2;
  }

  .shopping-cart-wrapper {
    order: 4;
  }
}

@media (max-width: 768px) {
  .my-wishlist-wrapper svg {
    stroke: #000 !important;
    fill: none !important;
  }

  .my-wishlist-wrapper i {
    color: #000 !important;
  }
}

@media (max-width: 768px) {
  .my-wishlist-wrapper .tini-wishlist {
    color: #000 !important;         /* Ensure text and icon turn black */
    fill: #000 !important;
    stroke: #000 !important;
  }

  .my-wishlist-wrapper .tini-wishlist span::before {
    color: #000 !important;         /* For font icon systems */
    fill: #000 !important;
  }

  /* Optional: ensure hover color stays red if desired */
  .my-wishlist-wrapper .tini-wishlist:hover {
    color: #d11a1a !important;
  }

  .my-wishlist-wrapper .tini-wishlist:hover span::before {
    color: #d11a1a !important;
  }
}

footer .main-menu,
footer nav.main-menu,
footer .pc-menu {
    display: none !important;
}

@media (max-width: 768px) {
  /* Enable clickable area for all submenu parents */
  .mobile-menu .menu-item-has-children > a,
  .mobile-menu .menu-item-has-children .ts-menu-drop-icon {
    cursor: pointer;
  }

  /* Default hidden submenus */
  .mobile-menu .menu-item-has-children .sub-menu {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
  }

  /* Show submenu when active */
  .mobile-menu .menu-item-has-children.active .sub-menu {
    display: block;
  }

  /* Optional arrow spacing */
  .mobile-menu .ts-menu-drop-icon {
    margin-left: 5px;
  }
}

@media (max-width: 768px) {
  /* Hide Emall’s right-arrow panel transitions if any */
  .mobile-menu .sub-menu {
    display: none;
    padding-left: 20px;
  }

  .mobile-menu .menu-item-has-children.active > .sub-menu {
    display: block;
  }

  /* Prevent submenu from taking over entire panel */
  .mobile-menu .sub-menu {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Optional: Make arrow look clickable */
  .mobile-menu .ts-menu-drop-icon {
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  /* Layout: put arrow and text side-by-side */
  .mobile-menu .menu-item-has-children {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px; /* space between text and arrow */
  }

  .mobile-menu .menu-item-has-children > a {
    flex-grow: 1;
    display: flex;
    align-items: center;
  }

  .mobile-menu .menu-item-has-children .ts-menu-drop-icon {
    position: static !important;
    margin: 0;
    display: inline-block;
    font-size: 12px;
  }

  /* Optional: fix spacing between items */
  .mobile-menu .menu-item {
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  /* Fix menu item layout */
  .mobile-menu .menu-item-has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Ensure link and arrow sit inline */
  .mobile-menu .menu-item-has-children > a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  /* Move arrow beside text */
  .mobile-menu .menu-item-has-children .ts-menu-drop-icon {
    margin-left: 8px;
    position: static !important;
    display: inline-block;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .mobile-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu .ts-menu-drop-icon {
    margin-left: 8px;
    font-size: 14px;
  }
}

.brand-block {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Inter', sans-serif;
}

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.left-image {
  flex: 1;
  min-width: 300px;
}

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

.right-content {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.brand-text h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.5;
}

.brand-text p {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* Horse + Right Column */
.horse-and-message {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.horse-image img {
  max-width: 260px;
  height: auto;
  display: block;
}

.idea-wrapper {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.idea-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.idea-text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.code-breakdown .code-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.code-breakdown .code-number {
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  min-width: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .brand-grid {
    flex-direction: column;
  }

  .horse-and-message {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .idea-wrapper, .brand-text, .code-breakdown {
    text-align: center;
    align-items: center;
  }

  .code-breakdown .code-line {
    justify-content: center;
  }
}

/* Refine layout between horse and right-side text */
.horse-and-message {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
}

/* Force horse image to align top */
.horse-image img {
  max-width: 260px;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Keep numbers + text side by side, not wrapped weirdly */
.code-breakdown .code-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  flex-wrap: nowrap;
  max-width: 100%;
  white-space: normal;
}

/* Allow number to stay snug without breaking layout */
.code-number {
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
  min-width: 20px;
}

/* Optional: Slight spacing fix for smaller viewports */
@media (max-width: 768px) {
  .horse-and-message {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .idea-wrapper {
    text-align: center;
  }

  .code-breakdown .code-line {
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* Fix layout between horse image and idea text */
.horse-and-message {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* Reduce spacing between horse and text */
}

/* Fix horse image alignment */
.horse-image {
  flex-shrink: 0;
  max-width: 240px;
}

/* Align image to top with text */
.horse-image img {
  width: 100%;
  height: auto;
  vertical-align: top;
  display: block;
}

/* Make the right text block tighter */
.idea-text {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Improve spacing of the 495 breakdown */
.code-breakdown .code-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

/* Style the numbers */
.code-number {
  font-size: 26px;
  font-weight: bold;
  min-width: 20px;
  flex-shrink: 0;
}

/* 🚀 Tighten up the About Us layout to match the reference */

/* 1. Use correct container name */
.horse-and-text {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

/* 2. Constrain horse image */
.horse-and-text .horse-img {
  max-width: 240px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  vertical-align: top !important;
}

/* 3. Reset idea-text spacing and alignment */
.horse-and-text .idea-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* 4. Style the vertical code breakdown list */
.code-breakdown-img {
  margin-top: 20px !important;
  padding: 0 !important;
}

.code-breakdown-img img {
  max-width: none !important;
  width: auto !important;
  display: block !important;
  height: auto !important;
}

/* 5. Adjust the number/text pairing in code breakdown */
.code-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-breakdown .code-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.code-breakdown .code-number {
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

/* 🧱 Fix gap between left and right columns */
.brand-wrapper {
  display: flex;
  gap: 40px !important; /* Reduce this as needed (try 20px if still too wide) */
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.left-side {
  flex: 1;
  max-width: 420px;
}

.right-side {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 🛠 Tighten About Us Layout Spacing */
.brand-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px !important; /* ← Reduced gap */
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  flex-wrap: nowrap; /* Prevent stacking on larger screens */
}

.left-side {
  flex: 0 0 auto;
  max-width: 420px;
}

.right-side {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*----------------------------------------
  1) Force both columns to stretch to same height
----------------------------------------*/
.brand-grid {
  display: flex;           /* ensure flex context */
  align-items: stretch;    /* stretch left & right to same height */
}

/*----------------------------------------
  2) Manually size & bottom‐align the left image
----------------------------------------*/
.left-image {
  flex: 0 0 auto;          /* don’t grow/shrink */
  width: 361;            /* ← change me: your desired width */
  height: 493px;           /* ← change me: your desired height */
  overflow: hidden;        /* hide any overflow */
  display: block;
}
.left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* cover the container */
}

/*----------------------------------------
  3) Bottom‐align the horse block in the right column
----------------------------------------*/
.right-content {
  display: flex;
  flex-direction: column;
}
.horse-and-message {
  margin-top: auto;        /* pushes it to the bottom of .right-content */
}

/* make sure the “number” images never get too big */
.code-number {
  display: inline‐block;
  width: 60px;    /* ← change this as needed */
  height: auto;
  vertical-align: top;
  margin-right: 10px;  /* space between image + text */
}

/*____________________________________________________________________________________________________________________________________________*/


/*_------------------------------------------------------------------------*/
:root {
  /* pick your mobile menu font & size here */
  --mobile-menu-font-family: 'Inter', sans-serif;
  --mobile-menu-font-size: 18px;
}

@media (max-width: 768px) {
  /* 1) Menu links in the slide-out / mobile nav */
  .mobile-menu .menu-item a,
  .ts-mobile-menu-items > li > a {       /* ← adjust to your theme’s real selector */
    font-family: var(--mobile-menu-font-family) !important;
    font-size:   var(--mobile-menu-font-size)  !important;
    line-height: 1.4                       !important;
  }

  /* 2) If you have submenu labels or headings in the mobile nav */
  .mobile-menu .menu-item-has-children > a::after {
    /* keep your arrows looking good */
    font-size: var(--mobile-menu-font-size) !important;
  }
}



:root {
  /* pick whatever size you like here */
  --menu-font-family: 'Inter', sans-serif;
  --menu-font-size: 18px;
  --menu-line-height: 1.4;
}

/* ─── DESKTOP MAIN NAV ─── */
.secondary-menu-items > li > a,
.main-navigation a {           /* ← if your desktop menu uses a different selector, add it here */
  font-family: var(--menu-font-family) !important;
  font-size:   var(--menu-font-size)  !important;
  line-height: var(--menu-line-height) !important;
}

/* ─── MOBILE MENU ─── */
@media (max-width: 768px) {
  .mobile-menu .menu-item a,
  .ts-mobile-menu-items > li > a {  /* ← adjust to your actual mobile‐nav selector(s) */
    font-family: var(--menu-font-family) !important;
    font-size:   var(--menu-font-size)  !important;
    line-height: var(--menu-line-height) !important;
  }

  /* if you have arrows on submenu headers, keep them sized nicely: */
  .mobile-menu .menu-item-has-children > a::after {
    font-size: var(--menu-font-size) !important;
  }
}



:root {
  /* pick your ideal menu font and size here */
  --menu-font-family: 'Inter', sans-serif;
  --menu-font-size: 18px;
  --menu-line-height: 1.4;
}

/* ─── APPLY TO ALL MENU ITEMS (DESKTOP & MOBILE) ─── */
header .menu-item > a,
.secondary-menu-items > li > a,
.main-navigation .menu-item > a {
  font-family: var(--menu-font-family) !important;
  font-size:   var(--menu-font-size)  !important;
  line-height: var(--menu-line-height) !important;
}

/* some themes use a different wrapper for the mobile menu… */
@media (max-width: 768px) {
  .mobile-menu .menu-item > a,
  .secondary-menu-items > li > a {
    font-family: var(--menu-font-family) !important;
    font-size:   var(--menu-font-size)  !important;
    line-height: var(--menu-line-height) !important;
  }
}

/* ── Mobile-only “About the Brand” tweaks ── */
@media only screen and (max-width: 768px) {
  /* ── Pick your ideal values here ── */
  :root {
    --brand-mobile-padding:       20px;   /* page padding */
    --brand-grid-gap:             20px;   /* gap between each block */
    --brand-horse-height:         180px;  /* height of the horse image */
    --brand-denim-max-width:      360px;  /* max-width of the denim girl image */
    --brand-subheading-width:     90%;    /* width of the Add-a-subheading.png */
    --brand-subheading-max-width: 280px;  /* cap on the subheading image */
    --brand-code-number-width:    48px;   /* width of the 4·9·5 PNGs */
  }

  /* container */
  .brand-block {
    padding: var(--brand-mobile-padding);
  }
  .brand-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--brand-grid-gap);
  }

  /* horse + overlaid heading */
  .horse-image {
    position: relative;
    width: 100%;
    margin-bottom: var(--brand-grid-gap);
  }
  .horse-image img {
    width: 100%;
    height: var(--brand-horse-height);
    object-fit: cover;
    display: block;
    border-radius: 4px;
  }
  .mobile-heading {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    margin: 0;
    padding: 8px 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: justify;
  }

  /* description */
  .brand-text p {
    margin: 0 0 var(--brand-grid-gap);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    color: #222;
  }

  /* denim-girl image */
  .left-image {
    width: 100%;
    text-align: center;
    margin-bottom: var(--brand-grid-gap);
  }
  .left-image img {
    width: 100%;
    max-width: var(--brand-denim-max-width);
    height: auto;
    object-fit: contain;
    display: inline-block;
  }

  /* subheading replacement */
  .subheading-image img,
  img[src$="Add-a-subheading.png"] {
    width: var(--brand-subheading-width);
    max-width: var(--brand-subheading-max-width);
    height: auto;
    display: block;
    margin: 0 auto var(--brand-grid-gap);
  }

  /* idea + breakdown */
  .idea-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--brand-grid-gap);
    padding: 0 8px;
  }
  .idea-text h3 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: justify;
  }
  .idea-text p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
  }

  /* 4·9·5 breakdown (single image version removed for mobile) */
  .code-breakdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--brand-grid-gap);
  }
  .code-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    max-width: 300px;
  }
  .code-number {
    width: var(--brand-code-number-width);
    height: auto;
    flex-shrink: 0;
  }
}



@media (max-width: 768px) {
  /* ─── 1) Full, un-clipped horse image ─── */
  .horse-image {
    position: relative;
    width: 100%;
    overflow: visible;
  }
  .horse-image img {
    width: 100%;
    height: auto !important;       /* natural height, no clipping */
    object-fit: contain !important; /* fit inside container */
    display: block;
  }

  /* ─── 2) Overlay heading: transparent, white text ─── */
  .mouse-heading,
  .mobile-heading {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: auto;
    margin: 0;
    background: none !important; /* remove any background */
    color: #fff !important;      /* white text */
    text-shadow: 0 0 6px rgba(0,0,0,0.75); /* optional readability */
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-transform: uppercase;
  }

  /* ─── 3) Paragraph under the image ─── */
  .brand-text p {
    text-align: left !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #222 !important;
    margin: 16px 0 0;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   MOBILE FOOTER (≤768px)
──────────────────────────────────────────────────────────────────────────── */
/* ───────────────────────────────────────────────────────────────────────────
   MOBILE FOOTER (≤768px)
──────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-footer {
    background: #f2f2f2;
    padding: 24px 16px;
    font-family: 'Inter', sans-serif;
  }

  /* 1) Social icons */
  .social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 24px;
  }
  .social-icons a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #d3d3d3;
    color: #000;
    transition: background-color .3s, color .3s;
  }
  .social-icons a:hover {
    background-color: #000;
    color: #d3d3d3;
  }

  /* 2) Accordion navs */
  .footer-nav {
    margin-bottom: 24px;
  }
  .footer-nav .widget {
    margin-bottom: 16px;
  }
  .footer-nav .widget-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
  }
  .footer-nav .widget-title::after {
    content: "▾";
    position: absolute;
    right: 0;
    font-size: 14px;
    transition: transform .3s ease;
  }
  .footer-nav .widget-title.active::after {
    transform: rotate(-180deg);
  }
  .footer-nav .widget-list {
    display: none;
    margin: 8px 0 0 0;
    padding: 0 0 0 16px;
    list-style: none;
  }
  .footer-nav .widget-title.active + .widget-list {
    display: block;
  }
  .footer-nav .widget-list li {
    margin-bottom: 8px;
  }
  .footer-nav .widget-list li a {
    font-size: 14px;
    color: #000;
    text-decoration: underline;
  }

  /* 3) Company info */
  .footer-company {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    text-align: center;
    margin-bottom: 24px;
  }

  /* 4) Copyright */
  .site-info {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin: 0;
  }
}


/* ───────────────────────────────────────────────────────────────────────────
   DESKTOP FOOTER (screens ≥ 769px)
──────────────────────────────────────────────────────────────────────────── */
/* ─── VARIABLES ─── */
:root {
  --footer-bg: #f9f9f9;
  --footer-text: #333;
  --footer-heading: #000;
  --link-color: #000;
  --link-hover: #555;
  --social-bg: #e0e0e0;
  --social-hover-bg: #000;
  --social-hover-color: #e0e0e0;
  --spacing: 40px;
  --gutter: 20px;
  --font: 'Inter', sans-serif;
  --h4-size: 16px;
  --text-size: 14px;
  --icon-size: 20px;
}

/* ─── BASE LAYOUT ─── */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: var(--font);
  padding: var(--spacing) var(--gutter);
}
.footer__container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing);
  max-width: 1200px;
  margin: 0 auto;
}
.footer__bottom {
  text-align: center;
  margin-top: var(--spacing);
  font-size: var(--text-size);
}

/* ─── LOGO + SOCIAL ─── */
.footer__social-wrapper {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  align-items: flex-start;
}
.footer__logo {
  max-width: 40px;
  height: auto;
}
.footer__social {
  display: flex;
  gap: var(--gutter);
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--social-bg);
  border-radius: 50%;
  font-weight: bold;
  text-decoration: none;
  color: var(--footer-text);
  transition: background .3s, color .3s;
}
.footer__social a:hover {
  background: var(--social-hover-bg);
  color: var(--social-hover-color);
}

/* ─── SECTION HEADINGS & LISTS ─── */
.footer__section {
  flex: 1 1 200px;
}
.footer__heading {
  margin: 0 0 var(--gutter)/2;
  font-weight: 600;
  font-size: var(--h4-size);
  color: var(--footer-heading);
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__list li {
  margin-bottom: 8px;
  font-size: var(--text-size);
}
.footer__list li a {
  color: var(--link-color);
  text-decoration: underline;
  transition: color .3s;
}
.footer__list li a:hover {
  color: var(--link-hover);
}

/* ─── CONTACT ITEMS ─── */
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-size);
}
.footer__contact-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  flex-shrink: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    gap: var(--gutter);
  }
  .footer__social-wrapper,
  .footer__section {
    flex: none;
    width: 100%;
  }
  .footer__bottom {
    margin-top: var(--gutter);
  }
}

/*───────────────────────────────────────────────────────────────
  Mobile Logo: manual left-offset & max-width control
───────────────────────────────────────────────────────────────*/



/*-------------------------------------------------------------------------------------------------------*/

/* ──────────────────────────────────────────────────────────
   GLOBAL HEADER LAYOUT & SPACING
────────────────────────────────────────────────────────── */
:root {
  /* <- change this to adjust ALL header-item gaps -> */
  --header-item-gap: 16px;
}

/* Wrap your logo and icon links in one flex row: */
.site-header .header-inner {
  display: flex;
  align-items: center;
  /* space‐out items by the same gap */
  gap: var(--header-item-gap);
  /* optional: if you want items to push apart left/right, uncomment: */
  /* justify-content: space-between; */
}

/* Remove any stray margins on those items */
.site-header .header-inner > * {
  margin: 0 !important;
}

/* Make sure the logo lives in that row */
.site-header .header-inner .site-logo {
  flex-shrink: 0;
}

/* And the icons, too */
.site-header .header-inner .header-icons {
  display: flex;
  align-items: center;
  gap: var(--header-item-gap);
}

/* Zero out individual icon margins (if your theme added some) */
.site-header .header-inner .header-icons a {
  margin: 0 !important;
}

:root {
  --mobile-icon-gap: 16px;
}

@media (max-width: 768px) {
  /* 1) One-row header */
  .header-middle {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 20px !important;
  }

  /* 2) Logo never shrinks */
  .logo-wrapper, 
  .header-middle .site-logo {
    flex-shrink: 0 !important;
    margin-right: var(--mobile-icon-gap) !important;
  }

  /* 3) Icon row */
  .header-right {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: var(--mobile-icon-gap) !important;
  }
  .header-right > * {
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  /* Pull the header left by tightening right padding */
  .header-middle {
    padding: 20px 0px !important;  /* <-- was 10px 20px */
  }

  /* OR, if you prefer a “nudge” instead of changing padding:
  .header-middle {
    transform: translateX(-10px) !important;
  }
  */

  /* (keep your icon‐row and logo rules exactly as before) */
}
