/* ============================================
   Shop - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --etsy-orange: #F1641E;
    --etsy-orange-hover: #E14C00;
    --etsy-cream: #FDFBF7;
    --etsy-beige: #F5F5F1;
    --etsy-text: #222222;
    --etsy-gray: #757575;
    --etsy-light-gray: #E1E3DF;
    --etsy-border: #D9D9D9;
    --success-green: #2E7D32;
}

/* Base Styles */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--etsy-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--etsy-text);
}

main {
    flex: 1;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    background: white;
    border-bottom: 2px solid var(--etsy-border);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--etsy-orange) !important;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--etsy-orange-hover) !important;
}

/* Search Bar */
.search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 2px solid var(--etsy-text);
    border-radius: 24px;
    font-size: 0.9375rem;
    background: #f4f4f4;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    background: white;
    border-color: var(--etsy-text);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--etsy-orange);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--etsy-orange-hover);
}

/* Nav Links */
.nav-link {
    font-weight: 500;
    color: var(--etsy-text) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 24px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.nav-link:hover {
    background: var(--etsy-beige);
}

.nav-link i {
    font-size: 1.25rem;
}

/* Sign In Button */
.btn-signin {
    border: 2px solid var(--etsy-orange);
    color: var(--etsy-orange);
    background: transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.btn-signin:hover {
    background: var(--etsy-orange);
    color: white;
}

/* Cart Badge */
.cart-icon-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--etsy-orange);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* ============================================
   Category Navigation
   ============================================ */
.category-nav {
    background: white;
    border-bottom: 1px solid var(--etsy-border);
    padding: 0.5rem 0;
}

.category-link {
    color: var(--etsy-text);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.category-link:hover {
    color: var(--etsy-orange);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.category-link.active {
    color: var(--etsy-orange);
    font-weight: 600;
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    background: white;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.product-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    background: #f8f8f8;
    position: relative;
    aspect-ratio: 1 / 1;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.product-info {
    padding: 0.75rem 0;
}

.product-title {
    font-size: 0.95rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.product-rating {
    font-size: 0.75rem;
    color: var(--etsy-gray);
    margin-bottom: 0.25rem;
}

.product-rating .stars {
    color: var(--etsy-orange);
}

.price-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--etsy-text);
}

.price-tag .currency {
    font-size: 0.75rem;
    vertical-align: super;
}

.free-shipping {
    font-size: 0.6875rem;
    color: var(--success-green);
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background-color: var(--etsy-text);
    border-color: var(--etsy-text);
    border-radius: 24px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
    transform: scale(1.02);
}

.btn-etsy {
    background-color: var(--etsy-orange);
    border-color: var(--etsy-orange);
    color: white;
    border-radius: 24px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.btn-etsy:hover {
    background-color: var(--etsy-orange-hover);
    border-color: var(--etsy-orange-hover);
    color: white;
    transform: scale(1.02);
}

.btn-outline-etsy {
    border: 2px solid var(--etsy-text);
    color: var(--etsy-text);
    background: transparent;
    border-radius: 24px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.btn-outline-etsy:hover {
    background: var(--etsy-beige);
    color: var(--etsy-text);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #FDD8B5 0%, #F4D2C4 50%, #E8D5C4 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--etsy-text);
    line-height: 1.2;
}

.hero-text {
    color: var(--etsy-gray);
    font-size: 1rem;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ============================================
   Section Styles
   ============================================ */
.section-title {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--etsy-text);
}

.section-link {
    color: var(--etsy-text);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

/* ============================================
   Category Cards
   ============================================ */
.category-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.category-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-placeholder i {
    font-size: 3rem;
    color: #999;
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badge {
    text-align: center;
}

.trust-badge i {
    font-size: 2rem;
    color: var(--etsy-orange);
}

.trust-badge h6 {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.trust-badge small {
    color: var(--etsy-gray);
}

/* ============================================
   Footer - Etsy Style (Light Theme)
   ============================================ */

.site-footer {
    background: var(--etsy-beige);
    color: var(--etsy-text);
    font-size: 0.9rem;
    margin-top: auto;
    border-top: 1px solid var(--etsy-border);
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-section h5 {
    color: var(--etsy-text);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section - 参考 bigronline.com */
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact .contact-item i {
    color: var(--etsy-orange);
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact .contact-item .label {
    display: block;
    color: var(--etsy-text);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.footer-contact .contact-item a {
    color: var(--etsy-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact .contact-item a:hover {
    color: var(--etsy-orange);
}

.footer-contact .contact-item span:not(.label) {
    color: var(--etsy-gray);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--etsy-gray);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--etsy-orange);
    padding-left: 5px;
}

/* About Text */
.footer-about-text {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--etsy-gray);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--etsy-light-gray);
    border-radius: 50%;
    color: var(--etsy-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--etsy-orange);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--etsy-beige);
    padding: 20px 0;
    border-top: 1px solid var(--etsy-border);
}

.copyright {
    margin: 0;
    color: var(--etsy-gray);
    font-size: 0.85rem;
}

/* Legal Links - col-md-8 text-md-end 区域 */
/* Privacy Policy → Terms of Service → Cookie Policy → Do Not Sell */
.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: flex-end;
}

.legal-links li {
    position: relative;
}

.legal-links li:not(:last-child)::after {
    content: '|';
    margin-left: 12px;
    color: var(--etsy-light-gray);
}

.legal-links a {
    color: var(--etsy-gray);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.legal-links a:hover {
    color: var(--etsy-orange);
}

/* Responsive */
@media (max-width: 767px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .legal-links {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .legal-links li:not(:last-child)::after {
        display: none;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   Forms & Controls
   ============================================ */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--etsy-border);
    padding: 0.625rem 0.875rem;
}

.form-control:focus {
    border-color: var(--etsy-orange);
    box-shadow: 0 0 0 3px rgba(241, 100, 30, 0.1);
}

/* ============================================
   Components
   ============================================ */
.alert {
    border-radius: 8px;
    border: none;
}

.dropdown-menu {
    border: 1px solid var(--etsy-border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: var(--etsy-beige);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 0;
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
}

.empty-state p {
    margin-top: 1rem;
    color: var(--etsy-gray);
}

/* ============================================
   Auth Pages (Login/Register)
   ============================================ */
.auth-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: white;
}

.auth-card .card-body {
    padding: 3rem;
}

.auth-icon {
    font-size: 4rem;
    color: var(--etsy-orange);
    display: block;
    margin-bottom: 1rem;
}

.auth-title {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--etsy-gray);
    font-size: 0.9375rem;
}

.auth-link {
    color: var(--etsy-orange);
    font-weight: 500;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-guest {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--etsy-border);
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail-img {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--etsy-border);
}

.product-detail-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail-info h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--etsy-text);
    margin-bottom: 1rem;
}

.product-detail-meta {
    color: var(--etsy-gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.product-detail-description {
    line-height: 1.8;
    color: var(--etsy-text);
    margin-bottom: 1.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--etsy-border);
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--etsy-beige);
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--etsy-border);
    border-radius: 8px;
    font-weight: 600;
}

/* ============================================
   Product List Page
   ============================================ */
.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--etsy-border);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section-title {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    accent-color: var(--etsy-orange);
}

.sort-dropdown {
    border: 1px solid var(--etsy-border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    background: white;
}

/* ============================================
   Cart Page
   ============================================ */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--etsy-border);
    margin-bottom: 1rem;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--etsy-text);
    font-size: 1.125rem;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--etsy-border);
}

.cart-summary-title {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 0.75rem;
    border-top: 2px solid var(--etsy-border);
    margin-top: 0.75rem;
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--etsy-border);
    margin-bottom: 1.5rem;
}

.checkout-section-title {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-section-title i {
    color: var(--etsy-orange);
}

.payment-method {
    border: 2px solid var(--etsy-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--etsy-orange);
    background: rgba(241, 100, 30, 0.02);
}

.payment-method input[type="radio"] {
    accent-color: var(--etsy-orange);
}

/* ============================================
   Order Pages
   ============================================ */
.order-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--etsy-border);
    margin-bottom: 1rem;
    overflow: hidden;
}

