/*
==============================================
Table of Contents
==============================================
1.  Base & Typography
2.  Header Styles
3.  Footer Styles
4.  Store & Category Archive Pages
5.  Store Card Styles (v2.0)
6.  Single Store Page Layout
7.  Coupon Card Styles
8.  Sidebar Widget Styles
9.  Modal Styles (Coupon & Rating)
10. Pagination Styles
11. Wishlist Styles
12. Responsive Styles
==============================================
*/

/*
==============================================
1. BASE & TYPOGRAPHY
==============================================
*/
/*
 * Local Self-Hosted Font: Noto Sans Arabic (v33)
 * This file contains the font-face definitions for the locally hosted fonts.
 */


/* ================================================= */
/* Fix for Mobile Overflow on Store Pages            */
/* ================================================= */

/* 1. Make all content images responsive */
.store-main-content img {
    max-width: 100%;
    height: auto; /* This maintains the image's aspect ratio */
    display: block; /* Helps prevent extra space below images */
    margin-left: auto;
    margin-right: auto;
}

/* 2. Override WordPress's fixed-width image captions */
.store-main-content .wp-caption {
    width: auto !important; /* Resets the inline style="width: 420px" */
    max-width: 100%;
}
:root {
  --arabic-sans: "Noto Sans Arabic", sans-serif;
}
/* Fix for mobile store page layout issue */
.store-listings-single {
    overflow-x: hidden;
}
/* More robust fix for the share dropdown layout */

/* 1. Target the paragraph tag that contains the share button */
.store-info-single p:last-child {
    position: relative; /* This becomes the positioning anchor */
}

/* 2. Reposition the dropdown menu relative to the parent */
.social-share.dropdown-menu {
    left: 0;  /* Or right: 0; depending on your RTL setup */
    right: auto; /* Make sure to reset the opposite property */
}
html{
overflow-x: hidden;}

body {
  font-family: var(--arabic-sans);
  font-weight: 400;
  line-height: 1.65;
  color: #222;
  background-color: #fff;
  margin: 0;
  overflow-x: hidden !important;
}
@media (max-width: 750px) {
    .store-header,
    .store-header * {
        max-width: 100%;
        flex-wrap: wrap;
    }
    .newsletter-mail {
    width: 100%;
}

    .store-header a, 
    .store-header .store-link,
    .store-header .visit-store {
        word-break: break-word;
        overflow-wrap: anywhere;
        white-space: normal;
    }
}

