/* Hediye Perim - Modern Romantic E-Commerce Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --hp-primary: #8e1b42;
    --hp-primary-dark: #741334;
    --hp-primary-light: #fcf1f4;
    --hp-active-pill: #fce1e8;
    --hp-accent-gold: #d8a48f;
    --hp-bg-base: #fdfafb;
    --hp-bg-card: #ffffff;
    --hp-text-dark: #2d1822;
    --hp-text-muted: #6b555e;
    --hp-border-light: #f2e3e6;
    --hp-font-serif: 'Playfair Display', Georgia, serif;
    --hp-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --hp-font-title: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --hp-radius-sm: 10px;
    --hp-radius-md: 18px;
    --hp-radius-lg: 24px;
    --hp-radius-full: 9999px;
    --hp-shadow-soft: 0 10px 30px rgba(142, 27, 66, 0.05);
    --hp-shadow-hover: 0 16px 36px rgba(142, 27, 66, 0.12);

    /* Legacy system overrides */
    --sayra-blue: #8e1b42;
    --sayra-ink: #8e1b42;
    --sayra-ink-strong: #741334;
    --sayra-ink-soft: #8e1b42;
    --eg-brown: #8e1b42;
    --eg-brown-2: #8e1b42;
    --eg-brown-3: #741334;
    --eg-brown-4: #8e1b42;
    --eg-brown-5: #fce1e8;
    --eg-brown-6: #fbf0f3;
    --eg-brown-7: #8e1b42;
    --eg-brown-8: #741334;
    --eg-brown-9: #fce1e8;
}

*, *::before, *::after, body, p, span, a, label, input, button, select, textarea {
    font-family: var(--hp-font-sans) !important;
}

h1, h2, h3, h4, .hp-brand-title, .hp-hero-title, .hp-section-title, .hp-category-name, .hp-promo-title, .hp-footer-brand {
    font-family: var(--hp-font-title) !important;
}

/* Product Detail Title & Boutique Typography */
.product-detail-title,
h1.product-detail-title,
.product-title,
.shelf-card__title,
.hp-product-title,
.catalog-title-area h2,
.product-box .description .group b {
    font-family: var(--hp-font-title) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #2b1622 !important;
}

.product-detail-title,
h1.product-detail-title {
    font-size: clamp(24px, 2.6vw, 34px) !important;
    line-height: 1.28 !important;
    margin: 0 0 14px 0 !important;
    font-weight: 700 !important;
}

.product-detail-price .price-val {
    font-family: var(--hp-font-title) !important;
    font-weight: 800 !important;
    color: var(--hp-primary) !important;
    letter-spacing: -0.02em !important;
}

.product-box .description .group b {
    font-size: 15px !important;
    line-height: 1.35 !important;
    color: #2b1622 !important;
    display: block;
    margin-bottom: 6px;
}

body {
    background-color: var(--hp-bg-base);
    color: var(--hp-text-dark);
    font-family: var(--hp-font-sans);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Reset or override previous styles */
.site-main-header, #eg-header {
    background: #ffffff !important;
    border-bottom: 1px solid #faeef1;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(142, 27, 66, 0.03);
}

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

/* ==================== HEADER ==================== */
.hp-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
    min-height: 130px;
}

.hp-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.hp-brand:hover {
    transform: translateY(-2px);
    opacity: 0.98;
}

.hp-brand-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 8px 28px rgba(142, 27, 66, 0.14);
    border: 3.5px solid #ffffff;
    background: #ffffff;
    flex-shrink: 0;
    display: block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.hp-brand:hover .hp-brand-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 34px rgba(142, 27, 66, 0.22);
}

