/*
Theme Name: TEST Theme
Description: Official Activityz Theme
Author: MMZ
Author URI: https://Activityz.ma
Template: neve
Version: 3.1
*/

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #2d3748;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.75em;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */

h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(22px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

.display-font {
    font-family: 'Caprasimo', cursive;
}

/* ============================================================
   NEVE OVERRIDES — strip Neve defaults that conflict
   ============================================================ */

/* Remove Neve's default container padding */
.neve-main,
.nv-content-wrap,
.container {
    padding: 0 !important;
}

/* Remove Neve's page header (title bar on inner pages) */
.nv-page-title-wrap,
.nv-title-meta-wrap {
    display: none !important;
}

/* Strip Neve's wrapper layout (we control layout ourselves) */
.wrapper {
    display: block !important;
}

/* ============================================================
   LOGO — aggressive size control
   ============================================================ */

/* Homepage Shortcode Container Spacing Fix */
#homepage-shortcode-container {
        margin-top: -48px;
        margin-bottom: -48px;
}

.header-logo .custom-logo-link,
.header-logo a {
    display: flex;
    align-items: center;
    line-height: 1;
}

.header-logo img,
.header-logo .custom-logo,
.site-header img.custom-logo,
.custom-logo-link img {
    height: 30px !important;
    width: auto !important;
    max-height: 30px !important;
    max-width: 160px !important;
    object-fit: contain;
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
}

@media (min-width: 960px) {
    .page-content {
        padding: 48px 24px;
    }
    /* Remove top padding for homepage hero section */
    .hp-hero > .page-content {
        padding-top: 0 !important;
    }
    /* If .page-content is not used inside .hp-hero, but you want to target the homepage only, use a body.home selector if available: */
    body.home .hp-hero .page-content {
        padding-top: 0 !important;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: #ff2e5e;
    color: #fff;
}

.btn-primary:hover {
    background: #e0234d;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255,46,94,0.35);
}

.btn-outline {
    background: transparent;
    color: #ff2e5e;
    border: 1.5px solid #ff2e5e;
}

.btn-outline:hover {
    background: rgba(255,46,94,0.06);
}

/* ============================================================
   WOOCOMMERCE — base resets & Moroccan UX
   ============================================================ */

/* WooCommerce content wrapper — use div.woocommerce to avoid matching body.woocommerce */
.woocommerce-page div.woocommerce,
div.woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* "Ajouter au panier" → "Réserver" handled in helpers.php */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: #ff2e5e;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border: none;
    transition: background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: #e0234d;
    color: #fff;
}

/* Stars */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
    color: #ff2e5e;
}

