/* =================================================================== */
/*    PARTIAL: RESPONSIVE                                              */
/*    Contains: All @media queries for adjusting the layout on         */
/*    different screen sizes. MUST BE THE LAST PARTIAL IMPORTED.       */
/* =================================================================== */

@media (min-width: 450px) {

    /* Hide the pill list by default (Mobile/Tablet) */
    .filter-list {
      display: none !important;
    }

    /* Ensure the dropdown is the default for mobile */
    .filter-select-box {
      display: block;
    }  

    .clients-item {
      min-width: calc(33.33% - 10px);
    }

    .mobile-hidden {
        display: inline; /* Or 'block', depending on the element */
    }

    .pagination-link {
        padding: 8px 14px;
    }
}

@media (min-width: 580px) {

    /* Hide the pill list by default (Mobile/Tablet) */
    .filter-list {
      display: none !important;
    }

    /* Ensure the dropdown is the default for mobile */
    .filter-select-box {
      display: block;
    }  

    :root {
        --fs1: 32px;
        --fs2: 24px;
        --fs3: 26px;
        --fs4: 18px;
        --fs6: 15px;
        --fs7: 15px;
        --fs8: 12px;
    }

    .sidebar, article {
        width: 520px;
        margin-inline: auto;
        padding: 30px;
    }

    .article-title {
        font-weight: var(--fw600);
        padding-bottom: 15px;
    }

    .article-title::after {
        width: 40px;
        height: 5px;
    }

    .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 18px;
    }

    main {
        margin-top: 60px;
        margin-bottom: 100px;
    }

    .sidebar {
        max-height: 180px;
        margin-bottom: 30px;
    }

    .sidebar.active {
      max-height: 720px;
    }

    .sidebar-info {
      gap: 25px;
    }

    .avatar-box {
      border-radius: 30px;
    }
    .avatar-box img {
      width: 120px;
    }

    .info-content .name {
      margin-bottom: 15px;
    }
    .info-content .title {
      padding: 5px 10px;
    }

    .info-more-btn {
        top: -30px;
        right: -30px;
        padding: 10px 15px;
    }

    .info-more-btn span {
        display: block;
        font-size: var(--fs8);
    }

    .info-more-btn ion-icon {
      display: none;
    }

    .separator {
      margin: 32px 0;
    }

    .contacts-list {
      gap: 20px;
    }

    .contact-info {
        max-width: calc(100% - 64px);
        width: calc(100% - 64px);
    }

    .navbar {
      border-radius: 20px 20px 0 0;
    }

    .navbar-list {
      gap: 20px;
    }
    .navbar-link {
      --fs8: 14px;
    }

    .about .article-title {
      margin-bottom: 20px;
    }
    .about-text {
      margin-bottom: 40px;
    }

    .service-item {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 18px;
        padding: 30px;
    }

    .service-icon-box {
        margin-bottom: 0;
        margin-top: 5px;
    }

    .service-content-box {
      text-align: left;
    }

    .live-appearance-card {
      flex-direction: row;
      align-items: center !important;
      gap: 25px !important;
    }

    .live-event-description {
      display: block;
      -webkit-line-clamp: unset;
      line-clamp: unset;
      overflow: visible;
    }

    .live-event-action,
    .live-event-cta {
      width: auto !important;
    }

    .testimonials-title {
      margin-bottom: 25px;
    }

    .testimonials-list {
        gap: 30px;
        margin: 0 -30px;
        padding: 30px;
        padding-bottom: 35px;
    }

    .content-card {
        padding: 30px;
        padding-top: 25px;
    }

    .testimonials-avatar-box {
        transform: translate(30px, -30px);
        /* Surgical Fix: Maintain round cohesiveness on Desktop */
        border-radius: 50%;
        width: 80px;
        height: 80px;
    }

    .testimonials-avatar-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonials-item-title {
        margin-bottom: 10px;
        margin-left: 95px;
    }

    .testimonials-text {
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    .modal-container {
      padding: 20px;
    }

    .testimonials-modal {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 25px;
        padding: 30px;
        border-radius: 20px;
    }

    .modal-img-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .modal-avatar-box {
        border-radius: 18px;
        margin-bottom: 0;
    }

    .modal-avatar-box img {
      width: 65px;
    }

    .modal-img-wrapper > img {
        display: block;
        position: relative;
        width: 35px;
        top: 50px;
    }
    
    .project-modal {
        padding: 30px;
    }

    .clients-list {
        gap: 25px;
        margin: 0 -30px;
        padding: 20px 45px;
        scroll-padding-inline: 45px;
    }

    .clients-item {
      min-width: calc(33.33% - 35px);
    }

    .timeline-list {
      margin-left: 65px;
    }

    .timeline-item:not(:last-child)::before {
      left: -40px;
    }

    .timeline-item::after {
        height: 8px;
        width: 8px;
        left: -43px;
    }

    .skills-item:not(:last-child) {
      margin-bottom: 25px;
    }

    .project-img, .blog-banner-box {
      border-radius: 16px;
    }

    .blog-posts-list {
      gap: 30px;
    }

    .blog-content {
      padding: 25px;
    }

/* Tablet Logic: Keep using default mobile behavior (Dropdown) */
    .filter-select-box {
        display: block;
    }

    .mapbox {
        height: 380px;
        border-radius: 18px;
    }

    .input-wrapper {
        gap: 30px;
        margin-bottom: 30px;
    }

    .form-input {
      padding: 15px 20px;
    }

    textarea.form-input {
      margin-bottom: 30px;
    }

    .form-btn {
        --fs-6: 16px;
        padding: 16px 20px;
    }

    .form-btn ion-icon {
      font-size: 18px;
    }
}

