/* ==========================================================================
   PawShop - Premium Pet Store CSS
   Color Palette: Orange #FF6B35, Teal #2EC4B6, Dark Navy #1A1A2E
   Font: Nunito
   ========================================================================== */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8F66;
    --secondary: #2EC4B6;
    --secondary-dark: #25A89C;
    --dark: #1A1A2E;
    --dark-lighter: #16213E;
    --dark-mid: #0F3460;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #F8F9FA;
    --bg-alt: #FFFFFF;
    --border: #E8ECF0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 8px 0;
}

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

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span,
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* ---- Header ---- */
.main-header {
    background: var(--bg-alt);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 36px;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
}

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

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 550px;
}

.search-bar form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.search-bar form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: transparent;
}

.search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1DA851;
    transform: translateY(-2px);
}

.cart-btn {
    background: var(--dark);
    color: white;
}

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

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--dark);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* ---- Category Navigation ---- */
.category-nav {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.category-list {
    display: flex;
    gap: 0;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.category-list li a:hover,
.category-list li a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

/* ---- Hero Section ---- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 50%, var(--dark-mid) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🐾';
    position: absolute;
    font-size: 300px;
    right: -50px;
    top: -50px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.hero::after {
    content: '🐕 🐈 🦜 🐠 🐹';
    position: absolute;
    font-size: 60px;
    right: 50px;
    bottom: 20px;
    opacity: 0.08;
    letter-spacing: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-cart {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.3);
}

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

/* ---- Section Titles ---- */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ---- Category Cards ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-card .cat-icon {
    font-size: 50px;
    margin-bottom: 12px;
    display: block;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.category-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---- Product Cards ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image {
    position: relative;
    padding-top: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.product-card .product-info {
    padding: 18px;
}

.product-card .product-category {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card .product-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-card .price-current {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
}

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

.price-kdv {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.product-card .product-actions {
    display: flex;
    gap: 8px;
}

.product-card .product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 13px;
    justify-content: center;
}

/* ---- Features Strip ---- */
.features-strip {
    background: var(--bg-alt);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #F7931E);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '🐾';
    position: absolute;
    font-size: 200px;
    left: -30px;
    top: -30px;
    opacity: 0.1;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-banner .btn {
    background: white;
    color: var(--primary);
    font-weight: 800;
}

.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ---- Alert Messages ---- */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

/* ---- Product Detail Page ---- */
.product-detail {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f5f5f5;
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 30px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-detail-info .product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
}

.product-detail-info .price-area {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(46, 196, 182, 0.08));
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.price-area .price-current {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

.price-area .price-old {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.price-area .price-discount {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 700;
    margin-right: 15px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    background: var(--bg);
    font-size: 18px;
    cursor: pointer;
    border-radius: 0;
    font-weight: 700;
    transition: var(--transition);
}

.quantity-selector button:first-of-type {
    border-radius: 10px 0 0 10px;
}

.quantity-selector button:last-of-type {
    border-radius: 0 10px 10px 0;
}

.quantity-selector button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--border);
    border-left: none;
    border-right: none;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
}

.product-detail-desc {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.product-detail-desc h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-detail-desc p,
.product-detail-desc div {
    color: var(--text-light);
    line-height: 1.8;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.stock-info.in-stock {
    color: #28a745;
}

.stock-info.out-of-stock {
    color: #dc3545;
}

/* ---- Cart Page ---- */
.cart-page {
    padding: 40px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    background: var(--dark);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
}

.cart-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table .cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-table .cart-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-table .cart-product span {
    font-weight: 700;
}

.cart-summary {
    max-width: 400px;
    margin-left: auto;
    margin-top: 25px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.cart-summary-row:last-child {
    border: none;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    padding-top: 15px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 60px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cart-empty h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ---- Checkout Page ---- */
.checkout-page {
    padding: 40px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-form {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.checkout-form h2 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-summary {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 120px;
}

.checkout-summary h2 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--dark);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.checkout-item .item-name {
    flex: 1;
    font-weight: 600;
}

.checkout-item .item-qty {
    color: var(--text-muted);
    margin: 0 10px;
}

.checkout-item .item-price {
    font-weight: 700;
    white-space: nowrap;
}

/* ---- Payment Method Selector ---- */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.payment-method-option {
    cursor: pointer;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: var(--transition);
    background: var(--bg);
}

.payment-method-option input:checked+.payment-method-card {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.pm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.pm-header i:first-child {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.pm-label {
    flex: 1;
}

.pm-check {
    color: var(--border);
    font-size: 20px;
    transition: var(--transition);
}

.payment-method-option input:checked+.payment-method-card .pm-check {
    color: var(--primary);
}

.pm-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 8px 0 0 52px;
    line-height: 1.5;
}

.pm-bank-info {
    margin: 10px 0 0 52px;
    background: rgba(46, 196, 182, 0.06);
    border: 1px solid rgba(46, 196, 182, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    display: none;
}

.payment-method-option input:checked+.payment-method-card .pm-bank-info {
    display: block;
}

.pm-bank-info pre {
    font-size: 12px;
    color: var(--text-light);
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.7;
    margin: 0;
}

.pm-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0 52px;
    font-size: 20px;
    color: var(--secondary);
}

.pm-badges span {
    font-size: 13px;
    font-weight: 700;
}

/* ---- Search Page ---- */
.search-page {
    padding: 40px 0;
}

.search-page h1 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--dark);
}

.search-page .search-info {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb span {
    color: var(--text-light);
    margin: 0 8px;
}

/* ---- Page Title ---- */
.page-title-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-lighter));
    padding: 40px 0;
    text-align: center;
}

.page-title-section h1 {
    color: white;
    font-size: 32px;
    font-weight: 900;
}

.page-title-section p {
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---- Footer ---- */
.main-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 0;
    position: relative;
}

.footer-wave {
    color: var(--bg);
    margin-bottom: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 50px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    font-size: 30px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 900;
    color: white;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

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

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-col .contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
}

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

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

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

.footer-bottom p {
    font-size: 13px;
}

.payment-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ---- No Product Image ---- */
.no-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    color: #ccc;
    font-size: 50px;
}

/* ---- Filter Sidebar ---- */
.category-page-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.filter-sidebar {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 120px;
}

.filter-sidebar h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--dark);
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border: none;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-page-grid {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        flex: 0 0 100%;
        margin-top: 10px;
        max-width: 100%;
    }

    .header-actions span {
        display: none;
    }

    .header-action {
        padding: 10px 12px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .category-nav {
        display: none;
    }

    .category-nav.active {
        display: block;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-table {
        font-size: 13px;
    }

    .cart-table .cart-product img {
        width: 50px;
        height: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 26px;
    }

    .logo-text {
        font-size: 22px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Toast Notification ---- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast i {
    color: var(--secondary);
    font-size: 18px;
}

/* ---- Loading Spinner ---- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ---- Skeleton Loading ---- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ---- Auth Buttons in Header ---- */
.login-btn {
    background: var(--primary);
    color: white !important;
}

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

.register-btn {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.register-btn:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
}

.account-btn {
    background: var(--secondary);
    color: white !important;
}

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

.logout-btn {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
    padding: 10px 14px !important;
}

.logout-btn:hover {
    background: #dc3545;
    color: white !important;
}

/* ---- Auth Pages (Login / Register) ---- */
.auth-page {
    padding: 50px 0 60px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    font-size: 56px;
    margin-bottom: 10px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 5px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-form .form-group label i {
    color: var(--primary);
    margin-right: 4px;
    width: 16px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: var(--bg);
}

.auth-form .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
    background: white;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ---- Account Page ---- */
.account-page {
    padding: 30px 0 60px;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.account-section {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.account-section h2 {
    font-size: 20px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.account-section h2 i {
    color: var(--primary);
    margin-right: 8px;
}

.account-section .form-group {
    margin-bottom: 16px;
}

.account-section .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.account-section .form-group input,
.account-section .form-group select,
.account-section .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: var(--bg);
}

.account-section .form-group input:focus,
.account-section .form-group select:focus,
.account-section .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
    background: white;
}

.account-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Order Cards */
.order-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.order-number {
    font-weight: 800;
    color: var(--primary);
    font-size: 14px;
}

.order-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 10px;
}

.order-status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-shipped {
    background: #cce5ff;
    color: #004085;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-card-body {
    padding: 12px 18px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.order-item:last-child {
    border-bottom: none;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.06), rgba(46, 196, 182, 0.06));
    border-top: 1px solid var(--border);
    font-weight: 700;
}

.order-total {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}

.order-empty {
    text-align: center;
    padding: 40px 20px;
}

/* ---- Responsive Auth/Account ---- */
@media (max-width: 768px) {
    .auth-card {
        padding: 25px;
        margin: 0 10px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-section {
        padding: 20px;
    }

    .account-section .form-row {
        grid-template-columns: 1fr;
    }

    .login-btn span,
    .register-btn span {
        display: none;
    }

    .account-btn span {
        display: none;
    }
}