/* ========================================
   ACFS STORE - Complete Stylesheet
   ======================================== */

:root {
    --primary: #086AB0;
    --primary-light: #e8f4fd;
    --primary-dark: #065a94;
    --accent-green: #27ae60;
    --accent-orange: #f39c12;
    --accent-red: #e74c3c;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* ========================================
   STORE CONTAINER / LAYOUT
   ======================================== */
.store-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.store-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
}

@media screen and (max-width: 900px) {
    .store-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FILTER SIDEBAR
   ======================================== */
.filter-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 1rem;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.filter-section label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: color 0.2s;
}

.filter-section label:hover {
    color: var(--primary);
}

.filter-section input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.filter-count {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-left: auto;
    font-weight: 600;
}

.filter-clear {
    width: 100%;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.filter-clear:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

@media screen and (max-width: 900px) {
    .filter-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    .filter-section {
        margin-bottom: 0;
    }
    .filter-section label {
        font-size: 0.85rem;
    }
    .filter-clear {
        flex: 0 0 auto;
    }
}

/* ========================================
   PRODUCTS AREA / HEADER
   ======================================== */
.products-area {
    min-width: 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.products-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.product-count {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media screen and (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRODUCT CARD
   ======================================== */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card[data-stock="outofstock"] {
    opacity: 0.6;
}

/* ========================================
   PRODUCT IMAGE
   ======================================== */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-100);
    cursor: pointer;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    padding: 1rem;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.stock-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent-green);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.stock-badge.low-stock {
    background: var(--accent-orange);
}

.stock-badge.out-of-stock {
    background: var(--accent-red);
}

.view-gallery-hint {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-card:hover .view-gallery-hint {
    opacity: 1;
}

/* ========================================
   PRODUCT CONTENT
   ======================================== */
.product-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.product-stock-info {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-stock-info strong {
    color: var(--gray-800);
    font-weight: 700;
}

/* ========================================
   SPECS & EXPAND BUTTON
   ======================================== */
.expand-specs-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.expand-specs-btn:hover {
    color: var(--primary-dark);
}

.expand-specs-btn i {
    transition: transform 0.3s;
}

.expand-specs-btn.expanded i {
    transform: rotate(180deg);
}

.product-specs {
    display: none;
    padding: 0.75rem 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.25rem;
}

.product-specs.visible {
    display: block;
}

.product-specs h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    font-size: 0.88rem;
    color: var(--gray-600);
    padding: 0.25rem 0;
    line-height: 1.5;
}

/* ========================================
   PRODUCT ACTIONS / QUANTITY
   ======================================== */
.product-actions {
    margin-top: auto;
    padding-top: 0.75rem;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.qty-control label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-700);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover:not(:disabled) {
    background: var(--gray-200);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-wrapper input[type="number"] {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    font-size: 0.95rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-wrapper input[type="number"]::-webkit-outer-spin-button,
.qty-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ========================================
   CUSTOMIZE / UPGRADES
   ======================================== */
.expand-customize-btn {
    background: var(--primary-light);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: background 0.2s;
}

.expand-customize-btn:hover {
    background: #d0e8f7;
}

.expand-customize-btn i.fa-chevron-down {
    transition: transform 0.3s;
}

.expand-customize-btn.expanded i.fa-chevron-down {
    transform: rotate(180deg);
}

.product-customize {
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: var(--gray-100);
}

.product-customize.visible {
    display: block;
}

.customize-option {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.customize-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.customize-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}

.customize-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green);
}

.customize-option select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-top: 0.4rem;
    color: var(--gray-700);
    background: white;
}

.customize-option select:disabled {
    opacity: 0.5;
    background: var(--gray-200);
}

.customize-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

/* ========================================
   REQUEST / ADD TO CART BUTTON
   ======================================== */
.request-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.request-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-dark), #044a7a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8,106,176,0.35);
}

.request-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
}