@media (min-width: 768px) {

      /* Hide the pill list by default (Mobile/Tablet) */
    .filter-list {
      display: none !important;
    }

    /* Ensure the dropdown is the default for mobile */
    .filter-select-box {
      display: block;
    }  

    .sidebar, article {
      width: 700px;
    }

    .has-scrollbar::-webkit-scrollbar-button {
      width: 100px;
    }

    .contacts-list {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    .navbar-link {
      --fs8: 15px;
    }

    .testimonials-modal {
        gap: 35px;
        max-width: 680px;
    }

    .modal-avatar-box img {
      width: 80px;
    }

    .article-title {
      padding-bottom: 20px;
    }

    /* .filter-select-box and .filter-list rules removed from here */

    .filter-item button {
        color: var(--light-gray);
        font-size: var(--fs5);
        transition: var(--transition1);
    }

    .filter-item button:hover {
      color: var(--light-gray70);
    }
    .filter-item button.active {
      color: var(--orange-yellow-crayola);
    }

    .project-list, .blog-posts-list {
      grid-template-columns: 1fr 1fr;
    }

    .input-wrapper {
      grid-template-columns: 1fr 1fr;
    }

    .form-btn {
        width: max-content;
        margin-left: auto;
    }
}

@media (min-width: 1024px) {

    :root {
        --shadow1: -4px 8px 24px hsla(0, 0%, 0%, .125);
        --shadow2: 0px 16px 30px hsla(0, 0%, 0%, .125);
        --shadow3: 0px 16px 40px hsla(0, 0%, 0%, .125);
    }

    .sidebar, article {
        width: 950px;
        box-shadow: var(--shadow5);
    }

    main {
      margin-bottom: 60px;
    }

    .main-content {
        position: relative;
        width: max-content;
        margin: auto;
    }

    .navbar {
        position: absolute;
        bottom: auto;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        max-width: 100%;
        border-radius: 0 20px 0 20px; /* Symmetrical corners */
        padding: 0 10px;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        overflow: hidden;
        background: none; /* Removes the box background */
        border: none;     /* Removes the box border */
        box-shadow: none;
    }

    .navbar-list {
        gap: clamp(10px, 1.5vw, 22px);
        padding: 0 8px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        max-width: 100%;
        min-width: 0;
    }

    .navbar-link {
      font-weight: var(--fw500);
      white-space: nowrap;
      padding-left: clamp(6px, 0.7vw, 12px);
      padding-right: clamp(6px, 0.7vw, 12px);
    }

    .command-palette-trigger .navbar-link {
      padding-left: 10px;
      padding-right: 10px;
      flex-shrink: 0;
    }

    .navbar-link.active {
      margin-left: 2px;
      margin-right: 2px;
      padding-left: clamp(10px, 1vw, 15px);
      padding-right: clamp(10px, 1vw, 15px);
    }

    .main-content > article {
      padding-top: 80px;
    }
    
    .service-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px 25px;
    }

    .testimonials-item {
      min-width: calc(50% - 15px);
    }

    .modal-img-wrapper > img {
      top: 20px;
    }

    .clients-item {
      min-width: calc(25% - 15px);
    }

    .project-list {
      grid-template-columns: repeat(3, 1fr);
    }

    .blog-banner-box {
      height: 230px;
    }

    .category-grid {
      grid-template-columns: repeat(3, 1fr); /* Only 3 columns on Desktop/Laptops */
    }

    /* --- THE SWAP LOGIC --- */
    /* On Desktop: Show Pills, Hide Dropdown */
/* Desktop Swap: Show Pill Grid, Hide Dropdown */
    .filter-list {
      display: flex !important; /* Overrides the 'none' from _pages.css */
    }

    .filter-select-box {
      display: none !important;
    }
    
    /* Show cursor toggler on desktop */
    button[data-cursor-toggler] {
        display: flex;
    }

}

