/* ============================================
   StoreSe.pk Style - Custom CSS
   Complete Redesign
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #128C7E;
    --primary-hover: #075E54;
    --secondary-color: #f8f9fa;
    --accent-color: #ea4335;
    --text-color: #202124;
    --light-text: #5f6368;
    --border-color: #dadce0;
    --rating-color: #fbbc04;
    --whatsapp-color: #128C7E;
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-md: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --mobile-header-height: 60px;
    --mobile-nav-height: 70px;
    --mobile-top-bar-height: 40px;
    --transition-speed: 0.3s;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   DESKTOP HEADER
   ============================================ */

.desktop-header {
    display: block;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-actions a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-actions a:hover {
    text-decoration: underline;
}

/* Main Header */
.main-header {
    padding: 15px 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    border-radius: 8px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    transition: var(--transition-speed);
    background: var(--secondary-color);
}

.search-bar input:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 140, 126, .2);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 36px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: var(--primary-hover);
}

/* WhatsApp Contact */
.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--whatsapp-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    background: rgba(18,140,126,.1);
    border-radius: 24px;
    transition: all .3s;
}

.whatsapp-contact:hover {
    background: rgba(18,140,126,.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.whatsapp-contact i {
    font-size: 20px;
}

/* Navigation */
nav {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width .3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 80%;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    transition: all .3s;
    transform: translateY(10px);
    border-radius: var(--radius);
    overflow: hidden;
    list-style: none;
    padding: 0;
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 12px 20px;
    transition: all .2s;
}

.dropdown a:hover {
    background-color: var(--secondary-color);
    padding-left: 25px;
    color: var(--primary-color);
}

/* ============================================
   MOBILE HEADER
   ============================================ */

.mobile-top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mobile-top-bar-height);
    background: var(--primary-color);
    color: #fff;
    z-index: 1002;
    padding: 5px 0;
    font-size: 12px;
}

.mobile-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.mobile-contact-info {
    display: flex;
    gap: 10px;
}

.mobile-user-actions {
    display: flex;
    gap: 10px;
}

.mobile-user-actions a {
    color: #fff;
    text-decoration: none;
}

.mobile-header {
    display: none;
    position: fixed;
    top: var(--mobile-top-bar-height);
    left: 0;
    right: 0;
    height: var(--mobile-header-height);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1001;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 15px;
}

.mobile-menu-toggle {
    background: 0 0;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background .3s;
}

.mobile-menu-toggle:active {
    background: var(--secondary-color);
}

.mobile-logo img {
    height: 35px;
    border-radius: 8px;
}

.mobile-header-icons {
    display: flex;
    gap: 15px;
}

.mobile-header-icons a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 20px;
    position: relative;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: background .3s;
}

.mobile-header-icons a:active {
    background: var(--secondary-color);
}

.mobile-whatsapp {
    color: var(--whatsapp-color);
}

