/* Nakishly Custom CSS — Exact Design Match */

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --font: "Baloo 2", Arial, Helvetica, sans-serif;
    --dark: #242424;
    --text: #777777;
    --light-text: #aaaaaa;
    --border: #e8e8e8;
    --bg: #ffffff;
    --topbar-bg: #323232;
    --blue: rgb(35, 148, 234);
    --heading: #242424;
    --radius: 5px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }

.container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    border: 2px solid transparent;
}

.btn-dark {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}
.btn-dark:hover { background: #444; border-color: #444; color: #fff; }

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--dark); }

.btn-block { width: 100%; text-align: center; display: block; }

/* ===================== TOP BAR ===================== */
.top-bar {
    background: var(--topbar-bg);
    color: #c8c8c8;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-text i { margin-right: 6px; }
.top-bar-social { display: flex; gap: 14px; }
.top-bar-social a { color: #c8c8c8; font-size: 14px; }
.top-bar-social a:hover { color: #fff; }

/* ===================== HEADER ===================== */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 80px;
    gap: 20px;
}

/* Logo */
.site-logo { display: flex; justify-content: center; }
.logo-img { max-width: 180px; height: auto; }

/* Nav */
.main-nav { display: flex; justify-content: flex-start; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}
.nav-link i { font-size: 10px; transition: transform var(--transition); }
.nav-item:hover .nav-link { color: var(--blue); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--dark);
    min-width: 190px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--dark);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), color var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: #f8f8f8; color: var(--blue); }

/* Header right */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}
.search-toggle, .cart-link {
    color: var(--dark);
    font-size: 18px;
    padding: 6px;
    position: relative;
    transition: color var(--transition);
}
.search-toggle:hover, .cart-link:hover { color: var(--blue); }
.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: none;
}
.search-overlay.open { display: block; }
.search-form {
    display: flex;
    align-items: center;
    border: 2px solid var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}
.search-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: var(--font);
}
.search-form button {
    padding: 12px 18px;
    background: var(--dark);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.search-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--dark);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}
.mobile-nav-overlay.active { display: block; }

/* Mobile nav top panel (search + view all) */
.mobile-nav-top {
    display: none;
    padding: 16px 20px 0;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    padding: 0 0 10px;
    line-height: 1;
}
.mobile-search-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
}
.mobile-search-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
}
.mobile-search-form button {
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
}
.mobile-view-all-link {
    display: block;
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
    border-bottom: 1px solid var(--border);
}

/* ===================== HERO SLIDER ===================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #f5f0eb;
}

.slider-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    background: #f5f0eb;
    position: relative;
    overflow: hidden;
    padding: 50px 0 60px;
}

/* Watercolor blob shape */
.slide-blob {
    position: absolute;
    top: -80px;
    left: -140px;
    width: 560px;
    height: 560px;
    background: radial-gradient(ellipse at center, #e8d8c4 0%, rgba(229,210,185,0.6) 45%, transparent 70%);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%;
    z-index: 0;
    pointer-events: none;
}

.slide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    min-height: 420px;
}

/* Left: slide text */
.slide-text {
    padding-right: 20px;
}

.slide-subtitle {
    display: block;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b08d6a;
    margin-bottom: 16px;
}

.slide-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 700;
    color: #2a2218;
    line-height: 1.25;
    margin-bottom: 20px;
}

.slide-body {
    font-family: var(--font);
    font-size: 14px;
    color: #7a6e64;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 420px;
}