.btn-primary{
font-family: var(--arabic-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--arabic-sans);
  letter-spacing: 0;
  color: #111827;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(1.5rem, 1.5rem + .7vw, 1.5rem); line-height: 1.2; }
h2 { font-size: 1.2rem; line-height: 1.3; }
h3 { font-size: 15px; line-height: 1.4; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

.card-style {
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #e9eaf1;
  margin-bottom: 25px;
}

.btn-primary {
  background-color: #9c33ff;
  color: #fff;
  border-radius: 15px;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #7f28d9;
}


/*
==============================================
2. HEADER STYLES
==============================================
*/
.site-header { background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* Top Bar */
.header-main { background-color: #fff; border-bottom: 1px solid #e5e7eb; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.site-branding { flex: 1; display: flex; justify-content: flex-start; }
.site-branding img {  width: 200px; }

/* Search Bar */
.header-search { flex: 2; display: flex; justify-content: center; padding: 0 20px; }
/* FIX: The form is now the positioning anchor for the dropdown */
.search-form { position: relative; display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 15px; max-width: 500px; background-color: #f7f7f7; height: 48px; padding: 4px; box-sizing: border-box ; padding-right: 10px; }
.search-form > * { border: none; outline: none; background: transparent; height: 100%; padding: 0; }
.search-form input[type="text"] { flex-grow: 1; padding: 0 20px; font-size: 15px;  }
.search-form .search-button { background-color: #9c33ff; color: #fff; padding: 0 25px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease; border-radius: 15px; flex-shrink: 0; }
.search-form .search-button:hover { background-color: #7f28d9; }

/* Info Links */
.header-info-links { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 30px; }
.info-link { color: #333; text-decoration: none; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; white-space: nowrap; }
.info-link i { font-size: 20px; color: #9c33ff; }
.info-link:hover, .info-link:hover i { color: #7f28d9; }

/* Bottom Bar */
.header-bottom-bar { background-color: #1c1c1c; }
.header-bottom-bar .container { display: flex; justify-content: space-between; align-items: center; height: 50px; position: relative; }
.mobile-menu-toggle { display: none; }
.main-navigation ul { list-style: none !important; margin: 0; padding: 0; display: flex; }
.main-navigation li { list-style-type: none !important; margin-left: 25px; }
.main-navigation a { text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; padding: 10px 0; transition: color 0.3s ease; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: #9c33ff; }
.bottom-bar-icons { display: flex; align-items: center; gap: 20px; }
.bottom-bar-icons a { color: #fff; font-size: 18px; transition: color 0.3s ease; }


/*
==============================================
3. FOOTER STYLES
==============================================
*/
.site-footer { background-color: #1c1c1c; color: #a0a0a0; padding: 60px 0 0; font-size: 15px; }
.footer-widgets { display: flex; flex-wrap: wrap; justify-content: center !important; gap: 30px; padding-bottom: 40px; }
.footer-widget { flex: 1; min-width: 220px; }
.footer-widget .widget-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
.about-widget .footer-logo { max-width: 150px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.about-widget p { line-height: 1.7; }
.links-widget ul { list-style: none; padding: 0; margin: 0; }
.links-widget ul li { margin-bottom: 10px; }
.links-widget ul a { color: #a0a0a0; text-decoration: none; transition: color 0.3s ease; }
.links-widget ul a:hover { color: #9c33ff; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { color: #fff; background-color: rgba(255,255,255,0.1); width: 40px; height: 40px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; text-decoration: none; font-size: 16px; transition: background-color 0.3s ease, color 0.3s ease; }
.social-icons a:hover { background-color: #9c33ff; color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; margin-top: 40px; }
.footer-bottom p { margin: 0; text-align: center; font-size: 14px; color: #777; }


/*
==============================================
4. STORE & CATEGORY ARCHIVE PAGES
==============================================
*/
.store-archive-page { padding: 40px 0; background-color: #f9fafb; }
.archive-header { text-align: center; margin-bottom: 40px; }
.archive-header h1 { font-size: 36px; color: #111827; margin-bottom: 10px; }
.archive-header p { font-size: 18px; color: #6b7280; max-width: 600px; margin: 0 auto; }

/* Filters Bar */
.store-filters-wrapper { background-color: #fff; padding: 20px; border-radius: 12px; border: 1px solid #e5e7eb; margin-bottom: 25px; }
#store-filters-form { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.filter-item { flex-shrink: 0; }
.filter-item.main-search { flex-grow: 1; position: relative; }
.filter-item.main-search .fa-search { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: #9ca3af; }
.filter-item input[type="text"], .filter-item select { height: 48px; padding: 0 15px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; background-color: #fff; appearance: none; }
.filter-item select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: left 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-left: 2.5rem; }
.filter-item.checkbox-filter { display: flex; align-items: center; gap: 8px; height: 48px; }
.filter-item.checkbox-filter label { font-weight: 500; color: #374151; cursor: pointer; }
.filter-item.checkbox-filter label i { color: #9c33ff; margin-left: 4px; }
.filter-item.sort-by { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.filter-item.sort-by label { color: #4b5563; font-weight: 500; }
.filter-item.main-search input[type="text"] { padding-right: 40px; }

/* Quick Jump Nav */
.quick-jump-nav { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.quick-jump-nav span { font-weight: 500; color: #374151; }
.alphabet-filter { display: flex; list-style: none; padding: 0; margin: 0; gap: 5px; flex-wrap: wrap; }
.alphabet-filter a { display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; border-radius: 8px; background-color: #fff; border: 1px solid #e5e7eb; color: #374151; text-decoration: none; font-weight: 600; transition: all 0.2s ease; }
.alphabet-filter a:hover { background-color: #f3f4f6; border-color: #d1d5db; }
.alphabet-filter a.active { background-color: #9c33ff; color: #fff; border-color: #9c33ff; }
.alphabet-filter span.disabled { display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; border-radius: 8px; background-color: #f9fafb; border: 1px solid #f3f4f6; color: #d1d5db; font-weight: 600; cursor: not-allowed; }

/* Results Meta */
.results-meta { margin-bottom: 25px; color: #4b5563; }
#stores-count { font-weight: bold; }
#stores-grid-container.loading .stores-grid { opacity: 0.3; }
.stores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.no-stores-found { background: #fff; padding: 40px; text-align: center; border-radius: 12px; grid-column: 1 / -1; }

/* Category Page Specifics */
.category-archive-page .archive-header .archive-meta { display: inline-flex; align-items: center; gap: 8px; background-color: #f3e8ff; color: #9c33ff; padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: 500; margin-top: 15px; }
.category-bottom-content { background-color: #fff; padding: 30px; border: 1px solid #e5e7eb; border-radius: 12px; margin-top: 40px; }
.category-bottom-content h2, .category-bottom-content h3 { font-size: 22px; margin-bottom: 15px; }


/*
==============================================
5. STORE CARD STYLES (v2.0)
==============================================
*/
.store-card { display: flex; flex-direction: column; text-align: center; padding: 20px;  position: relative; background-color: #fff; border-radius: 12px; border: 1px solid #e5e7eb; transition: all 0.3s ease; }
.store-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.store-card-inner-content { flex-grow: 1; }
.store-card-top-link { text-decoration: none; color: #111827; display: block; margin-bottom: 10px; }
.store-card-top-link:hover .store-card-title { color: #9c33ff; }
.store-card-logo { height: 80px; display: flex; justify-content: center; align-items: center; margin-bottom: 15px; }
.store-card-logo img { max-width: 100%; max-height: 60px; object-fit: contain; }
.store-card-title { font-size: 16px; transition: color 0.2s ease; justify-content: center; margin: 0 0 10px; font-weight: 700; }
.store-card-meta { margin-bottom: 10px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; color: #6b7280; font-size: 13px; }
.store-card-meta .rating { display: flex; align-items: center; gap: 4px; }
.store-card-meta .rating .fa-star { color: #f59e0b; }
.store-card-tags { display: flex; gap: 8px; justify-content: center; margin-bottom: 15px; }
.store-card-tags .tag { font-size: 12px; padding: 4px 10px; border-radius: 20px; background-color: #f3f4f6; color: #4b5563; }
.store-card-tags .tag.special-tag { background-color: #f3e8ff; color: #9c33ff; font-weight: 500; }
.store-card-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.store-card-actions .btn-primary, .store-card-actions .btn-secondary { display: block; padding: 10px 15px; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 15px; transition: all 0.2s ease; }
.store-card-actions .btn-primary { background-color: #9c33ff; color: #fff; border: 1px solid transparent; }
.store-card-actions .btn-primary:hover { background-color: #7f28d9; }
.store-card-actions .btn-secondary { background-color: #fff; color: #4b5563; border: 1px solid #d1d5db; }
.store-card-actions .btn-secondary:hover { border-color: #9c33ff; color: #9c33ff; }


/*
==============================================
6. SINGLE STORE PAGE LAYOUT
==============================================
*/
.store-page-wrapper { margin-top: 30px; }
.store-page-wrapper .container { max-width: 1280px; }
.store-grid { display: flex; align-items: flex-start; gap: 30px; }
.store-main-content { flex: 1; }
.store-sidebar { width: 320px; flex-shrink: 0; position: sticky; top: 20px; }
.breadcrumbs { font-size: 14px; color: #555; margin-bottom: 20px; }
.breadcrumbs a { color: #555; text-decoration: none; }
.store-header h1 { margin-top: 0; }
.store-tabs { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.tab-item { padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #333; font-weight: 500; background-color: #f4f5f9; }
.tab-item.active { background-color: #9c33ff; color: #fff; }
.store-mobile-header { display: none; }


/*
==============================================
7. COUPON CARD STYLES
==============================================
*/
.coupon-card { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; position: relative; }
.card-main-content { flex-grow: 1; max-width: 600px; }
.card-actions { text-align: center; width: 200px; flex-shrink: 0; padding-left: 20px; }
.card-tags { display: flex; gap: 10px; font-size: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.tag { padding: 4px 8px; border-radius: 4px; }
.verified-tag { background-color: #e6f9f1; color: #00b371; }
.expiry-tag { background-color: #fff7e6; color: #ffa726; }
.tag.tag-blue { background-color: #e3f2fd; color: #1e88e5; }
.tag.tag-orange { background-color: #fff3e0; color: #fb8c00; }
.tag.tag-red { background-color: #ffebee; color: #e53935; }
.tag.tag-purple { background-color: #f3e5f5; color: #8e24aa; }

.card-title { margin: 0 0 10px;  color: #1c1c1c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* --- UPDATED & NEW STYLES for coupon footer --- */
.card-footer-meta { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.card-footer-meta .card-stats { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b7280; }
.card-footer-meta .card-stats i { color: #9ca3af; }
.card-footer-meta .toggle-details { font-size: 14px; cursor: pointer; color: #555; font-weight: 500; }

.toggle-details i { transition: transform 0.3s ease; display: inline-block; margin-left: 5px; }
.toggle-details.is-active i { transform: rotate(180deg); }
.coupon-details-content { display: none; flex-basis: 100%; border-top: none; color: #555; font-size: 14px; line-height: 1.6; }
.coupon-card .btn-primary { border-radius: 8px; width: 100%; padding: 12px 20px; font-size: 16px; box-sizing: border-box; }
.btn-primary.coupon-revealed { background-color: #f3e5f5 !important; border: 2px dashed #9c33ff !important; color: #8e24aa !important; cursor: default; font-size: 18px; font-weight: 700; }
.copy-feedback { display: none; margin-top: 8px; font-size: 14px; font-weight: 500; color: #00b371; }


/*
==============================================
8. SIDEBAR WIDGET STYLES
==============================================
*/
.sidebar-widget { margin-bottom: 25px; }
.sidebar-widget .widget-title { margin-top: 0; }
.store-info-widget { text-align: center; }
.store-info-widget .store-logo { max-width: 100%; height: auto; margin-bottom: 15px; }
.stats-list { list-style: none; padding: 0; margin: 0; }
.stats-list li { display: flex; justify-content: space-between; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.stats-list li:last-child { border-bottom: none; }
.stats-list li span { color: #555; }
.store-rating-box { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; padding: 8px 12px; background-color: #278543; color: #fff; border-radius: 4px; cursor: pointer; transition: background-color 0.3s ease; margin: 15px auto 20px; }
.store-rating-box:hover { background-color: #1e6834; }
.store-rating-box .rating-score { font-size: 16px; font-weight: 700; }
.store-rating-box .rating-votes { font-size: 13px; opacity: 0.8; }
.faq-widget .widget-title { margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid #f0f0f0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%;  justify-content: space-between; align-items: center; text-align: right; padding: 15px 5px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 700; color: #333; }
.faq-question i { color: #9c33ff; transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 5px 20px 5px; font-size: 15px; line-height: 1.7; color: #555; }


/*
==============================================
9. MODAL STYLES (COUPON & RATING)
==============================================
*/
.coupon-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.coupon-modal-content { background: #fff; padding: 30px; border-radius: 12px; width: 90%; max-width: 450px; text-align: center; position: relative; }
.close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; color: #888; }
#modal-title { margin-top: 0; }
.modal-code-wrapper { display: flex; margin: 20px 0; }
#modal-coupon-code {
    flex-grow: 1;
    padding: 10px;
    border: 2px dashed #9c33ff;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-left: none;
    border-radius: 0px 8px 8px 0px;
}
#copy-code-btn { background: #f4f5f9; border: 1px solid #ddd; padding: 0 20px; cursor: pointer; border-radius: 8px 0px 0px 8px; }
#modal-redirect-btn {  display: block; }
.modal-feedback { color: #00b371; font-weight: bold; margin-top: 10px; }
.modal-footer-actions { margin-top: 20px; padding-top: 15px; border-top: 1px solid #f0f0f0; display: flex; justify-content: center; }
#modal-share-btn { background: transparent; border: none; color: #555; font-size: 14px; font-weight: 500; cursor: pointer; transition: color 0.3s ease; }
#modal-share-btn:hover { color: #9c33ff; }
#modal-share-btn i { margin-left: 8px; }
.rating-modal { max-width: 400px; }
.rating-stars { margin: 25px 0; direction: ltr; display: inline-block; }
.rating-stars i { font-size: 36px; color: #ccc; cursor: pointer; padding: 0 5px; transition: color 0.2s ease; }
.rating-stars i.fas { color: #ffc107; }
#submit-rating-btn:disabled { background-color: #999; cursor: not-allowed; }


/*
==============================================
10. PAGINATION STYLES
==============================================
*/
#stores-pagination-container { display: flex !important; justify-content: center !important; align-items: center !important; margin-top: 40px !important; padding-bottom: 20px !important; direction: ltr !important; }
#stores-pagination-container .page-numbers { display: inline-flex !important; justify-content: center !important; align-items: center !important; width: 42px !important; height: 42px !important; margin: 0 4px !important; font-size: 15px !important; font-weight: 600 !important; text-decoration: none !important; border: 1px solid #e5e7eb !important; border-radius: 8px !important; background-color: #fff !important; color: #4b5563 !important; transition: all 0.2s ease !important; box-shadow: none !important; }
#stores-pagination-container a.page-numbers:hover { border-color: #9c33ff !important; background-color: #9c33ff !important; color: #fff !important; transform: translateY(-2px) !important; box-shadow: 0 6px 16px rgba(156, 51, 255, 0.35) !important; }
#stores-pagination-container .page-numbers.current, #stores-pagination-container span.page-numbers.current { background-color: #9c33ff !important; border-color: #9c33ff !important; color: #fff !important; cursor: default !important; box-shadow: 0 4px 14px rgba(156, 51, 255, 0.3) !important; }
#stores-pagination-container .page-numbers.dots { background-color: transparent !important; border-color: transparent !important; cursor: default !important; box-shadow: none !important; }


/*
==============================================
11. WISHLIST STYLES
==============================================
*/
.header-wishlist-icon { position: relative; }
.header-wishlist-count { position: absolute; top: -5px; right: -10px; background-color: #ff3d57; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; font-weight: bold; display: flex; justify-content: center; align-items: center; line-height: 1; }
.wishlist-toggle-btn { position: absolute; top: 10px; left: 3px; background: none; border: none; cursor: pointer; font-size: 22px; padding: 5px; line-height: 1; z-index: 5; color: #bbb; transition: color 0.2s ease, transform 0.2s ease; }
.wishlist-toggle-btn:hover { color: #ff3d57; transform: scale(1.1); }
.wishlist-toggle-btn .fas.fa-heart { display: none; }
.wishlist-toggle-btn.is-favorite .far.fa-heart { display: none; }
.wishlist-toggle-btn.is-favorite .fas.fa-heart { display: inline-block; color: #ff3d57; }
.store-header h1 .wishlist-toggle-btn, .mobile-header-title h1 .wishlist-toggle-btn { position: static; font-size: 28px; }
.wishlist-page-container { padding: 40px 0; background-color: #f9fafb; }
.wishlist-section { margin-bottom: 50px; }
.wishlist-section-title { font-size: 24px; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb; }
.wishlist-loader { text-align: center; padding: 50px; font-size: 18px; color: #6b7280; }
.wishlist-page-container .coupons-list { display: grid; grid-template-columns: 1fr; gap: 20px; }


/*
==============================================
12. RESPONSIVE STYLES
==============================================
*/

/* --- Tablets & Smaller Desktops (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .stores-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Tablets & Large Phones (max-width: 992px) --- */
@media (max-width: 992px) {
  .store-grid { flex-direction: column; }
  .store-sidebar { width: 100%; position: static; order: 2; }
  .store-main-content { order: 1; }
  .coupon-card { flex-direction: column; align-items: stretch; gap: 20px; }
  .card-actions { width: auto; padding-left: 0; text-align: center; }
  .desktop-only { display: none; }
  .store-mobile-header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.mobile-header-logo img {
      /* Keep the visual styling for the container box */
      border-radius: 8px;
      border: 1px solid #e9eaf1;
      background-color: #fff;
      
      /* --- THE SVG FIX --- */
      /* Define a flexible box instead of rigid dimensions */
      display: block;
      width: 200px;
      height: 35px;
      padding: 10px; /* Create inner space for the logo */
      box-sizing: border-box; /* Ensure padding doesn't increase the size */

      /* Tell the SVG content to scale within the padded area */
      object-fit: contain;
  }
  .mobile-header-logo { text-align: center; }
  .mobile-header-title h1 { font-size: 20px; margin: 0; line-height: 1.3; display: flex; align-items: center; gap: 15px; }
  .mobile-header-description { font-size: 14px; color: #555; margin: 8px 0 0 0; line-height: 1.5; }
  .mobile-header-logo .store-rating-box { margin-top: 10px !important; font-size: 13px; }
}

/* --- Main Mobile Breakpoint (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Header */
  .header-main .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 15px;
  }
  .search-results-dropdown{
  width:180% !important;
  }
  .site-branding {
        order: 1;
      
        width: 50%;
    }
  .header-info-links {
    order: 2;
    width: auto;
    justify-content: center !important;
    gap: 25px;
    
  }
  .site-branding img {
            width: 140px;

}
     .header-search {
        order: 1;
        width: 30%;
        flex-basis: 50%;
        padding-right: 20px;
        padding-left:0px;
    }
    .search-form input[type="text"] {
     flex-grow: 0; 
     padding: 0px; 
    font-size: 12px; 
    text-align: right; 
            width: 120px;
}

  .mobile-menu-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
  .mobile-menu-toggle .bar { width: 100%; height: 3px; background-color: #fff; border-radius: 10px; transition: all 0.3s ease-in-out; }
  .mobile-menu-toggle.is-active .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .mobile-menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .main-navigation .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: #333; flex-direction: column; width: 100%; padding: 10px 0; z-index: 1000; border-top: 1px solid #444; }
  .main-navigation .menu.is-active { display: flex; }
  .main-navigation .menu li { margin: 0; width: 100%; text-align: center; }
  .main-navigation .menu a { padding: 15px; display: block; border-bottom: 1px solid #444; }

  /* Archive Pages */
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
  #store-filters-form { flex-direction: column; align-items: stretch; }
  .filter-item , .filter-item select { width: 100% !important; }
  .filter-item.sort-by { margin-right: 0; }
  .quick-jump-nav { flex-direction: column; align-items: flex-start; }
  .quick-jump-nav > span { margin-bottom: 10px; }
  .alphabet-filter { display: grid; grid-template-columns: repeat(8, 1fr); width: 100%; }
}

/* --- Small Phones (max-width: 500px) --- */
@media (max-width: 500px) {
  .stores-grid { grid-template-columns: 1fr; }
  .store-main-content .breadcrumbs { display: none; }
}
/*
==============================================
CATEGORY PAGE V4 STYLES (Corrected Layout)
==============================================
*/
.category-archive-page-v3 {
    background-color: #f9fafb;
}

/* Title Card */
.archive-header-v3 {
    display: flex;
  
    align-items: center;
    text-align: right;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.archive-header-v3 .category-icon {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    background-color: #f3e8ff;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 30px; /* Space between icon and text in RTL */
}

.archive-header-v3 .category-icon i {
    font-size: 40px;
    color: #9c33ff;
}

.archive-header-v3 .header-content h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.archive-header-v3 .header-content p {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin-bottom: 15px;
}

.archive-header-v3 .archive-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f3e8ff;
    color: #9c33ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Filters Card */
.store-filters-wrapper-v3 {
    background-color: #fff;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.store-filters-wrapper-v3 .main-filters {
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}
.store-filters-wrapper-v3 .filter-item.main-search {
    flex-grow: 1;
}
.store-filters-wrapper-v3 .quick-filters {
    padding-top: 20px;
    border-top: 1px solid #f0f1f3;
}
.store-filters-wrapper-v3 .filter-item select {
    padding-left: 3.5rem;
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.quick-filter-item input[type="checkbox"] {
    display: none;
}

.quick-filter-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-filter-item label:hover {
    border-color: #9c33ff;
    color: #9c33ff;
}

.quick-filter-item input[type="checkbox"]:checked + label {
    background-color: #9c33ff;
    border-color: #9c33ff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(156, 51, 255, 0.3);
}

.quick-filter-item label i {
    font-size: 16px;
}

/* Results Meta & No Results Card */
.results-meta-v3 {
    text-align: right;
    margin-bottom: 25px;
    font-size: 15px;
    color: #6b7280;
}
.results-meta-v3 #stores-count {
    font-weight: bold;
}

.no-stores-found-v3 {
    background: #fff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Responsive for V3 layout */
@media (max-width: 992px) {
  
    .archive-header-v3 .header-content {
        order: 2;
    }
       .archive-header-v3 .category-icon {
        order: 1;
      
        margin-bottom: 20px;
        width: 50px;
        height: 50px;
                margin-left: 10px;
    }

.archive-header-v3 {
 
    padding: 20px 30px;
 
}
    .archive-header-v3 .header-content h1{
    font-size:25px;}

 
}
.wishlist-toggle-btn{
display:none !important;}

@media (max-width: 768px) {
    .store-filters-wrapper-v3 .main-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .tab-item{
        padding: 5px 10px;
    }
}
/*
==============================================
13. SEARCH RESULTS PAGE & LIVE SEARCH
==============================================
*/
.search-results-page {
    padding: 40px 0;
    background-color: #f9fafb;
}
.results-section {
    margin-bottom: 50px;
}
.results-section .section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.search-stores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.no-results-found {
    text-align: center;
    padding: 50px;
}
.no-results-found h2 {
    margin-bottom: 15px;
}
.post-result-item {
    margin-bottom: 20px;
}
.post-result-item h2 a {
    text-decoration: none;
    color: #111827;
    transition: color 0.2s ease;
}
.post-result-item h2 a:hover {
    color: #9c33ff;
}

/* Header Live Search Dropdown */
/* FIX: Removed position relative from .header-search */
.header-search {
    /* No position relative needed here anymore */
}
/* FIX: Corrected positioning logic for the dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px); /* Position it below the form with a 5px gap */
    left: 0;
    width: 100%; /* Make it the same width as the form */
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px; /* Uniform radius */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1000;

    /* padding-top is no longer needed */
}
li.live-search-result-item {
    height: 55px;
    background-color: white;
}
.search-results-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.search-results-dropdown .result-item {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f0f1f3;
    transition: background-color 0.2s ease;
}
.search-results-dropdown .result-item:last-child {
    border-bottom: none;
}
.search-results-dropdown .result-item:hover {
    background-color: #f9fafb;
}
.search-results-dropdown .result-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.search-results-dropdown .result-item span {
    font-weight: 500;
}
.result-item-placeholder {
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 6px;
    flex-shrink: 0;
}
.search-results-dropdown .view-all-results {
    display: block;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    color: #9c33ff;
    text-decoration: none;
    background-color: #f3e8ff;
    transition: background-color 0.2s ease;
}
.search-results-dropdown .view-all-results:hover {
    background-color: #e9d5ff;
}
.search-results-dropdown .loading-item,
.search-results-dropdown .no-results-item {
    padding: 15px;
    text-align: center;
    color: #6b7280;
}
@media (min-width: 768px){
.search-form input[type="text"]{
width:700px;}
}
.stores-grid-slider .slick-dots {
    bottom: 0px !important;
}
a.header-wishlist-icon{
display:none;}
.slick-dots{
left:0px !important;}
/* In assets/css/main.css */

.single-store .store-mobile-header img {
    /* Your specific styles for the mobile store logo go here */
    border: 0px !important;

    height: auto;
    padding:0px !important;
}
/*
==============================================
14. BLOG ARCHIVE PAGE
==============================================
*/

.blog-archive-page {
    padding: 40px 0;
    background-color: #f9fafb;
}

/* --- Header --- */
.blog-page-header {
    text-align: center;
    margin-bottom: 40px;
}
.blog-page-header h1 {
    font-size: 36px;
    color: #111827;
    margin-bottom: 10px;
}
.blog-page-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 25px;
}
.blog-page-header .btn-primary {
    border-radius: 8px;
}

/* --- Filters Bar --- */
.blog-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.blog-search-form {
    flex-grow: 1;
    position: relative;
}
.blog-search-form .fa-search {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 2;
}
.blog-search-form .search-field {
    width: 100%;
    height: 48px;
    padding: 0 45px 0 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 15px;
}
.blog-filter-dropdowns {
    display: flex;
    gap: 15px;
}
.blog-filter-dropdowns .filter-dropdown,
.blog-filter-dropdowns select {
    height: 48px;
    padding: 0 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    min-width: 180px;
}


/* --- Featured Post --- */
.featured-post-card {
    margin-bottom: 40px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    color: #fff;
    min-height: 400px;
}
.featured-post-link-wrapper {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.featured-post-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.featured-post-card:hover .featured-post-image {
    transform: scale(1.05);
}
.featured-post-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}
.featured-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}
.featured-post-tag {
    display: inline-block;
    background-color: #9c33ff;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}
.featured-post-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #fff;
}
.featured-post-excerpt {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}


/* --- Posts Grid --- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* --- Single Post Card --- */
.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.post-card-image {
    position: relative;
    height: 220px;
}
.post-card-image a { display: block; height: 100%; }
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
}
.post-card-category .category-tag {
    background: rgba(156, 51, 255, 0.9);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color .2s;
}
.post-card-category .category-tag:hover {
    background-color: #7f28d9;
}
.post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-card-title {
    font-size: 20px;
    margin: 0 0 10px;
    line-height: 1.4;
    min-height: 56px;
}
.post-card-title a {
    color: inherit;
    text-decoration: none;
}
.post-card-title a:hover {
    color: #9c33ff;
}
.post-card-excerpt {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}
.post-card-footer {
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-card-meta {
    font-size: 13px;
    color: #9ca3af;
}
.post-card-readmore {
    font-weight: 600;
    color: #9c33ff;
    font-size: 14px;
    text-decoration: none;
}
.post-card-readmore i {
    margin-right: 5px;
}

/* --- Browse by Topic --- */
.browse-by-topic {
    text-align: center;
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.browse-by-topic h2 {
    font-size: 24px;
    margin-bottom: 30px;
}
.topic-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.topic-pills a {
    text-decoration: none;
    color: #4b5563;
    background: #fff;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.topic-pills a:hover {
    border-color: #9c33ff;
    color: #9c33ff;
    background-color: #f3e8ff;
}

/* --- Blog Pagination --- */
.blog-pagination {
    margin: 50px 0;
}
.blog-pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    direction: ltr;
}
.blog-pagination li .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.blog-pagination li a.page-numbers:hover {
    border-color: #9c33ff;
    background-color: #9c33ff;
    color: #fff;
}
.blog-pagination li .page-numbers.current {
    background-color: #9c33ff;
    border-color: #9c33ff;
    color: #fff;
}

/* --- Newsletter --- */
.blog-newsletter-signup {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.newsletter-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}
.newsletter-content p {
    color: #6b7280;
    margin: 0;
}
.blog-newsletter-signup .newsletter-form {
    display: flex;
    width: 100%;
    max-width: 500px;
}
.blog-newsletter-signup .newsletter-form input {
    flex-grow: 1;
    height: 50px;
    border: 1px solid #d1d5db;
    padding: 0 20px;
    border-radius: 8px 0 0 8px;
    border-left: none;
}
.blog-newsletter-signup .newsletter-form .btn-primary {
    height: 50px;
    border-radius: 0 8px 8px 0;
    padding: 0 30px;
}

/* --- Responsive for Blog --- */
@media (max-width: 992px) {
    .posts-grid {
        gap: 20px;
    }
    .blog-newsletter-signup {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .featured-post-title {
        font-size: 24px;
    }
    .featured-post-card {
        min-height: 350px;
    }
    .featured-post-content {
        padding: 25px;
    }
    .blog-filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-filter-dropdowns {
        flex-direction: column;
        align-items: stretch;
    }
}
/* --- Styling for "No Posts Found" message --- */
.no-posts-found {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}
.no-posts-found p {
    margin: 0;
    font-size: 18px;
    color: #6b7280;
}

/* --- Update Newsletter Styles --- */
.blog-newsletter-signup .newsletter-form input {
    flex-grow: 1;
    height: 50px;
    border: 1px solid #333;
    padding: 0 20px;
    border-radius: 50px;
    background-color: #333;
    color: #fff;
    margin-left: -40px;
    z-index: 1;
}
.blog-newsletter-signup .newsletter-form .btn-primary {
    height: 50px;
    border-radius: 50px;
    padding: 0 40px;
    z-index: 2;
    border: none;
}
/*
==============================================
15. SINGLE POST PAGE
==============================================
*/
.single-post-page {
    padding: 40px 0;
    background-color: #f9fafb;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* --- Main Content Area --- */
.post-main-content {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 30px;
}

.entry-header {
    margin-bottom: 25px;
}

.post-breadcrumbs {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}
.post-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.post-breadcrumbs a:hover {
    color: #9c33ff;
}

.post-category-tag {
    display: inline-block;
    background-color: #f3e8ff;
    color: #9c33ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
    text-decoration: none;
}

.entry-title {
    font-size: 32px;
    line-height: 1.3;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    font-size: 14px;
    color: #6b7280;
    margin-top: 15px;
}
.entry-meta span {
    position: relative;
    padding-right: 15px;
}
.entry-meta span:not(:last-child)::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #d1d5db;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}
.entry-content h2, .entry-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #e5e7eb;
}
.entry-content ul {
    list-style-type: disc;
    padding-right: 20px;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}
.post-tags .post-tag {
    display: inline-block;
    text-decoration: none;
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 8px 16px;
    border-radius: 50px;
    margin: 0 0 10px 10px;
    font-size: 14px;
}
.post-sharing {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.share-icons {
    display: flex;
    gap: 10px;
}
.share-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    font-size: 16px;
}

/* --- Sidebar --- */
.post-sidebar .sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.sidebar-widget .widget-title {
    font-size: 18px;
    margin-bottom: 20px;
}
.recommended-stores-list, .featured-offers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recommended-stores-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.recommended-stores-list li:last-child {
    margin-bottom: 0;
}
.recommended-stores-list img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #f3f4f6;
}
.recommended-stores-list .store-info {
    flex-grow: 1;
}
.recommended-stores-list .store-info strong {
    display: block;
    font-size: 15px;
}
.recommended-stores-list .store-info span {
    font-size: 13px;
    color: #6b7280;
}
.recommended-stores-list a {
    font-size: 13px;
    font-weight: 600;
    color: #9c33ff;
    text-decoration: none;
    white-space: nowrap;
}
.featured-offers-list li {
    background-color: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-right: 3px solid #9c33ff;
}
.featured-offers-list h4 {
    font-size: 15px;
    margin: 0 0 5px;
}
.featured-offers-list p {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 10px;
}
.featured-offers-list a {
    font-size: 14px;
    font-weight: 600;
    color: #9c33ff;
    text-decoration: none;
}
.quick-tip-widget {
    background-color: #f3e8ff;
    border-color: #d8b4fe;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.quick-tip-widget .widget-icon {
    flex-shrink: 0;
    font-size: 20px;
    color: #9c33ff;
}
.quick-tip-widget h4 {
    font-size: 16px; margin: 0 0 5px;
}
.quick-tip-widget p {
    font-size: 14px; color: #6b21a8; margin: 0;
}


/* --- Related Posts Section --- */
.related-posts-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #e5e7eb;
}
.related-posts-section .section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}
.related-posts-section .posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Special Content Boxes (For Gutenberg Editor) --- */
.entry-content .post-content-box {
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border: 1px solid;
}
.post-content-box > *:first-child { margin-top: 0; }
.post-content-box > *:last-child { margin-bottom: 0; }
.post-content-box .box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
.post-content-box.style-tip {
    background-color: #f3e8ff;
    border-color: #d8b4fe;
}
.post-content-box.style-scenario {
    background-color: #f3e8ff;
    border-color: #d8b4fe;
}
.post-content-box.style-list {
    background-color: #f9fafb;
    border-color: #f3f4f6;
}
.post-content-box.style-conclusion {
    background-color: #f3e8ff;
    border-color: transparent;
}

/* --- Responsive for Single Post --- */
@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        grid-row: 2;
    }
    .related-posts-section .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .related-posts-section .posts-grid {
        grid-template-columns: 1fr;
    }
    .entry-title {
        font-size: 26px;
    }
}
/* --- Styling for Share Button Feedback --- */
.copy-feedback-message {
    color: #278543; /* Success green color */
    font-weight: 500;
    font-size: 14px;
    margin-right: 15px; /* Adjust spacing */
}
/*
==============================================
16. BLOG GRID VIEW STYLES
==============================================
*/

.posts-grid.blog-grid-view {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .posts-grid.blog-grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid.blog-grid-view {
        grid-template-columns: 1fr;
    }
    .widget-mobile {
    width: 76%;
}
}
/*
==============================================
17. MAILERLITE FORM STYLES
==============================================
*/

/* Reset MailerLite container styles */
 .ml-form-embedContainer {
    margin: 0 !important;
    width: 100% !important;
}
 .ml-form-embedWrapper {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    max-width: 100% !important;
}
 .ml-form-embedContent {
    display: none; /* Hide the title and text from the form, as they are already in the widget */
}

/* Style the form to match your original design */
 .ml-block-form {
    display: flex;
    position: relative;
    margin-top: 15px;
}

/* Style the email input field */
 .ml-block-form input[type="email"] {
    flex-grow: 1;
    background: #444 !important;
    border: 1px solid #555 !important;
    border-radius: 0 8px 8px 0;
    color: #fff !important;
    height: 45px !important;
    padding: 0 50px !important;
    font-family: var(--arabic-sans);
}

.ml-block-form input[type="email"]::placeholder {
    color: #999 !important;
}

/* Style the submit button */
 .ml-block-form .ml-form-embedSubmit {
    margin: 0 !important;
    position: absolute;
    left: 5px; /* Position inside on the left */
    top: 50%;
    transform: translateY(-50%);
}

 .ml-block-form button[type="submit"] {
    background: #9c33ff !important;
    color: #fff !important;
    border-radius: 8px 0px 0px 8px;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    height: 45px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none !important;
}

 .ml-block-form button[type="submit"]:hover {
    background: #7f28d9 !important;
}

/* Style the success message */
 .ml-form-successBody {
    background-color: #e6f9f1 !important;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-top: 15px;
}
 .ml-form-successBody h4,
 .ml-form-successBody p {
    color: #00b371 !important;
    margin: 0 !important;
    text-align: center;
}
 .ml-form-successBody h4 {
    font-size: 16px;
    margin-bottom: 5px !important;
}
 .ml-form-successBody p {
    font-size: 14px;
}
.newsletter-mail {
    width: 25%;
}
.mobile-header-title {
    width: 85%;
}
/*
==============================================
NEW WIDGET & TAG STYLES
==============================================
*/

/* 1. Similar Stores Widget Styles */
.similar-stores-widget .widget-title {
    margin-bottom: 20px;
}
.similar-stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.similar-store-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #e9eaf1;
    border-radius: 8px;
    height: 60px;
    transition: border-color 0.3s ease;
}
.similar-store-item:hover {
    border-color: #9c33ff;
}
.similar-store-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}
/*
==============================================
18. STATIC PAGE CONTENT STYLES
==============================================
*/

.main-content .page-container {
    background-color: #f9fafb;
}

.static-page-content {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    max-width: 850px;
    margin: 0 auto;
}

.static-page-content h1 {
    font-size: 32px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f1f3;
}

.static-page-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.static-page-content p, 
.static-page-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1em;
}

.static-page-content a {
    color: #9c33ff;
    text-decoration: none;
    font-weight: 500;
}

.static-page-content a:hover {
    text-decoration: underline;
}

/* --- Contact Page Specifics --- */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-method {
    text-align: center;
    padding: 25px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f0f1f3;
}

.contact-method i {
    font-size: 32px;
    color: #9c33ff;
    margin-bottom: 15px;
}

.contact-method h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.contact-social {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f1f3;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f3e8ff;
    border-radius: 50px;
}

/* --- About Us Specifics --- */
.company-info-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.company-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f1f3;
}
.company-info-list li:last-child {
    border-bottom: none;
}

.company-info-list i {
    color: #9c33ff;
    margin-left: 10px;
    width: 20px;
    text-align: center;
}