/* ============================================================
   Page Compact Modern Overrides
   Loaded at the end of each page (after inline styles / pushed
   styles) so these rules win the cascade.
   Pages: Products filter sidebar, Cart, Contact, Founder
   History, Catalogs. No logic/functionality changes.
   ============================================================ */

/* ---------- Shared: small page banner ---------- */
.page-banner-sm {
    padding: 22px 0;
}

.page-banner-sm h1 {
    font-size: 22px;
    gap: 9px;
}

.page-banner-sm .breadcrumbs {
    font-size: 12px;
    margin-top: 6px;
}

/* ============================================================
   PRODUCTS PAGE - FILTER SIDEBAR (desktop + mobile drawer)
   ============================================================ */
.shop-sidebar .sidebar-widget,
.mobile-filter-sidebar .sidebar-widget {
    padding: 12px 0;
    margin-bottom: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: transparent;
    box-shadow: none;
}

.shop-sidebar .sidebar-widget:last-child,
.mobile-filter-sidebar .sidebar-widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-sidebar .sidebar-widget:first-child,
.mobile-filter-sidebar .sidebar-widget:first-child {
    padding-top: 0;
}

.shop-sidebar .sidebar-widget h4,
.mobile-filter-sidebar .sidebar-widget h4 {
    font-size: 13.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    gap: 7px;
}

.shop-sidebar .sidebar-widget h4 i,
.mobile-filter-sidebar .sidebar-widget h4 i {
    font-size: 12px;
}

/* Search widget */
.shop-sidebar .sidebar-search-input,
.mobile-filter-sidebar .sidebar-search-input {
    padding: 8px 10px;
    font-size: 12.5px;
    border-radius: 8px;
}

.shop-sidebar .sidebar-search-btn,
.mobile-filter-sidebar .sidebar-search-btn {
    width: 34px;
    font-size: 12px;
    border-radius: 8px;
}

/* Category / quick-filter lists */
.shop-sidebar .category-list li,
.mobile-filter-sidebar .category-list li {
    margin-bottom: 2px;
}

.shop-sidebar .category-list a,
.mobile-filter-sidebar .category-list a {
    padding: 7px 10px;
    font-size: 12.5px;
    border-radius: 8px;
    gap: 6px;
}

.shop-sidebar .category-list a span,
.mobile-filter-sidebar .category-list a span {
    font-size: 10.5px;
    padding: 1px 7px;
    border-radius: 999px;
}

/* --- Subcategory hover / mobile accordion --- */
.filter-cat-item {
    position: relative;
    margin-bottom: 2px;
}

.filter-cat-link-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
}

.filter-cat-link-wrap > a {
    flex: 1;
}