.hp-brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.hp-brand-title {
    font-family: var(--hp-font-serif);
    font-size: 30px;
    font-weight: 700;
    font-style: italic;
    color: var(--hp-primary, #8e1b42);
    letter-spacing: -0.4px;
    margin: 0;
    white-space: nowrap;
}

.hp-brand-title em {
    font-style: normal;
    color: var(--hp-secondary, #e089a3);
}

.hp-brand-tagline {
    font-family: var(--hp-font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #a87988;
    margin-top: 3px;
    white-space: nowrap;
}

.hp-brand-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.hp-brand-title {
    font-family: var(--hp-font-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--hp-primary);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hp-search-wrapper {
    flex: 1;
    max-width: 540px;
    margin: 0 20px;
    position: relative;
}

.hp-search-form {
    position: relative;
    width: 100%;
}

.hp-search-input {
    width: 100%;
    height: 44px;
    padding: 0 45px 0 44px;
    border-radius: var(--hp-radius-full);
    border: 1.5px solid #ebd9de;
    background: #ffffff;
    font-family: var(--hp-font-sans);
    font-size: 14px;
    color: var(--hp-text-dark);
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.hp-search-input:focus {
    border-color: var(--hp-primary);
    box-shadow: 0 0 0 3px rgba(142, 27, 66, 0.1);
}

.hp-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9c8890;
    pointer-events: none;
}

.hp-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hp-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--hp-text-dark);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.hp-action-link:hover {
    color: var(--hp-primary);
    background: var(--hp-primary-light);
}

.hp-action-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--hp-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Navigation Bar */
.hp-nav-bar {
    border-top: 1px solid #fcf2f4;
    padding: 8px 0;
}

.hp-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.hp-nav-item {
    position: relative;
}

.hp-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: var(--hp-radius-full);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--hp-text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.hp-nav-link:hover,
.hp-nav-item:hover .hp-nav-link,
.hp-nav-item.is-open .hp-nav-link {
    color: var(--hp-primary);
    background: var(--hp-primary-light);
}

.hp-nav-link.active {
    background: var(--hp-active-pill);
    color: var(--hp-primary);
    font-weight: 600;
}

.hp-nav-dropdown-icon {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.hp-nav-item:hover .hp-nav-dropdown-icon,
.hp-nav-item.is-open .hp-nav-dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown with generous invisible hover bridge & grace delay */
.hp-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 320px;
    width: max-content;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #f6dbe3;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(142, 27, 66, 0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
    z-index: 999999;
    box-sizing: border-box;
}

.hp-dropdown-menu.hp-dropdown-grid {
    min-width: 500px;
    width: max-content;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 4px 10px;
    padding: 12px 12px;
}

/* Generous invisible bridge (hitbox) bridging the gap above and diagonally */
.hp-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: -20px;
    right: -20px;
    height: 32px;
    background: transparent;
    pointer-events: auto;
}

.hp-nav-item:hover .hp-dropdown-menu,
.hp-nav-item.is-open .hp-dropdown-menu,
.hp-dropdown-menu:hover,
.hp-dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.hp-dropdown-item {
    display: flex;
    align-items: center;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hp-text-dark);
    text-decoration: none;
    white-space: nowrap !important;
    word-break: keep-all;
    border-radius: 8px;
    margin: 0 6px;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.hp-dropdown-item:hover {
    background: #fdf2f4;
    color: var(--hp-primary);
    transform: translateX(4px);
}

/* ==================== HERO SECTION ==================== */
.hp-hero-section {
    background: linear-gradient(135deg, #fff2f5 0%, #fbf3f5 50%, #f9edef 100%);
    border-radius: 0 0 var(--hp-radius-lg) var(--hp-radius-lg);
    padding: 48px 0 36px 0;
    position: relative;
    overflow: hidden;
}

.hp-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hp-hero-content {
    flex: 1;
    max-width: 540px;
    z-index: 2;
}

.hp-hero-title {
    font-family: var(--hp-font-serif);
    font-size: 46px;
    line-height: 1.18;
    font-weight: 700;
    color: var(--hp-primary);
    margin: 0 0 18px 0;
    position: relative;
}

.hp-hero-title .hp-heart-sparkle {
    display: inline-block;
    color: var(--hp-accent-gold);
    font-size: 28px;
    vertical-align: super;
    margin-left: 6px;
}

.hp-hero-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--hp-text-muted);
    margin: 0 0 28px 0;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-primary);
    color: #ffffff;
    font-family: var(--hp-font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: var(--hp-radius-full);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(142, 27, 66, 0.25);
    transition: all 0.25s ease;
}

.hp-btn-primary:hover {
    background: var(--hp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(142, 27, 66, 0.32);
    color: #ffffff;
}

.hp-hero-visual {
    flex: 1;
    max-width: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hp-hero-balloon-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--hp-radius-md);
    filter: drop-shadow(0 15px 30px rgba(142, 27, 66, 0.12));
    animation: floatBalloon 4s ease-in-out infinite alternate;
}

@keyframes floatBalloon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* ==================== CATEGORIES (ROUND CARDS) ==================== */
.hp-categories-section {
    padding: 44px 0 20px 0;
    position: relative;
}

.hp-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.hp-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--hp-text-dark);
    transition: transform 0.25s ease;
}

.hp-category-card:hover {
    transform: translateY(-5px);
}

.hp-category-circle-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 3px;
    background: #ffffff;
    border: 2px solid var(--hp-accent-gold);
    box-shadow: 0 6px 18px rgba(216, 164, 143, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}

.hp-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.35s ease;
}

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

