/* ==========================================================================
   WIDULABS STORE - LAYOUT STYLESHEET (style.css)
   Contains non-critical UI layout, drawer, modal dialogs, and component rules
   ========================================================================== */

/* Typography & Google Font Swaps Fallback configuration */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-display: swap;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-display: swap;
}

/* --- Search and Categories Toolbar --- */
.store-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tab {
    background-color: var(--surface-white);
    border: 1px solid var(--border-light);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.category-tab:hover {
    background-color: var(--pastel-gray);
    color: var(--text-primary);
}

.category-tab.active {
    background-color: var(--text-primary);
    color: var(--surface-white);
    border-color: var(--text-primary);
}

.search-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    outline: none;
    background-color: var(--surface-white);
    font-size: 14px;
    transition: all 0.2s;
}

.search-wrapper input:focus {
    border-color: var(--cta-blue);
    box-shadow: 0 0 0 1px var(--cta-blue);
}

.search-wrapper .material-symbols-outlined {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 20px;
    pointer-events: none;
}

/* --- Products Grid & Cards --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background-color: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-elevation-2);
    transform: translateY(-4px);
    border-color: transparent;
}

.product-card-img-container {
    width: 100%;
    height: 240px;
    background-color: var(--pastel-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.product-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s, opacity 0.3s ease-in;
}

.product-card:hover .product-card-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--surface-white);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
}

.product-badge.out-of-stock {
    background-color: var(--pastel-red);
    color: var(--google-red);
}

.product-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

/* --- Cart Drawer (Slide-in Panel) --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1050;
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(-420px);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 20px;
}

.cart-drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--pastel-gray);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background-color: var(--pastel-gray);
    border-radius: 8px;
    padding: 8px;
    object-fit: contain;
}

.cart-item-detail {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    background-color: var(--pastel-gray);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background-color: var(--border-light);
}

.cart-item-qty {
    font-size: 13px;
    font-weight: 700;
    width: 16px;
    text-align: center;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--google-red);
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-base);
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
}

.cart-summary-line.total {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.checkout-btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 14px;
    display: block;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-secondary);
    margin: auto 0;
    padding: 40px 0;
}

.empty-cart-msg .material-symbols-outlined {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* --- Modals & Native dialog Elements --- */
dialog {
    border: none;
    border-radius: 28px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    width: 90%;
    margin: auto;
    background-color: var(--surface-white);
    outline: none;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.dialog-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 85vh;
}

.dialog-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header h3 {
    font-size: 22px;
}

.close-dialog-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 24px;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-dialog-btn:hover {
    background-color: var(--pastel-gray);
    color: var(--text-primary);
}

.dialog-content {
    padding: 24px;
    overflow-y: auto;
}

/* --- Product Details Layout Specs --- */
.prod-details-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

@media (max-width: 600px) {
    .prod-details-layout {
        grid-template-columns: 1fr;
    }
}

.prod-details-img-box {
    background-color: var(--pastel-gray);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
}

.prod-details-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.prod-details-info {
    display: flex;
    flex-direction: column;
}

.prod-details-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.prod-details-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}

.prod-details-price {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.prod-details-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.prod-details-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.stock-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-in {
    background-color: var(--google-green);
}

.stock-out {
    background-color: var(--google-red);
}

/* --- Checkout Form Inputs & Setup --- */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.step-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.step-label.active {
    color: var(--cta-blue);
    font-weight: 700;
}

.checkout-form-step {
    display: none;
}

.checkout-form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    outline: none;
    font-size: 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--cta-blue);
    box-shadow: 0 0 0 1px var(--cta-blue);
}

.checkout-action-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.checkout-action-row button {
    flex: 1;
}

