/** Shopify CDN: Minification failed

Line 866:13 Expected ":"
Line 1069:0 Unexpected "}"

**/
/* Build Your Own Hamper Section Styles */
/* Additional CSS to complement the inline styles in the Liquid file */

/* Filter Styles (matching custom-gifts-collection) */

.items-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #2C2D2D;
    border: none;
    background: #f0f0f0;
    font-family: var(--font-body-family) !important;
}

.items-sidebar h3{
    margin-bottom: 14px;
    font-size: 14px;
    color: #2C2D2D;
    font-family: var(--font-body-family);
}

/* Updated Switch Styles to Match Custom Gifts */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #000000;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:focus + .slider {
    box-shadow: 0 0 1px #000000;
}

.filter-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #2C2D2D;
}

.filter-dropdown summary {
    font-size: 14px;
    font-weight: 500;
    color: #2C2D2D;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.filter-dropdown summary::after {
    content: '';
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" fill="currentColor"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 10px;
    height: 6px;
    display: inline-block;
    margin-left: 5px;
}

.filter-dropdown[open] summary::after {
    transform: rotate(180deg);
}

.filter-dropdown-content {
    margin-top: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.filter-option input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
    position: relative;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s ease;
}

.filter-option input[type="checkbox"]:checked {
    background-color: black;
    border-color: black;
}

.filter-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option label {
    margin-left: 8px;
    font-size: 14px;
    color: #2C2D2D;
    cursor: pointer;
}

/* Price Range Slider */
.price-range-container {
    padding: 10px 0;
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.price-range-slider {
    position: relative;
    height: 6px;
    margin: 20px 0;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #2C2D2D;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #2C2D2D;
    background-color: #2C2D2D;
    cursor: pointer;
    -webkit-appearance: none;
    pointer-events: all;
    position: relative;
    z-index: 1;
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #000;
    background-color: white;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 1;
}

/* Drawer Header for Mobile */
.drawer-header {
    display: none;
}

.drawer-header h4 {
    font-family: var(--font-body-family);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* View Items Button (Mobile) */
.view-items-button {
    display: block;
    width: 100%;
    padding: 30px 23px;
    background: #000000;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body-family);
}

.button-container {
    display: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    list-style-type: none;
    gap: 0.5rem;
    padding: 0;
}

.pagination__item {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #2C2D2D;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.pagination__item:hover {
    border-color: #2C2D2D;
}

.pagination__item--current {
    background: #2C2D2D;
    color: #fff;
    border-color: #2C2D2D;
}

.pagination__button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #2C2D2D;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination__button:hover:not(:disabled) {
    background: #2C2D2D;
    color: #fff;
    border-color: #2C2D2D;
}

.pagination__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__ellipsis {
    padding: 8px 12px;
    font-size: 14px;
    color: #2C2D2D;
}

/* Mobile specific sidebar animations */
@media screen and (max-width: 749px) {

    .sort-container .select-wrapper select{
      font-size: 1.2rem;
    }
  
    .items-sidebar {
        box-shadow: 4px 0 16px rgba(0,0,0,0.1);
    }

    .items-sidebar.active {
        box-shadow: 4px 0 16px rgba(0,0,0,0.1);
    }

    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 6px;
        border-bottom: 1px solid #eee;
    }

    .drawer-header h4 {
        font-size: 18px;
        font-weight: 600;
        color: #2C2D2D;
        margin: 0;
    }

    .button-container {
        background: black;
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        display: block;
    }

    .view-items-button {
        display: block;
    }
}

/* Smooth transitions */
.step-content {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.step-content.active {
    opacity: 1;
}

/* Button hover states */
.btn-continue:hover:not(:disabled),
.btn-add-to-basket:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.add-item-btn {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.add-item-btn:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.remove-item-btn {
    font-size: 16px;
}

/* Character counter styling */
.character-count {
    color: #999;
}

/* Personalisation styling */
.personalisation-item {
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}

.personalisation-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Toggle switch "Yes" text */
.toggle-slider:after {
    content: "";
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: white;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

input:checked + .toggle-slider:after {
    content: "Yes";
    opacity: 1;
}

/* Sidebar item hover */
.hamper-sidebar-item {
    transition: background 0.2s;
}

.hamper-sidebar-item:hover {
    background: #f9f9f9;
}

/* Hamper Sidebar Item Controls */
.hamper-sidebar-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: none !important;
    gap: 0.5rem;
}

.quantity-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s;
}

.quantity-btn.minus {
    background: #EFF7F7 !important;
    color: #2C2D2D !important;
}

.quantity-btn.plus {
    background: #2C2D2D !important;
    color: #FFF !important;
}

.quantity-btn:hover {
    transform: scale(1.1);
    background: inherit !important;
}

.quantity-value {
    min-width: 40px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
}

.remove-item {
    background: #F3ED89 !important;
    border: none;
    color: #2C2D2D !important;
    cursor: pointer;
    font-size: 1.8rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.remove-item:hover {
    transform: scale(1.1);
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FDFBE7;
    padding: 8px 15px;
    border-radius: 8px;
}


.sort-container select{
    background: none;
}

.sort-container label {
    font-size: 14px;
    font-weight: 600;
    color: #2C2D2D;
}

/* Hamper Sidebar Continue Button */
.hamper-sidebar-continue {
    width: 100%;
    background: #2C2D2D;
    color: white;
    border: none;
    padding: 1.5rem;
    font-size: 1.6rem;
    border-radius: 24px 0 0;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    font-weight: 500;
}

.hamper-sidebar-continue:hover:not(:disabled) {
    background: #000;
}

.hamper-sidebar-continue:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Ensure consistent form field styling */
.build-your-own-hamper input[type="text"],
.build-your-own-hamper input[type="number"],
.build-your-own-hamper textarea,
.build-your-own-hamper select {
    font-family: inherit;
    font-size: 14px;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive grid adjustments */
@media screen and (max-width: 480px) {
    .items-grid {
        grid-template-columns: 1fr;
    }

    .box-options {
        gap: 1rem;
    }
}

/* Accessibility improvements */
.build-your-own-hamper button:focus,
.build-your-own-hamper input:focus,
.build-your-own-hamper select:focus,
.build-your-own-hamper textarea:focus {
    outline: 2px solid #2C2D2D;
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    background: #2C2D2D;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
}


/* Enhanced floating button styles for mobile */
.hamper-sidebar-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2C2D2D;
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.2s, opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
}

.hamper-sidebar-toggle.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.hamper-sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.hamper-sidebar-toggle:active {
    transform: scale(0.95);
}

.hamper-sidebar-toggle .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #F3ED89;
    color: #2C2D2D;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Basket icon for floating button */
.hamper-sidebar-toggle svg {
    width: 28px;
    height: 28px;
}

/* Better basket icon - replace the SVG in JavaScript with this */
.basket-icon {
    width: 28px;
    height: 28px;
}

/* Hide on desktop */
@media screen and (min-width: 750px) {
    .hamper-sidebar-toggle {
        display: none !important;
    }
}

/* Animation for floating button appearance */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hamper-sidebar-toggle.show {
    animation: floatIn 0.3s ease-out;
}

/* Pulse animation to draw attention */
@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(243, 237, 137, 0.6);
    }
}