.order-card-header {
    background: var(--etsy-beige);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-card-body {
    padding: 1.5rem;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.order-status.pending {
    background: #FFF3E0;
    color: #E65100;
}

.order-status.paid {
    background: #E8F5E9;
    color: var(--success-green);
}

.order-status.shipped {
    background: #E3F2FD;
    color: #1565C0;
}

.order-status.delivered {
    background: #E8F5E9;
    color: var(--success-green);
}

.order-status.cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--etsy-border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    flex-shrink: 0;
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

/* ============================================
   Account Page
   ============================================ */
.account-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--etsy-border);
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--etsy-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.account-nav-link:hover,
account-nav-link.active {
    background: var(--etsy-beige);
    color: var(--etsy-orange);
}

.account-nav-link i {
    font-size: 1.125rem;
}

.account-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--etsy-border);
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-page .form-label {
    font-weight: 500;
    color: var(--etsy-text);
}

.checkout-page .form-label .required {
    color: #dc3545;
}

.order-summary-card {
    background: white;
    border: 1px solid var(--etsy-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.order-summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    flex-shrink: 0;
}

.order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.order-item-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--etsy-gray);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-option-card {
    border: 2px solid var(--etsy-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    background: white;
    transition: all 0.2s;
}

.payment-option-card:hover {
    border-color: var(--etsy-orange);
}

.payment-option-card.active {
    border-color: var(--etsy-orange);
    background: rgba(241, 100, 30, 0.02);
}

.payment-logo {
    height: 24px;
    margin-left: auto;
}

.terms-box {
    background: var(--etsy-beige);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* ============================================
   Order Success Page
   ============================================ */
.order-success-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--etsy-border);
}