/* Product card */
.woocommerce ul.products li.product {
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

/* ============================================================
   MOBILE BOTTOM NAVBAR
   ============================================================ */

.mobile-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    height: 64px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

@media (min-width: 960px) {
    .mobile-navbar {
        display: none !important;
    }
}

.mobile-navbar .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 6px 0;
    color: #718096;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.mobile-navbar .menu-item i,
.mobile-navbar .menu-item svg {
    font-size: 20px;
    width: 22px;
    height: 22px;
}

.mobile-navbar .menu-item:hover,
.mobile-navbar .menu-item.active {
    color: #ff2e5e;
}

.mobile-navbar-icons {
    width: 22px;
    height: 20px;
}

/* Wishlist button inside mobile nav */
.mobile-navbar .menu-item .wlfmc-add-to-wishlist-button {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

/* ============================================================
   SEARCH MODAL
   ============================================================ */

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(22,33,62,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-modal.hidden {
    display: none;
}

.search-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #718096;
    line-height: 1;
    padding: 4px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.woocommerce-breadcrumb,
nav.woocommerce-breadcrumb {
    font-size: 13px;
    color: #718096;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce-breadcrumb a {
    color: #718096;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: #ff2e5e;
}

.the-separator-breadcrumb {
    margin: 0 6px;
    opacity: 0.5;
}

/* ============================================================
   CITY FILTER CHIPS
   ============================================================ */

.city-filter-container-scroll {
    padding: 12px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.city-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.city-chip:hover {
    border-color: #ff2e5e;
    color: #ff2e5e;
    background: rgba(255,46,94,0.05);
}

.city-filter-dropdown {
    padding: 6px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 13px;
    font-family: inherit;
    color: #4a5568;
    background: #fff;
    cursor: pointer;
    outline: none;
}

/* ============================================================
   PRO ACCOUNT DASHBOARD
   ============================================================ */

.revenue-chart-wrapper {
    background: #fff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.revenue-chart-wrapper h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.metric-content h4 {
    margin-top: 0 !important;
}

/* ============================================================
   PAYZONE & PARTNERS
   ============================================================ */

.payzone-bar img {
    max-height: 30px;
    width: auto;
}

.partners-banner {
    border-radius: 12px;
    overflow: hidden;
}

.partners-banner img {
    width: 100%;
    height: auto;
}

/* ============================================================
   LINKS BY CITY
   ============================================================ */

.links-by-city {
    padding: 24px 20px;
}

.links-by-city ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.links-by-city ul li h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.links-by-city ul li h4 a {
    color: #4a5568;
    text-decoration: none;
    padding: 4px 0;
    display: inline-block;
    transition: color 0.15s ease;
}

.links-by-city ul li h4 a:hover {
    color: #ff2e5e;
}

.thecityinlink {
    font-weight: 700;
    color: #ff2e5e;
}

.item-group {
    display: contents;
}

/* ============================================================
   FOOTER COPYRIGHT (legacy shortcode support)
   ============================================================ */

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 16px 0;
}

.footer-copyright a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

/* ============================================================
   PRO ACCOUNT GREETING
   ============================================================ */

.pro-account-greeting {
    text-align: right;
    padding-right: 20px;
}

/* ============================================================
   UTILITIES
   ============================================================ */

/* ============================================================
   HOMEPAGE FULL WIDTH SECTIONS
   ============================================================ */

main#content {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    background: none;
}

.hp-hero {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #fff 60%, #ffe3ec 100%);
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
.hp-hero__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.hp-hero__badge {
    display: inline-block;
    background: #ff2e5e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    padding: 6px 18px;
    margin-bottom: 10px;
}
.hp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}
.hp-chip {
    background: #f7fafc;
    color: #ff2e5e;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid #ff2e5e;
    transition: background 0.15s, color 0.15s;
}
.hp-chip:hover {
    background: #ff2e5e;
    color: #fff;
}

.hp-section {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    background: #fff;
}
.hp-section--light {
    background: #f7fafc;
}
.hp-section--dark {
    background: #22223b;
    color: #fff;
}
.hp-section__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 24px 20px;
}
.hp-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.hp-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px 0 32px 0;
    width: 100%;
}
.hp-partners img {
    max-height: 60px;
    width: auto;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.2s;
}
.hp-partners img:hover {
    filter: grayscale(0) contrast(1.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary { color: #ff2e5e; }
.text-muted   { color: #718096; }
.text-center  { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* Hide WooCommerce inline-edit fields in admin */
#woocommerce-fields.inline-edit-col {
    display: none !important;
}

/* Hide WhatsApp tab (plugin) */
button[data-tab="whatsapp"] {
    display: none !important;
}

/* Neve's wrapper on WooCommerce / taxonomy pages — strip constraints */
.neve-main,
.nv-content-wrap {
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   TAXONOMY PRODUCT PAGES  (.taxo-page)
   ============================================================ */

/* ── Page wrapper ───────────────────────────────────────────── */
.taxo-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 48px;
    overflow-x: hidden;
}

/* ── Header ─────────────────────────────────────────────────── */
.taxo-page__header {
    padding: 32px 20px 16px;
    text-align: center;
}

.taxo-page__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin: 0 0 10px;
}

.taxo-page__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.taxo-page__desc {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.taxo-page__desc h2,
.taxo-page__tagline {
    font-size: clamp(15px, 2.5vw, 19px);
    font-weight: 600;
    color: var(--clr-primary);
    margin: 0 0 10px;
    font-family: var(--font-body);
}

.taxo-page__desc .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.75;
}

.taxo-page__desc .desc-taxonomies-content a {
    color: var(--clr-primary);
}

/* ── City filter ────────────────────────────────────────────── */
.taxo-page .city-filter-container-scroll {
    padding: 8px 20px 4px;
}

/* ── Grid ───────────────────────────────────────────────────── */
.taxo-page .filtered-products {
    padding: 20px 16px 0;
}

.taxo-page .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 480px) {
    .taxo-page .product-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (min-width: 768px) {
    .taxo-page .product-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (min-width: 960px) {
    .taxo-page .product-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

@media (min-width: 1200px) {
    .taxo-page .product-list { grid-template-columns: repeat(5, 1fr); gap: 22px; }
}

/* ── Card ───────────────────────────────────────────────────── */
.taxo-page .product-item {
    position: relative;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.22s var(--ease);
    text-align: left;
}

.taxo-page .product-item:hover {
    transform: none;
}

/* ── Card image ─────────────────────────────────────────────── */
.taxo-page .product-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: 12px;
    background: var(--clr-bg-soft);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .taxo-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .taxo-page .product-image-container { height: 260px; }
}

.taxo-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s var(--ease);
    display: block;
}

.taxo-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

/* ── Wishlist badge ─────────────────────────────────────────── */
.taxo-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

/* ── Card body ──────────────────────────────────────────────── */
.taxo-page .product-info-container {
    padding: 0;
}

.taxo-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    height: auto;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.taxo-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.taxo-page .product-link {
    text-decoration: none;
    color: inherit;
}

/* ── Card meta (city + rating) ──────────────────────────────── */
.taxo-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.taxo-page .city-tag-container {
    min-width: 0;
}

.taxo-page .product-city-listing {
    font-size: 11px;
    color: var(--clr-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taxo-page .product-city-listing::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 4px;
    color: var(--clr-primary);
    font-size: 10px;
}

.taxo-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

/* ── Load more ──────────────────────────────────────────────── */
.load-more-wrapper {
    text-align: center;
    padding: 36px 20px 0;
}

.load-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: var(--clr-primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    box-shadow: 0 4px 14px rgba(255,46,94,0.3);
}

.load-more-button:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,46,94,0.4);
}

.load-more-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Empty state ────────────────────────────────────────────── */
.taxo-page__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    text-align: center;
}

.taxo-page__empty-icon {
    font-size: 52px;
    color: var(--clr-border);
    margin-bottom: 20px;
}

.taxo-page__empty-text {
    font-size: 16px;
    color: var(--clr-muted);
    margin: 0;
}

/* ── City links section ─────────────────────────────────────── */
.taxo-page .links-by-city {
    padding: 32px 20px 0;
}

/* ── Mobile fine-tuning ─────────────────────────────────────── */
@media (max-width: 767px) {
    .taxo-page__header     { padding: 24px 16px 14px; }
    .taxo-page .filtered-products { padding: 16px 16px 0; }
    .taxo-page .product-list      { gap: 16px; grid-template-columns: 1fr; }
    .taxo-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .taxo-page .product-listing-title   { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
    .taxo-page .product-details-card { gap: 8px; }
}

/* ============================================================
   ACTIVITY × CITY PAGES  (.activity-x-city-page)
   ============================================================ */

.activity-x-city-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 48px;
}

.activity-x-city__header {
    padding: 32px 20px 20px;
    text-align: center;
}

.activity-x-city__title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 18px;
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.activity-x-city__desc {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.activity-x-city__desc h2 {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 600;
    color: var(--clr-primary);
    margin: 0 0 10px;
}

.activity-x-city__desc .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.75;
}

.activity-x-city-page .filtered-products {
    padding: 20px 16px 0;
}

.activity-x-city-page .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 480px) {
    .activity-x-city-page .product-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (min-width: 768px) {
    .activity-x-city-page .product-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (min-width: 960px) {
    .activity-x-city-page .product-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

@media (min-width: 1200px) {
    .activity-x-city-page .product-list { grid-template-columns: repeat(5, 1fr); gap: 22px; }
}

.activity-x-city-page .product-item {
    position: relative;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.activity-x-city-page .product-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: 12px;
    background: var(--clr-bg-soft);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .activity-x-city-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .activity-x-city-page .product-image-container { height: 260px; }
}

.activity-x-city-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s var(--ease);
    display: block;
}

.activity-x-city-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.activity-x-city-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.activity-x-city-page .product-info-container {
    padding: 0;
}

.activity-x-city-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.activity-x-city-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.activity-x-city-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.activity-x-city-page .product-city-listing,
.activity-x-city-page .product-address-listing {
    font-size: 11px;
    color: var(--clr-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-x-city-page .product-city-listing::before,
.activity-x-city-page .product-address-listing::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 4px;
    color: var(--clr-primary);
    font-size: 10px;
}

.activity-x-city-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.activity-x-city-page h2.subtitles-centers {
    font-size: clamp(17px, 3vw, 22px);
    font-weight: 700;
    color: var(--clr-dark);
    margin: 32px 0 16px;
    padding: 0 20px;
    text-align: center;
}

.activity-x-city-page .no-products-message {
    padding: 24px 20px;
    font-size: 15px;
    color: var(--clr-muted);
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .activity-x-city__header { padding: 24px 16px 14px; }
    .activity-x-city-page .filtered-products { padding: 16px 16px 0; }
    .activity-x-city-page .product-list { gap: 16px; grid-template-columns: 1fr; }
    .activity-x-city-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .activity-x-city-page .product-listing-title { font-size: 16px; margin-bottom: 10px; }
}

/* ============================================================
   CENTRE-X-CITY PAGE (Centre + City combination)
   ============================================================ */

.centre-x-city-page {
    padding: 0;
    background: #fff;
}

.centre-x-city__header {
    padding: 32px 20px 16px;
    text-align: center;
    background: #fff;
}

.centre-x-city__title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.centre-x-city__desc {
    margin: 16px 0 0;
}

.centre-x-city-page .desc-taxonomies {
    margin: 20px 0;
}

.centre-x-city-page .desc-taxonomies h2 {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.centre-x-city-page .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.centre-x-city-page .filtered-products {
    padding: 20px 20px 0;
}

.centre-x-city-page .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

@media (min-width: 480px) {
    .centre-x-city-page .product-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .centre-x-city-page .product-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
    .centre-x-city-page .product-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .centre-x-city-page .product-list { grid-template-columns: repeat(5, 1fr); }
}

.centre-x-city-page .product-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    transition: transform 0.18s ease;
}

.centre-x-city-page .product-item:hover {
    transform: none;
}

.centre-x-city-page .product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5;
    transition: all 0.18s ease;
}

@media (min-width: 768px) {
    .centre-x-city-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .centre-x-city-page .product-image-container { height: 260px; }
}

.centre-x-city-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.centre-x-city-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.centre-x-city-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.centre-x-city-page .product-info-container {
    padding: 0;
}

.centre-x-city-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.centre-x-city-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.centre-x-city-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.centre-x-city-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.centre-x-city-page .no-products-message {
    padding: 24px 20px;
    font-size: 15px;
    color: var(--clr-muted);
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .centre-x-city__header { padding: 24px 16px 14px; }
    .centre-x-city-page .filtered-products { padding: 16px 16px 0; }
    .centre-x-city-page .product-list { gap: 16px; grid-template-columns: 1fr; }
    .centre-x-city-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .centre-x-city-page .product-listing-title { font-size: 16px; margin-bottom: 10px; }
}

/* ============================================================
   TAG-X-CITY PAGE (Tag + City combination)
   ============================================================ */

.tag-x-city-page {
    padding: 0;
    background: #fff;
}

.tag-x-city__header {
    padding: 32px 20px 16px;
    text-align: center;
    background: #fff;
}

.tag-x-city__title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.tag-x-city__desc {
    margin: 16px 0 0;
}

.tag-x-city-page .desc-taxonomies {
    margin: 20px 0;
}

.tag-x-city-page .desc-taxonomies h2 {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.tag-x-city-page .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.tag-x-city-page .filtered-products {
    padding: 20px 20px 0;
}

.tag-x-city-page .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

@media (min-width: 480px) {
    .tag-x-city-page .product-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .tag-x-city-page .product-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
    .tag-x-city-page .product-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .tag-x-city-page .product-list { grid-template-columns: repeat(5, 1fr); }
}

.tag-x-city-page .product-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    transition: transform 0.18s ease;
}

.tag-x-city-page .product-item:hover {
    transform: none;
}

.tag-x-city-page .product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5;
    transition: all 0.18s ease;
}

@media (min-width: 768px) {
    .tag-x-city-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .tag-x-city-page .product-image-container { height: 260px; }
}

.tag-x-city-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.tag-x-city-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.tag-x-city-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.tag-x-city-page .product-info-container {
    padding: 0;
}

.tag-x-city-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.tag-x-city-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.tag-x-city-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.tag-x-city-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.tag-x-city-page .no-products-message {
    padding: 24px 20px;
    font-size: 15px;
    color: var(--clr-muted);
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .tag-x-city__header { padding: 24px 16px 14px; }
    .tag-x-city-page .filtered-products { padding: 16px 16px 0; }
    .tag-x-city-page .product-list { gap: 16px; grid-template-columns: 1fr; }
    .tag-x-city-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .tag-x-city-page .product-listing-title { font-size: 16px; margin-bottom: 10px; }
}

/* ============================================================
   AGE-X-CITY PAGE (Age range + City combination)
   ============================================================ */

.age-x-city-page {
    padding: 0;
    background: #fff;
}

.age-x-city__header {
    padding: 32px 20px 16px;
    text-align: center;
    background: #fff;
}

.age-x-city__title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.age-x-city__desc {
    margin: 16px 0 0;
}

.age-x-city-page .desc-taxonomies {
    margin: 20px 0;
}

.age-x-city-page .desc-taxonomies h2 {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.age-x-city-page .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.age-x-city-page .filtered-products {
    padding: 20px 20px 0;
}

.age-x-city-page .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

@media (min-width: 480px) {
    .age-x-city-page .product-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .age-x-city-page .product-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
    .age-x-city-page .product-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .age-x-city-page .product-list { grid-template-columns: repeat(5, 1fr); }
}

.age-x-city-page .product-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    transition: transform 0.18s ease;
}

.age-x-city-page .product-item:hover {
    transform: none;
}

.age-x-city-page .product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5;
    transition: all 0.18s ease;
}

