/*
Theme Name: Penify Shop
Theme URI: https://penifyshop.com/
Author: Mehmet BALIK
Author URI: https://penifyshop.com/
Developer: Mehmet BALIK
Developer URI: https://penifyshop.com/
Description: Penify Shop is a premium WooCommerce-ready WordPress theme built by Mehmet BALIK. Fast, SEO-friendly, and fully managed from the Customizer. The purple corporate design (#720eec) pairs with modern UX features (mini-cart, wishlist, quick view, compare, dark mode, sticky add-to-cart) and a luxury single-product page. Colors, banners, footer, social links, contact info, and payment methods are all editable from the WordPress admin.
Version: 1.4.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: penify
Domain Path: /languages
Tags: e-commerce, woocommerce, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, dark-mode, responsive-layout
*/

/* Primary purple color: #720eec */
:root {
    --ana-mor: #720eec;
    --ana-mor-dark: #5a0bbb;
    --kenarlik-mor: rgba(114, 14, 236, 0.1);
    --mor-hafif: rgba(114, 14, 236, 0.05);
}

/* Category title bar */
.category-header {
    border-left: 5px solid var(--ana-mor);
}

/* Product card border */
.product-card {
    border: 1px solid var(--kenarlik-mor) !important;
    border-radius: 12px !important;
    background: #fff;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--ana-mor) !important;
    box-shadow: 0 10px 20px rgba(114, 14, 236, 0.15) !important;
}

/* Purple button */
.btn-mor {
    background-color: var(--ana-mor) !important;
    color: white !important;
    border: none !important;
    transition: 0.3s;
}

.btn-mor:hover {
    background-color: #5a0bbb !important;
    transform: scale(1.02);
}

.btn-outline-mor {
    border-color: var(--ana-mor) !important;
    color: var(--ana-mor) !important;
}

.btn-outline-mor:hover {
    background-color: var(--ana-mor) !important;
    color: white !important;
}

/* Title and image */
.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.zoom-effect {
    transition: transform 0.4s ease;
    max-height: 200px;
    object-fit: contain;
}