.hp-category-name {
    font-family: var(--hp-font-title) !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #2b1622;
    margin: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hp-category-card:hover .hp-category-name {
    color: var(--hp-primary);
    transform: translateY(-1px);
}

/* Little doodles & accents */
.hp-doodle-sparkle-left {
    position: absolute;
    top: -6px;
    left: 8px;
    color: var(--hp-accent-gold);
}

.hp-doodle-hearts-right {
    position: absolute;
    top: 15px;
    right: 5px;
    color: var(--hp-accent-gold);
    font-size: 20px;
    line-height: 1.2;
    transform: rotate(12deg);
}

.hp-category-card {
    position: relative;
}

/* ==================== PRODUCTS SECTION ==================== */
.hp-products-section {
    padding: 40px 0 50px 0;
}

.hp-section-header {
    text-align: center;
    margin-bottom: 34px;
    position: relative;
}

.hp-section-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.hp-section-line {
    width: 60px;
    height: 1.5px;
    background: #d8a48f;
    display: inline-block;
}

.hp-section-title {
    font-family: var(--hp-font-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--hp-primary);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hp-section-heart {
    display: block;
    color: var(--hp-accent-gold);
    font-size: 18px;
    margin-top: 4px;
}

.hp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.hp-product-card {
    background: #ffffff;
    border: 1px solid var(--hp-border-light);
    border-radius: var(--hp-radius-md);
    box-shadow: var(--hp-shadow-soft);
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.hp-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hp-shadow-hover);
    border-color: #ebd0d6;
}

.hp-product-fav-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ebd9de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8949b;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    text-decoration: none;
}

.hp-product-fav-btn:hover {
    color: var(--hp-primary);
    border-color: var(--hp-primary);
    background: var(--hp-primary-light);
}

.hp-product-fav-btn.active {
    color: var(--hp-primary);
    background: var(--hp-active-pill);
}

.hp-product-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #faf4f5;
    margin-bottom: 14px;
    position: relative;
}

.hp-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hp-product-card:hover .hp-product-img {
    transform: scale(1.05);
}

.hp-product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.hp-product-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--hp-primary);
    margin: 0 0 8px 0;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.hp-product-price {
    font-family: var(--hp-font-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 12px;
}

.hp-btn-add-cart {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--hp-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: var(--hp-radius-full);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hp-btn-add-cart:hover {
    background: var(--hp-primary-dark);
    color: #ffffff;
}

/* ==================== CUSTOM PROMO BANNER ==================== */
.hp-promo-banner {
    margin: 10px 0 45px 0;
    background: linear-gradient(135deg, #e9daf0 0%, #f6eff9 50%, #f4eaf7 100%);
    border-radius: var(--hp-radius-lg);
    padding: 34px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(184, 150, 203, 0.15);
    overflow: hidden;
    position: relative;
}

.hp-promo-content {
    max-width: 480px;
    z-index: 2;
}

.hp-promo-title {
    font-family: var(--hp-font-serif);
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--hp-primary);
    margin: 0 0 20px 0;
}

.hp-promo-visual {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.hp-promo-img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.06));
}

/* ==================== TRUST / ADVANTAGES STRIP ==================== */
.hp-trust-strip {
    padding: 24px 0 28px 0;
    border-top: 1px solid var(--hp-border-light);
    border-bottom: 1px solid var(--hp-border-light);
    margin-bottom: 30px;
}

.hp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.hp-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    position: relative;
}

.hp-trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--hp-border-light);
}

.hp-trust-icon {
    width: 26px;
    height: 26px;
    color: var(--hp-accent-gold);
    stroke-width: 1.8;
}

.hp-trust-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #4a3840;
}

/* ==================== FOOTER ==================== */
.hp-footer {
    background: #ffffff;
    padding: 30px 0 40px 0;
    text-align: center;
}

.hp-footer-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hp-footer-logo-img {
    height: 85px;
    width: 85px;
    border-radius: 50%;
    object-fit: contain;
    border: 2.5px solid #ffffff;
    box-shadow: 0 5px 18px rgba(142, 27, 66, 0.12);
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-footer-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(142, 27, 66, 0.18);
}

.hp-footer-brand {
    font-family: var(--hp-font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--hp-primary);
}

.hp-footer-tagline {
    font-size: 15px;
    color: var(--hp-text-muted);
    font-style: italic;
    font-weight: 500;
}

.hp-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-wrap: wrap;
}