/* Mobile Nav Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,.15);
    transition: left .3s cubic-bezier(.4,0,.2,1);
    z-index: 1003;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    left: 0;
}

.mobile-nav-header {
    padding: 20px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.mobile-nav-header p {
    font-size: 14px;
    opacity: .9;
}

.close-menu-btn {
    background: 0 0;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-speed);
}

.close-menu-btn:hover {
    transform: rotate(90deg);
}

.mobile-nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-items li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-items > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s;
}

.mobile-nav-items > li > a:active {
    background: var(--secondary-color);
}

.mobile-nav-items > li > a i:first-child {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: var(--secondary-color);
}

.mobile-dropdown.active {
    max-height: 500px;
}

.mobile-dropdown a {
    display: block;
    padding: 12px 20px 12px 52px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all .3s;
}

.mobile-dropdown a:active {
    background: var(--secondary-color);
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0,0,0,.1);
    z-index: 999;
    border-top: 1px solid var(--border-color);
}

.mobile-bottom-nav-items {
    display: flex;
    height: 100%;
}

.mobile-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-decoration: none;
    font-size: 11px;
    transition: all .3s;
    position: relative;
    padding: 8px 0;
}

.mobile-bottom-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all .3s;
}

.mobile-bottom-nav-item.active {
    color: var(--primary-color);
}

.mobile-bottom-nav-item.active i {
    transform: translateY(-2px);
}

.mobile-bottom-nav-item:active {
    background: var(--secondary-color);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    z-index: 2000;
    opacity: 0;
    transition: opacity .3s;
}

.search-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.search-modal-content {
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    transform: scale(.9);
    transition: transform .3s;
}

.search-modal.active .search-modal-content {
    transform: scale(1);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-modal-header h3 {
    font-size: 20px;
    color: var(--primary-color);
}

.search-modal-close {
    background: 0 0;
    border: none;
    font-size: 24px;
    color: var(--light-text);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-speed);
}

.search-modal-close:hover {
    color: var(--accent-color);
}

.search-modal-input {
    display: flex;
    gap: 10px;
}

.search-modal-input input {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition-speed);
    background: var(--secondary-color);
}

.search-modal-input input:focus {
    outline: 0;
    border-color: var(--primary-color);
}

.search-modal-input button {
    padding: 15px 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: background .3s;
}

.search-modal-input button:hover {
    background: var(--primary-hover);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #fff;
}

.hero .swiper {
    width: 100%;
    height: 100%;
}

.hero .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    opacity: 1;
    transition: all .3s;
    margin: 0 10px;
}

.hero .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 16px;
}

.hot-sale {
    background-color: var(--secondary-color);
}

.featured-section {
    background-color: #fff;
}

.category-section {
    background-color: #fff;
}

.category-section.alternate-bg {
    background-color: var(--secondary-color);
}

.hot-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.hot-sale-header h2 {
    font-size: 36px;
    color: var(--text-color);
    margin: 0;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.hot-sale-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.view-all-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.product-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(5, 1fr);
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 226px;
    height: 226px;
    object-fit: contain;
    transition: transform .5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(234, 67, 53, 0.3);
    z-index: 2;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    background: #fff;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 42px;
    line-height: 1.4;
}

.product-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 14px;
    white-space: nowrap;
}

.product-rating .stars {
    color: var(--rating-color);
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.product-rating .stars i {
    font-size: 12px;
    margin-right: 2px;
}

.product-rating .rating-count {
    color: var(--light-text);
    font-size: 13px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    white-space: nowrap;
    margin-top: auto;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.3);
    gap: 8px;
}

.add-to-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

.add-to-cart:active {
    transform: scale(.98);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius);
    transition: all .3s;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all .3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.3);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.service-card p {
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #202124;
    color: #e8eaed;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-column h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-column p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #9aa0a6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #9aa0a6;
    text-decoration: none;
    transition: all .3s;
    font-size: 16px;
    display: inline-block;
    padding: 4px 0;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: #303134;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    text-decoration: none;
    font-size: 18px;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #303134;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-payments span {
    font-size: 14px;
    color: #9aa0a6;
    font-weight: 500;
}

.footer-payments img {
    width: 410px;
    height: 35px;
    object-fit: contain;
    background: #fff;
    padding: 0;
    border-radius: 4px;
    transition: transform 0.3s;
}

.footer-payments img:hover {
    transform: scale(1.02);
}

.footer-copyright {
    text-align: right;
    font-size: 14px;
    color: #9aa0a6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .search-bar {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .nav-menu {
        flex-wrap: wrap;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }

    .mobile-top-bar {
        display: block;
    }

    .mobile-header {
        display: block;
    }

    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-top: calc(var(--mobile-header-height) + var(--mobile-top-bar-height));
        padding-bottom: var(--mobile-nav-height);
    }

    .hero {
        height: auto;
        min-height: 200px;
    }
    
    .hero .swiper-slide img {
        object-fit: contain;
        min-height: 200px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2,
    .hot-sale-header h2 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
        padding: 15px;
    }

    .product-image img {
        width: 100%;
        height: auto;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 14px;
        margin-bottom: 8px;
        min-height: 36px;
    }

    .current-price {
        font-size: 16px;
    }

    .old-price {
        font-size: 12px;
    }

    .add-to-cart {
        padding: 10px;
        font-size: 13px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hot-sale-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hot-sale-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-payments {
        flex-direction: column;
        width: 100%;
    }

    .footer-payments span {
        margin-bottom: 10px;
    }

    .footer-payments img {
        max-width: 100%;
        height: auto;
    }

    .footer-copyright {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 150px;
        padding: 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2,
    .hot-sale-header h2 {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .mobile-bottom-nav {
        height: 70px;
        padding: 5px 0;
    }

    .mobile-bottom-nav-item {
        padding: 5px 0;
    }

    .mobile-bottom-nav-item i {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .mobile-bottom-nav-item span {
        font-size: 10px;
    }

    .mobile-header {
        height: 60px;
    }

    .mobile-logo img {
        height: 30px;
    }

    .search-modal-content {
        width: 95%;
        padding: 20px;
    }

    .search-modal-input {
        flex-direction: column;
        gap: 15px;
    }

    .search-modal-input input {
        border-radius: var(--radius);
    }

    .search-modal-input button {
        border-radius: var(--radius);
        padding: 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-column h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}