.btn-slide {
    display: inline-block;
    padding: 11px 32px;
    border: 1.5px solid #2a2218;
    border-radius: 2px;
    background: transparent;
    color: #2a2218;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: background var(--transition), color var(--transition);
}
.btn-slide:hover { background: #2a2218; color: #fff; }

/* Right: product image collage */
.slide-images {
    position: relative;
    height: 380px;
}

.slide-card {
    position: absolute;
    background: #fff;
    padding: 8px 8px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.slide-card:hover { transform: scale(1.03) rotate(0deg) !important; }

.slide-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Polaroid card positions & rotations */
.slide-card-1 {
    width: 210px;
    height: 230px;
    top: 20px;
    left: 40px;
    transform: rotate(-4deg);
    z-index: 3;
}
.slide-card-2 {
    width: 190px;
    height: 210px;
    top: 60px;
    left: 200px;
    transform: rotate(3deg);
    z-index: 2;
}
.slide-card-3 {
    width: 170px;
    height: 190px;
    top: 140px;
    left: 110px;
    transform: rotate(-1.5deg);
    z-index: 4;
}

/* Slider navigation */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #2a2218;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    z-index: 10;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.slider-btn:hover { background: #2a2218; color: #fff; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(42,34,24,0.25);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.dot.active { background: #2a2218; transform: scale(1.3); }

/* ===================== SECTIONS ===================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-discover {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--heading);
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

/* ===================== CATEGORY BANNERS ===================== */
.section-categories { padding: 70px 0; }

.category-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-banner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3/4;
}

.banner-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-banner:hover .banner-img-wrap img { transform: scale(1.05); }

.banner-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    text-align: center;
    padding: 30px 16px 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== PRODUCT GRID ===================== */
.section-products { padding: 60px 0; background: #fafafa; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.product-top {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f4f4;
}
.product-img-link {
    display: block;
    width: 100%;
    height: 100%;
}
.product-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img-link img { transform: scale(1.04); }

/* Add to cart overlay button (top-right) */
.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-atc {
    background: var(--dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
    font-family: var(--font);
    white-space: nowrap;
    transition: background var(--transition);
}
.btn-atc:hover { background: var(--blue); }

.product-bottom {
    padding: 14px 16px 16px;
}
.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}
.product-name a { color: var(--heading); }
.product-name a:hover { color: var(--blue); }

.product-price .price { color: var(--dark); font-weight: 700; font-size: 15px; }
.product-price .price-old { color: var(--light-text); text-decoration: line-through; font-size: 13px; margin-right: 6px; }
.product-price .price-sale { color: #e44; font-weight: 700; font-size: 15px; }

/* ===================== VIDEO SECTION ===================== */
.video-section { background: #fff; overflow: hidden; }
.video-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 480px;
}
.video-col {
    position: relative;
    overflow: hidden;
    background: #f5ddd0;
}
.video-col video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 70px;
    background: #fff;
}
.video-title {
    font-family: 'Lora', 'Georgia', serif;
    font-style: italic;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    color: var(--heading);
    line-height: 1.25;
    margin: 14px 0 36px;
}
.video-text-col .section-discover {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text);
    text-transform: none;
    font-weight: 400;
}

/* ===================== BREADCRUMB ===================== */
.page-breadcrumb {
    padding: 14px 0;
    background: #f8f8f8;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--light-text);
}
.page-breadcrumb a { color: var(--text); }
.page-breadcrumb a:hover { color: var(--blue); }
.page-breadcrumb span { color: var(--dark); }

/* ===================== SHOP PAGE ===================== */
.shop-section { padding: 50px 0 80px; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }

/* Sidebar */
.shop-sidebar { }
.widget { margin-bottom: 36px; }
.widget-title { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--dark); }
.category-list li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.category-list li:last-child { border-bottom: none; }
.category-list a { font-size: 14px; color: var(--text); }
.category-list li.active a, .category-list a:hover { color: var(--blue); font-weight: 600; }
.sub-category-list { padding-left: 14px; margin-top: 4px; }
.sub-category-list li { border-bottom: none; padding: 3px 0; }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.shop-title { font-size: 22px; font-weight: 700; color: var(--heading); }
.product-count { font-size: 13px; color: var(--light-text); }

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--light-text);
}

/* Subcategory nav */
.subcategory-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.subcat-link {
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
    transition: all var(--transition);
}
.subcat-link:hover, .subcat-link.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* ===================== PRODUCT DETAIL ===================== */
.product-detail-section { padding: 50px 0 80px; }
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f4f4f4;
    aspect-ratio: 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.thumb {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--dark); }