.hamper-sidebar-toggle.pulse {
    animation: floatPulse 2s ease-in-out infinite;
}

/* Filter Header Styles */
#filter-header {
    margin-bottom: 15px;
}

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

.filter-header-container p {
    font-size: 14px;
    font-weight: 600;
    color: #2C2D2D;
    margin: 0;
}

#clear-all-filters {
    display: none;
    border: none;
    padding: 5px 10px;
    margin-bottom: 0;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
    background: none;
    font-size: 14px;
    color: #2C2D2D;
}

#active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.active-filter-chip {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
}

.active-filter-chip .remove-filter {
    background: none;
    border: none;
    color: #888;
    margin-left: 5px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

/* Price inputs styling */
.price-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price-inputs input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    width: 100px;
}

/* Ensure checkbox styles are applied in the items-sidebar */
.items-sidebar .filter-option input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
    position: relative;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s ease;
    background-color: white;
}

.items-sidebar .filter-option input[type="checkbox"]:checked {
    background-color: black !important;
    border-color: black !important;
}

.items-sidebar .filter-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Specifically for WebKit browsers */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .filter-option input[type="checkbox"] {
        -webkit-appearance: none;
    }

    .filter-option input[type="checkbox"]:checked {
        background-color: black;
    }
}

/* Mobile Sticky Bar Styles */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #F3ED89;
    padding: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
}

.mobile-sticky-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-hamper-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
}


#mobile-items-count{
  font-weight 400;
  padding-left: 20px;
}

.mobile-view-edit {
    background: none;
    border: none;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.mobile-continue-btn {
    width: 100%;
    background: #2C2D2D;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 24px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    font-family: inherit;
}

.mobile-continue-btn:hover:not(:disabled) {
    background: #000;
}

.mobile-continue-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Filter and Sort Buttons Container */
.filter-sort-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-mobile-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #2C2D2D;
    font-family: inherit;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.4rem;
    cursor: pointer;
}

.sort-container {
    flex: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FDFBE7;
    padding: 8px 15px;
    border-radius: 8px;
}

/* Desktop sticky bar */
.desktop-sticky-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #F3ED89;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 100;
    width: 320px;
    display: none;
}

.desktop-sticky-bar.show {
    display: block !important;
}

/* Show mobile sticky bar only on mobile */
@media screen and (max-width: 749px) {

  .sort-container {
    flex: 0.4 !important;
}
  
    .mobile-sticky-bar {
        display: block;
    }
    
    .filter-mobile-button {
        display: flex;
    }
  
    
    .hamper-navigation {
        margin-bottom: 100px; /* Space for sticky bar */
    }
}

/* Show desktop sticky bar only on desktop */
@media screen and (min-width: 750px) {
    .desktop-sticky-bar {
        display: none; /* Will be shown via JS when needed */
    }
    
    .filter-mobile-button {
        display: none;
    }
    
    .filter-sort-container {
        display: none;
    }
    
    .items-topbar .sort-container {
        display: flex !important;
    }
}

/* Messaging Form Styles */
.messaging-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.messaging-form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 16px 0 0 0;
    font-size: 14px;
    font-family: inherit;
    height: 48px;
    position: relative;
}

.form-group textarea {
    min-height: 100px;
    height: auto;
    resize: vertical;
    padding-bottom: 30px; /* Space for counter */
}

.form-group {
    position: relative;
}

.character-counter-inside {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 12px;
    color: #999;
    pointer-events: none;
}

/* Desktop max-width for form */
@media screen and (min-width: 750px) {
    .messaging-container {
        max-width: 80%;
    }
}

/* Mobile adjustments for messaging */
@media screen and (max-width: 749px) {
    .messaging-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .hamper-summary-container {
        order: 1; /* Move to bottom on mobile */
    }
    
    .messaging-container {
        order: 0; /* Keep at top on mobile */
        max-width: 100%;
    }
}

/* No personalisation message styling */
.no-personalisation-message {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

}

#mobile-items-count{
  font-family: inherit;
  padding-left: 20px;
}

.loading-products {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
    grid-column: 1 / -1; /* Span full width of grid */
}

.error-message {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #e74c3c;
    grid-column: 1 / -1;
    background: #fee;
    border-radius: 8px;
    border: 1px solid #fcc;
}