/* ==========================================================================
   AquaFlow Products v2 - Stylesheet
   ========================================================================== */

.aqf-wrapper {
    font-family: inherit;
    color: #1a1a1a;
    box-sizing: border-box;
}
.aqf-wrapper *, .aqf-wrapper *::before, .aqf-wrapper *::after { box-sizing: border-box; }

/* Loading spinner */
.aqf-products-area { position: relative; min-height: 100px; }
.aqf-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 5;
}
.aqf-loading::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #d9d4c7;
    border-top-color: #5a3a1a;
    border-radius: 50%;
    animation: aqf-spin 0.8s linear infinite;
    z-index: 6;
}
@keyframes aqf-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Product Grid + Card
   ========================================================================== */
.aqf-products-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.aqf-product-card {
    display: flex;
    flex-direction: column;
}
.aqf-product-image {
    display: block;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #f0ebe0;
}
.aqf-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.aqf-product-card:hover .aqf-product-image img { transform: scale(1.03); }
.aqf-product-info { padding-top: 14px; }
.aqf-product-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.aqf-product-title a { color: inherit; text-decoration: none; }
.aqf-product-model {
    font-size: 14px;
    color: #5a5a5a;
    display: flex;
    gap: 10px;
    align-items: center;
}
.aqf-model-label { font-weight: 400; }
.aqf-model-value { font-weight: 600; color: #1a1a1a; }

/* ==========================================================================
   Sort Bar
   ========================================================================== */
.aqf-sort-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}
.aqf-sort-label { font-size: 15px; color: #1a1a1a; }
.aqf-select-wrapper { position: relative; display: inline-block; }
.aqf-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #d9d4c7;
    background: transparent;
    padding: 8px 36px 8px 14px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    min-width: 160px;
    color: inherit;
    font-family: inherit;
}
.aqf-select-wrapper > i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #5a5a5a;
}

/* ==========================================================================
   Sub-Categories Scroll Bar
   ========================================================================== */
.aqf-subcategories-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 40px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.aqf-subcategories-scroll::-webkit-scrollbar { height: 4px; }
.aqf-subcategories-scroll::-webkit-scrollbar-thumb { background: #d9d4c7; border-radius: 2px; }

.aqf-subcategories-inner {
    display: flex;
    gap: 40px;
    padding: 5px 0;
    min-width: max-content;
    justify-content: flex-start;
}
.aqf-subcat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.2s ease;
}
.aqf-subcat-item:hover { transform: translateY(-2px); }
.aqf-subcat-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0ebe0;
    display: block;
}
.aqf-subcat-item span {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 400;
    max-width: 120px;
    word-wrap: break-word;
    line-height: 1.3;
}

/* ==========================================================================
   Main Layout: Filters + Content
   ========================================================================== */
.aqf-main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* No filters mode → full width */
.aqf-no-filters-mode .aqf-main-layout {
    grid-template-columns: 1fr;
    gap: 0;
}

.aqf-filters-sidebar {
    border: 1px solid #d9d4c7;
    border-radius: 6px;
    background: transparent;
    overflow: hidden;
}

.aqf-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #d9d4c7;
}
.aqf-filters-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}
.aqf-clear-filters {
    background: none;
    border: none;
    cursor: pointer;
    color: #5a5a5a;
    font-size: 14px;
    padding: 4px 0;
    font-family: inherit;
}
.aqf-clear-filters:hover { color: #5a3a1a; text-decoration: underline; }

.aqf-filter-group {
    padding: 18px 20px;
    border-bottom: 1px solid #d9d4c7;
}
.aqf-filter-group:last-child { border-bottom: none; }

.aqf-filter-toggle {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    font-family: inherit;
}
.aqf-filter-toggle i {
    font-size: 12px;
    transition: transform 0.2s ease;
}
.aqf-filter-toggle.collapsed i { transform: rotate(180deg); }

.aqf-filter-label-static {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.aqf-filter-options {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Checkbox */
.aqf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    user-select: none;
}
.aqf-filter-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.aqf-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #b8b3a6;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    transition: all 0.2s;
    position: relative;
}
.aqf-filter-check:checked + .aqf-checkbox-custom {
    background: #5a3a1a;
    border-color: #5a3a1a;
}
.aqf-filter-check:checked + .aqf-checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}
.aqf-checkbox-text { line-height: 1.4; }
.aqf-filter-check:checked ~ .aqf-checkbox-text { font-weight: 600; }

