/* Peçetella Custom Premium Feminine Design System */

:root {
    --anh-primary: #D4528A;         /* Açık Fuşya */
    --anh-primary-hover: #A8335F;   /* Koyu Fuşya / Hover */
    --anh-bg: #ffffff;              /* White Background */
    --anh-text: #2b141e;            /* Deep Plum Charcoal Text */
    --anh-card-bg: #ffffff;
    --anh-border: #f7e1eb;          /* Soft Pink Border */
    --anh-shadow: 0 8px 30px rgba(212, 82, 138, 0.05);
    --anh-shadow-hover: 0 12px 40px rgba(212, 82, 138, 0.12);
}

/* Global Styles */
body {
    background-color: var(--anh-bg) !important;
    color: var(--anh-text) !important;
}

/* Header & Menu Styling */
.main-header-bar {
    background: rgba(255, 251, 249, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--anh-border) !important;
}

/* Main Navigation items */
.main-navigation ul li a {
    color: var(--anh-text) !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
    font-size: 14px !important;
    letter-spacing: 0.3px;
}

.main-navigation ul li a:hover {
    color: var(--anh-primary) !important;
    transform: translateY(-1px);
}

/* Dropdown Menu styling */
.main-navigation ul.sub-menu {
    border-radius: 8px !important;
    border: 1px solid var(--anh-border) !important;
    box-shadow: var(--anh-shadow) !important;
    background: #fff !important;
}

/* Mobile Off-Canvas / Drawer Menu */
.ast-mobile-menu-trigger {
    color: var(--anh-primary) !important;
}

.ast-mobile-popup-inner {
    background-color: var(--anh-bg) !important;
}

.ast-mobile-popup-drawer .ast-mobile-menu-wrap ul li a {
    color: var(--anh-text) !important;
    border-bottom: 1px solid var(--anh-border) !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
}

/* Custom Category Styling for Grid on Homepage */
.pecetella-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 991px) {
    .pecetella-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .pecetella-cat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.pecetella-cat-card {
    background: var(--anh-card-bg);
    border: 1px solid var(--anh-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: var(--anh-shadow);
}

.pecetella-cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--anh-primary);
    box-shadow: var(--anh-shadow-hover);
}

.pecetella-cat-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.pecetella-cat-card:hover img {
    transform: scale(1.03);
}

.pecetella-cat-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--anh-text);
}

.pecetella-cat-desc {
    font-size: 13px;
    color: #8a7c76;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Premium Product Grid Styling */
.woocommerce ul.products li.product {
    background: var(--anh-card-bg);
    border: 1px solid var(--anh-border) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: var(--anh-shadow) !important;
    transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--anh-shadow-hover) !important;
    border-color: var(--anh-primary) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--anh-text) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-top: 10px !important;
}

.woocommerce ul.products li.product img {
    border-radius: 8px !important;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.02);
}

/* Sale Badge styling */
.woocommerce span.onsale {
    background-color: var(--anh-primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    padding: 3px 8px !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    min-width: auto !important;
}

/* Buttons (Add to Cart / Shopier / Trendyol buttons) */
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--anh-primary) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(212, 82, 138, 0.15) !important;
    height: auto !important;
    line-height: 1.5 !important;
    display: inline-block !important;
}

.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--anh-primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(212, 82, 138, 0.25) !important;
}

/* Hero Section Cover */
.wp-block-cover-image .wp-block-cover__inner-container, 
.wp-block-cover .wp-block-cover__inner-container {
    color: #fff;
    max-width: 800px;
}

/* Sub-footer trust bar styling overrides */
.anh-legal-footer {
    background: #fff5f8 !important;
    color: #634d56 !important;
    border-top: 1px solid var(--anh-border) !important;
}

.anh-legal-footer-info strong {
    color: var(--anh-text) !important;
}

.anh-legal-footer-links a {
    color: #8c767f !important;
}

.anh-legal-footer-links a:hover {
    color: var(--anh-primary-hover) !important;
}

.anh-badge {
    background: #fff !important;
    color: #634d56 !important;
    border-color: var(--anh-border) !important;
}

/* iOS forms styling */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    border: 1px solid var(--anh-border) !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    height: auto !important;
    line-height: 1.5 !important;
    padding: 10px 15px !important;
    box-sizing: border-box !important;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus, textarea:focus {
    border-color: var(--anh-primary) !important;
    box-shadow: 0 0 0 2px rgba(212, 82, 138, 0.1) !important;
}

/* Dynamic design note styling */
.anh-note-wrapper {
    background: #fffdfc !important;
    border: 1px dashed var(--anh-primary) !important;
}
.anh-qty-wrapper {
    background: #fffdfc !important;
    border: 1px solid var(--anh-border) !important;
}
.anh-qty-hint {
    color: var(--anh-primary-hover) !important;
}
.anh-multi-channel-container {
    background: #fffdfc !important;
    border: 1px solid var(--anh-border) !important;
}

/* Custom Pecetella Buttons to override Astra styles */
.pecetella-btn {
    display: inline-block !important;
    background-color: var(--anh-primary) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(212, 82, 138, 0.15) !important;
    line-height: 1.5 !important;
    height: auto !important;
    width: auto !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.pecetella-btn:hover {
    background-color: var(--anh-primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(212, 82, 138, 0.25) !important;
    text-decoration: none !important;
}

/* Color updates to Fuchsia, Pink and White overrides */
.wp-block-columns.alignwide {
    background: #fff5f8 !important; /* Soft Pink */
    border-color: #f7e1eb !important;
    box-shadow: 0 4px 15px rgba(212, 82, 138, 0.03) !important;
}

.wp-block-column {
    border-color: #f7e1eb !important;
    box-shadow: 0 4px 15px rgba(212, 82, 138, 0.04) !important;
}

/* Banner button color override */
.wp-block-cover__inner-container a.pecetella-btn {
    color: var(--anh-primary) !important;
}

/* Custom Header Logo & Site Title Styling (Fuşya & Pembe Konsepti) */
.site-logo-img .custom-logo-link img,
.ast-header-logo-active .site-logo-img img,
.ast-mobile-header-logo-active .site-logo-img img,
.ast-mobile-popup-drawer .site-logo-img img {
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Hide text site title when logo is active */
.ast-header-logo-active .site-title,
.ast-header-logo-active .ast-site-title-wrap,
.ast-mobile-header-logo-active .site-title,
.ast-mobile-header-logo-active .ast-site-title-wrap,
.ast-logo-title-inline .ast-site-title-wrap,
.ast-mobile-popup-drawer .ast-site-title-wrap {
    display: none !important;
}

/* Ensure mobile header logo fits beautifully */
@media (max-width: 768px) {
    .site-logo-img .custom-logo-link img,
    .ast-mobile-popup-drawer .site-logo-img img {
        max-height: 38px !important;
    }
}

