* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-image: url('bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

.header {
    background: #005177;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: white;
    border: none;
    color: #005177;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.btn-icon svg {
    width: 24px;
    height: 24px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
}

.banner-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-header-right {
    display: flex;
    gap: 10px;
}

.banner-header h1 {
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    bottom: 0;
    width: 320px;
    background: #005177;
    color: white;
    z-index: 201;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-card {
    margin: 0 25px 25px;
    background: #005177;
    padding: 20px;
    border-radius: 10px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.container {
    padding: 15px;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.banner-dot.active {
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.category-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.category-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, white 0%, white 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0;
    overflow: hidden;
    background: #000;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.product-card {
    background: white;
    border-radius: 6px;
    padding: 5px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: #000;
    text-transform: uppercase;
}

.product-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-price {
    color: #005177;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-stock {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.btn-add-quote {
    background: #005177;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.btn-add-quote:active {
    background: #005177;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.qty-btn {
    background: #005177 !important;
    color: white !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.qty-btn:active {
    background: #003d5c !important;
}

.qty-display {
    font-size: 16px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.item-total {
    color: #005177;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444 !important;
    color: white !important;
    border: none !important;
    padding: 8px !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-remove:active {
    background: #dc2626 !important;
}

.btn-remove svg {
    width: 18px !important;
    height: 18px !important;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-summary h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid #005177;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #005177;
}

.btn-request-quote {
    background: #005177;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-request-quote:active {
    background: #003d5c;
}

.product-detail-slider {
    position: relative;
    width: 100%;
    height: 350px;
    background: #f5f5f5;
    overflow: hidden;
}

.product-detail-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.product-detail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.2s;
}

.product-detail-dot.active {
    background: #005177;
}

.product-detail-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-slide.active {
    opacity: 1;
}

.product-detail-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.product-detail-content {
    background: white;
    padding: 25px 20px;
    margin: 0;
    margin-bottom: 80px;
    border-radius: 0;
}

.product-detail-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.product-detail-section {
    margin-bottom: 20px;
}

.product-detail-label {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 16px;
    color: #000;
}

.product-detail-value {
    color: #666;
    line-height: 1.6;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #005177;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.bottom-bar-price {
    font-size: 16px;
    font-weight: 500;
}

.btn-add-to-quote {
    background: white;
    color: #005177;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-add-to-quote:active {
    transform: scale(0.95);
}

.search-box {
    background: #f5f5f5;
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    background: transparent;
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: #999;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 18px;
    font-weight: 500;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.icon-wrapper {
    position: relative;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}