/* Prevent awkward 1024-1249px desktop/tablet transition overflow.
   The 1024px rules use 950px content widths while the fixed sidebar desktop layout
   does not start until 1250px, so clamp the top-stacked layout to the viewport. */
@media (min-width: 1024px) and (max-width: 1249px) {
    main {
        overflow-x: hidden;
    }

    .sidebar,
    article,
    .main-content {
        width: min(950px, calc(100vw - 60px)) !important;
        max-width: calc(100vw - 60px) !important;
        margin-left: auto;
        margin-right: auto;
    }

    .navbar {
        max-width: 100%;
        left: 0;
        right: 0;
        width: auto;
        overflow: hidden;
    }

    .navbar-list {
        gap: clamp(10px, 1.6vw, 20px);
        padding-inline: clamp(6px, 1.2vw, 12px);
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
}

@media (min-width: 1250px) {

    body::-webkit-scrollbar {
      width: 20px;
    }
    body::-webkit-scrollbar-track {
      background: var(--smoky-black);
    }

    body::-webkit-scrollbar-thumb {
        border: 5px solid var(--smoky-black);
        background: hsla(0, 0%, 100%, .1);
        border-radius: 20px;
        box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, .11), inset -1px -1px 0 hsla(0, 0%, 100%, .11);
    }

    body::-webkit-scrollbar-thumb:hover {
      background: hsla(0, 0%, 100%, .15);
    }
    body::-webkit-scrollbar-button {
      height: 60px;
    }

    .sidebar, article {
      width: auto;
    }

    main {
        max-width: 1200px;
        margin-inline: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 25px;
    }

    .main-content {
        flex: 1; /* Automatically grows to fill 100% of the remaining space */
        min-width: 0; /* Prevents flex-item overflow */
        margin: 0;
    }

    .sidebar {
        flex-shrink: 0; /* Prevents the sidebar from squishing */
        width: 300px; /* Or your preferred fixed sidebar width */      
        position: sticky;
        top: 60px;
        max-height: max-content;
        height: 100%;
        margin-bottom: 0;
        padding-top: 60px;
        z-index: 1;
    }

    .sidebar-info {
        flex-direction: column;
        gap: 15px;
    }

    .info-content {
        gap: 20px;
    }

    .avatar-box img {
        width: 150px;
        height: auto;
    }

    .info-content .name {
        white-space: nowrap;
        text-align: center;
    }

    .info-content .title {
      margin: auto;
    }

    .info-more-btn {
      display: none;
    }

    .sidebar-info-more {
        opacity: 1;
        visibility: visible;
    }

    .contacts-list {
      grid-template-columns: 1fr;
    }

    .contact-info :is(.contact-link) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .contact-info :is(.contact-link, time, address) {
        --fs7: 14px;
        font-weight: var(--fw300);
    }

    .separator:last-of-type {
        margin: 15px 0;
        opacity: 0;
    }

    .social-list {
      justify-content: center;
    }

    .timeline-text {
      max-width: 700px;
    }

    .main-content.full-width {
        width: 100%;
        min-width: 100%;
        margin: 0;
    }
    
    .back-to-top-btn {
        right: calc(var(--sidebar-width, 300px) + 30px);
    }

    main.sidebar-right .back-to-top-btn {
        right: 30px;
        left: auto;
    }
}