.hp-footer-link {
    font-size: 13.5px;
    color: var(--hp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-footer-link:hover {
    color: var(--hp-primary);
}

.hp-footer-copyright {
    font-size: 12.5px;
    color: #9c8890;
    margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hp-header-top {
        min-height: 105px;
    }
    .hp-brand-icon {
        width: 92px;
        height: 92px;
    }
    .hp-hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hp-hero-content {
        max-width: 100%;
    }
    .hp-hero-title {
        font-size: 36px;
    }
    .hp-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .hp-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .hp-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hp-trust-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hp-header-top {
        min-height: auto;
    }
    .hp-brand-icon {
        width: 76px;
        height: 76px;
    }
    .hp-footer-logo-img {
        width: 65px;
        height: 65px;
    }
    .hp-brand-title {
        font-size: 22px;
    }
    .hp-brand-tagline {
        font-size: 9.5px;
    }
    .hp-header-top {
        flex-wrap: wrap;
    }
    .hp-search-wrapper {
        order: 3;
        margin: 10px 0 0 0;
        max-width: 100%;
    }
    .hp-brand-title {
        font-size: 22px;
    }
    .hp-hero-title {
        font-size: 28px;
    }
    .hp-products-grid {
        grid-template-columns: 1fr;
    }
    .hp-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-category-circle-wrap {
        width: 95px;
        height: 95px;
    }
    .hp-category-name {
        font-size: 14px;
    }
    .hp-promo-title {
        font-size: 24px;
    }
    .hp-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MODERN CATEGORY & CATALOG STYLING (HEDİYE PERİM BOUTIQUE)
   ========================================================================== */
.hp-modern-catalog-page {
    padding-top: 24px;
    padding-bottom: 60px;
}

/* Category Hero Banner Card */
.hp-cat-hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff6f8 0%, #ffffff 55%, #fef0f4 100%);
    border: 1px solid rgba(142, 27, 66, 0.1);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(142, 27, 66, 0.04);
}

.hp-cat-hero-sparkle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    font-size: 20px;
    opacity: 0.25;
    color: var(--hp-primary);
    animation: hpFloatSparkle 4s ease-in-out infinite alternate;
}

.hp-cat-hero-sparkle--1 {
    top: 18px;
    right: 28px;
    font-size: 24px;
    animation-delay: 0s;
}

.hp-cat-hero-sparkle--2 {
    bottom: 20px;
    right: 80px;
    font-size: 18px;
    animation-delay: 1.5s;
    color: var(--hp-accent-gold);
}

.hp-cat-hero-sparkle--3 {
    top: 40px;
    right: 160px;
    font-size: 16px;
    animation-delay: 0.8s;
}

@keyframes hpFloatSparkle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
    100% { transform: translateY(-8px) rotate(15deg); opacity: 0.5; }
}

.hp-cat-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

/* Breadcrumbs */
.hp-cat-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: #8c7882;
    margin-bottom: 14px;
}

.hp-cat-breadcrumbs a {
    color: #8c7882;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hp-cat-breadcrumbs a:hover {
    color: var(--hp-primary);
}

.hp-bc-sep {
    color: #c9b4be;
    font-size: 13px;
}

.hp-bc-current {
    color: #2b1622;
    font-weight: 700;
}

/* Category Badge */
.hp-cat-badge-row {
    margin-bottom: 10px;
}

.hp-cat-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #fdf0f4;
    border: 1px solid rgba(142, 27, 66, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-primary);
    letter-spacing: 0.2px;
}

/* Title & Description */
.hp-cat-hero-title {
    font-family: var(--hp-font-title) !important;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    color: #2b1622;
    letter-spacing: -0.025em;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.hp-cat-hero-desc {
    font-size: clamp(14px, 1.4vw, 15.5px);
    line-height: 1.65;
    color: #5d4852;
    margin: 0 0 20px 0;
    max-width: 760px;
}

/* Boutique Trust Perks */
.hp-cat-perks-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hp-cat-perk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(142, 27, 66, 0.08);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #4a343e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(4px);
}

.hp-cat-perk-icon {
    font-size: 14px;
}

/* ==================== SUBCATEGORY QUICK-FILTER PILLS BAR ==================== */
.hp-subcat-chips-wrapper {
    margin-bottom: 26px;
    position: relative;
}

.hp-subcat-chips-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(142, 27, 66, 0.2) transparent;
    -webkit-overflow-scrolling: touch;
}

.hp-subcat-chips-scroll::-webkit-scrollbar {
    height: 4px;
}

.hp-subcat-chips-scroll::-webkit-scrollbar-thumb {
    background: rgba(142, 27, 66, 0.2);
    border-radius: 999px;
}

.hp-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: #ffffff;
    border: 1px solid rgba(142, 27, 66, 0.12);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a333f;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hp-chip-emoji {
    font-size: 15px;
}

