:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --text: #1f1f1f;
    --muted: #666;
    --accent: #1a1a1a;
    --accent-soft: #f0f0f0;
    --radius: 12px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Arial', sans-serif;
}

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

/* ===== NAVBAR ===== */
.navbar {
    background-color: #111;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24);
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-left a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
#logo { cursor: pointer; height: 45px; }
#nav-left-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}
.nav-center {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-center a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-family: sans-serif;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-center a.active {
    color: #ffd700;
    font-weight: 700;
}
.nav-center a:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-right a { display: flex; align-items: center; justify-content: center; }
.right-icon { cursor: pointer; height: 32px; width: 32px; border-radius: 50%; background: rgba(255,255,255,.12); padding: 4px; }

.pp-header {
    background: linear-gradient(180deg, #212121, #141414);
    color: #fff;
    padding: 22px 24px;
}

.pp-hero {
    text-align: left;
    margin: 30px auto 10px;
    max-width: 1200px;
}

.pp-hero h1 {
    margin: 0;
    font-size: 40px;
    letter-spacing: 0.5px;
}

.pp-hero p {
    margin-top: 12px;
    max-width: 750px;
    color: #d3d3d3;
    font-size: 17px;
    line-height: 1.5;
}

.pp-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 24px 36px;
}

.pp-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.pp-search-bar input {
    flex: 1;
    min-width: 220px;
    max-width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 2px solid #dcdcdc;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.pp-search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.pp-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 2px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    border-color: var(--accent);
    background: #f5f5f5;
}

.filter-tag input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}

.filter-tag input[type="checkbox"]:checked {
    background: var(--accent);
}

.pp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.pp-card {
    position: relative;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(12,12,32,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(12,12,32,0.18);
}

.pp-card-image {
    height: 240px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f6f6f8;
}

.pp-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #dcdce4;
    color: #333;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.pp-category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.pp-colors {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pp-color-chip {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.pp-card-body h3 {
    margin: 0 0 6px;
    font-size: 26px;
}

.pp-meta {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.pp-tags-meta {
    display: flex;
    gap: 8px;
    margin: 8px 0 12px 0;
    flex-wrap: wrap;
}

.pp-meta-tag {
    display: inline-block;
    background: rgba(26, 26, 26, 0.08);
    color: #333;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(26, 26, 26, 0.15);
}

.pp-price {
    font-size: 28px;
    margin-bottom: 8px;
}

.pp-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2a2a2a;
    font-weight: 600;
}

.pp-rating-star {
    color: #f2b90d;
    letter-spacing: 0.05em;
}

.pp-rating-count {
    color: #777;
    font-size: 13px;
    font-weight: 500;
}

.pp-card-body {
    padding: 10px 12px 12px;
}

.pp-tags-meta {
    margin: 6px 0 8px 0;
}

.pp-meta-tag {
    padding: 3px 8px;
    font-size: 11px;
}

.pp-discount {
    margin: 14px 0 0;
    background: #212121;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    font-size: 20px;
    font-weight: 800;
}

/* No add to cart button as requested */

.pp-empty {
    padding: 28px;
    background: var(--surface);
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    text-align: center;
    color: #888;
}

.pp-footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 18px 12px;
    font-size: 14px;
}

@media (max-width: 820px) {
    .pp-hero h1 { font-size: 30px; }
    .pp-nav-links { gap: 10px; }
}

@media (max-width: 560px) {
    .pp-search-bar {
        flex-direction: column;
    }
    .pp-card { min-height: 1px; }
    .pp-hero h1 { font-size: 28px; }
}

/* Navbar dropdown styles matching account/checkout */
.dropdown-container { position: relative; }
.hamburger-btn { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; width: 35px; height: 35px; position: relative; }
.hamburger-line { width: 25px; height: 2.5px; background-color: #fff; border-radius: 2px; position: absolute; transition: transform 300ms ease, opacity 300ms ease; }
.line-1 { top: 6px; transform: translateY(0) rotate(0deg); }
.line-2 { top: 16px; opacity: 1; transform: translateX(0) scaleX(1); }
.line-3 { top: 26px; transform: translateY(0) rotate(0deg); }
.dropdown-container.open .line-1 { transform: translateY(10px) rotate(45deg); }
.dropdown-container.open .line-2 { opacity: 0; transform: translateX(10px) scaleX(0); }
.dropdown-container.open .line-3 { transform: translateY(-10px) rotate(-45deg); }
.hamburger-btn:hover .hamburger-line { background-color: #ffd700; }
.navbar-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid #dcdcdc; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); min-width: 180px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.95); transform-origin: top right; pointer-events: none; transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease; z-index: 999; overflow: hidden; }
.dropdown-container.open .navbar-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.navbar-dropdown .dropdown-item { width: 100%; background: none; border: none; text-align: left; padding: 10px 14px; color: #333; font-size: 14px; cursor: pointer; }
.navbar-dropdown .dropdown-item:hover { background: #f8f8f8; }