@media (min-width: 768px) {
    .age-x-city-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .age-x-city-page .product-image-container { height: 260px; }
}

.age-x-city-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.age-x-city-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.age-x-city-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.age-x-city-page .product-info-container {
    padding: 0;
}

.age-x-city-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.age-x-city-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.age-x-city-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.age-x-city-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.age-x-city-page .no-products-message {
    padding: 24px 20px;
    font-size: 15px;
    color: var(--clr-muted);
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .age-x-city__header { padding: 24px 16px 14px; }
    .age-x-city-page .filtered-products { padding: 16px 16px 0; }
    .age-x-city-page .product-list { gap: 16px; grid-template-columns: 1fr; }
    .age-x-city-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .age-x-city-page .product-listing-title { font-size: 16px; margin-bottom: 10px; }
}

/* ============================================================
   TAXONOMY-X-CITY PAGE (Unified template for all taxonomies)
   ============================================================ */

.taxonomy-x-city-page {
    padding: 0;
    background: #fff;
}

.taxonomy-x-city__header {
    padding: 32px 20px 16px;
    text-align: center;
    background: #fff;
}

.taxonomy-x-city__title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.taxonomy-x-city__desc {
    margin: 16px 0 0;
}

.taxonomy-x-city-page .desc-taxonomies {
    margin: 20px 0;
}

