/* ── Base Skeleton ───────────────────────────────────────────── */
.img-skeleton {
    position: relative;
    overflow: hidden;
    background-color: #ebebeb;
    border-radius: inherit;
}

/* Shimmer sweep animation */
.img-skeleton::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: skeleton-sweep 1.4s infinite ease-in-out;
    z-index: 1;
    pointer-events: none;
}

/* Remove shimmer once loaded */
.img-skeleton.img-loaded::before {
    display: none;
}

/* Image hidden until loaded */
.img-skeleton > img {
    opacity: 0;
    transition: opacity 0.35s ease;
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-skeleton.img-loaded > img {
    opacity: 1;
}

@keyframes skeleton-sweep {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Per-Section Sizes ───────────────────────────────────────── */

/* Main banner slider */
.banner-skeleton {
    width: 100%;
    min-height: 0;
    height: 100%;
}

@media (max-width: 768px) {
    .banner-skeleton {
        min-height: 280px;
    }
}

/* Featured category circles */
.category-skeleton {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

/* Promotional banners */
.promo-skeleton {
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* Deal of the day product images — 533x497 conversion */
.deal-product-skeleton {
    width: 100%;
    aspect-ratio: 533 / 497;
}

/* Featured product cards — 360x360 conversion */
.featured-product-skeleton {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* Bottom banner */
.bottom-banner-skeleton {
    width: 100%;
    min-height: 400px;
}

@media (max-width: 768px) {
    .bottom-banner-skeleton {
        min-height: 250px;
    }
}


/* Main slider banner text */
.wrap-slider .box-content {
    z-index: 3;
}

/* Promotional banner text */
.collection-item-v4 .collection-content {
    z-index: 3;
}

.collection-product-skeleton {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* Profile section styles */
.profile-section .alert {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.profile-section .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.profile-section .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.profile-section .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.profile-section .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.profile-section .tf-field-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.profile-section .tf-field-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.profile-section .tf-field-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.profile-section .tf-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-section .tf-btn-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.profile-section .tf-btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.profile-section .tf-btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.profile-section .tf-btn-outline:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

.profile-section .tf-btn-outline-danger {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.profile-section .tf-btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

/* Modal styles for your template */
.modal-content .tf-field {
    margin-bottom: 15px;
}

.modal-content .tf-field:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.d-flex.gap-10 {
    gap: 10px;
}

.d-flex.gap-15 {
    gap: 15px;
}

.p_15 {
    padding: 15px;
}

.p_20 {
    padding: 20px;
}

.mt_10 {
    margin-top: 10px;
}

.mb_10 {
    margin-bottom: 10px;
}

.mb_20 {
    margin-bottom: 20px;
}

.mb_30 {
    margin-bottom: 30px;
}

.nav-account .dropdown-menu .dropdown-item{
    background: none;
    color: #545454;
    font-size: 14px;
}

.nav-account .dropdown-menu .dropdown-item:hover{
    background: none;
    color: #DB1215;
}

.nav-account .dropdown-menu .dropdown-item:active{
    background: none;
}

/* for disabling the span buttons of increament or decreament quantity of cart items */
.disabled {
    pointer-events: none;
    opacity: .6;
    cursor: not-allowed;
    transition: opacity .2s ease;
}

.nav-wishlist .nav-icon-item {
    position: relative;
}


/* alerts customization*/
/* General notification styles */
.alertify-notifier .ajs-message {
    background-image: linear-gradient(310deg, #71717a 0%, #e3e3e7 100%) !important;
    /* Default gradient */
    font-size: 15px !important;
    /* Set text size */
    padding: 17px 20px !important;
    /* Adjust padding */
    color: #ffffff !important;
    /* White text color */
    text-shadow: none !important;
    /* No text shadow on the text itself */
    border: none !important;
    /* Remove borders */
    line-height: 1.3 !important;
    /* Compact line height */
    border-radius: 4px !important;
    /* Rounded corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2),
        /* Soft shadow */
        0 4px 6px rgba(0, 0, 0, 0.1),
        /* Mid shadow */
        inset 0 -1px 3px rgba(0, 0, 0, 0.1);
    /* Inner shadow for depth */
}

/* Optional: Hover Effect for Enhanced 3D Look */
.alertify-notifier .ajs-message:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3),
        0 6px 8px rgba(0, 0, 0, 0.2),
        inset 0 -1px 4px rgba(0, 0, 0, 0.1);
    /* Enhanced shadow on hover */
}

/* Success notification */
.alertify-notifier .ajs-message.ajs-success {
    background-image: linear-gradient(310deg, #22c55e 0%, #98ec2d 100%) !important;
}

/* Error notification */
.alertify-notifier .ajs-message.ajs-error {
    background-image: linear-gradient(310deg, #ef4444 0%, #ec4899 100%) !important;
}

/* Warning notification */
.alertify-notifier .ajs-message.ajs-warning {
    background-image: linear-gradient(310deg, #eab308 0%, #f97316 100%) !important;
}

/* Info notification */
.alertify-notifier .ajs-message.ajs-info {
    background-image: linear-gradient(310deg, #0ea5e9 0%, #06b6d4 100%) !important;
}

.bg-gradient-primary {
  background-image: linear-gradient(310deg, #ea580c 0%, #facc15 100%);
}

.bg-gradient-secondary {
  background-image: linear-gradient(310deg, #71717a 0%, #e3e3e7 100%);
}

.bg-gradient-success {
  background-image: linear-gradient(310deg, #22c55e 0%, #98ec2d 100%);
}

.bg-gradient-info {
  background-image: linear-gradient(310deg, #0ea5e9 0%, #06b6d4 100%);
}

.bg-gradient-warning {
  background-image: linear-gradient(310deg, #eab308 0%, #f97316 100%);
}

.bg-gradient-danger {
  background-image: linear-gradient(310deg, #ef4444 0%, #ec4899 100%);
}

.bg-gradient-light {
  background-image: linear-gradient(310deg, #e3e3e7 0%, #f4f4f5 100%);
}

.bg-gradient-dark {
  background-image: linear-gradient(310deg, #27272a 0%, #18181b 100%);
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.text-gradient.text-primary {
  background-image: linear-gradient(310deg, #ea580c, #facc15);
}

.text-gradient.text-info {
  background-image: linear-gradient(310deg, #4f46e5, rgb(4.8, 145.6, 169.6));
}

.text-gradient.text-success {
  background-image: linear-gradient(310deg, #16a34a, #65a30d);
}

.text-gradient.text-warning {
  background-image: linear-gradient(310deg, #ca8a04, #ea580c);
}

.text-gradient.text-danger {
  background-image: linear-gradient(310deg, #dc2626, rgb(239.8, 108.6, 173.4));
}

.text-gradient.text-dark {
  background-image: linear-gradient(310deg, #27272a, #18181b);
}