.hp-subcat-chip:hover {
    background: #fdf0f4;
    border-color: rgba(142, 27, 66, 0.25);
    color: var(--hp-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 27, 66, 0.08);
}

.hp-subcat-chip.is-active {
    background: var(--hp-primary);
    color: #ffffff !important;
    border-color: var(--hp-primary);
    box-shadow: 0 6px 18px rgba(142, 27, 66, 0.28);
    transform: translateY(-1px);
}

.hp-subcat-chip.is-active .hp-chip-emoji {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ==================== MODERN SIDEBAR ==================== */
.hp-sidebar-modern {
    background: #ffffff;
    border: 1px solid rgba(142, 27, 66, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(142, 27, 66, 0.03);
    position: sticky;
    top: 90px;
}

.hp-sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(142, 27, 66, 0.08);
}

.hp-sidebar-icon {
    font-size: 18px;
}

.hp-sidebar-title {
    font-family: var(--hp-font-title) !important;
    font-size: 16px;
    font-weight: 800;
    color: #2b1622;
    margin: 0;
    letter-spacing: -0.01em;
}

.hp-sidebar-tree {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-sidebar-tree > li > a,
.hp-sb-item > .hp-sb-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a343e;
    text-decoration: none;
    transition: all 0.18s ease;
}

.hp-sb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d8c3cb;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.hp-sidebar-tree > li:hover > a,
.hp-sb-item:hover > .hp-sb-link {
    background: #fdf2f5;
    color: var(--hp-primary);
}

.hp-sidebar-tree > li:hover .hp-sb-dot,
.hp-sb-item:hover .hp-sb-dot {
    background: var(--hp-primary);
    transform: scale(1.4);
}

.hp-sidebar-tree > li.is-active > a,
.hp-sb-item.is-active > .hp-sb-link {
    background: #fdf0f4;
    color: var(--hp-primary);
    font-weight: 700;
}

.hp-sidebar-tree > li.is-active .hp-sb-dot,
.hp-sb-item.is-active .hp-sb-dot {
    background: var(--hp-primary);
    box-shadow: 0 0 0 3px rgba(142, 27, 66, 0.15);
}

.hp-sb-sublist {
    list-style: none;
    padding: 4px 0 6px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hp-sb-sublist a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: #6d5862;
    text-decoration: none;
    transition: all 0.15s ease;
}

.hp-sb-subdot {
    color: #bfaab4;
    font-size: 14px;
    line-height: 1;
}

.hp-sb-sublist a:hover {
    color: var(--hp-primary);
    background: #fcf4f6;
}

.hp-sb-sublist li.is-active a {
    color: var(--hp-primary);
    font-weight: 700;
    background: #fdf0f4;
}

/* ==================== CATALOG TOOLBAR ==================== */
.hp-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 20px;
    background: #faf6f7;
    border: 1px solid rgba(142, 27, 66, 0.08);
    border-radius: 16px;
    margin-bottom: 24px;
}

.hp-catalog-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4a343e;
}

.hp-count-heart {
    color: var(--hp-primary);
    font-size: 15px;
}

.hp-catalog-count-pill b {
    color: #2b1622;
    font-weight: 700;
}

.hp-catalog-sort-box form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.hp-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #6d5560;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.hp-sort-select-wrapper {
    position: relative;
}

.hp-sort-select-wrapper select {
    font-size: 13px;
    font-weight: 600;
    color: #2b1622;
    background: #ffffff;
    border: 1px solid rgba(142, 27, 66, 0.15);
    border-radius: 10px;
    padding: 6px 28px 6px 12px;
    cursor: pointer;
    outline: none;
    transition: all 0.18s ease;
}

.hp-sort-select-wrapper select:hover,
.hp-sort-select-wrapper select:focus {
    border-color: var(--hp-primary);
    box-shadow: 0 0 0 3px rgba(142, 27, 66, 0.1);
}

/* ==================== EMPTY STATE ==================== */
.hp-catalog-empty-card {
    background: #ffffff;
    border: 1px dashed rgba(142, 27, 66, 0.18);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    margin: 20px 0;
}

.empty-icon-fairy {
    font-size: 48px;
    margin-bottom: 14px;
}

.empty-title {
    font-family: var(--hp-font-title) !important;
    font-size: 20px;
    font-weight: 700;
    color: #2b1622;
    margin: 0 0 8px 0;
}

.empty-desc {
    font-size: 14.5px;
    color: #6d5560;
    max-width: 520px;
    margin: 0 auto 22px auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hp-catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .hp-cat-perks-row {
        gap: 6px;
    }
    .hp-cat-perk {
        font-size: 11.5px;
        padding: 5px 10px;
    }
}