/* --- Bank Transfer details Panel --- */
.bank-transfer-details {
    background-color: var(--pastel-blue);
    border: 1px solid rgba(26, 115, 232, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(32, 33, 36, 0.1);
    padding-bottom: 6px;
}

.bank-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-detail-row strong {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.whatsapp-submit-btn {
    background-color: var(--google-green);
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-submit-btn:hover {
    background-color: #2E8547;
    box-shadow: var(--shadow-elevation-1);
}

/* --- Order Success State Screen --- */
.order-success-screen {
    text-align: center;
    padding: 24px 0;
}

.success-checkmark {
    font-size: 64px;
    color: var(--google-green);
    background-color: var(--pastel-green);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.order-success-screen h4 {
    font-size: 22px;
    margin-bottom: 12px;
}

.order-success-screen p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tracking-box {
    background-color: var(--pastel-gray);
    border-radius: 12px;
    padding: 16px;
    display: inline-block;
    font-family: monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px dashed var(--border-light);
    margin-bottom: 24px;
}

/* --- Order History Cards --- */
.order-card {
    background-color: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--pastel-gray);
    padding-bottom: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.order-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-meta-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.order-meta-val {
    font-size: 13px;
    font-weight: 600;
}

.order-status-badge {
    background-color: var(--pastel-blue);
    color: var(--cta-blue);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    align-self: center;
}

.order-status-badge.shipped {
    background-color: var(--pastel-green);
    color: var(--google-green);
}

.order-status-badge.awaiting {
    background-color: var(--pastel-red);
    color: var(--google-red);
}

.order-card-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-card-item-img {
    width: 48px;
    height: 48px;
    background-color: var(--pastel-gray);
    border-radius: 6px;
    padding: 4px;
    object-fit: contain;
}

.order-card-item-name {
    font-size: 13px;
    font-weight: 600;
    flex-grow: 1;
}

.order-card-item-qty {
    font-size: 12px;
    color: var(--text-secondary);
}

.slip-view-link {
    font-size: 12px;
    color: var(--cta-blue);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* --- Auth Dialog Modal Layout --- */
.auth-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

.auth-switch-link {
    font-size: 13px;
    color: var(--cta-blue);
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
    margin-top: 12px;
}

/* --- Custom build links --- */
.custom-build-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 20px;
    color: #3c4043;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 24px;
    border: 1px solid #dadce0;
    background-color: #ffffff;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-build-link:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.custom-build-link svg {
    fill: #1a73e8;
}

/* --- Password Wrapper styling --- */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
}

.password-toggle-btn:hover {
    color: var(--text-primary);
    background-color: var(--pastel-gray);
}

.password-toggle-btn .material-symbols-outlined {
    font-size: 20px;
}

.form-field input:invalid:not(:placeholder-shown) {
    border-color: var(--google-red);
}

.field-error-msg {
    font-size: 11px;
    color: var(--google-red);
    margin-top: 2px;
    display: none;
}

.field-error-msg.visible {
    display: block;
}

/* --- Custom Toast Container --- */
.toast {
    background: var(--surface-white);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-float);
    margin-bottom: 8px;
    border-left: 4px solid var(--cta-blue);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 250px;
    max-width: 400px;
    pointer-events: auto;
}

.toast-warning {
    border-left-color: var(--google-yellow);
}

.toast-error {
    border-left-color: var(--google-red);
}

.toast-success {
    border-left-color: var(--google-green);
}

@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --- Loader Spinners --- */
.loader-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Session Expiry Toast --- */
.session-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #323232;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 90vw;
}

.session-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.session-toast .material-symbols-outlined {
    font-size: 20px;
    color: var(--google-yellow);
}

/* --- Order Status Timelines --- */
.order-status-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 16px;
    margin: 20px 0;
    background-color: var(--pastel-gray);
    border-radius: 12px;
}

.order-status-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 4px;
    background-color: var(--border-light);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    text-align: center;
}

.timeline-step .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--surface-white);
    border: 3px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.timeline-step .step-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.timeline-step.completed .step-circle {
    background-color: var(--google-green);
    border-color: var(--google-green);
    color: #FFFFFF;
}

.timeline-step.completed .step-name {
    color: var(--google-green);
}

.timeline-step.active .step-circle {
    background-color: var(--cta-blue);
    border-color: var(--cta-blue);
    color: #FFFFFF;
    box-shadow: 0 0 0 4px var(--pastel-blue);
}

.timeline-step.active .step-name {
    color: var(--cta-blue);
    font-weight: 700;
}

/* --- Custom Scrollbars --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: #C1C1C1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A8A8A8;
}

/* --- Footer Area --- */
footer {
    background-color: var(--surface-white);
    border-top: 1px solid var(--border-light);
    padding: 60px 24px 24px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-locale {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-locale .material-symbols-outlined {
    font-size: 18px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
}

.footer-legal-links a:hover {
    color: var(--text-primary);
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-secondary);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    nav {
        padding: 0 12px 0 20px;
    }
    main {
        padding-top: 80px;
    }
    .store-hero h1 {
        font-size: 2.2rem;
    }
    .store-hero p {
        font-size: 1rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .user-nav-badge {
        display: none;
    }
}

@media (max-width: 576px) {
    .order-status-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 16px;
    }
    .order-status-timeline::before {
        display: none;
    }
    .timeline-step {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 12px;
    }
    .timeline-step .step-circle {
        margin-bottom: 0;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .timeline-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 28px;
        left: 14px;
        width: 2px;
        height: 18px;
        background-color: var(--border-light);
        z-index: 1;
    }
    .timeline-step.completed:not(:last-child)::after {
        background-color: var(--google-green);
    }
}
