/* ===================================
   TOFF PARK CLONE - MAIN STYLES
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-color: #006ECC;
    --secondary-color: #0D2B55;
    --accent-color: #005AAA;
    --text-dark: #1a2a4a;
    --text-light: #4a6080;
    --text-muted: #7a90a8;
    --bg-light: #f0f8ff;
    --bg-white: #ffffff;
    --bg-dark: #081428;
    --border-color: #c8dff5;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* ===================================
   HEADER STYLES
   =================================== */

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.top-bar .phone-number {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar .social-icons {
    display: flex;
    gap: 15px;
}

.top-bar .social-icons a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.top-bar .social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0);
    will-change: auto;
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary-color);
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    transition: var(--transition-normal);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 110, 204, 0.2);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.search-bar button:hover {
    background: var(--accent-color);
}

/* ===================================
   LIVE SEARCH DROPDOWN
   =================================== */
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #cce5ff;
    display: none;
    animation: lsdFadeIn 0.18s ease;
}

.live-search-dropdown.open {
    display: block;
}

@keyframes lsdFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lsd-status {
    padding: 14px 18px;
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lsd-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #cce5ff;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: lsdSpin 0.7s linear infinite;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes lsdSpin {
    to { transform: rotate(360deg); }
}

.lsd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: var(--text-dark);
}

.lsd-item:hover {
    background: #f0f8ff;
    color: var(--text-dark);
    text-decoration: none;
}

.lsd-item:not(:last-of-type) {
    border-bottom: 1px solid #e0efff;
}

.lsd-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f8f8f8;
}

.lsd-info {
    flex: 1;
    min-width: 0;
}

.lsd-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.lsd-cat {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lsd-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.lsd-old-price {
    font-size: 11px;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 5px;
}

.lsd-footer {
    padding: 10px 16px;
    border-top: 1px solid #cce5ff;
    background: #f0f8ff;
    text-align: center;
}

.lsd-footer a {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.lsd-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.header-icon:hover {
    color: var(--primary-color);
}

.header-icon i {
    font-size: 22px;
    margin-bottom: 2px;
}

.header-icon span {
    font-size: 11px;
    color: var(--text-muted);
}

.header-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.main-nav {
    background: var(--secondary-color);
    padding: 0;
}

.main-nav .nav-link {
    color: #fff !important;
    padding: 15px 20px !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.main-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Dropdown Menu */
.main-nav .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    min-width: 220px;
    animation: fadeInDown 0.3s ease;
}

.main-nav .dropdown-item {
    padding: 10px 25px;
    font-size: 13px;
    transition: var(--transition-normal);
}

.main-nav .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 30px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 500px;
    z-index: 10;
}

.hero-content .subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--primary-color);
    animation: fadeInUp 0.8s ease;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-content .btn-primary {
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: var(--transition-normal);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

/* ===================================
   MARQUEE / SCROLLING TEXT
   =================================== */

.marquee-section {
    background: var(--primary-color);
    padding: 12px 0;
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 50px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-item i {
    margin-right: 10px;
    font-size: 18px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   SECTION STYLES
   =================================== */

.section {
    padding: 60px 0;
}

/* Full-width site container — edge-to-edge with minimal gutter */
.site-container {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(12px, 2.5vw, 40px);
    padding-right: clamp(12px, 2.5vw, 40px);
    margin: 0 auto;
}

.section-full {
    width: 100%;
}

.section-muted {
    background: #f4f7fb;
}

.section-dark {
    background: linear-gradient(135deg, #081428 0%, #0D2B55 100%);
    padding: 70px 0;
}

.section-title-light { color: #fff; }
.section-subtitle-light { color: rgba(255,255,255,0.65) !important; }

.section-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0,110,204,0.1);
    color: #006ECC;
    margin-bottom: 12px;
}

.btn-section-cta {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition-normal);
}

.btn-section-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,110,204,0.25);
}

/* Product grid — full width, no side white gap */
.products-grid {
    display: grid;
    gap: clamp(12px, 1.5vw, 24px);
    width: 100%;
}