.product-category-tag { margin-bottom: 8px; }
.product-category-tag a { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--light-text); }
.product-category-tag a:hover { color: var(--blue); }

.product-title { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--heading); margin: 10px 0 16px; line-height: 1.2; }

.product-price-detail { margin-bottom: 20px; }
.product-price-detail .price { font-size: 24px; font-weight: 700; color: var(--dark); }
.product-price-detail .price-old { font-size: 18px; color: var(--light-text); text-decoration: line-through; margin-right: 8px; }
.product-price-detail .price-sale { font-size: 24px; font-weight: 700; color: #e44; }

.product-short-desc { color: var(--text); margin-bottom: 20px; line-height: 1.7; font-size: 14px; }
.product-short-desc p { margin-bottom: 8px; }

.product-stock { font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.in-stock { color: #28a745; }
.out-of-stock { color: #dc3545; }

.add-to-cart-form { margin-bottom: 24px; }
.qty-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-btn { width: 36px; height: 42px; font-size: 18px; background: #f4f4f4; color: var(--dark); transition: background var(--transition); }
.qty-btn:hover { background: #eee; }
.qty-input { width: 52px; height: 42px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 15px; outline: none; }
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-addcart { padding: 12px 32px; }

.product-meta { font-size: 13px; color: var(--light-text); margin-top: 16px; }

/* Product tabs */
.product-tabs { margin-bottom: 60px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn { padding: 12px 24px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); color: var(--text); }
.tab-btn.active { border-bottom-color: var(--dark); color: var(--dark); }
.tab-content { font-size: 14px; color: var(--text); line-height: 1.8; }
.tab-content p { margin-bottom: 12px; }

.related-products { margin-top: 60px; }

/* ===================== CART PAGE ===================== */
.cart-section { padding: 50px 0 80px; }
.page-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--heading); margin-bottom: 30px; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 12px 16px; background: #f8f8f8; color: var(--dark); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; text-align: left; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }

.cart-product-info { display: flex; align-items: center; gap: 14px; }
.cart-product-info img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.cart-product-name { font-size: 14px; font-weight: 600; color: var(--heading); }
.cart-product-name:hover { color: var(--blue); }

.remove-btn { color: #ccc; font-size: 16px; transition: color var(--transition); }
.remove-btn:hover { color: #e44; }

.cart-actions { margin-top: 20px; }

/* Cart Summary */
.cart-summary { background: #f8f8f8; border-radius: var(--radius); padding: 28px; }
.cart-summary h3 { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--dark); }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary-shipping span:last-child { font-size: 12px; color: var(--light-text); }
.summary-total { font-weight: 700; font-size: 16px !important; color: var(--dark); border-bottom: none; }
.cart-summary .btn-block { margin-top: 20px; }

.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart i { color: var(--border); margin-bottom: 20px; }
.empty-cart p { font-size: 18px; color: var(--light-text); margin-bottom: 24px; }

/* ===================== CHECKOUT ===================== */
.checkout-section { padding: 50px 0 80px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: start; }
.checkout-form h3, .checkout-summary h3 { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--dark); }

.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group .required { color: #e44; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--dark); }
.select-wrapper { position: relative; }
.select-wrapper select { appearance: none; cursor: pointer; padding-right: 36px; }
.select-wrapper::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 12px; color: var(--text); }

/* Checkout Order Table */
.checkout-order-table { width: 100%; border-collapse: collapse; margin-bottom: 0; }
.checkout-order-table thead tr { border-bottom: 1px solid var(--border); }
.checkout-order-table th { font-size: 12px; font-weight: 400; color: var(--text); padding: 10px 0; text-align: left; letter-spacing: 0.5px; }
.checkout-order-table th.col-subtotal { text-align: right; }
.checkout-item-row { border-bottom: 1px solid var(--border); }
.checkout-item-cell { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; position: relative; }
.checkout-item-price { padding: 14px 0; text-align: right; font-size: 14px; white-space: nowrap; vertical-align: middle; }
.checkout-remove-btn {
    background: none; border: none; cursor: pointer;
    color: var(--text); font-size: 16px; line-height: 1;
    padding: 0 4px 0 0; flex-shrink: 0; margin-top: 2px;
}
.checkout-remove-btn:hover { color: var(--dark); }
.remove-form { display: inline; margin: 0; padding: 0; }
.checkout-item-img { width: 66px; height: 66px; flex-shrink: 0; overflow: hidden; border-radius: 4px; border: 1px solid var(--border); }
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { display: block; font-size: 13px; font-weight: 500; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.checkout-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); display: inline-flex; border-radius: 3px; overflow: hidden; }
.qty-btn {
    background: none; border: none; cursor: pointer;
    width: 28px; height: 28px; font-size: 16px; line-height: 1;
    color: var(--dark); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.qty-btn:hover { background: var(--bg); }
.qty-display { font-size: 13px; padding: 0 8px; min-width: 28px; text-align: center; line-height: 28px; }
.qty-form { display: inline; }

.checkout-subtotal-row td, .checkout-total-row td { padding: 12px 0; font-size: 14px; }
.checkout-subtotal-row td:last-child, .checkout-total-row td:last-child { text-align: right; }
.checkout-total-row td { font-size: 15px; border-top: 1px solid var(--border); }

/* Payment Info Section */
.payment-info-section { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }
.payment-info-section h4 { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 16px; }
.payment-method-item { background: #fafafa; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; }
.payment-method-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.payment-method-desc { font-size: 12px; color: var(--text); margin: 8px 0 0 24px; }
.terms-wrapper { margin-bottom: 20px; }
.terms-label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; line-height: 1.5; }
.terms-label input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; width: auto; }
.terms-label a { color: var(--dark); text-decoration: underline; }
.terms-label abbr { color: #e44; margin-left: 4px; }
.terms-link { cursor: pointer; }

/* Terms Modal */
.terms-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}
.terms-modal-overlay.open { display: flex; }
.terms-modal {
    background: #fff;
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.terms-modal-header h3 { font-size: 18px; font-weight: 700; color: var(--heading); margin: 0; }
.terms-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color var(--transition);
}
.terms-modal-close:hover { color: var(--dark); }
.terms-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.payment-info { background: #fffbf0; border: 1px solid #ffe9a0; padding: 14px 16px; border-radius: var(--radius); font-size: 13px; color: #7a6500; margin-bottom: 20px; line-height: 1.6; }
.payment-info i { margin-right: 6px; }

.btn-place-order { padding: 15px; font-size: 15px; }

/* ===================== SIMPLE PAGES (IP, Delivery) ===================== */
.simple-page-section { padding: 60px 0 80px; }
.simple-page-container { max-width: 860px; margin: 0 auto; }
.simple-page-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: var(--heading); text-align: center; margin-bottom: 48px; }
.simple-page-content { font-size: 15px; color: #333; line-height: 1.85; }
.simple-page-content h3 { font-size: 18px; font-weight: 700; color: var(--heading); margin: 28px 0 10px; }
.simple-page-content ul { padding-left: 20px; margin: 10px 0; }
.simple-page-content li { margin-bottom: 6px; }
.simple-page-content a { color: var(--dark); text-decoration: underline; }

/* ===================== FOOTER UPDATES ===================== */
.footer-contact-list { list-style: none; padding: 0; margin-top: 12px; }
.footer-contact-list li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact-list li a:hover { color: #fff; }


/* ===================== ORDER SUCCESS ===================== */
.order-success-section { padding: 80px 0; }
.order-success-box {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 50px 40px;
}
.success-icon { font-size: 64px; color: #28a745; margin-bottom: 20px; }
.order-success-box h1 { font-size: 28px; font-weight: 800; color: var(--heading); margin-bottom: 16px; }
.success-message { font-size: 16px; color: var(--text); margin-bottom: 36px; line-height: 1.7; }

.order-details { text-align: left; border-top: 2px solid var(--border); padding-top: 28px; margin-bottom: 28px; }
.order-details h3 { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 18px; }
.order-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 24px; font-size: 14px; }
.order-info-grid div { color: var(--text); }
.order-info-grid strong { color: var(--dark); }

.order-items-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-items-table th, .order-items-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.order-items-table th { background: #f8f8f8; font-weight: 600; color: var(--dark); }
.order-items-table tfoot td { border-bottom: none; border-top: 2px solid var(--border); }

.success-actions { margin-top: 24px; }

/* ===================== ABOUT PAGE ===================== */
.about-section { padding: 60px 0 80px; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--heading); margin: 12px 0 20px; }
.about-text p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.feature { text-align: center; padding: 20px 12px; border: 1px solid var(--border); border-radius: var(--radius); }
.feature i { font-size: 28px; color: var(--dark); margin-bottom: 10px; }
.feature h4 { font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--light-text); margin: 0; }
.about-img img { border-radius: var(--radius); width: 100%; }

/* ===================== FOOTER ===================== */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text); margin: 16px 0 20px; line-height: 1.7; }
.footer-logo { max-width: 150px; margin-bottom: 12px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: #f4f4f4; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--dark); transition: background var(--transition), color var(--transition); }
.footer-social a:hover { background: var(--dark); color: #fff; }

.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--dark); }
.footer-col ul li { padding: 5px 0; }
.footer-col ul a { font-size: 14px; color: var(--text); }
.footer-col ul a:hover { color: var(--blue); }
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); padding: 5px 0; }
.contact-list i { color: var(--dark); width: 16px; text-align: center; }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: 13px; color: var(--light-text); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
    .category-banners { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .slide-card-1 { width: 170px; height: 185px; left: 10px; }
    .slide-card-2 { width: 155px; height: 170px; left: 165px; }
    .slide-card-3 { width: 140px; height: 155px; left: 80px; top: 130px; }
}

@media (max-width: 900px) {
    .header-inner { grid-template-columns: auto 1fr auto; }
    .main-nav { display: none; order: 4; grid-column: 1 / -1; }
    .main-nav.open { display: flex; }
    .hamburger { display: flex; }
    .site-logo { justify-content: center; }

    .main-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    .main-nav.open { left: 0; }
    .mobile-nav-top { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
    .nav-link { padding: 14px 24px; border-bottom: 1px solid var(--border); }
    .dropdown { position: static; box-shadow: none; border: none; border-top: none; opacity: 1; visibility: visible; transform: none; display: none; background: #f9f9f9; }
    .nav-item.active .dropdown { display: block; }

    /* Slider responsive */
    .slide-inner { grid-template-columns: 1fr; min-height: auto; }
    .slide-images { display: none; }
    .slide { padding: 50px 0 70px; }
    .slide-blob { width: 350px; height: 350px; top: -60px; left: -80px; }

    .product-detail-layout { grid-template-columns: 1fr; gap: 30px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }
    .video-inner { grid-template-columns: 1fr; }
    .video-col { min-height: 280px; }
    .video-text-col { padding: 40px 30px; align-items: center; text-align: center; }
}

@media (max-width: 640px) {
    .mobile-nav-top { display: flex; }    /* already set at 900px */

    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr { display: block; }
    .cart-table tr {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        position: relative;
    }
    .cart-table tr td { display: flex; justify-content: space-between; align-items: center; padding: 5px 42px 5px 0; border: none; font-size: 14px; }
    .cart-table tr td::before { content: attr(data-label); color: var(--text); font-size: 13px; font-weight: 400; }
    .cart-table .col-product { padding: 0 42px 10px 0; }
    .cart-table .col-product::before { display: none; }
    .cart-table .col-total { font-weight: 700; }
    .cart-table .col-total::before { font-weight: 700; }
    .cart-table .col-remove { position: absolute; right: 0; top: 14px; padding: 0; border: none; display: block; }
    .cart-table .col-remove::before { display: none; }

    .slide-title { font-size: 28px; }
    .category-banners { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-layout { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .form-row.two-col { grid-template-columns: 1fr; }
    .order-info-grid { grid-template-columns: 1fr; }
}