.request-btn.added {
    background: linear-gradient(135deg, var(--accent-green), #219a52);
}

/* ========================================
   FLOATING CART
   ======================================== */
.cart-counter {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.25rem;
    min-width: 320px;
    max-width: 380px;
    z-index: 1000;
    display: none;
    max-height: 60vh;
    overflow-y: auto;
}

.cart-counter.has-items {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cart-counter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.cart-counter-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.cart-counter-title i {
    color: rgba(255,255,255,0.9);
}

.cart-counter-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-items-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.cart-item-row {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
    gap: 0.5rem;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-name {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.cart-item-qty {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    margin-left: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    color: white;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.25rem;
    margin-left: 0.5rem;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #ff6b6b;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 2px solid rgba(255,255,255,0.2);
    margin-bottom: 0.75rem;
}

.cart-total-label {
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.cart-total-value {
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.view-cart-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--accent-green), #219a52);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.view-cart-btn:hover {
    background: linear-gradient(135deg, #219a52, #1a8044);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39,174,96,0.35);
}

@media screen and (max-width: 600px) {
    .cart-counter {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        max-width: none;
    }
}

/* ========================================
   PRODUCT MODAL
   ======================================== */
.product-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.product-modal-overlay.active {
    display: flex;
}

.modal-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--gray-800);
    cursor: pointer;
    z-index: 2001;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--accent-red);
    color: white;
}

.product-modal {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-xl);
}

@media screen and (max-width: 768px) {
    .product-modal {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }
    .product-modal-overlay {
        padding: 1rem;
    }
}

.modal-gallery {
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .modal-gallery {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        padding: 1.5rem;
    }
}

.modal-main-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.modal-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.7;
    overflow: hidden;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb:hover,
.modal-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.modal-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.modal-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-stock-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.modal-stock-badge.in-stock {
    background: #d4edda;
    color: #155724;
}

.modal-stock-badge.low-stock {
    background: #fff3cd;
    color: #856404;
}

.modal-stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.modal-locations {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.modal-locations h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-locations p {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 600;
}

.modal-description {
    margin-bottom: 1.5rem;
    flex: 1;
}

.modal-description h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-description p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.modal-actions {
    margin-top: auto;
}

.modal-qty-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-qty-control label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
}

.modal-add-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-add-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-dark), #044a7a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8,106,176,0.35);
}

.modal-add-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
}

/* ========================================
   CHECKOUT / ORDER FORM
   ======================================== */
.order-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.order-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.order-form-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.order-form-header h2 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.order-form-header p {
    font-size: 1rem;
    color: var(--gray-600);
}

.required-note {
    background: var(--primary-light);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required {
    color: var(--accent-red);
    font-weight: 700;
}

/* Order Summary */
.order-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.order-summary h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.order-item-qty {
    font-size: 0.9rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-300);
}

.order-total-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
}

.order-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* Organization Type Selection */
.org-type-selection-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.org-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.org-step-title i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.org-step-subtitle {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.org-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media screen and (max-width: 600px) {
    .org-type-cards {
        grid-template-columns: 1fr;
    }
}

.org-type-card {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.org-type-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.org-type-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.org-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.org-card-icon i {
    font-size: 1.5rem;
    color: white;
}

.org-type-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.org-type-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Checkout Form Body */
.order-form-body {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.selected-org-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.change-org-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.change-org-btn:hover {
    color: var(--primary-dark);
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 600;
}

.form-error i {
    margin-top: 0.15rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,106,176,0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Info Block / Warning */
.store-checkout-info-block {
    background: #e8f4fd;
    border: 1px solid #b6d4fe;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.store-checkout-info-block h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-checkout-info-block ul {
    margin: 0;
    padding-left: 1.25rem;
}

.store-checkout-info-block li {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.store-checkout-info-block p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
}

.store-checkout-warning {
    background: #fff8e1;
    border-color: #ffe082;
}

.store-checkout-warning h4 {
    color: #78350f;
}

.store-checkout-warning p {
    color: #78350f;
}

/* Pickup Section */
.store-pickup-section {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.store-pickup-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-pickup-section h3 i {
    color: var(--primary);
}

.store-pickup-address {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.travel-acknowledgment {
    margin-top: 1rem;
}

/* Submit */
.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-green), #219a52);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #219a52, #1a8044);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39,174,96,0.35);
}

/* ========================================
   ORDER SUCCESS
   ======================================== */
.store-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8,106,176,0.1);
    z-index: 999;
}

.order-success {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1000;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.order-success h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.success-name {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.success-steps {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.success-steps p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.success-steps p:last-child {
    border-bottom: none;
}

.success-steps i {
    color: var(--primary);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.order-success .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.order-success .back-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), #044a7a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8,106,176,0.35);
}

/* ========================================
   RESPONSIVE - GENERAL
   ======================================== */
@media screen and (max-width: 768px) {
    .store-container {
        padding: 1rem;
    }

    .order-form-body {
        padding: 1.25rem;
    }

    .org-type-selection-step {
        padding: 1.5rem;
    }

    .order-success {
        margin: 1.5rem 1rem;
        padding: 2rem 1.5rem;
    }
}