.products-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.products-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.products-grid-empty-light {
    color: rgba(255,255,255,0.5);
}

@media (max-width: 1399px) {
    .products-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
    .products-grid-4,
    .products-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .products-grid-4,
    .products-grid-5,
    .products-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section { padding: 48px 0; }
}

@media (max-width: 479px) {
    .products-grid-4,
    .products-grid-5,
    .products-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 30px;
    transition: var(--transition-normal);
}

.section-link:hover {
    gap: 12px;
    color: var(--accent-color);
}

/* ===================================
   PRODUCT CARD
   =================================== */

.product-card {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e4ecf4;
    box-shadow: 0 2px 8px rgba(13, 43, 85, 0.05);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(0, 110, 204, 0.18), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover {
    box-shadow: 0 16px 48px rgba(13, 43, 85, 0.14);
    transform: translateY(-6px);
    border-color: #c5daf0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-card-compact .product-image {
    aspect-ratio: 4 / 4.6;
}

.product-card-compact .product-info {
    padding: 12px 12px 8px;
}

.product-card-compact .product-title {
    font-size: 13px;
    margin-bottom: 6px;
    min-height: 2.9em;
}

.product-card-compact .product-category {
    font-size: 10px;
    letter-spacing: 1px;
}

.product-card-compact .product-price .current-price {
    font-size: 15px;
}

.product-card-compact .pc-color-dots {
    margin-bottom: 6px;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #f8fafc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
    pointer-events: none;
}

.product-badge {
    position: static;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-discount-tag {
    position: static;
    margin-left: auto;
    background: #dc3545;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 40, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-quick-add,
.product-quick-view {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--text-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, color 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-quick-add:hover,
.product-quick-view:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08);
    text-decoration: none;
}

.product-badge.sale {
    background: var(--danger-color);
    color: #fff;
}

.product-badge.new {
    background: var(--success-color);
    color: #fff;
}

.product-badge.hot {
    background: var(--warning-color);
    color: var(--text-dark);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transition: var(--transition-normal);
    opacity: 0;
}

.product-card:hover .product-actions {
    bottom: 0;
    opacity: 1;
}

.product-actions .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    color: var(--text-dark);
    border: none;
    transition: var(--transition-normal);
}

.product-actions .btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.product-info {
    padding: 16px 16px 12px;
    text-align: left;
    flex: 1;
}

.product-category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.product-price .price-from {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price .current-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .original-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.view-product-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.view-product-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

/* Product card CTA */
.product-card-cta {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 7px;
    padding: 0 10px 11px;
    margin-top: auto;
    position: relative;
    z-index: 3;
}

.pc-add-cart,
.pc-order-now {
    width: 100%;
    min-height: 36px;
    padding: 9px 8px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.2;
    white-space: nowrap;
}

.pc-add-cart {
    background: #f0f6fc;
    color: var(--primary-color);
    border: 1.5px solid #c8ddf2;
}

.pc-add-cart:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.pc-order-now {
    background: linear-gradient(135deg, #006ECC 0%, #0052a3 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 110, 204, 0.35);
}

.pc-order-now:hover {
    background: linear-gradient(135deg, #0080ef 0%, #0066c7 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 110, 204, 0.45);
}

.pc-add-cart i,
.pc-order-now i {
    font-size: 11px;
    flex-shrink: 0;
}

.pc-view-product {
    display: none;
}

.pc-color-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.pc-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1.5px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

.pc-color-more {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 2px;
}

/* Flash sale section — dark cards */
.section-dark .product-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

.section-dark .product-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
}

.section-dark .product-title,
.section-dark .product-category {
    color: #e8f0ff;
}

.section-dark .product-price .current-price {
    color: #6ec4ff;
}

.section-dark .product-price .original-price,
.section-dark .product-price .price-from {
    color: rgba(255,255,255,0.45);
}

.section-dark .pc-add-cart {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.22);
    color: #e8f4ff;
}

.section-dark .pc-add-cart:hover {
    background: #fff;
    color: var(--secondary-color);
    border-color: #fff;
}

.section-dark .pc-order-now {
    background: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.section-dark .pc-order-now:hover {
    background: linear-gradient(135deg, #ff8255 0%, #f04a56 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.product-title-link { text-decoration: none; color: inherit; display: block; }
.product-title-link:hover { text-decoration: none; color: var(--primary-color); }

/* Legacy discount tag override removed — now in .product-badges */

/* ===================================
   CATEGORIES SECTION
   =================================== */

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    margin-bottom: 30px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-normal);
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.85));
}

.category-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-count {
    color: var(--primary-color);
    font-size: 14px;
}

.category-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 10px;
    transition: var(--transition-normal);
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: #fff;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d3d3d 100%);
    padding: 80px 0;
    color: #fff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-rating {
    color: var(--warning-color);
}

