:root {
    --sama-primary: #cfa0cd;
    --sama-primary-rgb: 207, 160, 205;
    --sama-primary-dark: #b685b4;
    --sama-bg-soft: #fdfbfd;
    --sama-border-soft: rgba(207, 160, 205, 0.15);
    --sama-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --sama-radius-lg: 16px;
    --sama-radius-md: 10px;
    --transition-smooth: all 0.3s ease-in-out;
    --text-main: #2d3748;
    --text-light: #718096;
}

.app-inner .store-header .top-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #f7fafc;
    padding: 5px 0;
}

.app-inner .store-header .s-menu-topnav-item {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.app-inner .store-header .s-menu-topnav-item:hover {
    color: var(--sama-primary-dark);
}

.app-inner .main-nav-container {
    background-color: #ffffff;
    box-shadow: var(--sama-shadow);
    border-bottom: none;
}

.app-inner .store-header .s-search-input-wrapper {
    background-color: var(--sama-bg-soft);
    border: 1px solid var(--sama-border-soft);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.app-inner .store-header .s-search-input-wrapper:focus-within {
    background-color: #ffffff;
    border-color: var(--sama-primary);
    box-shadow: 0 0 0 4px rgba(207, 160, 205, 0.1);
}

.app-inner .store-header salla-search .s-search-input {
    background-color: transparent;
}

.app-inner .store-header .s-search-icon {
    color: var(--sama-primary-dark);
}

.app-inner .s-cart-summary-wrapper,
.app-inner .s-user-menu-login-btn {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    transition: var(--transition-smooth);
}

.app-inner .s-cart-summary-wrapper:hover,
.app-inner .s-user-menu-login-btn:hover {
    border-color: var(--sama-primary);
    background-color: var(--sama-bg-soft);
}

.app-inner .s-cart-summary-wrapper:hover .s-cart-summary-icon svg,
.app-inner .s-user-menu-login-btn:hover svg {
    fill: var(--sama-primary-dark);
}

.app-inner .s-cart-summary-count {
    background-color: var(--sama-primary);
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: bold;
}

.app-inner custom-salla-product-card {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--sama-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.app-inner custom-salla-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(207, 160, 205, 0.1);
    border-color: var(--sama-border-soft);
}

.app-inner .s-product-card-content-title a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.app-inner .s-product-card-content-title a:hover {
    color: var(--sama-primary-dark);
}

.app-inner .s-button-primary-outline,
.app-inner .s-product-card-wishlist-btn {
    border-color: var(--sama-primary);
    color: var(--sama-primary);
    border-radius: 8px;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.app-inner .s-button-primary-outline:hover,
.app-inner .s-product-card-wishlist-btn:hover {
    background-color: var(--sama-primary);
    color: #ffffff;
}

.app-inner .s-button-primary-outline:hover .sicon-shopping-bag,
.app-inner .s-product-card-wishlist-btn:hover .sicon-heart {
    color: #ffffff;
}

.app-inner .s-product-card-price,
.app-inner .s-product-card-sale-price h4 {
    color: var(--text-main);
    font-weight: 800;
}

.app-inner .s-block--features__item {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--sama-radius-md);
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition-smooth);
}

.app-inner .s-block--features__item:hover {
    border-color: var(--sama-primary);
    box-shadow: 0 4px 15px rgba(207, 160, 205, 0.08);
    transform: translateY(-2px);
}

.app-inner .feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 15px;
    background-color: var(--sama-bg-soft);
    border-radius: 50%;
    color: var(--sama-primary-dark);
    font-size: 24px;
    transition: var(--transition-smooth);
}

.app-inner .s-block--features__item h2 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-inner .s-block--features__item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.app-inner .store-footer {
    background-color: #ffffff;
    border-top: 1px solid #edf2f7;
}

.app-inner .store-footer h3 {
    color: var(--text-main);
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.app-inner .store-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background-color: var(--sama-primary);
    border-radius: 3px;
}