.order-success-icon {
    font-size: 5rem;
    color: var(--success-green);
}

.order-info-box {
    background: var(--etsy-beige);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.order-status-img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.guest-notice {
    background: rgba(241, 100, 30, 0.05);
    border: 1px solid rgba(241, 100, 30, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* ============================================
   Account & Orders Pages
   ============================================ */
.account-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--etsy-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.orders-table th {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--etsy-gray);
    border-bottom: 2px solid var(--etsy-border);
}

.orders-table td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-badge.pending {
    background: #FFF3E0;
    color: #E65100;
}

.status-badge.processing {
    background: #E3F2FD;
    color: #1565C0;
}

.status-badge.shipped {
    background: #E8EAF6;
    color: #3F51B5;
}

.status-badge.completed {
    background: #E8F5E9;
    color: var(--success-green);
}

.status-badge.cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.status-badge.paid {
    background: #E8F5E9;
    color: var(--success-green);
}

/* ============================================
   Track Order Page
   ============================================ */
.track-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.track-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--etsy-border);
    border-radius: 50px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.track-input:focus {
    outline: none;
    border-color: var(--etsy-orange);
    box-shadow: 0 0 0 3px rgba(241, 100, 30, 0.1);
}

.track-timeline {
    position: relative;
    padding-left: 2rem;
}

.track-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--etsy-border);
}

.track-timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.track-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--etsy-border);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--etsy-border);
}

.track-timeline-item.active::before {
    background: var(--etsy-orange);
    box-shadow: 0 0 0 2px var(--etsy-orange);
}

.track-timeline-item.completed::before {
    background: var(--success-green);
    box-shadow: 0 0 0 2px var(--success-green);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .auth-card .card-body {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-img {
        width: 100%;
        height: 150px;
    }
    
    .auth-card .card-body {
        padding: 1.5rem;
    }
}
