* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f5f5f5; /* Light gray background for body to make header pop */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px; /* Wide container similar to the original site */
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.top-banner {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
}

.top-banner img {
    width: 100%;
    display: block;
    height: auto;
    max-height: 80px; /* Adjust based on actual banner size */
    object-fit: cover;
    object-position: center;
}

/* Top Navigation */
.top-nav {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: #4a4a4a;
    padding: 8px 0;
}

.top-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-nav-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.2s;
}

.top-nav-left a:hover {
    color: #1e3a8a; /* PttAVM blue hover */
}

.nav-icon {
    height: 14px;
    width: auto;
}

.top-nav-right {
    display: flex;
    align-items: center;
}

.hgs-km-group {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4px 18px;
    background-color: #fff;
}

.hgs-km-group a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: #555;
    transition: color 0.2s;
}

.hgs-km-group a:hover {
    color: #1e3a8a;
}

/* Main Header */
.main-header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Subtle shadow */
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    flex-shrink: 0;
    margin-right: 10px;
}

.text-logo {
    color: #1c449c; /* PttAVM specific blue */
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.categories-btn-wrapper {
    flex-shrink: 0;
}

.categories-btn {
    background-color: #f4f5f7;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.categories-btn:hover {
    background-color: #e5e7eb;
}

.categories-btn:active {
    transform: scale(0.98);
}

.search-bar {
    flex-grow: 1;
}

.search-bar form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    background-color: #f4f5f7;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 14px 20px 14px 45px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.search-bar input::placeholder {
    color: #888;
    font-weight: 500;
}

.search-bar input:focus {
    border-color: #1c449c;
    background-color: #fff;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f4f5f7;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: background-color 0.2s, transform 0.1s;
}

.action-btn:hover {
    background-color: #e5e7eb;
}

.action-btn:active {
    transform: scale(0.98);
}

.action-btn i {
    font-size: 16px;
    color: #555;
}

/* Category Carousel */
.category-carousel {
    margin-top: 25px;
}

.category-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    align-items: flex-start;
    position: relative;
    padding-bottom: 15px;
    scrollbar-width: none; /* Firefox */
}

.category-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 85px;
    text-align: center;
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    transition: transform 0.2s;
    overflow: hidden;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-item:hover .category-icon {
    transform: translateY(-5px);
}

.category-name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.carousel-next {
    position: absolute;
    right: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    color: #333;
}

/* Home Grid (Banner & Deals) */
.home-grid {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 50px;
}

/* Left Banner */
.main-banner-slider {
    flex: 2;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
}

.main-banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 40px;
    left: 40px;
    color: #fff;
}

.banner-overlay h2 {
    font-size: 26px;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    line-height: 1.3;
}

.banner-overlay strong {
    font-size: 36px;
    font-weight: 800;
    display: block;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-counter {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-right: 5px;
}

.banner-prev, .banner-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.banner-prev:hover, .banner-next:hover {
    background: #f0f0f0;
}

/* Right Hot Deals */
.hot-deals {
    flex: 1;
    background: #f8f9fc;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-deals-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.hot-deals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deal-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s;
    cursor: pointer;
}

.deal-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.deal-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deal-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.deal-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deal-title {
    font-size: 12px;
    color: #444;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-old-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.deal-price-wrapper {
    display: flex;
    flex-direction: column;
}

.deal-badge {
    font-size: 10px;
    color: #009e5f; /* Green color for discount */
    font-weight: 600;
    margin-bottom: 1px;
}

.deal-new-price {
    font-size: 16px;
    font-weight: 800;
    color: #009e5f;
}

.deal-new-price small {
    font-size: 11px;
    font-weight: 600;
}

.deal-cart-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #1c449c;
    color: #1c449c;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.deal-cart-btn:hover {
    background: #1c449c;
    color: #fff;
}

.deal-cart-btn:hover i {
    color: #fff !important;
}