/* Brand colors */
.text-mor { color: #720eec !important; }
.btn-mor { background-color: #720eec !important; border-color: #720eec !important; }
.border-mor { border-color: #720eec !important; }

/* Very light transparent border */
.border-mor-bindebir {
    border: 1px solid rgba(114, 14, 236, 0.1) !important;
}

/* Replace orange with purple in footer */
.text-orange { color: #720eec !important; }
.footer-link-list li::before { color: #720eec !important; }
.footer-link-list a:hover { color: #720eec !important; }

/* Footer background */
.container-fluid[style*="background-color: #fef4ec;"] {
    background-color: #f9f5ff !important;
}

/* Footer color revision */
.text-orange {
    color: #720eec !important;
}

/* Icon purple harmony */
.footer-link-list li::before {
    color: #720eec !important;
}

/* Footer social media icon circles */
.social-icon-circle {
    border: 1px solid rgba(114, 14, 236, 0.1) !important;
    color: #720eec;
    transition: 0.3s;
}

.social-icon-circle:hover {
    background-color: #720eec;
    color: #fff;
}

/* Footer link hover effect */
.footer-link-list a:hover {
    color: #720eec !important;
    padding-left: 8px !important;
}

/* Footer light background */
.container-fluid[style*="background-color: #fef4ec;"] {
    background-color: #f9f6ff !important;
}

/* Support box purple detail */
.bg-white.rounded-4.shadow-sm.border.text-center.mt-2 {
    border-left: 4px solid #720eec !important;
}


@media (max-width: 991px) {
    .header-search input {
        border-radius: 8px 0 0 8px !important;
        font-size: 14px;
    }
    .header-search button {
        border-radius: 0 8px 8px 0 !important;
    }
    /* Logo slightly smaller on mobile */
    .h3 { font-size: 1.5rem !important; }
}

/* =====================================================
   9) NEW COMPONENTS
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
img, video, svg { max-width: 100%; }
.row, .col, [class*="col-"] { min-width: 0; }
:root {
    --mor: #720eec;
    --mor-hafif: rgba(114, 14, 236, 0.05);
    --mor-light: rgba(114, 14, 236, 0.1);
    --mor-dark: #5a0bbb;
}

html, body { min-height: 100%; margin: 0; padding: 0; }
html { background: #f5f3fa; }
body { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #333; max-width: 100%; overflow-x: hidden; background: #f5f3fa; }
body { display: flex; flex-direction: column; min-height: 100vh; }
/* Body is a flex column; its direct children MUST be allowed to shrink to the
   viewport width. A flex item defaults to min-width:auto, so it keeps the
   intrinsic width of its widest descendant (a long word/URL, a wide imported
   table, the mega-menu) and pushes the page past the screen edge → the
   "scrolls to the right" gap on mobile that overflow-x alone can't fix. */
body > * { min-width: 0; max-width: 100%; }
.site-main { flex: 1 0 auto; min-width: 0; }
footer.penify-footer { flex-shrink: 0; }

/* General typography and H1 */
.product-entry-title,
.entry-title { font-size: 1.75rem; line-height: 1.3; }

/* Ensure full-width container */
.container { max-width: 1320px; width: 100%; margin-left: auto; margin-right: auto; padding-left: 12px; padding-right: 12px; }

/* Single product content area */
.penify-single-product { width: 100%; }
.penify-product-main { width: 100%; }
.penify-tab-content { width: 100%; }

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--mor);
    color: #fff;
    padding: 8px 16px;
    z-index: 100000;
    text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Topbar */
.bg-mor { background-color: var(--mor) !important; }
.text-mor { color: var(--mor) !important; }

/* ===== Header (Pro) ===== */
.penify-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 18px rgba(20, 20, 50, 0.04);
}

/* Top bar (Pro) */
.penify-topbar {
    background: linear-gradient(90deg, #1a0a2e 0%, #2a1850 50%, #1a0a2e 100%);
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    letter-spacing: 0.2px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.penify-topbar-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.penify-topbar-info li { display: inline-flex; }
.penify-topbar-link,
.penify-topbar-static {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.2s;
    line-height: 1;
}
.penify-topbar-link:hover { color: #fff; }
.penify-topbar-link i,
.penify-topbar-static i {
    color: #b07aff;
    font-size: 12px;
}
.penify-topbar-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(176,122,255,0.15), rgba(114,14,236,0.25));
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(176,122,255,0.25);
    font-size: 12px;
    line-height: 1;
}
.penify-topbar-promo i { color: #b07aff; }

/* Header main */
.penify-header-main {
    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.penify-brand { display: flex; align-items: center; min-height: 44px; }
.penify-brand .custom-logo { max-height: 48px; width: auto; }
.penify-brand .custom-logo-link { display: inline-flex; }
.penify-brand-text,
.penify-brand-default {
    text-decoration: none;
    color: var(--mor);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.penify-brand-text:hover,
.penify-brand-default:hover { color: var(--mor-dark); }

.penify-brand-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(114,14,236,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.penify-brand-mark svg { display: block; width: 100%; height: 100%; }
.penify-brand-default:hover .penify-brand-mark {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 18px rgba(114,14,236,0.35);
}
.penify-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}
.penify-brand-name strong {
    color: var(--mor);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.penify-brand-default:hover .penify-brand-name strong { color: var(--mor-dark); }
@media (max-width: 575px) {
    .penify-brand-mark { width: 38px; height: 38px; border-radius: 9px; }
    .penify-brand-name { overflow: hidden; min-width: 0; }
    .penify-brand-name strong { font-size: 1rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
    .penify-user-menu { gap: 4px; min-width: 0; }
    .penify-user-menu .penify-icon-btn { width: 34px; height: 34px; font-size: 0.95rem; border-radius: 8px; }
    .penify-cart-btn { padding: 0 10px !important; }
    .penify-topbar { padding: 6px 0; }
    .penify-topbar-info { gap: 10px; font-size: 11.5px; }
    .penify-topbar-info li:nth-child(n+2) { display: none; }
    .penify-topbar-promo { font-size: 10.5px; padding: 3px 8px; gap: 4px; }
    .penify-header-main { padding: 12px 0; }
    .penify-search-input { padding: 10px 12px 10px 38px; font-size: 13.5px; }
    .penify-search-icon { left: 12px; font-size: 14px; }
    .penify-search-btn-icon { min-width: 40px; }
    .penify-primary-menu { gap: 0; }
    .penify-primary-menu .nav-link { padding: 10px 10px; font-size: 13px; letter-spacing: 0; }
    .penify-nav { display: none !important; }
    .penify-pay-logo:hover .penify-pay-logo-svg { transform: none; }
    .penify-footer-main { padding: 40px 0 24px; }
    .penify-footer-newsletter { padding: 24px 0; }
    .penify-footer-newsletter-title { font-size: 18px; }
    .penify-footer-col { margin-bottom: 8px; }
    .penify-trustbar-item { padding: 16px 12px; gap: 12px; }
    .penify-trustbar-icon { width: 44px; height: 44px; font-size: 18px; border-radius: 11px; }
    .penify-trustbar-title { font-size: 13.5px; }
    .penify-trustbar-desc { font-size: 11.5px; }
}
@media (max-width: 380px) {
    .penify-brand-mark { width: 34px; height: 34px; border-radius: 8px; }
    .penify-brand-name strong { font-size: 0.9rem; max-width: 80px; }
    .penify-user-menu .penify-icon-btn { width: 32px; height: 32px; font-size: 0.9rem; }
    .penify-topbar-promo { font-size: 10px; padding: 2px 7px; }
}

/* Search form (Pro) */
.penify-search-form { position: relative; }
.penify-search-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #f5f3ff;
    border: 2px solid #ece6ff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}
.penify-search-wrap:focus-within {
    border-color: var(--mor);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(114,14,236,0.10);
}
.penify-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a7ba8;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s;
}
.penify-search-wrap:focus-within .penify-search-icon { color: var(--mor); }
.penify-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    color: #15131e;
    box-shadow: none !important;
    min-width: 0;
}
.penify-search-input::placeholder { color: #8a7ba8; }
.penify-search-input:focus { box-shadow: none !important; outline: none; }
.penify-search-btn {
    background: linear-gradient(135deg, var(--mor) 0%, var(--mor-dark) 100%);
    color: #fff;
    border: 0;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.penify-search-btn:hover {
    background: linear-gradient(135deg, var(--mor-dark) 0%, #420a8a 100%);
    filter: brightness(1.05);
}
.penify-search-btn-icon {
    padding: 0 14px;
    min-width: 46px;
    font-size: 16px;
}
/* Search results dropdown - main styles in woocommerce.css; z-index & shadow upgraded here */
.penify-search-results { z-index: 1050; box-shadow: 0 20px 50px rgba(20, 20, 50, 0.18); }

/* User menu (Pro) */
.penify-user-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.penify-cart-btn {
    width: auto !important;
    padding: 0 14px !important;
    gap: 8px;
    background: linear-gradient(135deg, var(--mor) 0%, var(--mor-dark) 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.penify-cart-btn .penify-count-badge {
    position: static !important;
    background: #fff !important;
    color: var(--mor) !important;
    border: 0 !important;
    font-weight: 700;
}

/* Nav (Pro) */
.penify-nav {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.penify-primary-menu { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; padding: 0; margin: 0; justify-content: center; }
.penify-primary-menu > li { position: relative; }
.penify-primary-menu .nav-link {
    font-weight: 600;
    font-size: 14.5px;
    color: #2a2535 !important;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.penify-primary-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px;
    bottom: 8px;
    height: 2px;
    background: var(--mor);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s;
    border-radius: 2px;
}
.penify-primary-menu .nav-link:hover,
.penify-primary-menu .nav-link:focus { color: var(--mor) !important; }
.penify-primary-menu .nav-link:hover::after,
.penify-primary-menu .nav-link:focus::after { transform: scaleX(1); }
.penify-primary-menu .current-menu-item > .nav-link,
.penify-primary-menu .current_page_item > .nav-link { color: var(--mor) !important; }
.penify-primary-menu .current-menu-item > .nav-link::after,
.penify-primary-menu .current_page_item > .nav-link::after { transform: scaleX(1); }

/* Robust fallback: style the raw menu anchors too, since WordPress does not
   add a ".nav-link" class to menu links by default. */
.penify-primary-menu > li > a {
    font-weight: 600;
    font-size: 14.5px;
    color: #2a2535 !important;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
}
.penify-primary-menu > li > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px;
    bottom: 8px;
    height: 2px;
    background: var(--mor);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s;
    border-radius: 2px;
}
.penify-primary-menu > li > a:hover,
.penify-primary-menu > li > a:focus { color: var(--mor) !important; }
.penify-primary-menu > li > a:hover::after,
.penify-primary-menu > li > a:focus::after { transform: scaleX(1); }
.penify-primary-menu .current-menu-item > a,
.penify-primary-menu .current_page_item > a { color: var(--mor) !important; }
.penify-primary-menu .current-menu-item > a::after,
.penify-primary-menu .current_page_item > a::after { transform: scaleX(1); }

.penify-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid rgba(114, 14, 236, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s;
    z-index: 999;
}
.penify-primary-menu > li:hover > .sub-menu,
.penify-primary-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.penify-primary-menu .sub-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.15s;
    white-space: nowrap;
}
.penify-primary-menu .sub-menu a:hover {
    background: #f9f6ff;
    color: var(--mor);
    padding-left: 1rem;
}
.penify-primary-menu .sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-left: 4px;
}

/* User menu */
.user-menu i { font-size: 1.4rem; color: #333; }
.user-menu a { color: #333; }
.user-menu a:hover i { color: var(--mor); }
.user-menu span { font-size: 0.8rem; display: block; }
.penify-cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: var(--mor) !important;
    color: #fff !important;
}

/* Compact icon button for header (single line, square) */
.penify-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f9f6ff;
    color: #444;
    font-size: 1.15rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}
.penify-icon-btn:hover,
.penify-icon-btn:focus {
    background: var(--mor);
    color: #fff;
    border-color: var(--mor);
    transform: translateY(-1px);
    outline: none;
}
.penify-icon-btn .penify-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: var(--mor);
    color: #fff;
    border: 2px solid #fff;
    line-height: 1;
}
@media (max-width: 575px) {
    .penify-icon-btn { width: 36px; height: 36px; font-size: 1rem; }
}

/* Breadcrumb */
.penify-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
}
.penify-breadcrumb .breadcrumb-item a { color: var(--mor); text-decoration: none; }
.penify-breadcrumb .breadcrumb-item a:hover { text-decoration: underline; }
.penify-breadcrumb .breadcrumb-item.active { color: #666; }

/* Pagination */
.penify-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 2px;
    border-radius: 8px;
    border: 1px solid var(--mor-light);
    color: var(--mor);
    text-decoration: none;
    font-weight: 500;
}
.penify-pagination .page-numbers.current { background: var(--mor); color: #fff; border-color: var(--mor); }
.penify-pagination .page-numbers:hover:not(.current) { background: var(--mor-hafif); }

/* ===== Trust Bar (between content & footer) ===== */
.penify-trustbar {
    background: #fff;
    border-top: 1px solid rgba(114,14,236,0.08);
    border-bottom: 1px solid rgba(114,14,236,0.08);
    padding: 0;
}
.penify-trustbar-inner {
    margin: 0;
}
.penify-trustbar-inner > [class*="col-"] {
    border-right: 1px solid rgba(114,14,236,0.08);
}
.penify-trustbar-inner > [class*="col-"]:last-child {
    border-right: 0;
}
.penify-trustbar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 18px;
    transition: background 0.2s;
}
.penify-trustbar-item:hover {
    background: #faf7ff;
}
.penify-trustbar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(114,14,236,0.10), rgba(114,14,236,0.04));
    color: var(--mor);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.2s;
}
.penify-trustbar-item:hover .penify-trustbar-icon {
    background: linear-gradient(135deg, var(--mor), var(--mor-dark));
    color: #fff;
    transform: scale(1.05);
}
.penify-trustbar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}
.penify-trustbar-title {
    color: #15131e;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
}
.penify-trustbar-desc {
    color: #6b6781;
    font-size: 12.5px;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .penify-trustbar-inner > [class*="col-"] { border-right: 0; border-bottom: 1px solid rgba(114,14,236,0.08); }
    .penify-trustbar-inner > [class*="col-"]:last-child { border-bottom: 0; }
}

/* ===== Footer (Pro) ===== */
.penify-footer {
    background:
        radial-gradient(ellipse at top left, rgba(114,14,236,0.18), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(176,122,255,0.10), transparent 55%),
        linear-gradient(135deg, #14082b 0%, #221048 50%, #14082b 100%);
    color: #fff;
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}
.penify-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mor) 0%, #ff6b9d 50%, var(--mor) 100%);
    z-index: 2;
}
.penify-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.5;
}
.penify-footer > * { position: relative; z-index: 1; }

/* Newsletter strip */
.penify-footer-newsletter {
    background: linear-gradient(135deg, rgba(114,14,236,0.22), rgba(176,122,255,0.12));
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 36px 0;
}
.penify-footer-newsletter-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.penify-footer-newsletter-title i {
    color: #ff8fb1;
    font-size: 24px;
}
.penify-footer-newsletter-desc {
    color: rgba(255,255,255,0.78);
    font-size: 14.5px;
    max-width: 520px;
}

/* Main footer */
.penify-footer-main {
    padding: 56px 0 32px;
}
.penify-footer-brand {
    max-width: 340px;
}
.penify-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff !important;
    margin-bottom: 18px;
    font-weight: 700;
}
.penify-footer-logo .custom-logo { max-height: 44px; width: auto; filter: brightness(0) invert(1); }
.penify-footer-about {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}
.penify-footer-contact {
    margin: 0 0 18px 0;
    padding: 0;
    list-style: none;
}
.penify-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.78);
    font-size: 13.5px;
}
.penify-footer-contact li i {
    color: #b07aff;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 14px;
    width: 16px;
    text-align: center;
}
.penify-footer-contact li a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color 0.2s;
}
.penify-footer-contact li a:hover { color: #fff; }

.penify-footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.penify-social-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
}
.penify-social-circle:hover {
    background: var(--mor);
    color: #fff;
    border-color: var(--mor);
    transform: translateY(-2px);
}

