/* Color Palette Variables: 
   Navy Blue: #0B192C | Orange: #FF6500 | Black: #111111 | White: #FFFFFF 
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #111111;
}

/* Top Announcement Bar */
.top-bar {
    background-color: #FF6500;
    color: #ffffff;
    text-align: center;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.top-bar span {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background-color: #0B192C;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: #FF6500;
}

.search-bar {
    display: flex;
    width: 40%;
}

.search-bar input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ffffff;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-bar button {
    background-color: #FF6500;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.user-actions a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.user-actions .cart-btn {
    background: #ffffff;
    color: #0B192C;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Category Navigation (Shein Style) */
.category-nav {
    background-color: #111111;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    overflow-x: auto;
}

.category-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 2px 8px;
}

.category-nav a.active {
    border-bottom: 2px solid #FF6500;
    color: #FF6500;
}

.category-nav a.sale {
    color: #FF6500;
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 100%;
    height: 320px; /* Slider height yahan se adjust karein */
    overflow: hidden;
    background-color: #0B192C;
}

.slider {
    width: 100%;
    height: 100%;
}

/* Individual Slide setup */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* Smooth Fade Transition */
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Image fit & proportion maintain rakhega */
    filter: brightness(0.7); /* Text visible karne ke liye halki dark overlay */
}

/* Text Banner Alignment */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 90%;
}

.hero-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
}

.hero-text p {
    color: #FF6500;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 8px 0;
}

.shop-now-btn {
    background-color: #FF6500;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Left & Right Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(11, 25, 44, 0.6);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #FF6500;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Dots Indicators */
.dots-container {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active-dot {
    background-color: #FF6500;
    width: 24px; /* Shein style pill shape active dot */
    border-radius: 10px;
}


.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
}

.hero-text p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #FF6500;
    font-weight: bold;
}

.shop-now-btn {
    background-color: #FF6500;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

/* Products Section */
.store-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #0B192C;
    padding-bottom: 8px;
}

.section-header h2 {
    color: #0B192C;
}

.section-header .timer {
    background: #FF6500;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    position: relative;
    padding: 10px;
    text-align: left;
}

.product-card .discount-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF6500;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    z-index: 10;
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-title {
    font-size: 0.9rem;
    margin: 8px 0 4px 0;
    color: #111111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.current-price {
    color: #FF6500;
    font-weight: bold;
    font-size: 1.1rem;
}

.old-price {
    color: #888888;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.add-cart-btn {
    width: 100%;
    background-color: #0B192C;
    color: #ffffff;
    border: none;
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.add-cart-btn:hover {
    background-color: #FF6500;
}

/* Cart Section */
.cart-section {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #0B192C;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.checkout-btn {
    width: 100%;
    background: #FF6500;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

footer {
    background-color: #0B192C;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
/* Top Right Cart Button Styling */
.user-actions .cart-btn {
    background: #FF6500;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s ease;
}

.user-actions .cart-btn:hover {
    background: #ffffff;
    color: #0B192C;
}

.back-shop-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* Horizontal Cart Page Layout */
.cart-page-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

.cart-page-container h2 {
    color: #0B192C;
    border-bottom: 2px solid #FF6500;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* HORIZONTAL CARDS CONTAINER */
.horizontal-cart-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Horizontal Cart Row Item */
.horizontal-cart-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 6px;
    justify-content: space-between;
}

.horizontal-cart-item img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex-grow: 1;
    margin-left: 20px;
}

.cart-item-details h4 {
    margin: 0 0 5px 0;
    color: #111;
}

.cart-item-details p {
    color: #FF6500;
    font-weight: bold;
    font-size: 1.1rem;
}

.remove-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.remove-btn:hover {
    background-color: #cc0000;
}

.cart-summary-box {
    margin-top: 30px;
    background: #0B192C;
    color: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: right;
}

.cart-summary-box h3 {
    margin-bottom: 15px;
    color: #FF6500;
}