.taxonomy-x-city-page .desc-taxonomies h2 {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.taxonomy-x-city-page .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.taxonomy-x-city-page .filtered-products {
    padding: 20px 20px 0;
}

.taxonomy-x-city-page .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

@media (min-width: 480px) {
    .taxonomy-x-city-page .product-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .taxonomy-x-city-page .product-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
    .taxonomy-x-city-page .product-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .taxonomy-x-city-page .product-list { grid-template-columns: repeat(5, 1fr); }
}

.taxonomy-x-city-page .product-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    transition: transform 0.18s ease;
}

.taxonomy-x-city-page .product-item:hover {
    transform: none;
}

.taxonomy-x-city-page .product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5;
    transition: all 0.18s ease;
}

@media (min-width: 768px) {
    .taxonomy-x-city-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .taxonomy-x-city-page .product-image-container { height: 260px; }
}

.taxonomy-x-city-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.taxonomy-x-city-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.taxonomy-x-city-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.taxonomy-x-city-page .product-info-container {
    padding: 0;
}

.taxonomy-x-city-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.taxonomy-x-city-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.taxonomy-x-city-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.taxonomy-x-city-page .city-tag-container {
    margin: 0;
}

.taxonomy-x-city-page .product-city-listing {
    font-size: 11px;
    color: var(--clr-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taxonomy-x-city-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.taxonomy-x-city-page .no-products-message {
    padding: 24px 20px;
    font-size: 15px;
    color: var(--clr-muted);
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .taxonomy-x-city__header { padding: 24px 16px 14px; }
    .taxonomy-x-city-page .filtered-products { padding: 16px 16px 0; }
    .taxonomy-x-city-page .product-list { gap: 16px; grid-template-columns: 1fr; }
    .taxonomy-x-city-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .taxonomy-x-city-page .product-listing-title { font-size: 16px; margin-bottom: 10px; }
}

/* ============================================================
   BREADCRUMB STYLING
   ============================================================ */

.woocommerce-breadcrumb {
    padding: 16px 20px;
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.woocommerce-breadcrumb a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color 0.18s;
}

.woocommerce-breadcrumb a:hover {
    color: var(--clr-dark);
    text-decoration: underline;
}

.woocommerce-breadcrumb .the-separator-breadcrumb {
    color: var(--clr-muted);
    margin: 0 4px;
}

@media (max-width: 767px) {
    .woocommerce-breadcrumb {
        padding: 12px 16px;
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* ============================================================
   CITY PAGE (General city template)
   ============================================================ */

.city-page {
    padding: 0;
    background: #fff;
}

.city-page__header {
    padding: 32px 20px 16px;
    text-align: center;
    background: #fff;
}

.city-page__title {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 800;
    color: var(--clr-dark);
    margin: 0 0 12px;
}

.city-page .desc-taxonomies {
    margin: 20px 0;
}

.city-page .desc-taxonomies-content {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.city-page .filtered-products {
    padding: 20px 20px 0;
}

.city-page .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

@media (min-width: 480px) {
    .city-page .product-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .city-page .product-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
    .city-page .product-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .city-page .product-list { grid-template-columns: repeat(5, 1fr); }
}

.city-page .product-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    transition: transform 0.18s ease;
}

.city-page .product-item:hover {
    transform: none;
}

.city-page .product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5;
    transition: all 0.18s ease;
}

@media (min-width: 768px) {
    .city-page .product-image-container { height: 240px; }
}

@media (min-width: 960px) {
    .city-page .product-image-container { height: 260px; }
}

.city-page .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.city-page .product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.city-page .wishlist-button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.city-page .product-info-container {
    padding: 0;
}

.city-page .product-listing-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.18s;
}

.city-page .product-item:hover .product-listing-title {
    color: var(--clr-primary);
}

.city-page .product-details-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.city-page .city-tag-container {
    margin: 0;
}

.city-page .product-city-listing {
    font-size: 11px;
    color: var(--clr-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-page .average-rating-listing {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

@media (max-width: 767px) {
    .city-page__header { padding: 24px 16px 14px; }
    .city-page .filtered-products { padding: 16px 16px 0; }
    .city-page .product-list { gap: 16px; grid-template-columns: 1fr; }
    .city-page .product-image-container { height: 240px; margin-bottom: 14px; }
    .city-page .product-listing-title { font-size: 16px; margin-bottom: 10px; }
}

/* ============================================================
   CITY PAGE — MODERN BEAUTIFUL DESIGN
   ============================================================ */

.city-template-wrapper {
    --primary: #ff2e5e;
    --primary-dark: #e0234d;
    --primary-light: #ff6b9d;
    --accent: #ffd6e8;
    --bg-light: #f9f8f6;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --success: #10b981;
}

/* Hero Header */
.city-hero-header {
    background: linear-gradient(135deg, #fff5f8 0%, #fffaf9 100%);
    padding: 56px 48px;
    margin-bottom: 48px;
    border-bottom: 2px solid var(--border);
}

.city-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.city-hero-title {
    font-size: clamp(36px, 7vw, 52px);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
    letter-spacing: -1px;
}

.city-hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin: 0 0 24px;
    font-weight: 500;
}

.city-hero-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 700px;
}

.city-hero-description p {
    margin: 0;
}

/* Search Notice */
.city-search-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fff4f7 0%, #fff9fc 100%);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 20px 28px;
    margin: 0 48px 36px;
    animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-notice-icon {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.search-notice-text {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.search-notice-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* Activities Section */
.city-activities-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Product Grid */
.city-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

/* Product Card */
.city-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1.5px solid var(--border);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
}

.city-product-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    height: 300px;
}

.card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.city-product-card:hover .card-image {
    transform: scale(1.12);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.city-product-card:hover .card-overlay {
    opacity: 1;
}

/* Favorite Button */
.card-favorite-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.card-favorite-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.15);
}

/* Rating Badge */
.card-rating-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.badge-star {
    color: #f59e0b;
    font-size: 14px;
}

.badge-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Card Content */
.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.city-product-card:hover .card-title a {
    color: var(--primary);
}

.card-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Meta */
.card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-item i {
    color: var(--primary);
    font-size: 14px;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    align-items: stretch;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 46, 94, 0.3);
}

.action-favorite {
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-favorite button {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.action-favorite button:hover {
    border-color: var(--primary);
    background: rgba(255, 46, 94, 0.08);
}

.action-favorite button:hover svg path {
    stroke: var(--primary) !important;
}

/* Load More Section */
.load-more-section {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.btn-load-more-modern {
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 24px rgba(255, 46, 94, 0.3);
}

.btn-load-more-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 46, 94, 0.4);
}

.btn-load-more-modern:active {
    transform: translateY(-1px);
}

.btn-load-more-modern i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.btn-load-more-modern.loading i {
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Responsive */
@media (max-width: 1200px) {
    .city-hero-header {
        padding: 48px 32px;
    }

    .city-activities-section {
        padding: 0 32px;
    }

    .city-search-notice {
        margin-left: 32px;
        margin-right: 32px;
    }

    .city-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .city-hero-header {
        padding: 40px 20px;
        margin-bottom: 32px;
    }

    .city-hero-title {
        font-size: 28px;
    }

    .city-hero-subtitle {
        font-size: 16px;
    }

    .city-activities-section {
        padding: 0 20px;
    }

    .city-search-notice {
        margin-left: 20px;
        margin-right: 20px;
        gap: 12px;
        padding: 16px 20px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .city-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        margin-bottom: 32px;
    }

    .card-image-wrapper {
        height: 260px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 16px;
    }

    .btn-load-more-modern {
        padding: 14px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .city-hero-header {
        padding: 32px 16px;
        margin-bottom: 24px;
    }

    .city-hero-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .city-hero-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .city-activities-section {
        padding: 0 16px;
    }

    .city-search-notice {
        margin-left: 16px;
        margin-right: 16px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .city-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .card-image-wrapper {
        height: 240px;
    }

    .card-content {
        padding: 18px;
    }

    .card-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .card-actions {
        gap: 10px;
    }

    .action-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .action-favorite button {
        width: 44px;
        height: 44px;
    }

    .btn-load-more-modern {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ============================================================
   MODERN CAROUSEL SECTIONS
   ============================================================ */

.modern-carousel-section {
    padding: 48px;
    margin: 32px 0;
}

.carousel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.carousel-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.carousel-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.carousel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.carousel-link:hover {
    gap: 12px;
}

.carousel-link i {
    transition: transform 0.3s ease;
}

.carousel-link:hover i {
    transform: translateX(2px);
}

/* Carousel Container */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 0;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    height: 6px;
}

.carousel-container::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.carousel-item {
    flex: 0 0 340px;
    scroll-snap-align: start;
}

/* Arrow Buttons */
.carousel-arrow {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 46, 94, 0.3);
}

.carousel-arrow:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(255, 46, 94, 0.4);
}

.carousel-arrow:active {
    transform: scale(0.98);
}

/* Event Card */
.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1.5px solid var(--border);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.event-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.event-card:hover .event-image img {
    transform: scale(1.12);
}

.event-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.event-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.event-card:hover .event-title a {
    color: var(--primary);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.event-location,
.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.event-location i,
.event-date i {
    color: var(--primary);
    font-size: 14px;
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.event-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 46, 94, 0.3);
}

/* Category Card */
.category-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
    height: 100%;
    background: #fff;
    text-decoration: none;
}

.category-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--bg-light);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(26, 26, 26, 0.3);
}

.category-card:hover .category-image img {
    transform: scale(1.12);
}

.category-content {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.category-card:hover .category-content h3 {
    color: var(--primary);
}

.category-card:hover i {
    transform: translateX(4px);
}

.category-content i {
    color: var(--primary);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .modern-carousel-section {
        padding: 40px 32px;
    }

    .carousel-item {
        flex: 0 0 300px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .modern-carousel-section {
        padding: 32px 20px;
        margin: 24px 0;
    }

    .carousel-header {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .carousel-title {
        font-size: 22px;
    }

    .carousel-item {
        flex: 0 0 280px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .event-card {
        border-radius: 12px;
    }

    .event-image {
        height: 200px;
    }

    .event-content {
        padding: 16px;
    }

    .event-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modern-carousel-section {
        padding: 24px 16px;
        margin: 20px 0;
    }

    .carousel-title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .carousel-subtitle {
        font-size: 13px;
    }

    .carousel-item {
        flex: 0 0 240px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .event-image {
        height: 180px;
    }

    .event-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .event-meta {
        margin-bottom: 8px;
        padding-bottom: 8px;
        gap: 6px;
    }

    .event-location,
    .event-date {
        font-size: 12px;
    }

    .event-btn {
        padding: 6px 10px;
        font-size: 10px;
    }

    .category-content {
        padding: 12px;
    }

    .category-content h3 {
        font-size: 14px;
    }
}






/* ============================================================
   PRO ACCOUNT
   ============================================================ */



.dashboard-wrapper {
    margin: auto;
}

.business-header {
display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 20px;
    background: linear-gradient(90deg, #ffe6b678, #ffacbf6b);
    border-radius: 60px;
    color: #fff;
    /* justify-content: center; */
    box-shadow: 0px 4px 10px rgb(255 249 237);
}

.business-logo {
    width: 60px;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
}

.business-name {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    font-family: "Montserrat";
    margin-bottom: 0px !important;
}

.metrics-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
        flex-wrap: wrap;
    justify-content: center;
}

.metric-card {

    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
}

.metric-icon {
    font-size: 30px;
}

.woocommerce-MyAccount-content .metric-content h3 {
    margin: 5px 0;
    font-size: 22px;
    color: #222;
}

.woocommerce-MyAccount-content .metric-content p {
    font-size: 14px;
    color: #777;
}
.ad-card {
   width: 100%;
    display: flex;
    margin: 10px;
    gap: 10px;
    justify-content: center;
    background: #fff9df;
    align-items: center;
    padding: 5px;
}

.woocommerce-MyAccount-content .ad-card h3{
   font-size: 20px;
  margin: 0;
  color: black;
}

.payment-section .metric-card {
    width:100%;
    display:flex;
        gap: 10px;
            align-items: center;
}

.woocommerce-MyAccount-content .payment-section h2 {

        color: #029aa7;
    margin-top: 0px;
    font-weight: 500;
    font-size: 20px;


}

.woocommerce-MyAccount-content .payment-section .metric-content h3 {
    margin: 5px 0;
    font-size: 18px;
    color: #222;
}

.metric-content {
    display: flex;
  flex-direction: column;
  margin: auto;
}


.improvement-suggest {
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;

}
.improvement-header {
        display: flex;
    gap: 10px;
}


.improvement-icon {
}

.woocommerce-MyAccount-content .improvement-suggest h3 {
    margin: 0;
    font-weight: 500;
    color: #333;
    font-size: 18px;
}
    

.improvement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.woocommerce-MyAccount-content .improvement-content p {
    font-size: 14px;
    color: #555;
}

.improvement-action {
    padding: 0px 10px;
    background-color: #ff2e5e; /* green button #4ac769 */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
        display: inline-block;
        height: 30px;

}
.corrected-action {
       background-color: #4ac769; /* green button #4ac769 */
}




.woocommerce-MyAccount-content .stats-section-dahsboard img{
    margin:auto;
    width:300px;
}

.woocommerce-MyAccount-content .stats-section-dahsboard  h3 {
    color: #019aa7;
    margin: 10px 0;

}

.conversion-progress-bar {
  width: 100%;
    height: 30px;
    background-color: #f0f0f0;
    margin: 5px 0;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50; /* Green for positive */
}
.conversion-rate {
    display: block;
}

.button-dashboard {
        width: 100%;
    padding: 10px;
    margin: 10px auto;
    background: linear-gradient(90deg, #ffe6b678, #ffacbf6b);
    border: 0;
    color: #2f2f2f;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
        box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.woocommerce-MyAccount-content .button-dashboard span {
    font-size:20px;
}

.improvement-content .desc-stats {
        font-size: 14px;
    margin: 5px;
}


.revenue-stats-dashboard {
    margin-bottom:30px;
}




.link-pro-center {
    margin: 5px auto;
    text-align: center;
    font-size: 12px;
}

.visitors-card {
    width:93%; 
    margin:10px auto;
    margin-top:20px;
}


/* Styling the navigation list */
.woocommerce-MyAccount-navigation .account-navigation-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation .account-navigation-item {
    display: block;
    margin-bottom: 15px;
}

.woocommerce-MyAccount-navigation .account-navigation-item a {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 15px;
    transition: background-color 0.3s;
}

/* Hover effect for the tiles */
.woocommerce-MyAccount-navigation .account-navigation-item a:hover {
    background-color: #f9f9f9; /* Change color on hover */
    text-decoration:none !important;
}

.woocommerce-MyAccount-navigation .account-navigation-item .label {
    flex-grow: 1;
    text-align: left;
    padding-left: 10px;
}


.woocommerce-MyAccount-navigation .account-navigation-item .icon-right {
    width: 24px; /* Icon size */
    height: 24px; /* Icon size */
    display: inline-block;
    padding-left: 10px;
}

.woocommerce-MyAccount-navigation .account-navigation-item .icon-left{
    width: 24px; /* Icon size */
    height: 24px; /* Icon size */
    display: inline-block;
}




/* Optionally, add hover effect for icons */
.woocommerce-MyAccount-navigation .account-navigation-item a:hover span {
    color: #00c5d9; /* Change icon color on hover */
    
}

.woocommerce-account .woocommerce-MyAccount-navigation li{
  padding:0;
}


.wp-element-button[type="submit"] {
    margin: 10px auto;
    text-align: center;
  display: flex;
}


.woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation {

  padding: 15px;
}







.account-navigation-item[data-endpoint="downloads"] {
    display:none;
}
.account-navigation-item[data-endpoint="mes-favoris"] .icon-left::before {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:#616161;
}

.account-navigation-item[data-endpoint="wlfmc-wishlist"] .icon-left::before {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:#616161;
}

.account-navigation-item[data-endpoint="customer-logout"] .icon-left::before {
    content: "\f011";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:#616161;
}



.account-navigation-item[data-endpoint="edit-address"] .icon-left::before {
    content: "\f2bb";
    font-family: "Font Awesome 5 Free";
    font-weight: 900 ;
    color:#616161;
}

.account-navigation-item[data-endpoint="edit-address"] {
    display:none;
}

.account-navigation-item[data-endpoint="edit-account"] .icon-left::before {
    content: "\f013";
    font-family: "Font Awesome 5 Free";
    font-weight: 900 ;
    color:#616161;
}

   /* Pro account center editor */
.activityz-pro-layout {
  align-items: flex-start;
}

.activityz-center-panel {
  background: linear-gradient(160deg, #fffef9 0%, #fff6e6 100%);
  border: 1px solid #f2dfbe;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(87, 59, 17, 0.08);
}

.activityz-center-headline h2 {
  margin: 0;
  font-size: 30px;
  color: #2d2213;
}

.activityz-center-headline p {
  margin: 8px 0 0;
  color: #6f5834;
}

.activityz-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
}

.activityz-notice-success {
  background: #ebfaf0;
  border: 1px solid #bcebc9;
  color: #1c6f36;
}

.activityz-notice-error {
  background: #fff1f1;
  border: 1px solid #f7c4c4;
  color: #9a1e1e;
}

.activityz-form-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.activityz-form-card {
  background: #ffffff;
  border: 1px solid #f0e4d0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(120,80,20,0.05);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.activityz-form-card:hover {
  box-shadow: 0 6px 22px rgba(120,80,20,0.10);
  border-color: #e8d4b5;
}

.activityz-form-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #33240e;
}

.activityz-form-card label {
  margin-top: 10px;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
  color: #493617;
}

.activityz-form-card input,
.activityz-form-card textarea,
.activityz-form-card select {
  width: 100%;
  border: 1px solid #ddceb5;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.activityz-form-card input:focus,
.activityz-form-card textarea:focus,
.activityz-form-card select:focus {
  outline: none;
  border-color: #ffa835;
  box-shadow: 0 0 0 3px rgba(255,168,53,0.13);
}

.activityz-form-card textarea {
  resize: vertical;
}

.activityz-presentation-field {
  min-height: 220px;
}

.activityz-horaires-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.activityz-horaires-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 8px;
  align-items: start;
}

.activityz-day-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activityz-hour-slot {
  display: grid;
  grid-template-columns: 64px auto 64px 32px;
  align-items: center;
  gap: 6px;
}

.activityz-hour-slot input[type="number"] {
  width: 64px;
  max-width: 64px;
  text-align: center;
  padding: 8px 6px;
}

.activityz-add-slot {
  border: 1px dashed #d9bc8f;
  border-radius: 8px;
  background: #fff8ec;
  color: #7b5626;
  cursor: pointer;
  font-weight: 700;
  height: 38px;
}

.activityz-remove-slot {
  border: 0;
  border-radius: 8px;
  background: #ffe8e8;
  color: #932727;
  cursor: pointer;
  height: 32px;
}

.activityz-day-label {
  font-weight: 700;
  color: #5e4420;
  font-size: 13px;
}

.activityz-tarif-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 170px) 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.activityz-tarif-title-input {
  min-width: 0;
}

.activityz-tarif-price-input {
  width: 100%;
  max-width: 170px;
}

.activityz-tarif-group {
  border: 1px solid #f0dfc2;
  background: #fffdf9;
  border-radius: 10px;
  padding: 14px 10px 10px;
  margin-bottom: 12px;
  position: relative;
}

.activityz-tarif-group-head {
  display: block;
  margin-bottom: 10px;
}

.activityz-tarif-group-head input[type="text"] {
  font-weight: 700;
  width: 100%;
}

.activityz-tarif-group-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activityz-tarif-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.activityz-add-row-btn {
  border: 1px dashed #d3b98f;
  border-radius: 9px;
  background: #fff8ee;
  color: #7c5624;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}

.activityz-add-group-btn {
  border-style: solid;
  border-color: #03c5d9;
  background: #e8fbff;
  color: #056a73;
}

.activityz-remove-row {
  border: 0;
  border-radius: 50%;
  background: #ffe8e8;
  color: #912f2f;
  font-weight: 700;
  cursor: pointer;
  width: 34px;
  height: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.activityz-remove-group {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border: 1px solid #e6b7b7;
  border-radius: 50%;
  background: #fff;
  color: #b13a3a;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Gallery ─────────────────────────────────────────── */
.activityz-gallery-section {
  margin-top: 16px;
}

.activityz-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.activityz-label-text {
  font-weight: 600;
  color: #493617;
  font-size: 14px;
}

.activityz-gallery-badge {
  background: #fff3e0;
  border: 1px solid #f0d4a8;
  color: #7a4e1a;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.activityz-gallery-badge.is-full {
  background: #ffeaea;
  border-color: #f5b8b8;
  color: #8a2525;
}

.activityz-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

/* Pop-in animation for new items */
@keyframes activityz-pop-in {
  0%   { opacity: 0; transform: scale(0.75); }
  70%  { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.activityz-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  animation: activityz-pop-in 0.28s cubic-bezier(0.34,1.56,0.64,1) both;
}

.activityz-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.activityz-gallery-item:hover .activityz-gallery-thumb {
  transform: scale(1.07);
}

/* ── Delete overlay: mobile-first ────────────────────────
   Touch: overlay always visible (transparent bg), button
   pinned to the top-right corner — always tappable.
   Desktop (pointer/hover): full dark overlay on hover with
   centered trash icon, matching the original feel.
──────────────────────────────────────────────────────── */

/* Default (mobile): transparent overlay, button in corner */
.activityz-gallery-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 1;
  pointer-events: none;
  transition: background 0.22s ease;
}

/* Delete button: corner pill, always visible on touch */
.activityz-delete-image-btn {
  pointer-events: all;
  margin: 5px;
  background: rgba(18,10,2,0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* Desktop — restore full hover-overlay behaviour */
@media (hover: hover) and (pointer: fine) {
  .activityz-gallery-overlay {
    background: rgba(25,15,3,0.50);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: all;
    transition: opacity 0.22s ease;
  }

  .activityz-gallery-item:hover .activityz-gallery-overlay {
    opacity: 1;
  }

  .activityz-delete-image-btn {
    margin: 0;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.85);
    width: 38px;
    height: 38px;
  }

  .activityz-delete-image-btn:hover {
    background: rgba(210,40,40,0.72);
    transform: scale(1.12);
  }
}

/* Deleting state — full spinner overlay on all devices */
.activityz-gallery-item--deleting .activityz-gallery-overlay {
  opacity: 1;
  background: rgba(15,10,2,0.65) !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: all !important;
}

.activityz-gallery-item--deleting .activityz-delete-image-btn {
  visibility: hidden;
}

@keyframes activityz-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.activityz-gallery-item--deleting::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border: 2.5px solid rgba(255,255,255,0.22);
  border-top-color: #fff;
  border-radius: 50%;
  animation: activityz-spin 0.7s linear infinite;
}

/* Uploading state — orange spinner, dimmed thumb */
.activityz-gallery-item--uploading .activityz-gallery-thumb {
  opacity: 0.40;
}

.activityz-gallery-item--uploading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: #ffa835;
  border-radius: 50%;
  animation: activityz-spin 0.7s linear infinite;
}

/* Fade-out on removal */
.activityz-gallery-item--removing {
  transition: opacity 0.28s ease, transform 0.28s ease !important;
  opacity: 0 !important;
  transform: scale(0.8) !important;
  pointer-events: none;
}

/* New/pending items — orange bottom badge */
.activityz-gallery-item--new::before {
  content: 'Nouveau';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ffa835, #ff5a2f);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

/* Hidden file input */
.activityz-file-hidden {
  display: none !important;
}

/* Upload area (styled label) */
.activityz-upload-area {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px dashed #d3b98f;
  border-radius: 12px;
  background: #fffaf3;
  color: #7a5626;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, opacity 0.18s;
  user-select: none;
}

.activityz-upload-area:hover {
  border-color: #ffa835;
  background: #fff6e6;
}

.activityz-upload-area.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}


/* Logo section */
.activityz-logo-section {
  padding-bottom: 16px;
  border-bottom: 1px solid #f0e4d0;
  margin-bottom: 16px;
}

.activityz-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.activityz-logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1ddb8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.activityz-logo-change-btn {
  border: 1.5px solid #f0d4a8;
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #7a5320;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.activityz-logo-change-btn:hover {
  border-color: #ffa835;
  background: #fff7ed;
}

.activityz-form-actions {
  margin-top: 18px;
}

.activityz-save-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: linear-gradient(90deg, #ffa835 0%, #ff5a2f 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.activityz-save-btn:hover {
  opacity: 0.92;
}

.activityz-muted {
  color: #775f3a;
  font-size: 13px;
}

.activityz-logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1ddb8;
}

.activityz-premium-rail {
  margin-top: 22px;
  background: #1d1c1a;
  border-radius: 16px;
  color: #fff;
  padding: 22px;
}

.activityz-premium-rail h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.activityz-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.activityz-premium-card {
  border-radius: 12px;
  background: linear-gradient(180deg, #2d2b28 0%, #1f1e1b 100%);
  border: 1px solid #3f3c38;
  padding: 14px;
}

.activityz-premium-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.activityz-premium-card p {
  font-size: 13px;
  color: #d2cfc9;
  min-height: 48px;
}

.activityz-premium-btn {
  background: #fff;
  color: #1f1e1b;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .woocommerce-MyAccount-global-container {
    margin: 0;
    gap: 12px;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 10px;
  }

  .activityz-center-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .activityz-form-grid {
    grid-template-columns: 1fr;
  }

  .activityz-horaires-row {
    grid-template-columns: 1fr;
  }

  .activityz-hour-slot {
    grid-template-columns: 1fr auto 1fr 32px;
  }

  .activityz-tarif-row {
    grid-template-columns: minmax(0, 1fr) 36px;
    grid-template-areas:
      "title title"
      "price remove";
    gap: 6px;
    align-items: end;
  }

  .activityz-tarif-title-input {
    grid-area: title;
  }

  .activityz-tarif-price-input {
    grid-area: price;
    max-width: 150px;
  }

  .activityz-remove-row {
    grid-area: remove;
    width: 32px;
    height: 32px;
    justify-self: end;
  }

  .activityz-tarif-actions {
    flex-direction: column;
  }

  .activityz-premium-grid {
    grid-template-columns: 1fr;
  }
}