.penify-footer-col {}
.penify-footer-title {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.penify-footer-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 2px;
    background: var(--mor);
    border-radius: 2px;
}
.penify-footer-links { list-style: none; padding: 0; margin: 0; }
.penify-footer-links li { margin-bottom: 10px; }
.penify-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.penify-footer-links a::before {
    content: "\F138";
    font-family: "bootstrap-icons";
    color: var(--mor);
    font-size: 10px;
    opacity: 0;
    transition: 0.2s;
    transform: translateX(-4px);
}
.penify-footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}
.penify-footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* App download buttons */
.penify-footer-app {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.penify-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
    line-height: 1.1;
}
.penify-app-btn:hover {
    background: var(--mor);
    border-color: var(--mor);
    transform: translateY(-1px);
    color: #fff !important;
}
.penify-app-btn i { font-size: 22px; }
.penify-app-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.penify-app-btn small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-weight: 400;
}
.penify-app-btn strong { font-size: 14px; font-weight: 600; }
.penify-footer-app-desc { color: rgba(255,255,255,0.6); margin-bottom: 12px; }

/* Newsletter form (pro) */
.penify-newsletter-form { max-width: 100%; }
.penify-newsletter-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 5px;
    transition: 0.2s;
}
.penify-newsletter-wrap:focus-within {
    border-color: #b07aff;
    background: rgba(255,255,255,0.14);
    box-shadow: 0 0 0 4px rgba(176,122,255,0.18);
}
.penify-newsletter-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    pointer-events: none;
}
.penify-newsletter-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    padding: 12px 16px 12px 42px;
    font-size: 14px;
    min-width: 0;
}
.penify-newsletter-input::placeholder { color: rgba(255,255,255,0.55); }
.penify-newsletter-btn {
    background: linear-gradient(135deg, var(--mor) 0%, var(--mor-dark) 100%);
    color: #fff;
    border: 0;
    padding: 0 22px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.penify-newsletter-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* The Newsletter Plugin ([newsletter_form type="minimal"]) — match footer style.
   The plugin ships inline styles + its own box-shadows, so we override with
   !important and reset shadows/margins to keep the row clean. */
.penify-newsletter-plugin,
.penify-newsletter-plugin .tnp,
.penify-newsletter-plugin .tnp-subscription-minimal { margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
.penify-newsletter-plugin .tnp-form,
.penify-newsletter-plugin form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    text-align: left !important;
    gap: 6px !important;
    background: rgba(255,255,255,0.10) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px !important;
    padding: 5px !important;
    margin: 0 !important;
    box-shadow: none !important;
}
/* The plugin often wraps each field in its own <p>/<div>; flatten them so the
   email input and the submit button sit on ONE row (button no longer centered). */
.penify-newsletter-plugin form > p,
.penify-newsletter-plugin form > div,
.penify-newsletter-plugin .tnp-field {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}
.penify-newsletter-plugin input.tnp-email,
.penify-newsletter-plugin input[type="email"] {
    flex: 1 1 auto !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    color: #fff !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    font-size: 14px !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
}
.penify-newsletter-plugin input.tnp-email::placeholder,
.penify-newsletter-plugin input[type="email"]::placeholder { color: rgba(255,255,255,0.55) !important; }
.penify-newsletter-plugin input.tnp-submit,
.penify-newsletter-plugin input[type="submit"],
.penify-newsletter-plugin button[type="submit"],
.penify-newsletter-plugin button {
    background: linear-gradient(135deg, var(--mor) 0%, var(--mor-dark) 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 0 22px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
.penify-newsletter-plugin input.tnp-submit:hover,
.penify-newsletter-plugin input[type="submit"]:hover,
.penify-newsletter-plugin button[type="submit"]:hover,
.penify-newsletter-plugin button:hover { filter: brightness(1.1); transform: translateY(-1px); }
/* Privacy checkbox / notes, if the plugin adds them */
.penify-newsletter-plugin .tnp-field-privacy,
.penify-newsletter-plugin label { color: rgba(255,255,255,0.75) !important; font-size: 12px !important; }
.penify-newsletter-plugin a { color: #fff !important; text-decoration: underline; }

/* =====================================================
   NEWSLETTER PLUGIN — subscription confirmation page
   (custom HTML in the plugin's confirmation message)
   ===================================================== */
.newsletter-confirmation {
    max-width: 620px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(114, 14, 236, 0.12);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(114, 14, 236, 0.10);
}
.newsletter-confirmation .confirmation-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mor, #720eec) 0%, var(--mor-dark, #5a0bbb) 100%);
    box-shadow: 0 8px 20px rgba(114, 14, 236, 0.35);
    animation: penifyPop 0.4s ease;
}
@keyframes penifyPop { from { transform: scale(0); } to { transform: scale(1); } }
.newsletter-confirmation h1 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}
.newsletter-confirmation p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2rem;
}
.newsletter-confirmation .confirmation-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.newsletter-confirmation .btn {
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.newsletter-confirmation .btn-primary {
    background: linear-gradient(135deg, var(--mor, #720eec) 0%, var(--mor-dark, #5a0bbb) 100%);
    color: #fff;
    border: 1px solid var(--mor, #720eec);
}
.newsletter-confirmation .btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.newsletter-confirmation .btn-secondary {
    background: #fff;
    color: var(--mor, #720eec);
    border: 1px solid rgba(114, 14, 236, 0.35);
}
.newsletter-confirmation .btn-secondary:hover { background: #f9f6ff; transform: translateY(-2px); }
@media (max-width: 575px) {
    .newsletter-confirmation { margin: 2rem 1rem; padding: 2rem 1.25rem; }
    .newsletter-confirmation h1 { font-size: 1.5rem; }
}

/* Welcome coupon box inside the confirmation card (below the buttons) */
.confirmation-promo {
    max-width: 420px;
    margin: 2rem auto 0;
    padding: 0.9rem 1.25rem;
    text-align: center;
    background: #f9f6ff;
    border: 1.5px dashed rgba(114, 14, 236, 0.4);
    border-radius: 12px;
    color: #444;
    font-size: 1rem;
}
.confirmation-promo strong { color: var(--mor, #720eec); }
.confirmation-promo span {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 12px;
    background: var(--mor, #720eec);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}
@media (max-width: 575px) {
    .confirmation-promo { margin: 1.5rem auto 0; font-size: 0.9rem; }
}

/* Payments strip */
.penify-footer-payments-wrap {
    background: rgba(0,0,0,0.20);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
}
.penify-footer-payments {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.penify-footer-payments-label {
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
}
.penify-footer-payments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}
.penify-pay-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    line-height: 1;
    transition: transform 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
}
.penify-pay-logo-svg {
    display: block;
    height: 26px;
    width: auto;
    max-width: 100px;
    vertical-align: middle;
    opacity: 0.5;
    filter: grayscale(40%);
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}
.penify-pay-logo:hover {
    transform: translateY(-2px);
}
.penify-pay-logo:hover .penify-pay-logo-svg {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.06);
}
@media (max-width: 767px) {
    .penify-footer-payments { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Bottom bar */
.penify-footer-bottom {
    background: rgba(0,0,0,0.35);
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.penify-footer-copy,
.penify-footer-credit {
    color: rgba(255,255,255,0.55);
    font-size: 12.5px;
    letter-spacing: 0.2px;
}
.penify-footer-credit-link {
    color: #b07aff;
    text-decoration: none;
    font-weight: 600;
}
.penify-footer-credit-link:hover { color: #fff; text-decoration: underline; }

.penify-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.penify-support-box { border: 1px solid var(--mor-light) !important; }
.penify-contact-bar { background-color: #f9f6ff; margin: 0 -15px; padding: 3rem 15px; }
.penify-contact-bar > [class*="col-"] { padding-left: 15px; padding-right: 15px; }
@media (max-width: 991px) {
    .penify-contact-bar { margin: 0; }
}

/* Backward compatibility: keep old selectors working if used elsewhere */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #666; text-decoration: none; font-size: 14px; transition: 0.2s; }
.footer-links a:hover { color: var(--mor); }
.social-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--mor-light);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mor);
    text-decoration: none;
    transition: 0.3s;
    background: #fff;
}
.social-circle:hover { background: var(--mor); color: #fff; transform: translateY(-2px); }

/* Buttons: purple */
.btn-mor { background-color: var(--mor) !important; border-color: var(--mor) !important; color: #fff !important; transition: 0.3s; }
.btn-mor:hover { background-color: var(--mor-dark) !important; border-color: var(--mor-dark) !important; color: #fff !important; transform: scale(1.02); }
.btn-outline-mor { border-color: var(--mor) !important; color: var(--mor) !important; }
.btn-outline-mor:hover { background-color: var(--mor) !important; color: #fff !important; }
.penify-btn-small { font-size: 13px; }

/* Product card */
.product-card {
    border: 1px solid var(--mor-light) !important;
    border-radius: 12px !important;
    background: #fff;
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    margin-bottom: 0;
}
.product-card:hover {
    border-color: var(--mor) !important;
    box-shadow: 0 10px 20px rgba(114, 14, 236, 0.15) !important;
    transform: translateY(-2px);
}
.zoom-effect { transition: transform 0.4s ease; max-height: 100%; max-width: 100%; object-fit: contain; }
.product-card:hover .zoom-effect { transform: scale(1.05); }

/* Card image area — fixed height for uniform cards */
.product-card-image {
    position: relative;
    background: #fff;
    height: 210px;
    min-height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}
.product-card-image img,
.product-card-image .zoom-effect {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    display: block;
}

/* Card body — fixed structure for uniform cards */
.product-card-body {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    padding: 0.75rem !important;
}
.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2.7em; /* reserve 2 lines without clipping the 2nd */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    hyphens: auto;
    margin: 0 0 0.5rem;
    padding: 0 2px;
}

/* Rating slot — same height whether or not rating is present */
.product-card-rating-slot {
    height: 22px;
    min-height: 22px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-rating-slot .product-card-rating {
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.product-card-rating .star-rating {
    display: inline-block;
    font-size: 12px;
    width: auto;
    float: none;
    margin: 0;
}
.product-card-rating .x-small { font-size: 11px; }
.product-card-rating-spacer { height: 22px; }

/* CTA — pushed to bottom */
.product-card-cta {
    margin-top: auto;
    padding-top: 0.5rem;
}
.product-card-price {
    font-size: 1rem;
    line-height: 1.2;
    min-height: 1.5rem;
    margin-bottom: 0.5rem;
}
.product-card-price del { color: #999; font-size: 0.85em; margin-right: 4px; }
.product-card-price ins { background: transparent; text-decoration: none; color: inherit; }

/* SALE badge */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
}
/* Out-of-stock badge (grey) */
.product-badge.oos { background: #6c757d; }

/* Out-of-stock card: fade the image + text (~50%) but keep the badge crisp, so
   the product still shows for browsing/SEO yet clearly reads as unavailable.
   Opacity is applied to the inner parts (not the whole card) so the badge — a
   sibling of the faded image — stays fully opaque and legible. */
.product-card-oos .zoom-effect,
.product-card-oos .product-card-body {
    opacity: 0.5;
    transition: opacity 0.25s ease;
}
.product-card-oos:hover .zoom-effect,
.product-card-oos:hover .product-card-body {
    opacity: 0.65;
}
.product-card-oos:hover .zoom-effect { transform: none; }

/* =====================================================
   HOMEPAGE — IMAGE CATEGORY SHOWCASE ("Shop by Category")
   ===================================================== */
.penify-cat-showcase { margin: 1.5rem 0 2.5rem; }
.penify-cat-showcase-head { text-align: center; margin-bottom: 1.25rem; }
.penify-cat-showcase-head h2 { font-size: 1.6rem; color: #1a1a1a; }
.penify-cat-showcase-head p { font-size: 0.95rem; }
.penify-cat-showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.penify-cat-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f9f6ff;
    border: 1px solid var(--mor-light);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(114, 14, 236, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.penify-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(114, 14, 236, 0.2);
}
.penify-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.penify-cat-card:hover img { transform: scale(1.08); }
.penify-cat-card.no-img { background: linear-gradient(135deg, var(--mor, #720eec) 0%, #5a0bbb 100%); }
.penify-cat-card-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.6rem;
}
.penify-cat-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 0.75rem 0.6rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    text-align: center;
}
.penify-cat-card-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.penify-cat-card-count {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
    margin-top: 2px;
}
@media (max-width: 991px) {
    .penify-cat-showcase-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 575px) {
    .penify-cat-showcase-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
    .penify-cat-card-name { font-size: 0.78rem; }
    .penify-cat-card-overlay { padding: 1rem 0.4rem 0.45rem; }
}

/* Category rows, "You may also like" and "Recently viewed":
   6 per row on desktop, 3 on tablet, 2 on mobile */
@media (min-width: 992px) {
    .penify-cat-section .penify-product-grid > [class*="col-"],
    .penify-related .penify-product-grid > [class*="col-"],
    .penify-recently-viewed .penify-product-grid > [class*="col-"] {
        flex: 0 0 16.6667%;
        max-width: 16.6667%;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .penify-cat-section .penify-product-grid > [class*="col-"],
    .penify-related .penify-product-grid > [class*="col-"],
    .penify-recently-viewed .penify-product-grid > [class*="col-"] {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

/* Product grid — equal heights */
.penify-product-grid { display: flex; flex-wrap: wrap; }
.penify-product-grid > [class*="col-"] { display: flex; }
.penify-product-grid > [class*="col-"] > .product-card { width: 100%; }

/* Brand colors */
.border-mor { border-color: var(--mor) !important; }
.border-mor-bindebir { border: 1px solid var(--mor-light) !important; }
.border-start.border-mor.border-4 { border-left: 4px solid var(--mor) !important; }

/* Term archive header */
.penify-term-header { padding: 1.5rem; background: #f9f6ff; border-radius: 12px; }
.penify-term-header h1 { margin: 0 0 0.5rem; }

/* Infinite scroll fade-in (prevents layout shift) */
.penify-fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.penify-fade-in.penify-fade-in-visible { opacity: 1; transform: translateY(0); }

/* Infinite scroll sentinel — invisible until loading (no permanent gap) */
.penify-infinite-sentinel { min-height: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; transition: min-height 0.3s ease, height 0.3s ease, margin 0.3s ease; }
.penify-infinite-sentinel.loading { min-height: 80px !important; height: auto !important; margin: 1rem 0 !important; }

/* WooCommerce single product */
.penify-tabs .nav-link { color: #333; }
.penify-tabs .nav-link.active { background-color: var(--mor); color: #fff; }
/* NOTE: the main product title uses .penify-product-title (h1). Do NOT style
   ".penify-single-product .product-title" here — that class belongs to the
   product CARDS in "You may also like" / "Recently viewed", and overriding it
   made those titles look different from the homepage. */
.penify-tag-list a { font-size: 12px; }

/* 404 */
.penify-404 { padding: 4rem 0; text-align: center; }
.penify-404 h1 { font-size: 6rem; color: var(--mor); font-weight: 800; }

/* =====================================================
   STATIC PAGES — professional layout (About, Contact, legal…)
   ===================================================== */
.penify-page-hero {
    background: linear-gradient(135deg, #f9f6ff 0%, #f3ecff 100%);
    border-bottom: 1px solid rgba(114, 14, 236, 0.10);
    padding: 2rem 0 2.2rem;
    text-align: center;
}
.penify-page-hero .penify-breadcrumb { display: flex; justify-content: center; margin: 0 0 0.75rem; }
.penify-page-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
}
.penify-page-subtitle { color: #666; font-size: 1.05rem; margin: 0.6rem auto 0; max-width: 640px; }
@media (max-width: 767px) { .penify-page-hero { padding: 1.4rem 0 1.5rem; } }
@media (max-width: 575px) {
    .penify-page-hero { padding: 1.1rem 0 1.2rem; }
    .penify-page-title { font-size: 1.7rem; }
    .penify-page-subtitle { font-size: 0.95rem; }
}

.penify-page {
    background: #fff;
    border: 1px solid rgba(114, 14, 236, 0.10);
    border-radius: 18px;
    padding: 2.75rem 3rem;
    box-shadow: 0 6px 30px rgba(114, 14, 236, 0.06);
}
@media (max-width: 575px) { .penify-page { padding: 1.75rem 1.35rem; border-radius: 14px; } }

/* Content typography */
.penify-page-content { color: #444; line-height: 1.8; font-size: 1.02rem; }
.penify-page-content > *:first-child { margin-top: 0; }
.penify-page-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0eaff;
}
.penify-page-content h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--mor, #720eec);
    margin: 1.75rem 0 0.6rem;
}
.penify-page-content h4 { font-size: 1.02rem; font-weight: 700; color: #222; margin: 1.25rem 0 0.5rem; }
.penify-page-content p { margin: 0 0 1.15rem; }
.penify-page-content ul,
.penify-page-content ol { margin: 0 0 1.25rem; padding-left: 0; list-style: none; }
.penify-page-content ol { counter-reset: penify-ol; }
.penify-page-content ul li,
.penify-page-content ol li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.9rem;
    margin-bottom: 0.25rem;
}
.penify-page-content ul li::before {
    content: "\F26A"; /* bootstrap-icons check */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: var(--mor, #720eec);
    font-size: 1rem;
}
.penify-page-content ol li {
    counter-increment: penify-ol;
}
.penify-page-content ol li::before {
    content: counter(penify-ol);
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1.35rem;
    height: 1.35rem;
    background: var(--mor, #720eec);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* WooCommerce's own lists (order overview on thank-you page, item meta,
   notices) must NOT get the decorative check-bullet + indent above,
   otherwise the check icon overlaps the text. Reset them. */
.penify-page-content .woocommerce ul li::before,
.penify-page-content ul.woocommerce-order-overview li::before,
.penify-page-content ul.wc-item-meta li::before,
.penify-page-content ul.woocommerce-error li::before,
.penify-page-content ul.woocommerce-info li::before,
.penify-page-content ul.woocommerce-message li::before { content: none !important; }

.penify-page-content .woocommerce ul li,
.penify-page-content ul.woocommerce-order-overview li,
.penify-page-content ul.wc-item-meta li { padding-left: 0; }

/* Clean, readable order-overview rows on the thank-you page */
.penify-page-content ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    border: 1px solid #ece6ff;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 0 1.5rem;
}
.penify-page-content ul.woocommerce-order-overview li {
    flex: 1 1 auto;
    border: 0;
    padding: 0 14px 0 0;
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.penify-page-content ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 3px;
    font-size: 1rem;
    color: var(--mor, #720eec);
    text-transform: none;
    letter-spacing: 0;
}

.penify-page-content a { color: var(--mor, #720eec); font-weight: 600; text-decoration: none; }
.penify-page-content a:hover { text-decoration: underline; }
.penify-page-content strong { color: #1a1a1a; }
.penify-page-content img { max-width: 100%; height: auto; border-radius: 10px; }
.penify-page-content hr { border: 0; border-top: 1px solid #eee; margin: 2rem 0; }
.penify-page-content blockquote {
    border-left: 4px solid var(--mor, #720eec);
    background: #f9f6ff;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    color: #555;
}

/* Contact page — info cards */
.penify-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 1rem;
    margin: 0 0 2.25rem;
}
.penify-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(114, 14, 236, 0.14);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    transition: 0.2s;
}
.penify-contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(114, 14, 236, 0.3);
    box-shadow: 0 10px 24px rgba(114, 14, 236, 0.12);
}
.penify-contact-card .ci-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mor, #720eec) 0%, var(--mor-dark, #5a0bbb) 100%);
    color: #fff;
    font-size: 1.35rem;
}
.penify-contact-card .ci-body { min-width: 0; }
.penify-contact-card .ci-body h3 {
    color: #9a95a6 !important;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 0.2rem;
    border: 0;
    padding: 0;
}
.penify-contact-card .ci-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}
.penify-contact-card .ci-body a { color: #1a1a1a; }
.penify-contact-card:hover .ci-body a { color: var(--mor, #720eec); }

/* Contact form */
.penify-contact-form { margin-top: 0.5rem; }
.penify-contact-form .penify-cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 575px) { .penify-contact-form .penify-cf-row { grid-template-columns: 1fr; } }
.penify-contact-form .penify-cf-field { margin-bottom: 1rem; }
.penify-contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 0.4rem;
}
.penify-contact-form input,
.penify-contact-form textarea {
    width: 100%;
    border: 1.5px solid #e2dcf0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #222;
    background: #fff;
    transition: 0.2s;
    font-family: inherit;
}
.penify-contact-form textarea { resize: vertical; min-height: 120px; }
.penify-contact-form input:focus,
.penify-contact-form textarea:focus {
    outline: none;
    border-color: var(--mor, #720eec);
    box-shadow: 0 0 0 3px rgba(114, 14, 236, 0.12);
}
.penify-contact-form .penify-cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.penify-contact-form .penify-cf-submit {
    background: linear-gradient(135deg, var(--mor, #720eec) 0%, var(--mor-dark, #5a0bbb) 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.penify-contact-form .penify-cf-submit:hover { filter: brightness(1.08); transform: translateY(-2px); }
.penify-contact-form .penify-cf-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.penify-contact-form .penify-cf-msg { margin-top: 0.9rem; font-size: 0.92rem; }
.penify-contact-form .cf-ok { color: #16a34a; font-weight: 600; }
.penify-contact-form .cf-err { color: #dc3545; font-weight: 600; }

/* Success card shown after the contact form is sent (WELCOME10-style) */
.penify-cf-success {
    text-align: center;
    padding: 2.75rem 1.5rem;
    background: linear-gradient(135deg, #f9f6ff 0%, #fff 100%);
    border: 1px solid rgba(114, 14, 236, 0.14);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(114, 14, 236, 0.08);
}
.penify-cf-success .cf-success-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mor, #720eec) 0%, var(--mor-dark, #5a0bbb) 100%);
    box-shadow: 0 8px 20px rgba(114, 14, 236, 0.35);
    animation: penifyPop 0.4s ease;
}
.penify-cf-success h3 { font-size: 1.5rem; font-weight: 800; color: #1a1a1a; margin: 0 0 0.5rem; }
.penify-cf-success p { color: #666; margin: 0 auto; max-width: 420px; line-height: 1.7; }

/* Posts / pages (blog) */
.penify-content article { line-height: 1.7; }
.penify-content article p { margin-bottom: 1.2rem; }
.penify-content article img { max-width: 100%; height: auto; border-radius: 8px; }
.penify-meta { color: #888; font-size: 13px; margin-bottom: 1rem; }
.penify-nav-post { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0; padding: 1rem 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.penify-nav-post a { color: var(--mor); text-decoration: none; }
.penify-nav-post a:hover { text-decoration: underline; }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 1rem; border: 1px solid #eee; border-radius: 8px; margin-bottom: 1rem; }
.comment-author { font-weight: 600; }
.comment-metadata { font-size: 12px; color: #888; }

/* Accessibility focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--mor);
    outline-offset: 2px;
}

/* =====================================================
   10) DARK MODE
   ===================================================== */
html[data-penify-mode="dark"] {
    --ana-mor: #9b59ff;
    --ana-mor-dark: #b07aff;
    --kenarlik-mor: rgba(155, 89, 255, 0.15);
    --mor-hafif: rgba(155, 89, 255, 0.08);
    --bg-body: #0f0f14;
    --bg-card: #1a1a24;
    --bg-soft: #1f1f2b;
    --text-main: #e8e8ee;
    --text-muted: #9999aa;
    --border-soft: rgba(255, 255, 255, 0.08);
}
html[data-penify-mode="dark"] { background: #0f0f14; }
html[data-penify-mode="dark"] body { background: #0f0f14; }
html[data-penify-mode="dark"] body,
html[data-penify-mode="dark"] .bg-white,
html[data-penify-mode="dark"] .card,
html[data-penify-mode="dark"] .modal-content,
html[data-penify-mode="dark"] .offcanvas {
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
}
html[data-penify-mode="dark"] .card,
html[data-penify-mode="dark"] .penify-support-box,
html[data-penify-mode="dark"] .product-card,
html[data-penify-mode="dark"] .bg-light,
html[data-penify-mode="dark"] .penify-trust-badges,
html[data-penify-mode="dark"] .penify-term-header,
html[data-penify-mode="dark"] .penify-payment-strip {
    background-color: var(--bg-card) !important;
    color: var(--text-main) !important;
}
html[data-penify-mode="dark"] .text-dark,
html[data-penify-mode="dark"] .product-title { color: var(--text-main) !important; }
html[data-penify-mode="dark"] .text-muted,
html[data-penify-mode="dark"] .footer-links a { color: var(--text-muted) !important; }
html[data-penify-mode="dark"] .border-mor-bindebir,
html[data-penify-mode="dark"] .product-card,
html[data-penify-mode="dark"] .penify-trust-badges,
html[data-penify-mode="dark"] .penify-payment-strip {
    border-color: var(--border-soft) !important;
}
html[data-penify-mode="dark"] .penify-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }
html[data-penify-mode="dark"] .btn-mor { background-color: #9b59ff !important; color: #0f0f14 !important; border-color: #9b59ff !important; }
html[data-penify-mode="dark"] .btn-mor:hover { background-color: #b07aff !important; }
html[data-penify-mode="dark"] .text-mor { color: #9b59ff !important; }
html[data-penify-mode="dark"] .bg-mor { background-color: #9b59ff !important; color: #0f0f14 !important; }
html[data-penify-mode="dark"] .penify-topbar { background: linear-gradient(90deg, #0a0612 0%, #150a28 50%, #0a0612 100%) !important; color: rgba(255,255,255,0.85) !important; }
html[data-penify-mode="dark"] .form-control,
html[data-penify-mode="dark"] .form-select,
html[data-penify-mode="dark"] .woocommerce .quantity {
    background-color: var(--bg-soft) !important;
    color: var(--text-main) !important;
    border-color: var(--border-soft) !important;
}
html[data-penify-mode="dark"] .form-control::placeholder { color: var(--text-muted); }
html[data-penify-mode="dark"] .footer-links a:hover { color: #9b59ff !important; }
html[data-penify-mode="dark"] .penify-free-ship-strip { background: linear-gradient(135deg, #9b59ff, #b07aff) !important; }
html[data-penify-mode="dark"] .penify-price-box { background: linear-gradient(135deg, #1f1f2b 0%, #1a1a24 100%) !important; }
html[data-penify-mode="dark"] .penify-contact-bar { background-color: var(--bg-card) !important; }
html[data-penify-mode="dark"] .bg-dark { background-color: #000 !important; }
html[data-penify-mode="dark"] .sticky-top,
html[data-penify-mode="dark"] header.bg-white,
html[data-penify-mode="dark"] footer.bg-white { background-color: var(--bg-card) !important; }
html[data-penify-mode="dark"] .penify-header { background: var(--bg-card) !important; }
html[data-penify-mode="dark"] .penify-header-main { background: var(--bg-card) !important; border-bottom-color: var(--border-soft) !important; }
html[data-penify-mode="dark"] .penify-nav { background: var(--bg-card) !important; border-color: var(--border-soft) !important; }
html[data-penify-mode="dark"] .penify-brand-text,
html[data-penify-mode="dark"] .penify-brand-name strong { color: #b07aff !important; }
html[data-penify-mode="dark"] .penify-brand-mark { box-shadow: 0 4px 14px rgba(155,89,255,0.35) !important; }
html[data-penify-mode="dark"] .penify-primary-menu .nav-link { color: var(--text-main) !important; }
html[data-penify-mode="dark"] .penify-search-wrap { background: var(--bg-soft) !important; border-color: var(--border-soft) !important; }
html[data-penify-mode="dark"] .penify-search-input { color: var(--text-main) !important; }
html[data-penify-mode="dark"] .penify-search-results { background: var(--bg-card) !important; border-color: var(--border-soft) !important; }
html[data-penify-mode="dark"] .penify-icon-btn { background: var(--bg-soft) !important; color: var(--text-main) !important; }
html[data-penify-mode="dark"] .penify-icon-btn:hover { background: var(--mor) !important; color: #fff !important; }
html[data-penify-mode="dark"] .penify-trustbar { background: var(--bg-card) !important; border-color: var(--border-soft) !important; }
html[data-penify-mode="dark"] .penify-trustbar-inner > [class*="col-"] { border-color: var(--border-soft) !important; }
html[data-penify-mode="dark"] .penify-trustbar-title { color: var(--text-main) !important; }
html[data-penify-mode="dark"] .penify-trustbar-desc { color: var(--text-muted) !important; }
html[data-penify-mode="dark"] .penify-trustbar-item:hover { background: rgba(114,14,236,0.06) !important; }
html[data-penify-mode="dark"] .penify-footer {
    background:
        radial-gradient(ellipse at top left, rgba(155,89,255,0.12), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(176,122,255,0.08), transparent 55%),
        linear-gradient(135deg, #06030f 0%, #0f0620 50%, #06030f 100%) !important;
}
html[data-penify-mode="dark"] .penify-newsletter-input { color: #fff; }
html[data-penify-mode="dark"] .penify-newsletter-input::placeholder { color: rgba(255,255,255,0.5); }

body { transition: background-color 0.3s, color 0.3s; }
.penify-dark-toggle { cursor: pointer; color: #333; }
.penify-dark-toggle:hover i { color: var(--mor); }

/* =====================================================
   11) COOKIE BANNER (KVKK)
   ===================================================== */
.penify-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    /* Fixed elements are NOT clipped by the body's overflow-x:hidden, so any
       wide content here (a long policy link, min-width text) would push the
       page sideways. Clip inside the banner itself so it can never do that. */
    max-width: 100vw;
    overflow-x: hidden;
    background: #fff;
    border-top: 3px solid var(--mor, #720eec);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    animation: penifySlideUp 0.4s ease;
}
@keyframes penifySlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.penify-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.penify-cookie-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.penify-cookie-actions { flex-wrap: wrap; }
.penify-cookie-text i { color: var(--mor, #720eec); font-size: 1.4rem; flex-shrink: 0; }
.penify-cookie-text a { color: var(--mor, #720eec); text-decoration: underline; }
.penify-cookie-actions { display: flex; gap: 0.5rem; }
.penify-cookie-accept,
.penify-cookie-reject {
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}
.penify-cookie-accept {
    background: var(--mor, #720eec);
    color: #fff;
}
.penify-cookie-accept:hover { background: #5a0bbb; }
.penify-cookie-reject {
    background: transparent;
    color: #555;
    border: 1px solid #ddd;
}
.penify-cookie-reject:hover { background: #f0eaff; color: var(--mor, #720eec); }
@media (max-width: 575px) {
    .penify-cookie-inner { flex-direction: column; align-items: stretch; }
    .penify-cookie-actions { justify-content: stretch; }
    .penify-cookie-accept,
    .penify-cookie-reject { flex: 1; }
}

/* =====================================================
   12) MEGA MENU
   ===================================================== */
.penify-primary-menu,
.penify-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.penify-primary-menu > li,
.penify-footer-menu > li {
    position: relative;
}
.penify-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid rgba(114, 14, 236, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 1rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.penify-primary-menu li:hover > .sub-menu,
.penify-primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.penify-primary-menu .sub-menu li {
    width: 100%;
}
.penify-primary-menu .sub-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.15s;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.penify-primary-menu .sub-menu a:hover {
    background: #f9f6ff;
    color: var(--mor, #720eec);
    padding-left: 1rem;
}
/* Mega menu column */
.penify-primary-menu .sub-menu.penify-mega {
    min-width: 600px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.penify-primary-menu .sub-menu.penify-mega > li {
    border-right: 1px solid #f0eaff;
    padding-right: 1rem;
}
.penify-primary-menu .sub-menu.penify-mega > li:last-child { border-right: none; }
.penify-primary-menu .sub-menu.penify-mega h6 {
    color: var(--mor, #720eec);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.5rem;
    padding: 0 0.75rem;
}

/* =====================================================
   13) SIZE GUIDE
   ===================================================== */
.penify-size-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    color: var(--mor, #720eec);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0;
    cursor: pointer;
}
.penify-size-guide-link:hover { text-decoration: underline; }
.penify-size-guide-modal .modal-header { background: #f9f6ff; }
.penify-size-guide-modal .modal-body table { font-size: 14px; }
.penify-size-guide-modal .modal-body th { background: #f9f6ff; }

/* =====================================================
   14) 360° PRODUCT VIEW
   ===================================================== */
.penify-360-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--mor, #720eec);
    color: var(--mor, #720eec);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: 0.2s;
}
.penify-360-toggle:hover { background: var(--mor, #720eec); color: #fff; }
.penify-360-stage {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
}
.penify-360-stage:active { cursor: grabbing; }
.penify-360-stage img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    pointer-events: none;
}
.penify-360-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    pointer-events: none;
}
.penify-360-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}
.penify-360-close:hover { background: #dc3545; }

/* =====================================================
   15) VENDOR / BUNDLE
   ===================================================== */
.penify-vendor-info {
    display: inline-block;
    background: #f9f6ff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
}
.penify-vendor-info a { color: var(--mor, #720eec); text-decoration: none; font-weight: 600; }
.penify-product-bundle .single_add_to_cart_button { background: #198754 !important; }
html[data-penify-mode="dark"] .penify-cookie-banner { background: var(--bg-card); color: var(--text-main); }
html[data-penify-mode="dark"] .penify-cookie-text { color: var(--text-main); }
html[data-penify-mode="dark"] .penify-cookie-reject { color: var(--text-muted); border-color: var(--border-soft); }
 
/* ============================================================
   HOME HERO SLIDER (front-page.php → penify_home_slider)
   ============================================================ */
.penify-slider {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    background: var(--mor-hafif, rgba(114, 14, 236, .05));
}
.penify-slide {
    display: block;
    position: relative;
    text-decoration: none;
    color: #fff;
}
.penify-slide-img,
.penify-slider .carousel-item img {
    width: 100%;
    height: clamp(180px, 34vw, 460px);
    max-height: 460px;
    object-fit: cover;      /* yüksek/farklı oranlı görseli kutuya kırpar, uzatmaz */
    object-position: center;
    display: block;
}
.penify-slide-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: .5rem;
    padding: clamp(1rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 55%, transparent 100%);
}
.penify-slide-title {
    font-size: clamp(1.25rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    max-width: 60%;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.penify-slide-text {
    font-size: clamp(.85rem, 1.6vw, 1.15rem);
    margin: 0;
    max-width: 55%;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.penify-slide-btn {
    margin-top: .5rem;
    font-weight: 700;
}
.penify-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
}
@media (max-width: 575.98px) {
    .penify-slide-title,
    .penify-slide-text { max-width: 92%; }
    .penify-slide-caption { background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .15) 60%, transparent 100%); justify-content: flex-end; }
}

/* ============================================================
   PRODUCT VIDEO STRIP (front-page.php → penify_video_strip)
   Horizontal, snap-scrolling reel of clickable product videos.
   ============================================================ */
.penify-vstrip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .25rem .25rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* WRAP the tiles onto multiple rows instead of a single nowrap flex row.
       A nowrap row of fixed-width tiles could grow past the viewport and push
       the whole page sideways on mobile; wrapping caps the row at the parent
       width so horizontal overflow is impossible. (This makes the horizontal
       snap-scroll inactive — the reel now reads as a centered grid.) */
    min-width: 0;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
.penify-vtile {
    flex: 0 0 auto;
    width: clamp(150px, 42vw, 200px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}
.penify-vtile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(114, 14, 236, .18);
}
.penify-vtile-media {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #0d0d12;
    overflow: hidden;
}
.penify-vtile-video,
.penify-vtile-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* tıklama/dokunma karo linkine geçsin → ürün sayfası (native player açılmasın) */
}
.penify-vtile-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none; /* tıklama tile linkine geçsin → ürün sayfası */
}
.penify-vtile-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    font-size: 2.5rem;
}
.penify-vtile-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    background: rgba(0, 0, 0, .12);
    pointer-events: none;
}
.penify-vtile-info {
    padding: .55rem .65rem .7rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.penify-vtile-title {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.penify-vtile-price { font-size: .85rem; }
html[data-penify-mode="dark"] .penify-vtile { background: var(--bg-card); }