/* Button-style filter */
.aqf-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.aqf-btn-filter {
    background: transparent;
    border: 1px solid #b8b3a6;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a1a;
    font-family: inherit;
    transition: all 0.2s;
}
.aqf-btn-filter:hover { background: rgba(90, 58, 26, 0.05); }
.aqf-btn-filter.active {
    background: #5a3a1a;
    border-color: #5a3a1a;
    color: #fff;
}

/* Model select inside filter */
.aqf-filter-model .aqf-select-wrapper { display: block; }
.aqf-filter-model select {
    width: 100%;
    border: 1px solid #d9d4c7;
    background: transparent;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.aqf-pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.aqf-page-info { font-size: 14px; color: #5a5a5a; }
.aqf-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.aqf-page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #d9d4c7;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: all 0.2s;
}
.aqf-page-btn:hover:not(:disabled):not(.active) { background: rgba(90, 58, 26, 0.05); }
.aqf-page-btn.active {
    background: #5a3a1a;
    border-color: #5a3a1a;
    color: #fff;
    font-weight: 600;
}
.aqf-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.aqf-page-dots { padding: 0 4px; color: #5a5a5a; }

/* No products */
.aqf-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #5a5a5a;
    font-size: 16px;
}

/* ==========================================================================
   IMPORTANT: Mobile drawer hidden on desktop completely
   ========================================================================== */
.aqf-mobile-filter-toggle,
.aqf-mobile-back,
.aqf-mobile-apply-wrap {
    display: none !important;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.aqf-single-product { }

.aqf-single-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: start;
}

/* Gallery */
.aqf-gallery-area { }
.aqf-main-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f0ebe0;
    margin-bottom: 12px;
}
.aqf-main-image-slider { position: relative; height: 100%; }
.aqf-main-image {
    display: none;
    height: 500px;
    position: relative;
}
.aqf-main-image.active { display: block; }
.aqf-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image overlay action icons (top-right on first image) */
.aqf-image-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

/* Action icon button (used in image + info card) */
.aqf-action-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e8e3d6;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 16px;
    padding: 0;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}
.aqf-action-btn i {
    color: inherit;
    font-size: 16px;
    line-height: 1;
}
.aqf-action-btn:hover {
    background: #f5f0e5;
    transform: translateY(-1px);
}

/* Gallery arrows */
.aqf-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #1a1a1a;
    font-size: 16px;
    padding: 0;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}
.aqf-gallery-arrow i { font-size: 16px; line-height: 1; }
.aqf-gallery-arrow:hover { background: #f5f0e5; }
.aqf-arrow-prev { left: 15px; }
.aqf-arrow-next { right: 15px; }

.aqf-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.aqf-thumb {
    height: 100px;
    overflow: hidden;
    cursor: pointer;
    background: #f0ebe0;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.aqf-thumb.active { border-color: #5a3a1a; }
.aqf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Card */
.aqf-info-card {
    background: #fff;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    align-self: start;
}
.aqf-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}
.aqf-info-titles { flex: 1; min-width: 0; }
.aqf-info-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1a1a1a;
    line-height: 1.2;
}
.aqf-info-model {
    font-size: 15px;
    color: #5a5a5a;
}
.aqf-info-model strong { color: #5a5a5a; font-weight: 500; }
.aqf-info-model .aqf-model-val {
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 4px;
}

.aqf-info-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.aqf-info-actions .aqf-action-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
}
.aqf-info-actions .aqf-action-btn i { font-size: 14px; }

.aqf-info-description {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e8e3d6;
}
.aqf-info-description p { margin: 0; color: inherit; }

.aqf-key-features { margin-bottom: 26px; }
.aqf-features-heading {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 18px 0;
    color: #1a1a1a;
}
.aqf-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
}
.aqf-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* IMPORTANT: feature icon circle */
.aqf-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid #d9d4c7;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    flex-shrink: 0;
    font-size: 14px;
    background: transparent;
    line-height: 1;
}
.aqf-feature-icon i {
    font-size: 14px;
    line-height: 1;
    color: inherit;
}
.aqf-feature-body { flex: 1; min-width: 0; }
.aqf-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1.3;
}
.aqf-feature-text {
    font-size: 12px;
    color: #5a5a5a;
    line-height: 1.4;
}

