body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #561C24;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}
.center-title {
    width: 100%;
    text-align: center; 
    margin-top: 20px;   
    margin-bottom: 10px; 
}

.center-title h2 {
    font-size: 2rem;    
    color: #E8D8C4;     
    font-weight: 700;   
    text-transform: capitalize; 
}
.logo-text {
    font-size: 2.2rem;
    color: #E8D8C4;
    margin: 0;
    font-weight: 800;
}

.slider-wrapper {
    width: 90%;
    max-width: 1000px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
   
    margin-top: 20px;
}

.slider { display: flex; width: 300%; height: 100%; animation: move 12s infinite ease-in-out; }
.slide { width: 33.33%; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 25px; }
.slide-label { background: rgba(0,0,0,0.7); color: #E8D8C4; padding: 10px 20px; border-radius: 50px; backdrop-filter: blur(5px); font-size: 0.9rem; }

@keyframes move {
    0%, 30% { transform: translateX(0); }
    33%, 63% { transform: translateX(-33.33%); }
    66%, 96% { transform: translateX(-66.66%); }
    100% { transform: translateX(0); }
}

.subtitle {
    color: #E8D8C4;
    font-size: 1.1rem;
    margin: 30px 0 20px 0;
    font-weight: 500;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 90%;
    max-width: 1000px;
    margin-bottom: 60px;
}

.brand-card {
    background: #E8D8C4;
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: #E8D8C4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.img-box { height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.brand-card img { max-width: 110px; max-height: 70px; object-fit: contain; }
.cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #E8D8C4; 
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1001;
}

.cart-icon img { width: 25px; height: 25px; filter: invert(1); }

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #E8D8C4;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

.side-cart {
    position: fixed;
    top: 0;
    right: -350px; 
    width: 300px;
    height: 100%;
    background:#E8D8C4;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    z-index: 1002;
    padding: 20px;
    display: flex;
    flex-direction: column;
}


.side-cart.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.close-cart { font-size: 30px; cursor: pointer; color: #666; }

.cart-items { flex-grow: 1; margin-top: 20px; color: #888; }

.checkout-btn {
    background: #4a0404;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}
.float-logo{
     
    position: fixed !important; 
    top: 20px !important;
    left: 20px !important;
    width: 100px !important; 
    height: 100px !important; 
    border-radius: 50% !important; 
    object-fit: cover !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.apple-modal-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 10000; 
}

.apple-modal-content {
    background-color: #E8D8C4;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 650px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.apple-device-row {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.apple-device-item {
    text-decoration: none;
    color: #561C24;
    font-weight: bold;
    transition: 0.3s;
}

.apple-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #f8f8f8;
    border: 2px solid #561C24;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}


.apple-circle:hover {
    border-color: #561C24; 
    transform: scale(1.08);
    background-color: #fff;
}

.apple-circle img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.apple-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: #561C24;
}

.apple-close-btn:hover {
    color: #561C24;
}

.h-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}


.h-modal-content {
    background: #E8D8C4;
    border-radius: 40px !important;
    padding: 30px;
 border: 1px solid #561C24;
    width: 90%;
    max-width: 600px;
    position: relative;
    text-align: center;
}


.h-device-row {
    display: flex;
    border: #561C24;
    justify-content: space-around;
    margin-top: 25px;
}

.h-item {
    text-decoration: none;
    color: #561C24;
    font-weight: bold;
}


.h-img-wrap {
    width: 130px;
    height: 130px;
    background: transparent; 
    border:1px solid#561C24; 
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s;
}

.h-img-wrap img {
    max-width: 100%;
    border: #561C24;
    max-height: 100%;
    object-fit: contain; 
}

.h-img-wrap:hover {
    transform: scale(1.1); 
}

.h-close {
    position: absolute;

    top: 15px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: #561C24;
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; 
    }

    .slider-wrapper {
        height: 300px; 
    }

    .brand-card {
        width: 90%; 
        margin: 10px auto;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}.cart-count { background:#7A0000 !important; color:#fff !important; display:flex; align-items:center; justify-content:center; min-width:22px; min-height:22px; font-weight:800; }
.cr-cart-row { display:grid; grid-template-columns:52px 1fr; gap:10px; align-items:center; padding:10px; border-radius:14px; background:#fff7ee; color:#561C24; margin-bottom:10px; }
.cr-cart-row img { width:52px; height:46px; object-fit:contain; }
.cr-cart-row strong { display:block; font-size:14px; }
.cr-cart-row span { display:block; font-size:12px; color:#76575b; }
.cr-cart-row small { font-weight:900; color:#561C24; }