.filter-subcat-toggle {
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    color: var(--gray-500, #6b7280);
    border-radius: 6px;
    transition: var(--transition, all 0.3s ease);
    line-height: 1;
}

.filter-subcat-toggle:hover {
    background: var(--gray-100, #f3f4f6);
    color: var(--primary, #7d3cff);
}

.filter-subcat-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.filter-cat-item.expanded .filter-subcat-toggle i {
    transform: rotate(180deg);
}

.filter-subcat-list {
    list-style: none;
    padding-left: 14px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.filter-cat-item.expanded .filter-subcat-list {
    max-height: 500px;
    opacity: 1;
    margin-top: 4px;
}

.filter-subcat-list li {
    margin: 0 0 2px;
}

.filter-subcat-list a {
    padding: 6px 10px;
    font-size: 12px;
    gap: 6px;
}

/* Desktop: fly-out hover menu */
@media (min-width: 769px) {
    .shop-sidebar .filter-cat-item .filter-subcat-list {
        position: absolute;
        top: -6px;
        left: calc(100% - 4px);
        min-width: 200px;
        max-width: 260px;
        max-height: 70vh;
        overflow-y: auto;
        background: var(--white, #ffffff);
        border-radius: var(--radius, 10px);
        box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,0.15));
        padding: 6px 0;
        z-index: 50;
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition: var(--transition, all 0.3s ease);
    }

    .shop-sidebar .filter-cat-item:hover > .filter-subcat-list,
    .shop-sidebar .filter-subcat-list:hover {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .shop-sidebar .filter-cat-item.expanded .filter-subcat-list {
        /* hover takes priority; but keep max-height for .expanded fallback */
        max-height: 70vh;
    }

    .shop-sidebar .filter-subcat-list {
        padding-left: 0;
    }

    .shop-sidebar .filter-subcat-list li {
        margin: 0;
    }

    .shop-sidebar .filter-subcat-list a {
        padding: 8px 14px;
        font-size: 12.5px;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-100, #f8f9fa);
    }

    .shop-sidebar .filter-subcat-list li:last-child a {
        border-bottom: none;
    }
}

/* Filter form - collapsible sections (collapsed by default) */
.shop-sidebar .filter-section,
.mobile-filter-sidebar .filter-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.shop-sidebar .filter-section:last-of-type,
.mobile-filter-sidebar .filter-section:last-of-type {
    border-bottom: none;
}

.shop-sidebar .filter-label,
.mobile-filter-sidebar .filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 9px 2px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700, #374151);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: color 0.15s;
}

.shop-sidebar .filter-label:hover,
.mobile-filter-sidebar .filter-label:hover {
    color: var(--primary, #7d3cff);
}

/* Chevron indicator (pure CSS, no icon-font dependency) */
.shop-sidebar .filter-label::after,
.mobile-filter-sidebar .filter-label::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.6px solid #b0b3b8;
    border-bottom: 1.6px solid #b0b3b8;
    transform: rotate(45deg);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.shop-sidebar .filter-section.open .filter-label::after,
.mobile-filter-sidebar .filter-section.open .filter-label::after {
    transform: rotate(225deg);
}

/* Collapsed: hide everything except the label */
.shop-sidebar .filter-section:not(.open) > *:not(.filter-label),
.mobile-filter-sidebar .filter-section:not(.open) > *:not(.filter-label) {
    display: none !important;
}

.shop-sidebar .filter-section.open .filter-label,
.mobile-filter-sidebar .filter-section.open .filter-label {
    color: var(--primary, #7d3cff);
    margin-bottom: 4px;
}

.shop-sidebar .filter-label i,
.mobile-filter-sidebar .filter-label i {
    font-size: 12px;
    width: 15px;
    text-align: center;
    color: var(--primary, #7d3cff);
}

.shop-sidebar .price-inputs,
.mobile-filter-sidebar .price-inputs {
    gap: 6px;
}

.shop-sidebar .price-input-group input,
.mobile-filter-sidebar .price-input-group input,
.shop-sidebar .price-filter input,
.mobile-filter-sidebar .price-filter input {
    padding: 7px 9px;
    font-size: 12.5px;
    border-radius: 7px;
}

.shop-sidebar .filter-checkbox-list,
.mobile-filter-sidebar .filter-checkbox-list {
    gap: 2px;
}

.shop-sidebar .price-separator,
.mobile-filter-sidebar .price-separator {
    font-size: 12px;
}

.shop-sidebar .filter-checkbox-item,
.mobile-filter-sidebar .filter-checkbox-item {
    padding: 5px 6px;
    font-size: 13px;
    gap: 8px;
    border-radius: 7px;
}

.shop-sidebar .checkbox-custom,
.mobile-filter-sidebar .checkbox-custom {
    width: 15px;
    height: 15px;
    border-radius: 4px;
}

.shop-sidebar .checkbox-label,
.mobile-filter-sidebar .checkbox-label {
    font-size: 13px;
}

.shop-sidebar .see-all-btn,
.mobile-filter-sidebar .see-all-btn {
    font-size: 11.5px;
    padding: 3px 0;
    margin-top: 2px;
    gap: 5px;
}

.shop-sidebar .filter-actions,
.mobile-filter-sidebar .filter-actions {
    gap: 8px;
    margin-top: 12px;
}

.shop-sidebar .filter-actions .btn,
.mobile-filter-sidebar .filter-actions .btn {
    padding: 9px 14px;
    font-size: 12.5px;
    border-radius: 999px;
}

/* Active filter tags */
.shop-sidebar .active-filter-tag,
.mobile-filter-sidebar .active-filter-tag {
    font-size: 10.5px;
    padding: 3px 9px;
    border-radius: 999px;
    gap: 5px;
}

/* Mobile filter drawer internals */
.mobile-filter-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-filter-sidebar::-webkit-scrollbar { display: none; }

.mob-filter-toggle,
.mobile-filter-toggle {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 999px;
    gap: 6px;
}

/* ============================================================
   PRODUCTS PAGE - SMART MODERN LAYOUT WRAPPER
   ============================================================ */
@media (min-width: 993px) {
    .shop-layout {
        grid-template-columns: 250px 1fr;
        gap: 20px;
        padding: 26px 0;
        align-items: start;
    }
}

@media (max-width: 992px) {
    .shop-layout {
        gap: 16px;
        padding: 18px 0;
    }
}

/* Filter sidebar panel */
.shop-sidebar {
    width: auto;
    padding: 14px 16px;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Product section panel */
.shop-main {
    background: var(--white, #fff);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    min-width: 0;
}

.shop-main .products-grid {
    padding: 0;
}

/* Toolbar bar */
.shop-toolbar {
    background: var(--gray-50, #f8f9fa);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 14px;
    gap: 10px;
}

.shop-toolbar .results-count,
.shop-toolbar .result-count {
    font-size: 12.5px;
    color: var(--gray-600, #4b5563);
}

.shop-toolbar .sort-select {
    padding: 7px 30px 7px 12px;
    font-size: 12.5px;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 999px;
    background-color: #fff;
}

/* Empty state + pagination */
.shop-main .empty-state {
    padding: 40px 16px;
}

.shop-main .empty-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 14px;
}

.shop-main .empty-state h3 {
    font-size: 17px;
}

.shop-main .empty-state p {
    font-size: 12.5px;
}

.shop-main .pagination-wrapper {
    margin-top: 20px;
}

/* Product cards - 4 fixed zones on small screens so nothing is clipped
   and the Add to Cart button always sits at the exact same position:
   1) image (fixed)  2) name (fixed 2-line slot)  3) price (fixed slot)
   4) button (pinned to card bottom) */
@media (max-width: 768px) {
    .products-grid {
        align-items: stretch;
    }

    .products-grid .product-card {
        height: 100% !important;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    /* Zone 1 - image: identical box on every card */
    .products-grid .product-card .product-image {
        flex: none;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        width: 100%;
        padding: 0 !important;
        overflow: hidden;
    }

    .products-grid .product-card .product-image img,
    .products-grid .product-card .product-image video,
    .products-grid .product-card .product-image .no-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .products-grid .product-card .product-info {
        flex: 1 1 auto;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    /* Hide optional category label so cards without it stay aligned */
    .products-grid .product-card .product-category {
        display: none !important;
    }

    /* Zone 2 - product name: always reserves 2 lines */
    .products-grid .product-card .product-title {
        min-height: 34px !important;
        max-height: 34px;
        margin-bottom: 4px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Zone 3 - price: fixed slot */
    .products-grid .product-card .product-price {
        min-height: 20px;
        margin-bottom: 6px !important;
    }

    /* Zone 4 - button: pinned to the bottom of every card */
    .products-grid .product-card .btn-add-cart,
    .products-grid .product-card .btn-out-of-stock {
        margin-top: auto !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 400px) {
    .products-grid .product-card .product-image {
        height: 132px !important;
        min-height: 132px !important;
        max-height: 132px !important;
    }
}

/* Mobile filter drawer - fill full height (top to bottom), no scrollbar */
@media (max-width: 768px) {
    html body .mobile-filter-sidebar {
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        height: 100dvh !important;
        border-radius: 0 20px 20px 0 !important;
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    /* Header follows the rounded top-right corner - no white patch */
    html body .mobile-filter-sidebar .mobile-filter-header {
        border-radius: 0 20px 0 0 !important;
    }

    html body .mobile-filter-sidebar::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* ============================================================
   CART PAGE (desktop-first compact)
   ============================================================ */
.cart-section {
    padding: 28px 0 44px;
}

.cart-section .cart-layout {
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

.cart-section .cart-items-wrapper {
    padding: 18px;
    border-radius: 14px;
}

.cart-section .cart-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
}

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

.cart-section .btn-clear-cart {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    gap: 5px;
}

/* Table */
.cart-section .cart-table th {
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: 0.4px;
}

.cart-section .cart-table td {
    padding: 12px;
}

.cart-section .product-info {
    gap: 12px;
}

.cart-section .product-image {
    width: 62px;
    height: 62px;
    border-radius: 10px;
}

.cart-section .product-image .no-image {
    font-size: 20px;
}

.cart-section .product-name {
    font-size: 13.5px;
    line-height: 1.35;
}

.cart-section .size-badge,
.cart-section .color-badge {
    font-size: 10.5px;
    padding: 2px 8px;
    border-radius: 999px;
    gap: 4px;
}

.cart-section .stock-warning {
    font-size: 10.5px;
}

.cart-section .price-current {
    font-size: 13.5px;
}

.cart-section .price-original {
    font-size: 11.5px;
}

.cart-section .quantity-control {
    gap: 4px;
}

.cart-section .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 7px;
}

.cart-section .qty-input {
    width: 44px;
    height: 28px;
    font-size: 12.5px;
    border-radius: 7px;
    padding: 4px;
}

.cart-section .item-total {
    font-size: 14px;
}

.cart-section .btn-remove {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 7px;
}

.cart-section .cart-actions {
    margin-top: 14px;
}

.cart-section .cart-actions .btn {
    padding: 9px 18px;
    font-size: 12.5px;
    border-radius: 999px;
    gap: 6px;
}

/* Summary card */
.cart-section .summary-card {
    padding: 18px;
    border-radius: 14px;
}

.cart-section .summary-card h3 {
    font-size: 15.5px;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.cart-section .summary-row {
    padding: 7px 0;
    font-size: 12.5px;
}

.cart-section .summary-divider {
    margin: 10px 0;
}

.cart-section .summary-total {
    font-size: 13.5px;
}

.cart-section .summary-total .total-amount {
    font-size: 17px;
}

.cart-section .btn-checkout {
    padding: 11px;
    font-size: 13.5px;
    border-radius: 999px;
    margin-top: 12px;
    gap: 7px;
}

.cart-section .payment-methods {
    margin-top: 14px;
    padding-top: 12px;
}

.cart-section .payment-methods p {
    font-size: 11px;
    margin-bottom: 7px;
}

.cart-section .payment-icon {
    font-size: 10.5px;
    padding: 4px 9px;
    border-radius: 999px;
    gap: 5px;
}

.cart-section .security-badge {
    font-size: 11px;
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    gap: 6px;
}

/* Empty cart */
.cart-section .empty-cart {
    padding: 50px 20px;
    border-radius: 14px;
}

.cart-section .empty-cart-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
    margin-bottom: 16px;
}

.cart-section .empty-cart h2 {
    font-size: 19px;
    margin-bottom: 6px;
}

.cart-section .empty-cart p {
    font-size: 13px;
    margin-bottom: 18px;
}

.cart-section .empty-cart .btn {
    padding: 10px 22px;
    font-size: 13px;
    border-radius: 999px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 36px 0;
}

.contact-section .contact-grid {
    gap: 24px;
}

.contact-section .contact-info h2,
.contact-section .contact-form-wrapper h2 {
    font-size: 19px;
    margin-bottom: 8px;
}

.contact-section .contact-info > p {
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.contact-section .info-cards {
    gap: 10px;
}

.contact-section .info-card {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 10px;
}

.contact-section .info-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 9px;
}

.contact-section .info-content h4 {
    font-size: 13px;
    margin-bottom: 2px;
}

.contact-section .info-content p {
    font-size: 12.5px;
}

.contact-section .social-links {
    margin-top: 18px;
}

.contact-section .social-links h4 {
    font-size: 13px;
    margin-bottom: 8px;
}

.contact-section .social-icons {
    gap: 8px;
}

.contact-section .social-icons a {
    width: 34px;
    height: 34px;
    font-size: 13px;
    border-radius: 9px;
}

.contact-section .contact-form-wrapper {
    padding: 20px;
    border-radius: 14px;
}

.contact-section .form-row {
    gap: 12px;
    margin-bottom: 0;
}

.contact-section .form-group {
    margin-bottom: 12px;
}

.contact-section .form-label {
    font-size: 12px;
    margin-bottom: 5px;
}

.contact-section .form-control {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.contact-section textarea.form-control {
    min-height: 110px;
}

.contact-section .btn-block {
    padding: 11px;
    font-size: 13px;
    border-radius: 999px;
    gap: 7px;
}

.contact-section .alert {
    padding: 10px 14px;
    font-size: 12.5px;
    border-radius: 8px;
    margin-bottom: 14px;
    gap: 8px;
}

/* Map section */
.map-section .map-container iframe {
    height: 300px;
}

.map-section .map-info h4 {
    font-size: 14px;
}

.map-section .map-info p {
    font-size: 12px;
}

.map-section .map-btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 999px;
}

/* ============================================================
   FOUNDER HISTORY PAGE
   ============================================================ */
.founder-history-section {
    padding: 40px 0;
}

.founder-intro {
    margin-bottom: 36px;
}

.founder-intro h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.founder-intro p {
    font-size: 13.5px;
    max-width: 520px;
    line-height: 1.6;
}

.founders-timeline {
    gap: 36px;
    max-width: 900px;
}

.founder-card {
    gap: 24px;
}

.founder-frame {
    border-radius: 14px;
}

.founder-content-inner {
    padding: 20px;
}

.founder-name {
    font-size: 20px;
    margin-bottom: 6px;
}

.founder-designation {
    font-size: 11.5px;
    padding: 4px 11px;
    border-radius: 999px;
    gap: 5px;
}

.founder-story {
    font-size: 13.5px;
    line-height: 1.65;
    padding: 16px 18px;
}

.founder-short-story {
    font-size: 12.5px;
    padding: 14px 16px;
    line-height: 1.65;
    border-radius: 10px;
}

.founders-empty {
    padding: 50px 20px;
}

.founders-empty i {
    font-size: 40px;
    margin-bottom: 14px;
}

.founders-empty h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.founders-empty p {
    font-size: 13px;
}

/* ============================================================
   CATALOGS PAGE
   ============================================================ */
.catalogs-section {
    padding: 36px 0;
}

.catalogs-header {
    margin-bottom: 28px;
}

.catalogs-header h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.catalogs-header p {
    font-size: 13.5px;
    max-width: 480px;
}

.catalogs-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

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

.catalog-card-thumb {
    padding-top: 62%;
}

.catalog-card-thumb-placeholder {
    font-size: 40px;
}

.catalog-card-body {
    padding: 12px 14px;
}

.catalog-card-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.catalog-card-desc {
    font-size: 12px;
    margin-bottom: 10px;
}

.catalog-card-cta {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 999px;
    gap: 6px;
}

.catalog-download-btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 999px;
    gap: 6px;
}

.catalogs-empty {
    padding: 50px 20px;
}

.catalogs-empty i {
    font-size: 40px;
    margin-bottom: 14px;
}

.catalogs-empty h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.catalogs-empty p {
    font-size: 13px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
    padding: 36px 0;
}

.about-section .about-intro {
    gap: 24px;
    margin-bottom: 36px;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.about-section .about-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.about-section .about-content .lead {
    font-size: 14px;
    margin-bottom: 12px;
}

.about-section .about-content p {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.about-section .about-image img {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.about-section .about-features {
    gap: 16px;
    margin-bottom: 36px;
}

.about-section .feature-card {
    padding: 18px 14px;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.about-section .feature-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
}

.about-section .feature-icon i {
    font-size: 18px;
}

.about-section .feature-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.about-section .feature-card p {
    font-size: 12.5px;
    line-height: 1.5;
}

.about-section .about-mission {
    gap: 16px;
    margin-bottom: 36px;
}

.about-section .mission-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.about-section .mission-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.about-section .mission-card h3 i {
    margin-right: 7px;
    font-size: 14px;
}

.about-section .mission-card p {
    font-size: 13.5px;
    line-height: 1.6;
}

.about-section .about-stats {
    gap: 14px;
    margin-bottom: 36px;
}

.about-section .stat-item {
    padding: 18px 12px;
    border-radius: 12px;
}

.about-section .stat-number {
    font-size: 24px;
    margin-bottom: 3px;
}

.about-section .stat-label {
    font-size: 11.5px;
}

.about-section .about-cta {
    padding: 26px 20px;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.about-section .about-cta h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.about-section .about-cta p {
    font-size: 13px;
    margin-bottom: 16px;
}

.about-section .btn-lg {
    padding: 10px 26px;
    font-size: 13.5px;
    border-radius: 999px;
}

/* ============================================================
   BLOG PAGE (feed)
   ============================================================ */
.blog-feed-section {
    padding: 30px 0 44px;
    min-height: 0;
}

.blog-feed-container {
    max-width: 620px;
}

.blog-feed {
    gap: 14px;
}

.blog-feed .blog-promo-banner {
    border-radius: 12px;
}

.blog-feed .promo-banner-content {
    padding: 16px;
}

.blog-feed .promo-banner-content h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.blog-feed .promo-banner-content p {
    font-size: 12.5px;
    margin-bottom: 8px;
}

.blog-feed .promo-banner-content .promo-btn {
    padding: 6px 14px;
    font-size: 11.5px;
    border-radius: 999px;
}

.blog-feed .blog-post-item {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.blog-feed .post-header {
    gap: 10px;
    padding: 10px 14px;
}

.blog-feed .author-avatar {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

.blog-feed .author-name {
    font-size: 13.5px;
}

.blog-feed .post-date {
    font-size: 11.5px;
}

.blog-feed .post-body {
    padding: 0 14px 10px;
}

.blog-feed .post-title {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.blog-feed .post-excerpt {
    font-size: 13px;
    line-height: 1.55;
}

.blog-feed .post-image,
.blog-feed .post-image img {
    height: 200px;
}

.blog-feed .post-footer {
    padding: 10px 14px;
}

.blog-feed .post-stats {
    gap: 12px;
    font-size: 12px;
}

.blog-feed .post-stats i {
    font-size: 12px;
}

.blog-feed .read-more-btn {
    padding: 7px 14px;
    font-size: 12px;
    gap: 6px;
    border-radius: 999px;
}

.blog-feed .blog-pagination {
    padding: 12px 14px;
    border-radius: 12px;
}

.blog-feed .page-btn {
    padding: 7px 14px;
    font-size: 12.5px;
    border-radius: 999px;
}

.blog-feed .page-info {
    font-size: 12px;
}

.blog-feed .empty-state {
    padding: 40px 16px;
    border-radius: 12px;
}

.blog-feed .empty-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
}

.blog-feed .empty-icon i {
    font-size: 24px;
}

.blog-feed .empty-state h3 {
    font-size: 17px;
}

.blog-feed .empty-state p {
    font-size: 12.5px;
}

/* ============================================================
   BLOG SINGLE POST PAGE
   ============================================================ */
.blog-single-section {
    padding: 30px 0 44px;
    min-height: 0;
}

.blog-single-container {
    max-width: 640px;
}

.blog-breadcrumb {
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 12.5px;
    border-radius: 10px;
}

.blog-post-card {
    border-radius: 12px;
    margin-bottom: 16px;
}

.post-author-header {
    padding: 12px 14px;
}

.blog-post-card .author-avatar {
    width: 38px;
    height: 38px;
    margin-right: 10px;
    font-size: 15px;
}

.blog-post-card .author-name {
    font-size: 13.5px;
}

.blog-post-card .post-meta-info {
    font-size: 11.5px;
}

.blog-post-card .post-body {
    padding: 14px;
}

.blog-post-card .post-title {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-post-card .post-content {
    font-size: 14px;
    line-height: 1.65;
}

.blog-post-card .post-content p {
    margin-bottom: 10px;
}

.blog-post-card .post-content img {
    margin: 10px 0;
    border-radius: 8px;
}

/* Featured image - modern framed look */
.blog-post-card .post-featured-image {
    padding: 0 14px;
}

.blog-post-card .post-featured-image img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Stats bar - pill reaction summary with overlapping emoji bubbles */
.post-stats-bar {
    padding: 10px 14px;
    font-size: 12px;
    border-top: none;
}

.post-stats-bar .reaction-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-100, #f0f2f5);
    padding: 4px 12px 4px 6px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-dark, #1c1e21);
}

.post-stats-bar .reaction-emoji {
    font-size: 13px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg, #fff);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    margin-left: -7px;
}

.post-stats-bar .reaction-emoji:first-child {
    margin-left: 0;
}

/* Action buttons - modern soft-tint pills with icon pop */
.post-actions {
    padding: 8px 10px;
    gap: 8px;
    overflow: visible;
    border-top: 1px solid var(--border-color, #e4e6eb);
    border-bottom: none;
}

/* React button fills its column - centered like Comment & Share */
.reaction-btn-wrapper {
    display: flex;
}

.reaction-btn-wrapper .action-btn {
    width: 100%;
    justify-content: center;
}

.post-actions .action-btn {
    padding: 9px 12px;
    font-size: 12.5px;
    gap: 7px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.post-actions .action-btn i {
    font-size: 14px;
    transition: transform 0.2s;
}

.post-actions .action-btn:hover {
    background: rgba(125, 60, 255, 0.08);
    color: #7d3cff;
    transform: none;
    box-shadow: none;
}

.post-actions .action-btn:hover i {
    transform: scale(1.18);
}

.post-actions .action-btn.active {
    background: linear-gradient(135deg, #7d3cff 0%, #f857a6 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(125, 60, 255, 0.35);
}

/* Reaction picker - floating glassmorphic pill, fully inside card */
.reaction-picker {
    left: 0;
    right: auto;
    transform: none;
    bottom: calc(100% + 6px);
    margin-bottom: 0;
    padding: 6px 12px;
    gap: 4px;
    white-space: nowrap;
    border-radius: 999px;
    z-index: 200;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .reaction-picker {
    background: rgba(30, 32, 38, 0.94);
    border-color: rgba(255,255,255,0.1);
}

.reaction-option {
    font-size: 22px;
    padding: 4px;
    transition: transform 0.15s;
}

.reaction-option:hover {
    transform: scale(1.3) translateY(-3px);
}

/* Force-hide picker after a reaction (kills sticky touch-hover on mobile) */
.reaction-btn-wrapper.picker-hidden .reaction-picker,
.reaction-btn-wrapper.picker-hidden:hover .reaction-picker {
    display: none !important;
}

/* Toast notification - compact pill, sits above mobile bottom nav */
.toast-notification {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 999px;
    max-width: calc(100vw - 32px);
    text-align: center;
    line-height: 1.3;
}

.toast-notification i {
    margin-right: 6px;
    font-size: 12px;
}

@media (max-width: 576px) {
    .toast-notification {
        bottom: 74px;
        padding: 6px 12px;
        font-size: 11px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    }

    .toast-notification i {
        margin-right: 5px;
        font-size: 11px;
    }
}

/* Share section */
.share-section {
    padding: 12px 14px;
}

.share-header {
    margin-bottom: 10px;
}

.share-label {
    font-size: 13px;
}

.share-buttons {
    gap: 8px;
}

.share-btn {
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
    border-radius: 999px;
}

.share-btn i {
    font-size: 13px;
}

/* Comments */
.comment-section {
    padding: 14px;
}

.comment-section-title {
    font-size: 15px;
    margin-bottom: 12px;
    gap: 8px;
}

.comment-form-card {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.comment-avatar,
.commenter-avatar {
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.comment-input-wrapper input {
    padding: 8px 12px;
    font-size: 12.5px;
}

.comments-list {
    margin-top: 14px;
    max-height: 360px;
}

/* Table of contents */
.post-toc {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

/* Related posts / products / categories + CTA */
.related-posts-section,
.related-products-section,
.related-categories-section {
    padding: 14px;
    margin: 16px 0;
    border-radius: 12px;
}

.related-posts-section h3,
.related-products-section h3,
.related-categories-section h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.related-posts-grid {
    gap: 10px;
}

.related-post-card img,
.related-post-card .no-img {
    height: 80px;
}

.related-post-card .info {
    padding: 8px;
}

.related-post-card .info h4 {
    font-size: 12.5px;
}

.related-post-card .info span {
    font-size: 11px;
}

.related-products-grid {
    gap: 10px;
}

/* Related products - 4 fixed zones on every card (all screens):
   1) image  2) name (2-line slot)  3) price  4) bottom-pinned button */
.related-products-grid .product-card {
    height: auto !important;
    min-height: 0;
    display: flex !important;
    flex-direction: column !important;
}

.related-products-grid .product-card .product-image {
    flex: none !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    width: 100%;
    padding: 0 !important;
    overflow: hidden !important;
}

.related-products-grid .product-card .product-image img,
.related-products-grid .product-card .product-image video,
.related-products-grid .product-card .product-image .no-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.related-products-grid .product-card .product-info {
    flex: 1 1 auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.related-products-grid .product-card .product-category {
    display: none !important;
}

.related-products-grid .product-card .product-title {
    min-height: 34px !important;
    max-height: 34px !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
}

.related-products-grid .product-card .product-price {
    min-height: 20px;
    margin-bottom: 6px !important;
}

.related-products-grid .product-card .btn-add-cart,
.related-products-grid .product-card .btn-out-of-stock {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.related-categories .category-badge {
    padding: 6px 12px;
    font-size: 12px;
}

.post-cta {
    padding: 16px;
    border-radius: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .cart-section .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-section .cart-summary {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .shop-main {
        padding: 12px;
        border-radius: 12px;
    }

    .shop-toolbar {
        padding: 8px 10px;
        margin-bottom: 12px;
    }

    .page-banner-sm {
        padding: 18px 0;
    }

    .page-banner-sm h1 {
        font-size: 19px;
    }

    .cart-section {
        padding: 20px 0 32px;
    }

    .cart-section .cart-items-wrapper {
        padding: 14px;
    }

    .cart-section .summary-card {
        padding: 16px;
    }

    .contact-section {
        padding: 26px 0;
    }

    .contact-section .contact-grid {
        gap: 18px;
    }

    .contact-section .contact-form-wrapper {
        padding: 16px;
    }

    .founder-history-section {
        padding: 30px 0;
    }

    .founder-intro {
        margin-bottom: 26px;
    }

    .founder-intro h2 {
        font-size: 20px;
    }

    .founders-timeline {
        gap: 26px;
    }

    .founder-card {
        gap: 16px;
    }

    .catalogs-section {
        padding: 26px 0;
    }

    .catalogs-header {
        margin-bottom: 20px;
    }

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

    .catalogs-grid {
        gap: 14px;
    }
}

@media (max-width: 576px) {
    .shop-main {
        padding: 10px;
    }

    /* About page mobile */
    .about-section {
        padding: 24px 0;
    }

    .about-section .about-intro {
        padding: 16px;
        margin-bottom: 24px;
        gap: 16px;
    }

    .about-section .about-features,
    .about-section .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }

    .about-section .about-mission {
        margin-bottom: 24px;
    }

    .about-section .stat-number {
        font-size: 19px;
    }

    /* Blog page mobile */
    .blog-feed-section {
        padding: 18px 0 30px;
    }

    .blog-feed .post-header {
        padding: 8px 12px;
    }

    .blog-feed .author-avatar {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .blog-feed .post-body {
        padding: 0 12px 8px;
    }

    .blog-feed .post-title {
        font-size: 14.5px;
    }

    .blog-feed .post-excerpt {
        font-size: 12.5px;
    }

    .blog-feed .post-image,
    .blog-feed .post-image img {
        height: 170px;
    }

    .blog-feed .post-footer {
        padding: 8px 12px;
    }

    .blog-feed .post-stats {
        gap: 10px;
        font-size: 11px;
    }

    .blog-feed .read-more-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .shop-toolbar {
        border-radius: 10px;
    }

    .page-banner-sm {
        padding: 14px 0;
    }

    .page-banner-sm h1 {
        font-size: 17px;
        gap: 7px;
    }

    .page-banner-sm .breadcrumbs {
        font-size: 11px;
    }

    /* Cart mobile card layout tweaks */
    .cart-section {
        padding: 16px 0 26px;
    }

    .cart-section .cart-items-wrapper {
        padding: 12px;
        border-radius: 12px;
    }

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

    .cart-section .cart-item {
        padding: 10px;
        border-radius: 10px;
    }

    .cart-section .product-image {
        width: 54px;
        height: 54px;
    }

    .cart-section .product-name {
        font-size: 12.5px;
    }

    .cart-section .summary-card {
        padding: 14px;
        border-radius: 12px;
    }

    .cart-section .summary-card h3 {
        font-size: 14px;
    }

    .cart-section .empty-cart {
        padding: 36px 16px;
    }

    .cart-section .empty-cart-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .cart-section .empty-cart h2 {
        font-size: 16px;
    }

    /* Contact */
    .contact-section {
        padding: 20px 0;
    }

    .contact-section .contact-info h2,
    .contact-section .contact-form-wrapper h2 {
        font-size: 16px;
    }

    .contact-section .info-card {
        padding: 10px 12px;
    }

    .contact-section .info-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .contact-section .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-section .contact-form-wrapper {
        padding: 14px;
    }

    .map-section .map-container iframe {
        height: 240px;
    }

    /* Founder history */
    .founder-history-section {
        padding: 22px 0;
    }

    .founder-intro h2 {
        font-size: 18px;
    }

    .founder-intro p {
        font-size: 12.5px;
    }

    .founders-timeline {
        gap: 20px;
    }

    .founder-content-inner {
        padding: 14px;
    }

    .founder-name {
        font-size: 16px;
    }

    .founder-story {
        font-size: 12.5px;
        padding: 12px 14px;
    }

    .founder-short-story {
        font-size: 12px;
        padding: 12px 14px;
    }

    /* Catalogs */
    .catalogs-section {
        padding: 20px 0;
    }

    .catalogs-header h2 {
        font-size: 18px;
    }

    .catalogs-header p {
        font-size: 12.5px;
    }

    .catalogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .catalog-card-body {
        padding: 10px 11px;
    }

    .catalog-card-title {
        font-size: 12.5px;
    }

    .catalog-card-desc {
        font-size: 11px;
    }

    .catalog-card-cta {
        padding: 6px 12px;
        font-size: 11px;
    }

    .catalog-card-thumb-placeholder {
        font-size: 32px;
    }
}

@media (max-width: 400px) {
    .catalogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ============================================================
   DARK THEME
   ============================================================ */
:root[data-theme="dark"] .cart-section .cart-items-wrapper,
:root[data-theme="dark"] .cart-section .summary-card,
:root[data-theme="dark"] .contact-section .info-card,
:root[data-theme="dark"] .contact-section .contact-form-wrapper,
:root[data-theme="dark"] .catalog-card,
.dark .cart-section .cart-items-wrapper,
.dark .cart-section .summary-card,
.dark .contact-section .info-card,
.dark .contact-section .contact-form-wrapper,
.dark .catalog-card {
    border-color: var(--dark-border);
}

:root[data-theme="dark"] .shop-sidebar,
:root[data-theme="dark"] .shop-main,
.dark .shop-sidebar,
.dark .shop-main {
    background: var(--dark-card, #1f2940);
    border-color: var(--dark-border, #2d3a4f);
}

:root[data-theme="dark"] .shop-toolbar,
.dark .shop-toolbar {
    background: var(--dark-surface, #16213e);
    border-color: var(--dark-border, #2d3a4f);
}

:root[data-theme="dark"] .shop-toolbar .sort-select,
.dark .shop-toolbar .sort-select {
    background-color: var(--dark-card, #1f2940);
    border-color: var(--dark-border, #2d3a4f);
    color: var(--dark-text, #e4e6eb);
}

:root[data-theme="dark"] .shop-toolbar .results-count,
:root[data-theme="dark"] .shop-toolbar .result-count,
.dark .shop-toolbar .results-count,
.dark .shop-toolbar .result-count {
    color: var(--dark-text-secondary, #b0b3b8);
}

:root[data-theme="dark"] .shop-sidebar .sidebar-widget,
:root[data-theme="dark"] .mobile-filter-sidebar .sidebar-widget,
.dark .shop-sidebar .sidebar-widget,
.dark .mobile-filter-sidebar .sidebar-widget {
    border-color: var(--dark-border, #2d3a4f);
}

:root[data-theme="dark"] .shop-sidebar .filter-section,
:root[data-theme="dark"] .mobile-filter-sidebar .filter-section,
.dark .shop-sidebar .filter-section,
.dark .mobile-filter-sidebar .filter-section {
    border-color: var(--dark-border, #2d3a4f);
}

:root[data-theme="dark"] .shop-sidebar .filter-label,
:root[data-theme="dark"] .mobile-filter-sidebar .filter-label,
.dark .shop-sidebar .filter-label,
.dark .mobile-filter-sidebar .filter-label {
    color: var(--dark-text, #e4e6eb);
}

:root[data-theme="dark"] .shop-sidebar .checkbox-label,
:root[data-theme="dark"] .mobile-filter-sidebar .checkbox-label,
.dark .shop-sidebar .checkbox-label,
.dark .mobile-filter-sidebar .checkbox-label {
    color: var(--dark-text-secondary, #b0b3b8);
}