.aqf-info-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* IMPORTANT: full-width buttons with proper icon alignment */
.aqf-btn-where, .aqf-btn-inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
}
.aqf-btn-where i, .aqf-btn-inquiry i {
    font-size: 14px;
    line-height: 1;
    color: inherit;
}
.aqf-btn-where {
    background: #5a3a1a;
    color: #fff;
    border-color: #5a3a1a;
}
.aqf-btn-where:hover { background: #6b4520; }
.aqf-btn-inquiry {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}
.aqf-btn-inquiry:hover { background: #1a1a1a; color: #fff; }
.aqf-btn-inquiry:hover i { color: #fff; }

/* Bottom: Accordion + Related */
.aqf-single-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.aqf-accordions { }
.aqf-accordion-item { border-bottom: 1px solid #d9d4c7; }

/* IMPORTANT: accordion toggle - text + icon on opposite ends, NO box */
.aqf-acc-toggle {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    font-family: inherit;
    line-height: 1.2;
}
.aqf-acc-toggle span { color: inherit; flex: 1; }
.aqf-acc-toggle i {
    font-size: 14px;
    color: inherit;
    margin-left: 12px;
    line-height: 1;
}

.aqf-acc-content {
    padding: 0 0 24px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a5a;
}
.aqf-acc-content p { margin: 0 0 12px 0; color: inherit; }
.aqf-acc-content p:last-child { margin: 0; }

.aqf-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.aqf-specs-table th, .aqf-specs-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e8e3d6;
    font-size: 14px;
}
.aqf-specs-table th { font-weight: 600; color: #1a1a1a; width: 40%; }
.aqf-specs-table td { color: #5a5a5a; }

.aqf-download-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #5a3a1a;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e8e3d6;
}
.aqf-download-link i { font-size: 14px; color: inherit; }
.aqf-download-link:last-child { border-bottom: none; }
.aqf-download-link:hover { text-decoration: underline; }

/* Related */
.aqf-related-section { }
.aqf-related-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #1a1a1a;
    line-height: 1.2;
}
.aqf-related-slider { overflow: hidden; }
.aqf-related-track { position: relative; }
.aqf-related-slide { display: none; }
.aqf-related-slide.active { display: block; }

.aqf-related-image {
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #f0ebe0;
    text-decoration: none;
}
.aqf-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aqf-related-controls-inline {
    position: relative;
    margin-top: -50px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 2;
}
.aqf-related-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.aqf-related-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d4c7;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 0;
}
.aqf-related-dot.active {
    background: #5a3a1a;
    width: 24px;
    border-radius: 4px;
}
.aqf-related-arrows {
    display: flex;
    gap: 10px;
}
.aqf-related-nav-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid #1a1a1a;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 13px;
    padding: 0;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}
.aqf-related-nav-btn i {
    font-size: 13px;
    color: inherit;
    line-height: 1;
}
.aqf-related-nav-btn:hover {
    background: #5a3a1a;
    color: #fff;
    border-color: #5a3a1a;
}
.aqf-related-nav-btn:hover i { color: #fff; }

.aqf-related-info { padding-top: 10px; }
.aqf-related-name {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 6px 0;
    color: #1a1a1a;
}
.aqf-related-name a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Responsive: Tablet
   ========================================================================== */
@media (max-width: 1024px) {
    .aqf-main-layout { grid-template-columns: 240px 1fr; gap: 30px; }
    .aqf-single-top { grid-template-columns: 1fr; gap: 40px; }
    .aqf-single-bottom { grid-template-columns: 1fr; gap: 40px; }
    .aqf-info-card { padding: 26px; }
}

/* ==========================================================================
   Responsive: Mobile
   ========================================================================== */
@media (max-width: 768px) {
    .aqf-products-grid { grid-template-columns: 1fr !important; }

    .aqf-main-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* SHOW the mobile toggle + back + apply on mobile */
    .aqf-mobile-filter-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        background: transparent;
        border: 1px solid #d9d4c7;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        color: #1a1a1a;
        font-family: inherit;
        margin-bottom: 0;
        align-self: flex-start;
        order: -1;
    }

    /* Hide the desktop sidebar by default on mobile, show as drawer when open */
    .aqf-filters-sidebar {
        display: none;
        position: fixed !important;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 99999;
        background: #f5f0e5;
        border-radius: 0;
        border: none;
        overflow-y: auto;
        padding-bottom: 100px;
    }
    .aqf-filters-sidebar.aqf-mobile-open {
        display: block;
    }

    .aqf-mobile-back {
        display: block !important;
        padding: 16px 20px;
        border-bottom: 1px solid #d9d4c7;
    }
    .aqf-mobile-back-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        color: #1a1a1a;
        font-family: inherit;
        padding: 0;
    }
    .aqf-mobile-back-btn i { font-size: 16px; }

    .aqf-mobile-apply-wrap {
        display: block !important;
        position: sticky;
        bottom: 0;
        background: #f5f0e5;
        padding: 20px;
        margin-top: 20px;
    }
    .aqf-apply-filter {
        width: 100%;
        padding: 14px;
        background: #5a3a1a;
        color: #fff;
        border: none;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1px;
        cursor: pointer;
        border-radius: 2px;
        font-family: inherit;
    }

    .aqf-sort-bar { justify-content: flex-start; flex-wrap: wrap; }
    .aqf-product-image { height: 380px; }

    /* Single product mobile */
    .aqf-info-title { font-size: 24px; }
    .aqf-features-grid { grid-template-columns: 1fr; }
    .aqf-info-card { padding: 22px; }
    .aqf-main-image { height: 380px; }
    .aqf-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .aqf-thumb { height: 65px; }
    .aqf-gallery-arrow { width: 36px; height: 36px; }
    .aqf-info-header { flex-direction: column; gap: 14px; align-items: flex-start; }
    .aqf-info-actions { align-self: flex-start; }

    .aqf-related-title { font-size: 22px; }
    .aqf-related-image { height: 300px; }
    .aqf-related-controls-inline { padding: 0 14px; margin-top: -45px; }
    .aqf-related-nav-btn { width: 40px; height: 40px; }

    .aqf-pagination-wrapper {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
    }
    .aqf-pagination { justify-content: center; }
    .aqf-page-info { text-align: left; }

    .aqf-subcategories-inner { gap: 24px; }
    .aqf-subcat-item img { width: 80px; height: 80px; }
    .aqf-subcat-item span { font-size: 12px; max-width: 90px; }
}

