﻿/* Shivanaa Custom Theme v5 - Beautiful Header */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
*{font-family:'Vazirmatn',Tahoma,sans-serif!important}

/* =============================================
   HEADER - Beautiful Gradient with Glass Buttons
   ============================================= */

/* Reset Kingdom's absolute positioning of cart */
#topcartlink {
    display: inline-flex !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
}
#topcartlink .cart-label {
    display: inline !important;
}
#topcartlink .cart-ammount {
    display: none !important;
}

/* Top bar - soft gradient */
.header-upper {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFB347 100%) !important;
    padding: 0 !important;
    border: none !important;
    position: relative !important;
    z-index: 100 !important;
}
.header-upper::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(10px) !important;
    z-index: -1 !important;
}

.header-selectors-wrapper {
    display: none !important;
}

.header-links-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 12px 20px !important;
    position: relative !important;
    overflow: visible !important;
}

.header-links {
    overflow: visible !important;
}

.header-links ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
}

.header-links ul li {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    float: none !important;
}

/* Glass button style for ALL header links */
.header-links ul li a {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

.header-links ul li a:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.header-links ul li a:active {
    transform: translateY(-1px) scale(1.01) !important;
}

/* Icons before text */
.header-links .ico-register::before {
    content: '\f234' !important;
    font-family: 'Font Awesome 5 Free', 'icomoon' !important;
    font-weight: 900 !important;
    font-size: 14px !important;
}
.header-links .ico-login::before {
    content: '\f2f6' !important;
    font-family: 'Font Awesome 5 Free', 'icomoon' !important;
    font-weight: 900 !important;
    font-size: 14px !important;
}

/* Wishlist - special pink glow */
.header-links .ico-wishlist {
    background: rgba(233, 30, 99, 0.25) !important;
    border-color: rgba(233, 30, 99, 0.4) !important;
}
.header-links .ico-wishlist:hover {
    background: rgba(233, 30, 99, 0.45) !important;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3) !important;
}
.header-links .ico-wishlist .wishlist-label {
    color: #fff !important;
}
.header-links .wishlist-qty {
    background: #fff !important;
    color: #E91E63 !important;
    border-radius: 12px !important;
    padding: 2px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

/* Cart button - special golden/orange glow */
#topcartlink a.ico-cart {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 20px rgba(238, 90, 36, 0.4), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}
#topcartlink a.ico-cart:hover {
    background: linear-gradient(135deg, #fc5c65, #eb3b5a) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(238, 90, 36, 0.5) !important;
}
#topcartlink .cart-qty {
    background: #fff !important;
    color: #ee5a24 !important;
    border-radius: 12px !important;
    padding: 2px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    position: static !important;
}

/* Flyout cart - modern slide-in panel */
#flyout-cart,
.flyout-cart {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 380px !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: 5px 0 30px rgba(0,0,0,0.15) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.flyout-cart-open .flyout-cart,
.flyout-cart-open #flyout-cart {
    transform: translateX(0) !important;
}

/* ===== LOGO & SEARCH ===== */
.header-lower {
    background: #fff !important;
    padding: 18px 0 !important;
    border-bottom: none !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05) !important;
    position: relative !important;
    z-index: 90 !important;
}

.header-logo {
    text-align: center !important;
    margin-bottom: 14px !important;
}
.header-logo a {
    display: inline-block !important;
    transition: transform 0.3s !important;
}
.header-logo img {
    max-height: 55px !important;
    width: auto !important;
}
.header-logo a:hover img {
    transform: scale(1.05) !important;
}