/* DOD Section */
.dod-section {
    background-color: #e51d20; /* Red bg */
    border-radius: 12px;
    padding: 20px;
    position: relative;
    width: fit-content;
}

.dod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.dod-title {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dod-title i {
    color: #ffc107; /* Yellow megaphone */
}

.dod-timer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
}

.time-labels {
    font-size: 10px;
    font-weight: normal;
    display: flex;
    gap: 12px;
    opacity: 0.8;
}

.dod-view-all {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.dod-carousel {
    display: flex;
    gap: 15px;
    overflow: hidden; /* Or auto if you want scroll */
}

.dod-col-stacked {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 0 0 340px;
}

.dod-item-small {
    background: white;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    gap: 15px;
    height: 180px; /* Adjust as needed */
}

.dod-item-small-left {
    position: relative;
    width: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dod-item-small-left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dod-item-small-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dod-item-tall {
    background: white;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    flex: 0 0 230px;
    height: 375px; /* Two small items + gap */
}

.dod-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.dod-badges-small {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.dod-badge-red {
    background: #e51d20;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 4px;
    border-radius: 4px;
    text-align: center;
}

.dod-badge-blue {
    background: #1c449c;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 4px;
    border-radius: 4px;
    text-align: center;
}

.dod-fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.dod-img-tall {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.dod-img-tall img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dod-title-text {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
    height: 34px;
    overflow: hidden;
    margin-bottom: 5px;
}

.dod-rating {
    color: #ffc107;
    font-size: 11px;
    margin-bottom: 10px;
}

.dod-special {
    color: #009e5f;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 2px;
}

.dod-price {
    color: #333;
    font-size: 16px;
    font-weight: 800;
    margin-top: auto;
}

.dod-cart-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    border: 1px solid #1c449c;
    color: #1c449c;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.dod-cart-btn:hover {
    background: #1c449c;
    color: white;
}

/* Promo Banners Grid */
.promo-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.promo-banners-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.promo-banners-grid img:hover {
    transform: translateY(-3px);
}

/* Most Visited Section - Custom Classes from Template */
.componentSection__sxHkE {
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 50px;
}

.componentSectionHeader__kankk {
    margin-bottom: 20px;
}

.componentSectionHeaderContent__x2gCt {
    display: flex;
    align-items: center;
    gap: 10px;
}

.componentSectionTitle___6EsM {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.carouselContent__FEMD4 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    align-items: stretch;
}
.carouselContent__FEMD4::-webkit-scrollbar { height: 6px; }
.carouselContent__FEMD4::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 3px; }

.carouselItem__qtVF2 {
    /* inline styles handle flex and width */
    display: flex;
}

.root__YPxAe, .article__i36EQ {
    display: flex;
    width: 100%;
}

.card__dfYph {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    width: 200px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.card__dfYph:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.08); }

.favorite__j9Yj5 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f9fc;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    color: #555;
}

.imageWrapper__R7Rwz {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    background: #fcfcfc;
    border-radius: 8px;
    padding: 10px;
    margin-top: 0;
}