/* ===================================
   BANNER SECTION
   =================================== */

.banner-section {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ===================================
   NEWSLETTER
   =================================== */

.newsletter-section {
    background: var(--primary-color);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    color: #fff;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 15px 35px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--bg-dark);
    transform: scale(1.05);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 4px;
}

.footer-logo img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.payment-methods img {
    height: 30px;
    margin-left: 10px;
    opacity: 0.7;
    transition: var(--transition-normal);
}

.payment-methods img:hover {
    opacity: 1;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 110, 204, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-dark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: var(--transition-normal);
}

.btn-dark:hover {
    background: var(--bg-dark);
    transform: translateY(-2px);
}

/* ===================================
   SCROLL TO TOP
   =================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-md);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

.animate-bounce {
    animation: bounce 2s ease infinite;
}

/* Delay Classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 991px) {
    .hero-slider .carousel-item {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .main-nav .nav-link {
        padding: 12px 15px !important;
    }
    
    .search-bar {
        max-width: 100%;
        margin: 15px 0;
    }
    
    .header-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
    
    .hero-slider .carousel-item {
        height: 350px;
    }
    
    .hero-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .logo-text {
        font-size: 22px;
    }
    
    .header-icon span {
        display: none;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ===================================
   LOADING ANIMATION
   =================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition-slow);
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   SALE BADGE ANIMATION
   =================================== */

.sale-badge-animated {
    animation: pulse 1.5s ease infinite;
}

/* ===================================
   HOVER EFFECTS
   =================================== */

.hover-grow {
    transition: var(--transition-normal);
}

.hover-grow:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.hover-glow {
    transition: var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 110, 204, 0.5);
}

/* Out of Stock */
.out-of-stock {
    position: relative;
}

.out-of-stock::after {
    content: 'Out of Stock';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    z-index: 10;
}

.out-of-stock .product-image img {
    filter: grayscale(50%);
}

/* ===================================
   CONTACT PAGE — ORDER CTA
   =================================== */

.contact-order-cta {
    width: 100%;
}

.contact-order-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 20px;
    background: linear-gradient(135deg, #081428 0%, #0D2B55 55%, #006ECC 100%);
    box-shadow: 0 20px 60px rgba(8, 20, 40, 0.25);
    position: relative;
    overflow: hidden;
}

.contact-order-cta-inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-order-cta-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 320px;
    max-width: 560px;
}

.contact-order-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #9fd4ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-order-cta-copy h3 {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-order-cta-copy p {
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.contact-order-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 1 260px;
    width: 100%;
    max-width: 280px;
}

.contact-btn-order,
.contact-btn-whatsapp,
.contact-btn-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-btn-order {
    background: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.contact-btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.5);
    color: #fff !important;
}

.contact-btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.contact-btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    color: #fff !important;
}

.contact-btn-shop {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.28);
}

.contact-btn-shop:hover {
    background: #fff;
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .contact-order-cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .contact-order-cta-actions {
        max-width: 100%;
    }

    .product-card-cta {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 0 8px 10px;
    }

    .pc-add-cart,
    .pc-order-now {
        font-size: 10px;
        padding: 8px 6px;
        min-height: 34px;
    }
}