@media (max-width: 480px) {
    .aqf-product-image { height: 320px; }
    .aqf-main-image { height: 280px; }
    .aqf-page-btn { width: 32px; height: 32px; font-size: 13px; }
    .aqf-acc-toggle { font-size: 18px; padding: 18px 0; }
}

/* ==========================================================================
   CATALOGUE WIDGET
   ========================================================================== */
.aqf-catalogue-wrapper { }

/* Top: search + tabs */
.aqf-cat-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.aqf-cat-search {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}
.aqf-cat-search-input {
    flex: 1;
    border: none;
    background: #f5f0e5;
    padding: 14px 18px;
    font-size: 15px;
    color: #1a1a1a;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
    outline: none;
}
.aqf-cat-search-input::placeholder { color: #9a9489; }
.aqf-cat-search-btn {
    background: #5a3a1a;
    border: none;
    width: 54px;
    cursor: pointer;
    color: #fff;
    border-radius: 0 4px 4px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.aqf-cat-search-btn i { color: #fff; }

.aqf-cat-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.aqf-cat-tab {
    background: transparent;
    border: 1px solid #d9d4c7;
    padding: 9px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}
.aqf-cat-tab:hover { background: rgba(90, 58, 26, 0.05); }
.aqf-cat-tab.active {
    border-color: #1a1a1a;
    border-width: 1.5px;
    font-weight: 600;
}

/* Featured grid */
.aqf-cat-featured-area { position: relative; }
.aqf-cat-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Card (shared) */
.aqf-cat-card {
    background: #fff;
    border: 1px solid #e8e3d6;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.aqf-cat-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0ebe0;
}
.aqf-cat-featured .aqf-cat-image { height: 280px; }
.aqf-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.aqf-cat-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.aqf-cat-label {
    font-size: 12px;
    letter-spacing: 1px;
    color: #8a8a8a;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.aqf-cat-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    line-height: 1.25;
}
.aqf-cat-card:not(.aqf-cat-featured) .aqf-cat-title { font-size: 18px; }
.aqf-cat-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0 0 20px 0;
}

/* Meta */
.aqf-cat-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.aqf-cat-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.aqf-cat-meta-label {
    font-size: 13px;
    color: #8a8a8a;
}
.aqf-cat-meta-value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Actions */
.aqf-cat-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.aqf-cat-download {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: #5a3a1a;
    color: #fff;
    border: 1.5px solid #5a3a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
}
.aqf-cat-download i { color: #fff; font-size: 14px; }
.aqf-cat-download:hover { background: #6b4520; }

.aqf-cat-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #d9d4c7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
}
.aqf-cat-preview i { color: inherit; font-size: 14px; }
.aqf-cat-preview:hover { background: #f5f0e5; }

/* Grid section */
.aqf-cat-grid-section {
    background: #f5f0e5;
    margin: 0 -9999px;
    padding: 50px 9999px;
}
.aqf-cat-section-heading {
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1a1a1a;
    line-height: 1.1;
}
.aqf-cat-section-sub {
    font-size: 15px;
    color: #5a5a5a;
    margin: 0 0 30px 0;
}
.aqf-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* See more */
.aqf-cat-see-more-wrap {
    text-align: center;
    margin-top: 40px;
}
.aqf-cat-see-more {
    background: transparent;
    border: 1.5px solid #1a1a1a;
    padding: 13px 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a1a;
    cursor: pointer;
    border-radius: 2px;
    font-family: inherit;
    transition: all 0.2s;
}
.aqf-cat-see-more:hover { background: #1a1a1a; color: #fff; }

/* Catalogue responsive */
@media (max-width: 1024px) {
    .aqf-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .aqf-cat-top { flex-direction: column; align-items: stretch; }
    .aqf-cat-search { max-width: 100%; }
    .aqf-cat-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
    .aqf-cat-featured-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
    .aqf-cat-grid { grid-template-columns: 1fr; }
    .aqf-cat-section-heading { font-size: 30px; }
    .aqf-cat-grid-section { padding-left: 9999px; padding-right: 9999px; }
    .aqf-cat-featured .aqf-cat-image { height: 240px; }
    .aqf-cat-actions { flex-direction: row; }
}
@media (max-width: 480px) {
    .aqf-cat-actions { flex-direction: column; }
    .aqf-cat-meta { gap: 24px; }
}

/* ==========================================================================
   NAV WIDGET
   ========================================================================== */
.aqf-nav-wrapper { width: 100%; }

/* Desktop layout */
.aqf-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.aqf-nav-menu-wrap { flex: 1; }

/* Menu list */
.aqf-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.aqf-nav-menu li { position: relative; margin: 0; }
.aqf-nav-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    padding: 6px 0;
    transition: color 0.2s;
}
.aqf-nav-menu > li > a:hover,
.aqf-nav-menu > li.current-menu-item > a { color: #d9c5a8; }

/* Dropdown */
.aqf-nav-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
    z-index: 999;
    border-radius: 4px;
}
.aqf-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aqf-nav-menu .sub-menu li { display: block; }
.aqf-nav-menu .sub-menu a {
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.15s;
}
.aqf-nav-menu .sub-menu a:hover { background: rgba(90,58,26,0.06); }

/* Right side: search + button */
.aqf-nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

/* Search bar (glass) */
.aqf-nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 180px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: all 0.2s;
}
.aqf-nav-search-icon {
    color: #fff;
    font-size: 13px;
    display: inline-flex;
    flex-shrink: 0;
}
.aqf-nav-search-icon i { color: inherit; }
.aqf-nav-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
    font-family: inherit;
    letter-spacing: 0.5px;
}
.aqf-nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Button */
.aqf-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1a1a1a;
    border: 1.5px solid #fff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.aqf-nav-button:hover { background: #5a3a1a; color: #fff; border-color: #5a3a1a; }

/* Hamburger toggle */
.aqf-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    padding: 4px 8px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}
.aqf-nav-toggle i { color: inherit; }

/* Mobile drawer */
.aqf-nav-drawer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #f5f0e5;
    z-index: 999999;
    display: none;
    flex-direction: column;
    padding: 24px 22px 40px;
    overflow-y: auto;
}
.aqf-nav-drawer.aqf-drawer-open { display: flex; }