/* Search box - modern pill shape */
.search-box.store-search-box,
.store-search-box {
    max-width: 550px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.store-search-box form,
.search-box.store-search-box form {
    display: flex !important;
    align-items: center !important;
    background: #f8f9fa !important;
    border-radius: 50px !important;
    border: 2px solid #e9ecef !important;
    overflow: hidden !important;
    transition: all 0.3s !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
}
.store-search-box form:focus-within {
    border-color: #F7931E !important;
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1) !important;
    background: #fff !important;
}
.search-box-text {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 13px 22px !important;
    font-size: 14px !important;
    color: #333 !important;
    outline: none !important;
    border-radius: 0 !important;
}
.search-box-button,
.button-1.search-box-button {
    background: linear-gradient(135deg, #FF6B35, #F7931E) !important;
    color: #fff !important;
    border: none !important;
    padding: 13px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border-radius: 0 50px 50px 0 !important;
    box-shadow: none !important;
    letter-spacing: 0.3px !important;
}
.search-box-button:hover,
.button-1.search-box-button:hover {
    background: linear-gradient(135deg, #e65c2e, #d4841a) !important;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3) !important;
}

/* ===== NAVIGATION MENU ===== */
.header-menu {
    background: #fff !important;
    border-top: none !important;
    border-bottom: 3px solid transparent !important;
    border-image: linear-gradient(135deg, #FF6B35, #F7931E, #FFB347) 1 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    position: relative !important;
    z-index: 80 !important;
}
.menu-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}
.menu__toggle {
    display: none !important;
}
.menu {
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.menu__item {
    position: relative !important;
}
.menu__item > .menu__item-toggle > a.menu__link,
.menu__item > a.menu__link {
    color: #444 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    position: relative !important;
}
.menu__item > .menu__item-toggle > a.menu__link:hover,
.menu__item > a.menu__link:hover {
    color: #F7931E !important;
    background: linear-gradient(180deg, transparent 0%, rgba(255,107,53,0.06) 100%) !important;
}
.menu__item > .menu__item-toggle > a.menu__link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 28px !important;
    left: 28px !important;
    height: 3px !important;
    background: linear-gradient(135deg, #FF6B35, #F7931E) !important;
    border-radius: 3px 3px 0 0 !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s !important;
}
.menu__item > .menu__item-toggle > a.menu__link:hover::after {
    transform: scaleX(1) !important;
}

/* Dropdown submenu */
.menu__list-view {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #fff !important;
    min-width: 230px !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    border: none !important;
    border-top: 3px solid #F7931E !important;
    z-index: 9999 !important;
    padding: 10px 0 !important;
    animation: slideDown 0.3s ease !important;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.menu__list-view .menu__item a {
    padding: 11px 22px !important;
    display: block !important;
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.25s !important;
    border-right: 3px solid transparent !important;
}
.menu__list-view .menu__item a:hover {
    color: #F7931E !important;
    background: rgba(255,107,53,0.06) !important;
    border-right-color: #F7931E !important;
    padding-right: 28px !important;
}

/* =============================================
   REST OF SITE STYLES
   ============================================= */

/* Welcome section */
.topic-block { text-align: center !important; padding: 15px 0 !important; }
.topic-block-title h2 { color: #F7931E !important; font-size: 22px !important; font-weight: 700 !important; }

/* Category Grid */
.home-page-category-grid .item-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 30px 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.home-page-category-grid .item-box {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-align: center !important;
    position: relative !important;
}
.home-page-category-grid .item-box:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(255,107,53,0.2) !important;
}
.home-page-category-grid .item-box .picture {
    overflow: hidden !important;
    position: relative !important;
    order: 2 !important;
}
.home-page-category-grid .item-box .picture::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(240,147,251,0.15)) !important;
    opacity: 0 !important;
    transition: opacity 0.4s !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.home-page-category-grid .item-box:hover .picture::before { opacity: 1 !important; }
.home-page-category-grid .item-box .picture img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}
.home-page-category-grid .item-box:hover .picture img { transform: scale(1.1) !important; }
.home-page-category-grid .item-box .title {
    padding: 16px 12px !important;
    background: linear-gradient(135deg, #FF6B35, #F7931E, #FFB347) !important;
    margin: 0 !important;
    order: 1 !important;
}
.home-page-category-grid .item-box .title a {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

/* Buttons */
.button-1,
.product-box-add-to-cart-button,
.add-to-cart-button {
    background: linear-gradient(135deg, #FF6B35, #F7931E) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3) !important;
}
.button-1:hover,
.product-box-add-to-cart-button:hover,
.add-to-cart-button:hover {
    background: linear-gradient(135deg, #e65c2e, #d4841a) !important;
    box-shadow: 0 6px 20px rgba(255,107,53,0.4) !important;
    transform: translateY(-2px) !important;
}
.button-2 {
    background: linear-gradient(135deg, #26A69A, #00897B) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
}

/* Product Grid */
.product-grid .item-box {
    border-radius: 16px !important;
    overflow: visible !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
}
.product-grid .item-box:hover {
    box-shadow: 0 10px 35px rgba(0,0,0,0.12) !important;
    transform: translateY(-5px) !important;
}
.product-grid .item-box .picture img { transition: transform 0.4s !important; }
.product-grid .item-box:hover .picture img { transform: scale(1.06) !important; }
.product-grid .item-box .product-title a:hover { color: #F7931E !important; }
.product-grid .item-box .prices .actual-price { color: #E91E63 !important; font-weight: 700 !important; }
.product-grid .item-box .prices .old-price { color: #999 !important; text-decoration: line-through !important; }
.product-details-page .product-price .price-value { color: #E91E63 !important; font-weight: 700 !important; }
.product-details-page .add-to-cart-button { background: linear-gradient(135deg, #FF6B35, #F7931E) !important; border-radius: 12px !important; }

/* Slider */
#shivanaa-main-slider { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
#shivanaa-main-slider .swiper { border-radius: 20px; overflow: hidden; box-shadow: 0 6px 30px rgba(0,0,0,0.12); }
#shivanaa-main-slider .swiper-slide img { width: 100%; height: 350px; object-fit: cover; display: block; }
.swiper-button-next, .swiper-button-prev {
    background: rgba(255,255,255,0.9) !important;
    border: 2px solid #F7931E !important;
    color: #F7931E !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15) !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover { background: #F7931E !important; color: #fff !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px !important; }
.swiper-pagination-bullet-active { background: #F7931E !important; }

/* Product Carousel */
.product-carousel-section { max-width: 1200px; margin: 30px auto; padding: 0 15px; position: relative; }
.product-carousel-section h3 { color: #F7931E; font-size: 20px; font-weight: 700; margin-bottom: 15px; padding-right: 10px; border-right: 4px solid #F7931E; }
.product-carousel-section .product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: all 0.3s; text-align: center; padding-bottom: 15px; }
.product-carousel-section .product-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12); transform: translateY(-5px); }
.product-carousel-section .product-card img { width: 100%; height: 200px; object-fit: contain; padding: 10px; }
.product-carousel-section .product-card .p-title { padding: 8px 12px; font-size: 14px; font-weight: 600; color: #333; min-height: 40px; }
.product-carousel-section .product-card .p-price { color: #E91E63; font-weight: 700; font-size: 15px; padding: 5px; }
.product-carousel-section .product-card .p-btn { display: inline-block; background: linear-gradient(135deg, #FF6B35, #F7931E); color: #fff; padding: 8px 20px; border-radius: 20px; text-decoration: none; font-size: 13px; margin-top: 8px; transition: all 0.3s; }
.product-carousel-section .product-card .p-btn:hover { background: linear-gradient(135deg, #e65c2e, #d4841a); transform: scale(1.05); }

/* Footer */
.footer a:hover { color: #F7931E !important; }
.footer-block .title { color: #F7931E !important; }
.newsletter-subscribe-button { background: linear-gradient(135deg, #FF6B35, #F7931E) !important; color: #fff !important; }
.bar-notification.success { background: #26A69A !important; }
.bar-notification.error { background: #E91E63 !important; }
#go-to-top { background: linear-gradient(135deg, #FF6B35, #F7931E) !important; color: #fff !important; border-radius: 50% !important; }
::selection { background: #ffecd2; color: #F7931E; }
.breadcrumb a { color: #FF6B35 !important; }
.breadcrumb a:hover { color: #F7931E !important; }
.pager .current-page > span { background: linear-gradient(135deg, #FF6B35, #F7931E) !important; color: #fff !important; border-radius: 8px !important; }

/* Responsive */
@media (max-width: 768px) {
    .home-page-category-grid .item-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; padding: 15px 12px !important; }
    #shivanaa-main-slider .swiper-slide img { height: 200px; }
    .header-links ul { gap: 6px !important; }
    .header-links ul li a { padding: 7px 14px !important; font-size: 11px !important; }
    #topcartlink a.ico-cart { padding: 7px 16px !important; font-size: 12px !important; }
}
@media (max-width: 480px) {
    .home-page-category-grid .item-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .home-page-category-grid .item-box .title a { font-size: 13px !important; }
    #shivanaa-main-slider .swiper-slide img { height: 160px; }
    .header-links ul li a { padding: 6px 10px !important; font-size: 10px !important; }
}