.app-inner .s-menu-footer-item,
.app-inner .s-contacts-item {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.app-inner .s-menu-footer-item:hover,
.app-inner .s-contacts-item:hover {
    color: var(--sama-primary-dark);
    transform: translateX(-5px);
}

.app-inner .s-trust-badges-wrapper {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.app-inner .s-trust-badges-wrapper .s-trust-badges-content {
    background-color: transparent;
}

div[id^="product-"] {
    gap: 2.5rem; 
}

div[id^="product-"] .sidebar {
    background: #ffffff;
    border-radius: var(--sama-radius-lg);
    padding: 15px;
    border: 1px solid #edf2f7;
    box-shadow: var(--sama-shadow);
}

div[id^="product-"] .s-slider-thumbs-container img {
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

div[id^="product-"] .s-slider-thumbs-container .swiper-slide-thumb-active img {
    border-color: var(--sama-primary);
    box-shadow: 0 2px 8px var(--sama-border-soft);
}

div[id^="product-"] .main-content h1 {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

div[id^="product-"] .product__description {
    background-color: var(--sama-bg-soft);
    border-right: 3px solid var(--sama-primary);
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
}

div[id^="product-"] .product__description strong {
    color: var(--text-main);
    font-size: 1.05rem;
}

div[id^="product-"] .product__description ol {
    margin-top: 10px;
    color: var(--text-light);
    padding-inline-start: 25px;
}

div[id^="product-"] .text-red-800 {
    color: var(--text-main);
}

div[id^="product-"] .price-wrapper {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #edf2f7;
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
}

div[id^="product-"] .main-content .text-red-800,
div[id^="product-"] .price-wrapper .total-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sama-primary-dark);
    letter-spacing: -1px;
    display: inline-block;
}

div[id^="product-"] .main-content .line-through,
div[id^="product-"] .price-wrapper .before-price {
    font-size: 1.3rem;
    color: #a0aec0;
    font-weight: 500;
    opacity: 0.7;
    margin-inline-start: 12px;
    text-decoration-thickness: 2px;
}

div[id^="product-"] .sticky-product-bar .price-wrapper {
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
}

div[id^="product-"] .s-product-options-wrapper .s-form-control {
    border: 1px solid #e2e8f0;
    border-radius: var(--sama-radius-md);
    padding: 12px 15px;
    background-color: #f8fafc;
    transition: var(--transition-smooth);
}

div[id^="product-"] .s-product-options-wrapper .s-form-control:focus,
div[id^="product-"] .s-product-options-wrapper .s-form-control:hover {
    background-color: #ffffff;
    border-color: var(--sama-primary);
    box-shadow: 0 0 0 3px var(--sama-border-soft);
    outline: none;
}

div[id^="product-"] .bg-white.p-5.rounded-md {
    border: 1px solid #edf2f7;
    border-radius: var(--sama-radius-lg);
    box-shadow: none;
}

div[id^="product-"] textarea.form-input {
    border: 1px solid #e2e8f0;
    border-radius: var(--sama-radius-md);
    background-color: #f8fafc;
    transition: var(--transition-smooth);
}

div[id^="product-"] textarea.form-input:focus {
    background-color: #ffffff;
    border-color: var(--sama-primary);
    box-shadow: 0 0 0 3px var(--sama-border-soft);
}

div[id^="product-"] .sticky-product-bar {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--sama-radius-lg);
    padding: 25px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.02);
}

div[id^="product-"] .s-quantity-input-container {
    border: 1px solid #e2e8f0;
    border-radius: var(--sama-radius-md);
    background: #f8fafc;
}

div[id^="product-"] .s-quantity-input-button {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

div[id^="product-"] .s-quantity-input-button:hover {
    color: var(--sama-primary-dark);
}

div[id^="product-"] .s-add-product-button-main .s-button-primary {
    background-color: var(--sama-primary);
    border-color: var(--sama-primary);
    color: #ffffff;
    border-radius: var(--sama-radius-md);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 12px 0;
    transition: var(--transition-smooth);
}

div[id^="product-"] .s-add-product-button-main .s-button-primary:hover {
    background-color: var(--sama-primary-dark);
    box-shadow: 0 6px 15px rgba(207, 160, 205, 0.2);
}

div[id^="product-"] .s-add-product-button-mini-checkout {
    margin-top: 10px;
}

div[id^="product-"] .s-add-product-button-mini-checkout .s-fast-checkout-button {
    border: 1px solid #e2e8f0;
    border-radius: var(--sama-radius-md);
    background-color: #ffffff;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

div[id^="product-"] .s-add-product-button-mini-checkout .s-fast-checkout-button:hover {
    border-color: var(--sama-primary);
    background-color: var(--sama-bg-soft);
}

div[id^="product-"] .s-social-share-btn.s-button-outline,
div[id^="product-"] .btn--wishlist .s-button-element.s-button-outline {
    border: 1px solid #e2e8f0;
    color: #718096;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

div[id^="product-"] .s-social-share-btn.s-button-outline:hover,
div[id^="product-"] .btn--wishlist .s-button-element.s-button-outline:hover {
    border-color: var(--sama-primary);
    color: var(--sama-primary);
    background-color: var(--sama-bg-soft);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    div[id^="product-"] .main-content .text-red-800,
    div[id^="product-"] .price-wrapper .total-price {
        font-size: 1.8rem;
    }
    
    div[id^="product-"] .main-content .line-through,
    div[id^="product-"] .price-wrapper .before-price {
        font-size: 1.1rem;
    }
    
    div[id^="product-"] {
        gap: 1.5rem; 
    }
}