.aqf-drawer-header { margin-bottom: 22px; }
.aqf-drawer-back {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-family: inherit;
}
.aqf-drawer-back i { color: inherit; font-size: 18px; }

/* Drawer search */
.aqf-drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #d9d4c7;
    border-radius: 6px;
    margin-bottom: 20px;
}
.aqf-drawer-search .aqf-nav-search-icon { color: #5a5a5a; }
.aqf-drawer-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #1a1a1a;
    font-size: 15px;
    width: 100%;
    font-family: inherit;
}
.aqf-drawer-search input::placeholder { color: #9a9489; }

/* Drawer menu */
.aqf-drawer-nav { flex: 1; }
.aqf-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.aqf-drawer-menu li {
    border-bottom: 1px solid #d9d4c7;
}
.aqf-drawer-menu li:first-child {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.aqf-drawer-menu > li > a {
    display: block;
    position: relative;
    padding: 20px 18px;
    color: #333333;
    text-decoration: none;
    font-size: 19px;
    font-weight: 400;
    transition: background 0.15s;
}
.aqf-drawer-menu > li.current-menu-item > a {
    background: rgba(90, 58, 26, 0.06);
    color: #1a1a1a;
    font-weight: 600;
}
.aqf-drawer-menu > li.current-menu-item > a::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #5a3a1a;
}
.aqf-drawer-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 18px;
}
.aqf-drawer-menu .sub-menu a {
    display: block;
    padding: 14px 18px;
    color: #5a5a5a;
    text-decoration: none;
    font-size: 16px;
}