/* =================================================================== */
/*    CATALOG MOBILE POLISH                                            */
/* =================================================================== */
@media (max-width: 580px) {
    article[data-page="catalog"] {
        padding-bottom: 112px;
    }

    article[data-page="catalog"] header {
        margin-bottom: 14px;
    }

    article[data-page="catalog"] .article-title {
        font-size: 22px;
        padding-bottom: 8px;
    }

    article[data-page="catalog"] .projects {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    article[data-page="catalog"] .search-form {
        margin-bottom: 0 !important;
    }

    article[data-page="catalog"] .search-wrapper {
        gap: 8px !important;
        align-items: stretch !important;
    }

    article[data-page="catalog"] .search-wrapper .form-input {
        min-height: 44px;
        padding: 11px 13px;
        font-size: 13px;
        border-radius: 12px;
    }

    article[data-page="catalog"] .search-wrapper .form-btn {
        min-width: 46px;
        min-height: 44px;
        padding: 0 13px !important;
        border-radius: 12px;
        justify-content: center;
    }

    article[data-page="catalog"] #catalog-filter-master {
        margin-bottom: 0 !important;
        padding: 10px 11px !important;
        border-radius: 14px !important;
        background: rgba(0, 0, 0, 0.18) !important;
    }

    article[data-page="catalog"] #catalog-filter-master > div:first-child {
        align-items: center !important;
        gap: 8px !important;
    }

    article[data-page="catalog"] #catalog-filter-master .filter-list {
        display: flex !important;
        flex: 1 1 auto;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    article[data-page="catalog"] #catalog-filter-master .filter-item button {
        min-height: 34px;
        padding: 7px 13px !important;
        font-size: 11px !important;
        line-height: 1;
        border-radius: 999px !important;
        box-shadow: none;
    }

    article[data-page="catalog"] #catalog-filter-master button[data-filter-favorites] ion-icon {
        font-size: 14px !important;
    }

    article[data-page="catalog"] #btn-toggle-workshop-filters {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 5px 0 5px 4px !important;
    }

    article[data-page="catalog"] #btn-toggle-workshop-filters span {
        max-width: 78px;
        font-size: 8px !important;
        line-height: 1.15;
        letter-spacing: 1px !important;
        text-align: right;
    }

    article[data-page="catalog"] #filter-chevron-box {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px;
        font-size: 13px !important;
    }

    article[data-page="catalog"] #catalog-filter-content .filter-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }

    article[data-page="catalog"] #catalog-filter-content .filter-row > div:first-child {
        width: auto !important;
        font-size: 8px !important;
    }

    article[data-page="catalog"] #catalog-filter-content .filter-pills-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    article[data-page="catalog"] #catalog-filter-content .filter-pills-group .filter-item {
        min-width: 0;
        width: 100%;
    }

    article[data-page="catalog"] #catalog-filter-content .filter-pills-group button {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        justify-content: flex-start !important;
        padding: 7px 9px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    article[data-page="catalog"] #catalog-filter-content .filter-pills-group button span {
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    article[data-page="catalog"] .filter-select-box {
        margin-bottom: 0;
    }

    article[data-page="catalog"] .filter-select {
        min-height: 42px;
        padding: 10px 13px;
        border-radius: 12px;
        font-size: 13px;
    }

    article[data-page="catalog"] .project-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 0;
        padding-bottom: 112px;
    }

    article[data-page="catalog"] .project-item {
        margin-bottom: 0;
    }

    article[data-page="catalog"] .project-item.fade-up {
        opacity: 1 !important;
        transform: none !important;
    }

    article[data-page="catalog"] .store-card {
        border-radius: 16px;
        overflow: hidden;
    }

    article[data-page="catalog"] .store-card-banner {
        aspect-ratio: 1 / 0.82 !important;
        max-height: 310px;
        min-height: 0 !important;
    }

    article[data-page="catalog"] .store-card-banner img,
    article[data-page="catalog"] .store-card-banner .no-image-placeholder {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    article[data-page="catalog"] .store-card-content {
        padding: 13px 14px 14px;
    }

    article[data-page="catalog"] .store-card-title {
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    article[data-page="catalog"] .store-card-price {
        font-size: 13px;
        margin-bottom: 9px;
    }

    article[data-page="catalog"] .store-card-action {
        min-height: 36px;
        padding: 8px 11px;
        border-radius: 10px;
        font-size: 12px;
    }

    article[data-page="catalog"] .wishlist-btn {
        width: 38px;
        height: 38px;
        top: 10px;
        right: 10px;
    }

    article[data-page="catalog"] .customize-badge,
    article[data-page="catalog"] .card-badge {
        transform: scale(0.9);
        transform-origin: top left;
    }
}

/* =================================================================== */
/*    ECOMMERCE MOBILE OPTIMIZATIONS                                   */
/* =================================================================== */

@media (max-width: 768px) {
    .project-modal {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        margin: 0;
        /* Surgical Fix: Standardized bottom clearance for the Thumb Bar */
        padding-bottom: 120px !important; 
        background: var(--smoky-black);
        transform: none !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Extra spacing for the content inside to breathe */
    .project-modal-content {
        padding-bottom: 40px;
    }

    .project-modal-img-wrapper {
        aspect-ratio: 4/3; /* Slightly shorter on mobile */
    }

    /* 2. Enhanced Sticky Action Bar (Surgical Refinement V4 - The Thumb Zone) */
    .catalog-actions-row {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        /* Advanced Glassmorphism: Deep black with blur */
        background: rgba(18, 18, 18, 0.9); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--orange-yellow-crayola); /* Thin brand line for premium feel */
        padding: 15px 15px calc(15px + env(safe-area-inset-bottom)); 
        margin: 0;
        z-index: 10100; 
        box-shadow: 0 -10px 50px rgba(0,0,0,0.9);
        
        /* Layout */
        display: flex;
        flex-direction: row;
        align-items: stretch; /* Make all elements same height */
        justify-content: space-between;
        gap: 10px;
    }

    /* Primary Action: Add to Quote takes 60% of space */
    .buttons-group {
        flex: 2;
        display: flex;
        gap: 8px;
    }

    .buttons-group .form-btn {
        flex: 1;
        height: 50px !important; /* Larger hit target */
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    /* Secondary Action: Customize uses secondary style */
    .buttons-group .form-btn[data-catalog-detail-customize-btn] {
        background: var(--onyx) !important;
        color: var(--white2) !important;
        border: 1px solid var(--jet) !important;
    }

    /* Adjust Quantity Group for side-by-side layout in the bar */
    .quantity-group {
        margin-bottom: 0;
        width: auto;
        flex-shrink: 0;
    }
    .quantity-group label {
        display: none; /* Text "Quantity" is implied on mobile */
    }
    
    .quantity-group .qty-control {
        background: var(--eerie-black1); /* Darker contrast inside the bar */
        height: 45px;
    }

    /* Adjust Buttons to fill remaining space */
    .buttons-group {
        flex-grow: 1;
        width: auto;
        display: flex;
        gap: 8px;
    }
    .buttons-group .form-btn {
        flex: 1;
        height: 45px;
        font-size: 11px;
        text-transform: uppercase;
        font-weight: 700;
        padding: 0 10px;
        justify-content: center;
        margin: 0 !important;
    }
    
    /* Ensure the Customize button is distinct if visible */
    .buttons-group .form-btn[data-catalog-detail-customize-btn] {
        background: var(--onyx);
        border-color: var(--jet);
    }
}

/* POS Mobile Fixes */
@media (max-width: 768px) {
    .pos-container {
        grid-template-columns: 1fr; /* Stack Product Grid on top of Cart */
        grid-template-rows: 1fr 1fr;
        height: calc(100vh - 80px); /* Adjust for header */
    }
    
    .product-grid {
        padding-bottom: 10px;
        border-bottom: 1px solid var(--jet);
    }
    
    .cart-panel {
        border-top: 2px solid var(--orange-yellow-crayola);
    }
}

.homepage-live-meta-row { display: none; }

/* OMWS homepage mobile polish: dedicated small-screen layout without changing desktop. */
@media (max-width: 580px) {
    .home-mobile-polish {
        padding-bottom: 96px;
    }

    .home-mobile-polish .store-section {
        margin-bottom: 34px !important;
    }

    .trust-bar-mobile-compact {
        gap: 10px !important;
        padding: 14px !important;
    }

    .home-mobile-polish .hero {
        min-height: auto !important;
        padding: 26px 14px !important;
        overflow: hidden;
    }

    .home-mobile-polish .hero-title {
        max-width: 100% !important;
        overflow: hidden;
    }

    .home-mobile-polish .hero-title > span,
    .home-mobile-polish #scramble-runtime {
        display: block !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
        word-break: normal;
        text-align: center;
    }

    .home-mobile-polish #scramble-runtime {
        font-size: clamp(26px, 10vw, 42px) !important;
        line-height: 1.05 !important;
        white-space: normal !important;
    }

    .home-mobile-polish #scramble-runtime ion-icon,
    .home-mobile-polish #scramble-runtime i,
    .home-mobile-polish #scramble-runtime svg {
        font-size: 0.9em !important;
        width: 0.9em !important;
        height: 0.9em !important;
        max-width: 46px !important;
        max-height: 46px !important;
        display: inline-block !important;
        vertical-align: -0.08em;
        flex-shrink: 0;
    }

    .home-mobile-polish .hero-subtitle {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .home-mobile-polish .hero-content > div[style*="display: flex"] {
        gap: 10px !important;
    }

    .home-mobile-polish .hero-content .form-btn {
        width: 100% !important;
        max-width: 280px;
        min-height: 48px;
        justify-content: center;
    }

    .trust-bar-mobile-compact .trust-item {
        gap: 10px !important;
        padding: 12px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-direction: row !important;
        text-align: left !important;
    }

    .trust-bar-mobile-compact .trust-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        font-size: 20px !important;
    }

    .trust-bar-mobile-compact .trust-text .h4 {
        margin-bottom: 2px !important;
        font-size: 14px !important;
    }

    .trust-bar-mobile-compact .trust-text p {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .home-mobile-polish .section-header {
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .home-mobile-polish .section-link {
        flex-shrink: 0;
    }

    .home-mobile-polish .live-appearance-card {
        padding: 16px !important;
        gap: 12px !important;
        border-radius: 18px !important;
    }

    .homepage-live-date {
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 14px !important;
        display: grid !important;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
        text-align: left !important;
    }

    .homepage-live-date span {
        display: inline-block !important;
    }

    .homepage-live-date span:nth-child(1) {
        font-size: 12px !important;
        letter-spacing: 1.4px;
    }

    .homepage-live-date span:nth-child(2) {
        font-size: 24px !important;
        text-align: center;
    }

    .homepage-live-date span:nth-child(3) {
        font-size: 11px !important;
        text-align: right;
    }

    .homepage-live-summary .service-item-title {
        font-size: 16px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    .homepage-live-meta-row {
        display: grid;
        gap: 7px;
        margin-bottom: 10px;
    }

    .homepage-live-meta-pill {
        display: flex;
        align-items: center;
        gap: 7px;
        width: 100%;
        padding: 8px 10px;
        border: 1px solid rgba(243, 111, 33, 0.28);
        border-radius: 12px;
        background: rgba(243, 111, 33, 0.07);
        color: var(--white2);
        font-size: 12px;
        line-height: 1.35;
    }

    .homepage-live-meta-pill ion-icon {
        color: var(--orange-yellow-crayola);
        flex-shrink: 0;
    }

    .homepage-live-location-line {
        display: none !important;
    }

    .home-mobile-polish .live-event-description {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 4px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .home-mobile-polish .live-event-cta {
        min-height: 44px;
        border-radius: 12px !important;
    }

    .homepage-featured-products {
        overflow: hidden;
    }

    .homepage-mobile-product-strip {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: minmax(238px, 76vw);
        grid-template-columns: none !important;
        min-height: 0 !important;
        gap: 14px !important;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        padding: 2px 4px 16px !important;
        margin-inline: -2px;
        -webkit-overflow-scrolling: touch;
    }

    .homepage-mobile-product-strip {
        align-items: start;
    }

    .homepage-mobile-product-strip .store-card {
        scroll-snap-align: start;
        min-width: 0;
        height: auto !important;
    }

    .homepage-mobile-product-strip .store-card > a {
        height: auto !important;
    }

    .homepage-mobile-product-strip .store-card-banner {
        min-height: 0;
        margin-bottom: 8px !important;
    }

    .homepage-mobile-product-strip .store-card-content {
        padding: 12px 14px 14px !important;
        flex-grow: 0 !important;
    }

    .homepage-mobile-product-strip .store-card-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }

    .homepage-mobile-product-strip .store-card-price {
        margin-bottom: 10px !important;
    }

    .homepage-mobile-product-strip .store-card-action {
        margin-top: 8px !important;
    }

    .homepage-about-accordion {
        margin-top: 34px !important;
        padding-top: 24px !important;
    }

    /* Homepage purpose section: clean stacked mobile layout */
    .homepage-purpose-section {
        margin-bottom: 34px !important;
    }

    .homepage-purpose-header {
        display: block !important;
        margin-bottom: 16px !important;
        padding-bottom: 14px !important;
    }

    .homepage-purpose-title {
        font-size: 1.35rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        max-width: 100% !important;
    }

    .homepage-purpose-blurb {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 10px !important;
        max-width: 100% !important;
    }

    .homepage-purpose-top-link {
        display: inline-flex !important;
        margin-top: 0 !important;
        white-space: nowrap !important;
    }

    .homepage-purpose-top-link-full {
        display: none !important;
    }

    .homepage-purpose-top-link-short {
        display: inline !important;
    }

    .homepage-purpose-group {
        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }

    .homepage-purpose-group-title {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }

    .homepage-purpose-group-blurb {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .homepage-purpose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .homepage-purpose-card {
        height: auto !important;
        min-height: 92px;
        padding: 14px 10px !important;
        gap: 6px;
    }

    .homepage-purpose-card ion-icon {
        font-size: 24px !important;
        margin-bottom: 2px !important;
    }

    .homepage-purpose-card span {
        font-size: 12px !important;
        line-height: 1.25 !important;
        padding: 0 2px;
    }

    .homepage-purpose-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 4px !important;
    }

    .homepage-purpose-btn {
        width: 100% !important;
        min-height: 46px;
        justify-content: center;
    }

    .bottom-box {
        margin-top: 26px !important;
        margin-bottom: 92px !important;
    }

    .bottom-box h3 {
        margin-bottom: 8px !important;
    }
}