.imageContainer__dlksG {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imageContainer__dlksG img {
    max-width: 100%;
    max-height: 100%;
}

.content__eoBjp {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.name__yWPWa {
    font-size: 11px;
    color: #444;
    line-height: 1.4;
    height: 31px;
    overflow: hidden;
    margin-bottom: 5px;
    font-weight: 500;
}

.ratingRow__Kr7db {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.rating__yhYlF {
    color: #ffc107;
    font-size: 11px;
    font-weight: 600;
}

.comment__XeuAh {
    color: #999;
    font-size: 11px;
}

.actions__so8fB {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.priceRow__PGsNE {
    display: flex;
    flex-direction: column;
}

.regularPriceValue__I3siB {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.specialPriceText__O744k {
    color: #009e5f;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
}

.specialPriceValue__HPhRC {
    color: #009e5f;
    font-size: 16px;
    font-weight: 800;
}

.price__U3Zzb {
    display: flex;
    align-items: baseline;
    color: #333;
    font-size: 16px;
    font-weight: 800;
}
.curreny__INC63 {
    font-size: 11px;
    margin-left: 3px;
}

.addCart__VW8rl {
    background: white;
    border: 1.5px solid #1c449c;
    color: #1c449c;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.addCart__VW8rl:hover {
    background: #1c449c;
    color: white;
}

@media (max-width: 992px) {
    .dod-carousel { grid-template-columns: repeat(2, 1fr); }
    .promo-banners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .dod-carousel { grid-template-columns: 1fr; }
    .promo-banners-grid { grid-template-columns: 1fr; }
}

/* Footer Styles */
.root__psN5u {
    background: #fff;
    border-top: 1px solid #e1e1e1;
    font-size: 14px;
}

.colorFullFooter__oxLjN {
    height: 4px;
    background: linear-gradient(90deg, #ffb800 0%, #ffb800 25%, #ff0000 25%, #ff0000 50%, #00a459 50%, #00a459 75%, #006eb7 75%, #006eb7 100%);
}

.footerContainer__PG43m {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footerFeatures__ywtRx {
    border-bottom: 1px solid #eee;
    padding: 30px 0;
}

.footerFeaturesContainer__cFNIw {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featureItem__IvfxO {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #333;
}

.featureItem__IvfxO img {
    width: 40px;
    height: 40px;
}

.footerMiddle__captJ {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.footerMiddleContainer__gmBY_ {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footerRow__ZQuV0 {
    display: flex;
    flex-direction: column;
}

.footerTitle__yZR4v {
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

.footerList__zxdFD {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footerListItem__f8DNn a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footerListItem__f8DNn a:hover {
    color: #e51d20;
}

.footerCorporate__LmW4p {
    background: #f8f9fa;
    padding: 30px 0;
}

.footerCorporateContainer__BoXvP {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.footerListRow__e0pAs {
    flex-direction: row;
    gap: 15px;
}

.footerSocialItem__D7rHZ img {
    width: 32px;
    height: 32px;
}

.footerCertificates__lcSMI {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.footerCertificatesContainer__cjj9l {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.footerCertificatesList__KHsMO {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.footerCertificatesItem__Fu6Lo img {
    height: 50px;
}

.footerBrand__SSjqz {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.footerBrandContainer__T4A25 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footerBrandContainer__T4A25 .footerRow__ZQuV0 {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footerBottom__AZUl2 {
    padding: 20px 0;
    background: #fff;
}

.footerBottomContainer__CQnqr {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 12px;
}

.footerBottomContainer__CQnqr .footerRow__ZQuV0 {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.footerBottomContainer__CQnqr a {
    color: #1c449c;
    text-decoration: none;
    font-weight: 600;
}

.footerRowLogos__dYb2T {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Login Modal Styles */
.login-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.login-modal {
    background: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.login-modal-overlay.active .login-modal {
    transform: translateY(0);
}
.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.login-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.close-modal {
    background: #f5f5f5;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    color: #333;
    transition: 0.2s;
}
.close-modal:hover {
    background: #e0e0e0;
}
.form-group-login {
    margin-bottom: 15px;
}
.login-input-wrapper {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.login-floating-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}
.login-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    width: 100%;
}
.toggle-pwd-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}
.forgot-pwd {
    text-align: right;
    margin-bottom: 20px;
}
.forgot-pwd a {
    color: #333;
    font-size: 12px;
    text-decoration: none;
}
.forgot-pwd a:hover {
    text-decoration: underline;
}
.btn-primary-login {
    background: #1c449c;
    color: #fff;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.2s;
}
.btn-primary-login:hover {
    background: #153375;
}
.btn-secondary-login {
    display: block;
    text-align: center;
    background: #fff;
    color: #1c449c;
    width: 100%;
    padding: 14px;
    border: 1px solid #1c449c;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}
.btn-secondary-login:hover {
    background: #f0f4ff;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 992px) {
    /* Hide top nav */
    .top-nav { display: none; }
    
    /* Header layout changes */
    .main-header-container { flex-wrap: wrap; justify-content: space-between; gap: 10px; }
    .search-bar { order: 3; width: 100%; margin-top: 5px; }
    .categories-btn span { display: none; }
    .categories-btn { padding: 10px 14px; border-radius: 50%; }
    .header-actions .action-btn span { display: none; }
    .header-actions { gap: 15px; margin-left: auto; }
    
    /* Home Grid (Banner + Hot Deals) */
    .home-grid { flex-direction: column; gap: 15px; margin-bottom: 20px; }
    .main-banner-slider { height: 200px; }
    
    /* Footer layout */
    .footerFeaturesContainer__cFNIw { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .footerMiddleContainer__gmBY_ { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footerCorporateContainer__BoXvP { flex-direction: column; gap: 20px; }
    .footerCertificatesList__KHsMO { flex-wrap: wrap; justify-content: center; }
    .footerBottomContainer__CQnqr { flex-direction: column; text-align: center; gap: 15px; }
    .footerBrandContainer__T4A25 .footerRow__ZQuV0 { justify-content: center; flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 768px) {
    /* Deal of the Day (Günün Fırsatları - Red Box) layout */
    .dod-section { width: 100%; box-sizing: border-box; padding: 15px; }
    .dod-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
    .dod-timer { position: relative; left: 0; transform: none; align-items: flex-start; }
    .dod-carousel { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    
    /* Promo Banners Grid */
    .promo-banners-grid { grid-template-columns: repeat(2, 1fr) !important; }
    
    /* Category List horizontal scroll fix */
    .category-list { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 15px; justify-content: flex-start; }
    .category-list::-webkit-scrollbar, .dod-carousel::-webkit-scrollbar { height: 4px; }
    .category-list::-webkit-scrollbar-thumb, .dod-carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
    
    /* Most visited fixes */
    .carouselItem__qtVF2 { width: 160px !important; flex: 0 0 auto !important; }
}

@media (max-width: 576px) {
    /* Adjust logo size on mobile */
    .text-logo { font-size: 24px; }
    .header-actions .action-btn i { font-size: 20px; }
    .main-banner-slider { height: 150px; }
    
    /* Footer */
    .featureItem__IvfxO { width: 100%; justify-content: center; }
    
    .deal-item { flex-direction: column; align-items: center; text-align: center; }
    .deal-cart-btn { position: relative; bottom: 0; right: 0; margin-top: 10px; }
}

/* Cart Page Specific Styles */
.cart-page-main { background-color: #f5f5f5; padding-top: 30px; padding-bottom: 50px; }
.cart-container { display: flex; gap: 20px; align-items: flex-start; }

.cart-left { flex: 7; display: flex; flex-direction: column; gap: 15px; }
.cart-right { flex: 3; position: sticky; top: 20px; }

.cart-header h2 { font-size: 22px; color: #333; font-weight: 600; display: flex; align-items: center; gap: 10px; margin: 0; }
.cart-count { font-size: 14px; color: #666; font-weight: 400; }

.cart-actions-bar { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 15px 20px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 5px; }

.custom-checkbox { display: flex; align-items: center; cursor: pointer; position: relative; gap: 10px; user-select: none; }
.custom-checkbox input { opacity: 0; position: absolute; }
.checkmark { width: 22px; height: 22px; background-color: #fff; border: 2px solid #ccc; border-radius: 4px; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.custom-checkbox input:checked ~ .checkmark { background-color: #1c449c; border-color: #1c449c; }
.custom-checkbox input:checked ~ .checkmark:after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: white; font-size: 12px; }
.cb-text { font-size: 14px; color: #444; font-weight: 500; }

.btn-delete-selected { background: none; border: none; color: #666; font-size: 13px; font-weight: 500; cursor: pointer; transition: 0.2s; }
.btn-delete-selected:hover { color: #e51d20; }

.cart-seller-group { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 20px; }

.cart-seller-header { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.seller-name { font-weight: 700; color: #333; font-size: 16px; cursor: pointer; display: flex; align-items: center; }
.seller-shipping-badge { margin-left: auto; color: #009e5f; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }

.cart-item { display: flex; gap: 20px; align-items: stretch; }
.item-checkbox { margin-top: 30px; }
.item-img { width: 120px; height: 120px; border: 1px solid #eee; border-radius: 8px; display: flex; justify-content: center; align-items: center; padding: 5px; flex-shrink: 0; }
.item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.item-details { flex-grow: 1; display: flex; flex-direction: column; }
.item-title { font-size: 15px; color: #333; font-weight: 500; margin-bottom: 8px; line-height: 1.4; }
.item-installment-badge { font-size: 12px; color: #666; background: #f5f5f5; padding: 4px 8px; border-radius: 4px; display: inline-flex; align-items: center; width: fit-content; margin-bottom: 20px; }

.item-actions-price { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.item-qty-controls { display: flex; align-items: center; gap: 15px; background: #fdfdfd; border: 1px solid #eee; border-radius: 20px; padding: 4px 15px; }
.btn-qty-action { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; padding: 5px; }
.qty-number { font-weight: 600; color: #333; font-size: 14px; min-width: 20px; text-align: center; }

.item-price-box { text-align: right; }
.discount-label { font-size: 11px; color: #009e5f; font-weight: 700; background: #e6f5ef; padding: 3px 6px; border-radius: 4px; display: inline-block; margin-bottom: 5px; }
.item-price { font-size: 18px; font-weight: 800; color: #333; }

.cart-protection-banner { display: flex; justify-content: space-between; align-items: center; background: #fdfaf2; border: 1px solid #f3e6c3; padding: 12px 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; font-size: 13px; font-weight: 500; color: #555; }
.cart-protection-banner:hover { background: #fcf4db; }

/* Right Column: Cart Summary */
.cart-summary { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 15px; }
.summary-title { font-size: 18px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; margin-top: 0; }
.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #555; }
.summary-label { font-weight: 400; }
.summary-val { font-weight: 600; }
.text-green { color: #009e5f; }
.summary-divider { height: 1px; background: #f0f0f0; margin: 5px 0; }
.mt-15 { margin-top: 15px; }

.coupon-box { border: 1px solid #e1e1e1; border-radius: 8px; padding: 12px; color: #1c449c; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: 0.2s; margin-top: 10px; }
.coupon-box:hover { background: #f9fbff; border-color: #1c449c; }

.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; margin-bottom: 10px; }
.total-label { font-size: 15px; font-weight: 600; color: #333; }
.total-val { font-size: 20px; font-weight: 800; color: #333; }

.btn-checkout { background: #1c449c; color: #fff; border: none; border-radius: 8px; padding: 16px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.2s; width: 100%; text-align: center; }
.btn-checkout:hover { background: #153375; }

/* Mobile Responsiveness for Cart */
@media (max-width: 992px) {
    .cart-container { flex-direction: column; }
    .cart-left, .cart-right { width: 100%; }
    .cart-right { position: static; }
}

@media (max-width: 576px) {
    .cart-item { flex-direction: column; align-items: center; text-align: center; position: relative; }
    .item-checkbox { position: absolute; top: 0; left: 0; margin-top: 0; }
    .item-actions-price { flex-direction: column; align-items: center; gap: 15px; width: 100%; }
    .item-price-box { text-align: center; }
    .cart-protection-banner { flex-direction: column; text-align: center; gap: 10px; }
    .cart-seller-header { flex-direction: column; text-align: center; gap: 10px; }
    .seller-shipping-badge { margin-left: 0; }
}