/* Drawer button */
.aqf-drawer-button-wrap {
    margin-top: 30px;
}
.aqf-nav-drawer .aqf-nav-button {
    width: 100%;
    background: #5a3a1a;
    color: #fff;
    border-color: #5a3a1a;
    padding: 16px;
    font-size: 14px;
}
.aqf-nav-drawer .aqf-nav-button:hover { background: #6b4520; }

/* ==========================================================================
   BLOG WIDGET
   ========================================================================== */
.aqf-blog-wrapper { }

/* Grid */
.aqf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.aqf-blog-card {
    background: #fff;
    border: 1px solid #e8e3d6;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.aqf-blog-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0ebe0;
}
.aqf-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.aqf-blog-card:hover .aqf-blog-image img { transform: scale(1.03); }

.aqf-blog-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta row */
.aqf-blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 12px;
}
.aqf-blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.aqf-blog-meta-item i { font-size: 13px; color: inherit; }
.aqf-blog-meta-sep {
    width: 1px;
    height: 14px;
    background: #d9d4c7;
}

.aqf-blog-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.aqf-blog-title a { color: #1a1a1a; text-decoration: none; }

.aqf-blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0 0 18px 0;
    flex: 1;
}

.aqf-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: auto;
    transition: gap 0.2s;
}
.aqf-blog-readmore i { font-size: 12px; color: inherit; }
.aqf-blog-readmore:hover { gap: 12px; }

/* Bottom: pagination + see more */
.aqf-blog-bottom {
    margin-top: 30px;
}
.aqf-blog-see-more-wrap {
    text-align: center;
    margin-top: 30px;
}
.aqf-blog-see-more {
    background: #5a3a1a;
    border: 1.5px solid #5a3a1a;
    color: #fff;
    padding: 13px 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
    font-family: inherit;
    transition: all 0.2s;
}
.aqf-blog-see-more:hover { background: #6b4520; }

/* ==========================================================================
   FEATURED POSTS
   ========================================================================== */
.aqf-featured-section {
    margin-top: 70px;
}
.aqf-featured-heading {
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    padding-bottom: 24px;
    border-bottom: 1px solid #d9d4c7;
    line-height: 1.1;
}

.aqf-featured-list { }

.aqf-featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid #d9d4c7;
}
.aqf-featured-post:first-child { border-top: none; }

