/* --- NEW: User Avatar and Dropdown Styles --- */
.user-options .option.user-avatar-menu {
    position: relative;
    padding: 0; /* Remove default padding */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Give it a fixed width */
}

.avatar-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #fff;
    transition: all 0.2s ease;
}
.avatar-container:hover {
    border-color: #0071dc;
    box-shadow: 0 0 8px rgba(0,113,220,0.5);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-container .initials {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    user-select: none;
}

.user-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1010;
    overflow: hidden;
    margin-top: 10px;
}

.user-dropdown.visible {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.user-dropdown a:hover {
    background-color: #f5f5f5;
}

/* Style the logout link differently */
.user-dropdown a#logout-button {
    border-top: 1px solid #eee;
    color: #d9534f; /* Red color for logout */
}
.user-dropdown a#logout-button:hover {
    background-color: #fdf2f2;
}
/* --- End of New Styles --- */


.user-avatar-btn {
    background: #d3effa;
    border: 2px solid #d3effa;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #0e579c;
}
         

        .user-avatar-btn .avatar-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
                object-position: top;
        }

        .user-avatar-btn .avatar-initial {
            font-size: 1.2rem;
            font-weight: 600;
            line-height: 1;
        }

        .user-dropdown-menu {
            display: none; /* Hidden by default */
            position: absolute;
            top: calc(100% + 12px); /* Position below button */
            right: 0;
            width: 240px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border: 1px solid #eee;
            z-index: 1000;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.2s ease-out, transform 0.2s ease-out;
        }

        .user-dropdown-menu.visible {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .user-dropdown-menu .dropdown-header {
            padding: 12px 16px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .user-dropdown-menu .dropdown-email {
            font-size: 0.9rem;
            font-weight: 500;
            color: #555;
            word-break: break-all;
        }

        .user-dropdown-menu ul {
            list-style: none;
            padding: 8px;
            margin: 0;
        }

        .user-dropdown-menu li a,
        .user-dropdown-menu li button {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            text-align: left;
            padding: 10px 12px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #333;
            text-decoration: none;
            background: none;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }
        
        .user-dropdown-menu li a i,
        .user-dropdown-menu li button i {
            width: 18px;
            text-align: center;
            color: #555;
        }

        .user-dropdown-menu li a:hover,
        .user-dropdown-menu li button:hover {
            background-color: #f5f5f5;
            color: #000;
        }
        
        .user-dropdown-menu li button#logout-btn {
            color: #d9534f; /* Red for logout */
        }
        .user-dropdown-menu li button#logout-btn:hover {
            background-color: #fdf2f2;
            color: #b92c28;
        }






        div#user-dropdown-menu * li {
    width: max-content;
}

       div#user-dropdown-menu * a {
    font-size: 14px;
}







 .loading-spinner {
            width: 48px;
            height: 48px;
            border: 5px solid #DDD;
            border-bottom-color: #3b82f6;
            border-radius: 50%;
            display: inline-block;
            box-sizing: border-box;
            animation: rotation 1s linear infinite;
            margin: 20px auto;
        }
        @keyframes rotation {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .carousel-loading {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 200px;
            width: 100%;
        }

        /* --- Location Modal Styles --- */
        .location-modal-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgb(0 0 0 / 20%);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }
        .location-modal-overlay.visible {
            display: block;
            opacity: 1;
        }

        .location-modal {
            display: none; /* Hidden by default */
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 1001;
            width: 90%;
            max-width: 450px;
            overflow: hidden;
            opacity: 0;
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        }
        
        .location-modal.visible {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .location-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 24px;
            border-bottom: 1px solid #eee;
        }
        
        .location-modal-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #333;
        }

        .location-modal-close {
            font-size: 1.5rem;
            font-weight: 300;
            color: #888;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }
        .location-modal-close:hover {
            color: #000;
        }

        .location-modal-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .delivery-options {
    display: grid
;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 10px;
    width: max-content;
}

        .delivery-option-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 16px;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            background: #f9f9f9;
            transition: all 0.2s ease;
        }
        .delivery-option-btn i {
            font-size: 1.5rem;
            margin-bottom: 8px;
            color: #555;
        }
        .delivery-option-btn span {
            font-size: 1rem;
            font-weight: 500;
            color: #333;
        }

        
        
        .delivery-option-btn.active {
            border-color: #3b82f6;
            background: #eef5ff;
            box-shadow: 0 0 0 2px #3b82f640;
        }
        .delivery-option-btn.active i,
        .delivery-option-btn.active span {
            color: #3b82f6;
        }

        .location-modal-address {
            font-size: 0.95rem;
            color: #555;
            background: #f5f5f5;
            padding: 12px 16px;
            border-radius: 8px;
            border: 1px solid #eee;
            /* --- MODIFIED --- */
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .location-modal-address .address-text-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            /* Allow shrinking */
            min-width: 0; 
        }
        .location-modal-address .address-text-wrapper span {
            /* Prevent long text from breaking layout */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .location-modal-address i {
            margin-right: 0; /* Removed margin, using gap */
            color: #3b82f6;
            flex-shrink: 0; /* Don't shrink icon */
        }
        .edit-location-btn {
            background: none;
            border: none;
            color: #3b82f6;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            padding: 4px;
            flex-shrink: 0; /* Don't shrink button */
        }
        .edit-location-btn:hover {
            text-decoration: underline;
        }

        /* --- Edit Form Styles --- */
        .edit-location-form {
            /* --- MODIFIED --- */
            display: flex;
            flex-direction: column; /* Changed to column */
            gap: 10px;
        }
        /* --- NEW --- */
        .edit-form-row {
            display: flex;
            gap: 10px;
        }

        .location-input {
            flex-grow: 1;
            padding: 10px 14px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95rem;
        }
        .location-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 2px #3b82f640;
        }
        .save-location-btn {
            padding: 0 16px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            background-color: #16a34a; /* Green for save */
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        .save-location-btn:hover {
            background-color: #15803d;
        }
        
        /* --- Map Container Style --- */
        .map-container {
            height: 250px;
            width: 100%;
            border-radius: 8px;
            border: 1px solid #ddd;
            z-index: 1; /* Ensures map tiles render correctly */
        }


        /* --- Styles for Pickup Locations List --- */
        .hidden-by-default {
            display: none !important; /* Use important to override any inline styles if needed */
        }

        .pickup-locations-list {
    display: flex
;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    border: 0px solid #eee;
    border-radius: 8px;
    padding: 8px;
}
.pickup-location-item {
    padding: 12px 16px;
    border: 1px solid #f0f0f054;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s 
ease;
    background: #fdfdfd3b;
}

        .pickup-location-item:hover {
            background: #f5f5f57a;
            border-color: #ddd;
        }

        .pickup-location-item.active {
            border-color: #3b82f6;
            background: #eef5ff;
            box-shadow: 0 0 0 2px #3b82f640;
            font-weight: 600;
            color: #3b82f6;
        }

        .confirm-location-btn:disabled {
            background-color: #a5b4fc; /* Lighter blue when disabled */
            cursor: not-allowed;
        }
        /* --- End of NEW Styles --- */

        .confirm-location-btn {
            width: 100%;
            padding: 14px;
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            background-color: #3b82f6;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        .confirm-location-btn:hover {
            background-color: #2563eb;
        }
        /* --- End of Modal Styles --- */


        /* --- Walmart-Style Modal Redesign (MODIFIED for dropdown) --- */

        /* --- Anchor for the modal --- */
        .logo-section {
            position: relative; 
        }

        /* Override existing modal styles */
        .location-modal {
            border-radius: 16px; /* Larger border radius */
            max-width: 400px; /* More constrained width */
            overflow: visible; /* Allow for transforms */
            
            /* --- MODIFIED POSITIONING --- */
            position: absolute; /* Changed from fixed */
            top: calc(100% + 8px); /* Position below parent + 8px gap */
            left: 0; /* Align with parent left */
            z-index: 1001;
            width: 400px; /* Fixed width */

            /* --- MODIFIED ANIMATION --- */
            opacity: 0;
            transform: translateY(-10px) scale(0.95); /* Start slightly up */
            transition: opacity 0.2s ease-out, transform 0.2s ease-out;
            
            /* --- REMOVED old fixed styles --- */
            /* top: 150px; */ 
            /* left: 50%; */
        }

        .location-modal.visible {
            opacity: 1;
            transform: translateY(0) scale(1); /* Animate down */
        }
        
        /* --- HIDE OVERLAY --- */
        .location-modal-overlay {
            display: none; 
        }

        .location-modal-header {
            display: none; /* Hide old header */
        }
        
        .location-modal-body {
            padding: 10px 15px; /* New padding */
            gap: 12px; /* Tighter gap */
        }

        .option-text {
    color: #000;
}

        /* New 3-Button Options */
        .delivery-options {
            display: grid;
            grid-template-columns: 1fr 1fr; /* 3 columns */
            gap: 16px;
            padding: 0 10px;
        }

        .delivery-option-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 0;
            border: none; /* Remove border */
            border-radius: 8px;
            cursor: pointer;
            background: none; /* Transparent background */
            transition: all 0.2s ease;
            gap: 8px;
        }
        
        .delivery-option-btn .icon-wrapper {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            border: 3px solid transparent;
        }
        
        .delivery-option-btn i {
            font-size: 1.5rem;
            color: #0071dc; /* Blue icon */
            margin-bottom: 0;
            transition: all 0.2s ease;
        }
        
        .delivery-option-btn span {
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff; /* White text */
            transition: all 0.2s ease;
        }

       

        .delivery-option-btn.active .icon-wrapper {
            background: #fff;
            border-color: #fff;
        }
        
        /* Remove old active styles */
        .delivery-option-btn.active {
            background: none;
            box-shadow: none;
        }
        .delivery-option-btn.active i,
        .delivery-option-btn.active span {
            color: #fff; /* Keep text/icon white */
        }
        
        /* New Card-based layout */
        .location-card {
            background: #fff;
            border-radius: 12px;
            padding: 16px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        
       

        .location-card-delivery {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .location-card-header {
    display: flex
;
    align-items: center;
    gap: 20px;
}
        
        .location-card-header i {
            font-size: 1.25rem;
            color: #333;
            margin-top: 3px;
        }

        .location-card-text {
            display: flex;
            flex-direction: column;
            /* Allow shrinking */
            min-width: 0; 
        }

        .location-card-title {
            font-size: 1rem;
            font-weight: 600;
            color: #000;
        }
        
        .location-card-subtitle {
            font-size: 0.9rem;
            color: #555;
            /* Prevent long text from breaking layout */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .add-address-btn {
            width: 100%;
            padding: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            background-color: #0071dc;
            border: none;
            border-radius: 20px; /* Pill shape */
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        .add-address-btn:hover {
            background-color: #00519e;
        }
        
        /* Pickup Card */
        .location-card-pickup {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 19px;
        }
        
        .location-card-pickup i.fa-chevron-right {
            font-size: 1rem;
            color: #555;
        }
        
        /* Hide old elements */
        .location-modal-address,
        .confirm-location-btn {
            display: none !important;
        }
        
        /* Map/Edit modal */
        /* Make the edit form a full modal on top */
        .edit-location-form {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 1002; /* Above modal, below overlay */
            width: 90%;
            max-width: 450px;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            border: 1px solid #ddd;
        }
        
        .edit-location-form.visible {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }
        
        .edit-form-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .edit-form-title {
            font-size: 1.15rem;
            font-weight: 600;
        }

        .edit-form-close {
            font-size: 1.5rem;
            font-weight: 300;
            color: #888;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }
        .edit-form-close:hover {
            color: #000;
        }
        
        .save-location-btn {
             width: 100%;
             margin-top: 10px;
             padding: 12px;
             font-size: 1rem;
             border-radius: 20px;
             background-color: #16a34a;
        }
        .save-location-btn:hover {
            background-color: #15803d;
        }
        
        /* --- End of Redesign --- */
.mega-deal-section {
    background-color: #d3d3d300;
    border: 0px solid #ffc220;
    color: #fff;
    /* border-top: solid 1px #3333331f; */
    border-bottom: solid 1px #3333331f;
    border-radius: 0;
}
        
.mega-deal-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-right: 0;
    gap: 0px;
    margin-bottom: 20px;
    flex-direction: column;
}
        
        

.mega-deal-header h2 {
    color: #000000;
    font-size: 30px;
    text-transform: capitalize;
}
        
        .mega-deal-timer {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    background: #ffffff00;
    padding: 0;
    border-radius: 8px;
    border: 0;
    text-align: center;
    margin-top: 7px;
}
        

a.inline-block.mt-4.px-4.py-2.rounded-xl.bg-blue-600.text-white {
    background: #ff2927;
}


input[type="search"] {
    color: #000;
}


        .mega-deal-timer .time-val {
            font-size: 20px;
            font-weight: 700;
            color: #000000; /* Red numbers */
            min-width: 2ch; /* Ensure 2 characters width */
            display: inline-block;
            text-align: center;
        }
        
        .mega-deal-timer .time-label {
            font-size: 20px;
            color: #000000;
        }

        .mega-deal-section .carousel-nav {
            top: 20px; /* Adjust to align with new header */
        }
        
        .mega-deal-section .product-carousel {
            padding-top: 10px;
        }
        /* --- End Mega Deal Section Styles --- */


        /* --- NEW: AVATAR DROPDOWN STYLES --- */
        .user-menu-container {
            position: relative;
        }

        
        /* --- END AVATAR STYLES --- */


        svg.w-3.h-3.mx-2.fill-current {
    margin: 0;
}

.grid.grid-cols-1.lg\:grid-cols-10.lg\:gap-8.bg-white.lg\:shadow-md.lg\:rounded-lg.lg\:p-6 {
    padding-top: 0;
}

span.cart-total {
    margin-left: 5px;
}

div#edit-location-form {
    color: #000;
}

button#save-location-btn {
    background: #0071dc;
    margin-top: -49px;
    z-index: 9;
    border-radius: 400px;
}

/* Ensure single-image slides fill the slide width */
.promo-images.single {
    display: block;
}
.promo-images.single img.img-large {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


.promo-images.single { display: block !important; grid-template-columns: none !important; }
.promo-images.single img.img-large { width: 100%; height: auto; object-fit: cover; display: block; }
.single-image * img.img-small {
    display: none;
}

.single-image > .promo-images {
    min-width: 100%;
    width: 100%;
}

.single-image * img.img-large {
    width: 100%;
    height: 400px;
    min-height: 400px;
}

 


.promo-text {
    padding: 30px 100px;
}




.single-image * img.img-large {
    height: 400px;
    min-height: 400px;
    width: 100%;
    z-index: 0;
    object-fit: cover;
}

.single-image > .promo-text {
    z-index: 1;
}

.single-image > .promo-text h2 {
    width: 40%;
    font-size: 50px;
}

.slide.single-image {
    position: relative;
        min-height: 400px;
}

.single-image > .promo-images {
    min-width: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

 button#promo-toggle {
    display: none;
}



.promo-text h2 {
    width: 60%;
    font-size: 50px;
    line-height: 1.1;
}








/* === Shimmer Skeletons === */
:root {
  --shim-base: #eee;
  --shim-highlight: #f6f6f6;
}

.shimmer {
  position: relative;
  overflow: hidden;
  background: var(--shim-base);
}
.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, transparent, var(--shim-highlight), transparent);
  animation: shimmer-sweep 1.25s infinite;
}

@keyframes shimmer-sweep {
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .shimmer::after { animation: none; }
}

/* Shared container for skeletons inside carousels */
.skeleton-grid {
  display: flex;
  gap: 15px;
  width: 100%;
  padding: 0 6px;
}

/* Product card skeletons (match your .product-card sizing) */
.skeleton-card {
  width: 250px;
  flex: 0 0 250px;
  border: 1px solid #e0e0e085;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.skeleton-image {
  height: 180px;
  border-bottom: 1px solid #e0e0e0;
}
.skeleton-lines {
  padding: 12px;
  display: grid;
  gap: 8px;
}
.skeleton-line {
  height: 12px;
  border-radius: 6px;
}
.skeleton-line.w-90 { width: 90%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-50 { width: 50%; }

/* Category chip skeletons (match your category tiles ~120px) */
.skeleton-category {
  width: 120px;
  flex: 0 0 120px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.skeleton-cat-image {
  width: 120px;
  height: 120px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}
.skeleton-cat-line {
  height: 10px;
  width: 80%;
  justify-self: center;
  border-radius: 6px;
}

/* Reuse your existing container */
.carousel-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  width: 100%;
}

/* (Optional) keep .loading-spinner as a legacy fallback — not used anymore */
/* === Shimmer Skeletons: NAV + HEADER SLIDER === */










/* make the nav container positionable for the overlay */
.nav-scroll-container { position: relative; }



/* pill shapes */
.skeleton-pill {
  height: 14px;
  border-radius: 999px;
  background: var(--shim-base);
}
.skeleton-pill::after {
  content: "";
  position: absolute;
}
.skeleton-pill.shimmer { position: relative; }

/* handy widths */
.w-48 { width: 48px; }
.w-60 { width: 60px; }
.w-72 { width: 72px; }
.w-96 { width: 96px; }

/* --- Header slider (hero) skeleton blocks --- */
.skeleton-hero-large,
.skeleton-hero-small {
  border-radius: 12px;
  background: var(--shim-base);
}
.skeleton-hero-large.shimmer,
.skeleton-hero-small.shimmer { position: relative; }

.skeleton-hero-large { width: 374px; height: 285px; }
.skeleton-hero-small { width: 250px; height: 250px; margin-right: 50px; }

/* text line variants for hero copy */
.skeleton-line.h-18 { height: 18px; border-radius: 8px; }
.skeleton-line.h-28 { height: 28px; border-radius: 10px; }


span.cart-total {
    display: none;
}


.cart-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Collections: keep promo-card fixed while products scroll */
.product-carousel {
  position: relative;
  display: flex;
  gap: 16px;                 /* match whatever gap you use for cards */
  overflow-x: auto;
  scroll-padding-inline-start: 16px; /* keeps first product from tucking under sticky */
}

.product-carousel .promo-card {
  position: sticky;
  left: 0;                   /* pin to the left edge */
  flex: 0 0 360px;           /* width of the promo tile (adjust as you like) */
  min-width: 40vw;
  align-self: stretch;       /* match carousel height */
  z-index: 20;                /* sit above sliding cards */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 12px 0 24px -16px rgba(0,0,0,.25); /* soft edge so cards slide 'under' */
}