.aqf-featured-text { }
.aqf-featured-text .aqf-blog-meta { margin-bottom: 16px; }

.aqf-featured-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.3;
}
.aqf-featured-title a { color: #1a1a1a; text-decoration: none; }

.aqf-featured-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0 0 24px 0;
}

.aqf-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
    background: #5a3a1a;
    color: #fff;
    border: 1.5px solid #5a3a1a;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s;
    min-width: 180px;
}
.aqf-featured-btn i { font-size: 13px; color: inherit; }
.aqf-featured-btn:hover { background: #6b4520; }

.aqf-featured-image {
    display: block;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #f0ebe0;
}
.aqf-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blog responsive */
@media (max-width: 1024px) {
    .aqf-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .aqf-featured-post { gap: 30px; }
}
@media (max-width: 768px) {
    .aqf-blog-grid { grid-template-columns: 1fr; }
    .aqf-featured-heading { font-size: 30px; }
    .aqf-featured-post {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Mobile: text first, then image (jaisa mobile design me hai) */
    .aqf-featured-text { order: 1; }
    .aqf-featured-image { order: 2; height: 220px; }
    .aqf-featured-btn { min-width: auto; gap: 20px; }
}

/* ==========================================================================
   MEGA MENU
   ========================================================================== */
/* Caret */
.aqf-mega-caret {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.2s;
}
.aqf-mega-caret i { font-size: 10px; color: inherit; }

/* Desktop mega panel */
.aqf-nav-menu .aqf-has-mega {
    position: static; /* so full-width panel aligns to nav, not the li */
}
.aqf-mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 9990;
}
.aqf-mega-inner {
    padding: 30px;
}

/* The nav wrapper needs relative positioning so full-width panel anchors here */
.aqf-nav-wrapper { position: relative; }
.aqf-nav-desktop { position: static; }

/* HOVER trigger (default) */
.aqf-nav-wrapper[data-mega-trigger="hover"] .aqf-has-mega:hover > .aqf-mega-panel,
.aqf-mega-panel.aqf-mega-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aqf-nav-wrapper[data-mega-trigger="hover"] .aqf-has-mega:hover > a .aqf-mega-caret,
.aqf-has-mega.aqf-mega-active > a .aqf-mega-caret {
    transform: rotate(180deg);
}

/* Container-width variant: keep panel within content width */
.aqf-nav-wrapper[data-mega-width="container"] .aqf-mega-panel {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
    width: 100%;
}
.aqf-nav-wrapper[data-mega-width="container"] .aqf-has-mega:hover > .aqf-mega-panel,
.aqf-nav-wrapper[data-mega-width="container"] .aqf-mega-panel.aqf-mega-open {
    transform: translateX(-50%) translateY(0);
}

/* Auto-width variant: panel only as wide as content, aligned to item */
.aqf-nav-wrapper[data-mega-width="auto"] .aqf-has-mega { position: relative; }
.aqf-nav-wrapper[data-mega-width="auto"] .aqf-mega-panel {
    left: 0;
    right: auto;
    min-width: 280px;
    width: max-content;
    max-width: 90vw;
}

/* Hide the normal sub-menu when item has mega (mega replaces it) */
.aqf-nav-menu .aqf-has-mega > .sub-menu { display: none; }

/* ===== Mobile: mega panel becomes an accordion inside drawer ===== */
.aqf-nav-drawer .aqf-mega-panel-mobile {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    display: none;
    max-height: 0;
    overflow: hidden;
}
.aqf-nav-drawer .aqf-has-mega.aqf-mega-active > .aqf-mega-panel-mobile {
    display: block;
    max-height: none;
}
.aqf-nav-drawer .aqf-mega-panel-mobile .aqf-mega-inner {
    padding: 6px 18px 18px;
}
.aqf-nav-drawer .aqf-has-mega > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.aqf-nav-drawer .aqf-has-mega.aqf-mega-active > a .aqf-mega-caret {
    transform: rotate(180deg);
}

/* Make Elementor content inside mega behave on mobile */
.aqf-nav-drawer .aqf-mega-panel-mobile .elementor { width: 100%; }
