/* Kalameh Font Family */
@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-ExtraLight.woff2")
        format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-SemiBold.woff2")
        format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-ExtraBold.woff2")
        format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalameh";
    src: url("../fonts/Kalameh/KalamehWeb(FaNum)-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Apply Kalameh font to the entire page */
body {
    font-family: "Kalameh", sans-serif;
}

/* Custom gradient backgrounds */
.header-gradient {
    background: linear-gradient(90deg, #243f20 0%, #032101 50%);
}
@media (max-width: 768px) {
    .header-gradient {
        display: none;
    }
}
.button-gradient {
    background: linear-gradient(
        90deg,
        #8a6308 0%,
        #a5770b 50%,
        #e0ac31 75%,
        #e7b33b 88%,
        #facb5f 100%
    );
}

.button-gradient:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* OTP Input Styles */
.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    background-color: white;
    transition: all 0.2s;
    color: #000000;
}

.otp-input:focus {
    outline: none;
    border-color: #1ac977;
    box-shadow: 0 0 0 3px rgba(26, 201, 119, 0.1);
}

.otp-input.active {
    border-color: #1ac977;
}

.otp-input::placeholder {
    color: #000000;
    opacity: 0.5;
}

/* Responsive OTP inputs */
@media (max-width: 640px) {
    .otp-input {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Dashboard Styles */
.dashboard-option {
    background-color: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 13px;
    transition: all 0.2s;
}

.dashboard-option:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
}

/* Desktop Dashboard Styles */
@media (min-width: 768px) {
    .dashboard-option {
        border-radius: 15px;
    }
}

@media (min-width: 1024px) {
    .dashboard-option {
        border-radius: 18px;
    }

    .dashboard-option:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
}

/* Orders Page Styles */
.order-box {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-images-container {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.product-images-container::-webkit-scrollbar {
    height: 4px;
}

.product-images-container::-webkit-scrollbar-track {
    background: transparent;
}

.product-images-container::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 2px;
}

.order-status-cancelled {
    background-color: rgba(200, 35, 29, 0.1);
    color: #c83c1d;
}

.order-status-delivered {
    background-color: rgba(29, 200, 139, 0.1);
    color: #1dc88b;
}

.order-status-processing {
    background-color: rgba(191, 191, 191, 0.3);
    color: #4b4b4b;
}

.bottom-nav {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

#searchOverlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#searchOverlay.show {
    opacity: 1;
}

#searchOverlay .absolute {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#searchOverlay.show .absolute {
    opacity: 1;
}

#searchOverlay .relative {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
    transition:
        transform 0.3s ease-out,
        opacity 0.3s ease-out;
}

#searchOverlay.show .relative {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#searchOverlay.active ~ main,
#searchOverlay.active ~ header {
    filter: blur(4px);
    opacity: 0.5;
}

/* Logout Confirmation Modal (Mobile Only) */
#logoutModal {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

#logoutModal.show {
    opacity: 1;
    pointer-events: all;
}

#logoutModal .absolute {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#logoutModal.show .absolute {
    opacity: 1;
}

#logoutModalContent {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease-in-out;
}

#logoutModal.show #logoutModalContent {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#categoriesMenu {
    backdrop-filter: blur(0);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#categoriesMenu.show {
    transform: translateX(0);
}

#categoriesMenu .flex {
    opacity: 0;
    transition: opacity 0.3s ease-in-out 0.1s;
}

#categoriesMenu.show .flex {
    opacity: 1;
}

@media (min-width: 768px) {
    .order-box {
        border-radius: 16px;
    }
}

@media (min-width: 1024px) {
    .order-box {
        border-radius: 20px;
    }

    /* Desktop Orders Page UX Enhancements */
    .order-status {
        transition: all 0.3s ease;
    }

    .order-status:hover {
        transform: scale(1.05);
    }

    .product-images-container a {
        display: block;
        transition: all 0.3s ease;
    }

    .product-images-container img {
        transition: all 0.3s ease;
    }

    .product-images-container a:hover img {
        transform: scale(1.08);
        z-index: 10;
        position: relative;
    }
}

/* Desktop Header Styles */
.desktop-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.desktop-header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.desktop-logo {
    width: 48px;
    height: 48px;
}

.desktop-header.scrolled .desktop-logo {
    width: 40px;
    height: 40px;
}

.desktop-logo-svg {
    width: 32px;
    height: 32px;
}

.desktop-header.scrolled .desktop-logo-svg {
    width: 24px;
    height: 24px;
}

#desktopHeaderTopRow {
    padding-top: 8px;
    padding-bottom: 8px;
}

.desktop-header.scrolled #desktopHeaderTopRow {
    padding-top: 6px;
    padding-bottom: 6px;
}

.desktop-search-input {
    padding: 10px 16px;
    font-size: 14px;
}

.desktop-header.scrolled .desktop-search-input {
    padding: 8px 14px;
    font-size: 13px;
}

.desktop-search-input + img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.desktop-header.scrolled .desktop-search-input + img {
    width: 18px;
    height: 18px;
}

.desktop-cart-icon {
    width: 24px;
    height: 24px;
}

.desktop-header.scrolled .desktop-cart-icon {
    width: 20px;
    height: 20px;
}

.desktop-profile-btn {
    padding: 8px 16px;
}

.desktop-header.scrolled .desktop-profile-btn {
    padding: 6px 12px;
}

.desktop-profile-text {
    font-size: 14px;
}

.desktop-header.scrolled .desktop-profile-text {
    font-size: 12px;
}

.desktop-menu-row {
    padding-top: 8px;
    padding-bottom: 8px;
    max-height: 60px;
    overflow: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 0.3s ease,
        opacity 0.3s ease,
        padding 0.3s ease,
        transform 0.3s ease;
}

.desktop-header.scrolled .desktop-menu-row {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: translateY(-10px);
    border-top: none;
    pointer-events: none;
}

.desktop-header.scrolled .desktop-menu-row > * {
    pointer-events: none;
}

.desktop-header.scrolled .desktop-menu-row #categoriesMenuTrigger {
    pointer-events: auto;
}

.desktop-header.scrolled .desktop-menu-row #categoriesMenuTrigger button {
    pointer-events: auto;
    opacity: 1;
}

.desktop-menu-link {
    position: relative;
    color: #374151;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
}

.desktop-menu-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        #8a6308 0%,
        #a5770b 50%,
        #e0ac31 75%,
        #e7b33b 88%,
        #facb5f 100%
    );
    transition: width 0.3s ease;
}

.desktop-menu-link:hover {
    color: #a5770b;
    background-color: rgba(165, 119, 11, 0.05);
}

.desktop-menu-link:hover::after {
    width: 80%;
}

.desktop-menu-link.active {
    color: #a5770b;
    font-weight: 600;
}

.desktop-menu-link.active::after {
    width: 80%;
}

/* Desktop Header Icon Hover Effects */
.desktop-header a[href="#"]:not(.desktop-menu-link),
.desktop-header a[href="wishlist.html"],
.desktop-header a[href="cart.html"] {
    position: relative;
}

.desktop-header a[href="cart.html"] .absolute {
    transition: all 0.3s ease;
}

.desktop-header a[href="cart.html"]:hover .absolute {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Desktop Profile Dropdown Enhancement */
#desktopProfileDropdown {
    border-radius: 12px;
    overflow: hidden;
}

#desktopProfileMenu {
    position: relative;
}

#desktopProfileDropdown {
    transform: translateY(-10px);
}

#desktopProfileMenu:hover #desktopProfileDropdown,
#desktopProfileDropdown:hover {
    transform: translateY(0);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Jalali Date Picker Styles */
.jalali-datepicker {
    min-width: 320px;
    max-width: 400px;
    width: 90%;
    animation: datepickerFadeIn 0.3s ease-out;
}

@keyframes datepickerFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.jalali-datepicker select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}

.jalali-datepicker .year-select {
    padding-left: 12px;
    padding-right: 12px;
}

.jalali-datepicker .year-select::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.jalali-datepicker .year-select::-webkit-scrollbar-thumb {
    display: none;
}

.jalali-datepicker .year-select {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Product Page Styles */
.product-thumb {
    border-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.product-thumb.active {
    border-color: rgba(0, 0, 0, 0.4);
}

.product-thumb img {
    transition: transform 0.3s ease;
}

.product-thumb:hover img {
    transform: scale(1.05);
}

.share-btn,
.favorite-btn {
    transition: all 0.3s ease;
}

.share-btn:hover,
.favorite-btn:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.05);
}

.favorite-btn.liked img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%)
        hue-rotate(346deg) brightness(104%) contrast(97%);
}

.read-more-btn img {
    transition: transform 0.3s ease;
}

.show-more-comments-btn {
    transition: all 0.3s ease;
}

.show-more-comments-btn img {
    transition: transform 0.3s ease;
}

.comment-item {
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#specsModal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Price Range Slider - noUiSlider Customization */
.price-range-slider {
    width: 100%;
    padding: 10px 0;
}

.noUi-target {
    background: #000;
    border: none;
    box-shadow: none;
    height: 3px;
}

.noUi-connect {
    background: linear-gradient(
        90deg,
        #8a6308 0%,
        #a5770b 50%,
        #e0ac31 75%,
        #e7b33b 88%,
        #facb5f 100%
    );
}

.noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    right: -9px;
    top: -8px;
    border: 2px solid white;
    border-radius: 50%;
    background: linear-gradient(
        90deg,
        #8a6308 0%,
        #a5770b 50%,
        #e0ac31 75%,
        #e7b33b 88%,
        #facb5f 100%
    );
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    box-sizing: border-box;
}

.noUi-handle::after,
.noUi-handle::before {
    display: none;
}

.noUi-handle:focus {
    outline: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .noUi-horizontal .noUi-handle {
        width: 28px;
        height: 28px;
        right: -14px;
        top: -13px;
    }
}

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    background-color: #d1d5db;
    border: none;
    transition: background-color 0.3s;
}

.toggle-switch:checked {
    background-color: #10b981;
}

.toggle-switch::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch:checked::before {
    transform: translateX(24px);
}

/* Filter Menu Animation */
#filterMenuPanel {
    transition: transform 0.3s ease-out;
}

/* View Toggle Active State */
.view-toggle-btn.active {
    background-color: #10b981 !important;
}

.view-toggle-btn.active svg {
    color: white;
}

/* Comments Animation */
.comment-item {
    opacity: 0;
    transform: translateY(20px);
    animation: commentFadeIn 0.5s ease forwards;
}

.comment-item:nth-child(1) {
    animation-delay: 0.1s;
}

.comment-item:nth-child(2) {
    animation-delay: 0.2s;
}

.comment-item:nth-child(3) {
    animation-delay: 0.3s;
}

.comment-item:nth-child(4) {
    animation-delay: 0.4s;
}

.comment-item:nth-child(5) {
    animation-delay: 0.5s;
}

.comment-item:nth-child(6) {
    animation-delay: 0.6s;
}

.hidden-comments .comment-item {
    opacity: 0;
    transform: translateY(20px);
}

.hidden-comments.show .comment-item {
    animation: commentFadeIn 0.5s ease forwards;
}

@keyframes commentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product thumbnails slider */
.product-thumbs-swiper {
    padding: 0 40px;
}

.product-thumbs-swiper .swiper-slide {
    width: auto;
}

/* Product pagination bullets - matching index.html style */
.product-main-pagination .custom-bullet {
    background-color: rgba(0, 0, 0, 0.3);
}

.product-main-pagination .custom-bullet.active {
    background-color: #f6c758;
    width: 40px;
    height: 10px;
    border-radius: 5px;
}

.related-products-pagination .custom-bullet {
    background-color: rgba(0, 0, 0, 0.3);
}

.related-products-pagination .custom-bullet.active {
    background-color: #f6c758;
    width: 40px;
    height: 10px;
    border-radius: 5px;
}

/* Model dropdown */
.model-dropdown {
    position: relative;
}

.model-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    z-index: 10;
}

/* Fullscreen image modal */
#imageFullscreenModal {
    display: flex;
    flex-direction: column;
}

#imageFullscreenModal img {
    transition: transform 0.3s ease;
}

/* Fullscreen thumbnails */
#fullscreenThumbs {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-thumb {
    border-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.fullscreen-thumb.active {
    border-color: rgba(255, 255, 255, 0.8);
    border-width: 2px;
}

.fullscreen-thumbs-swiper {
    padding: 0 20px;
}

.fullscreen-thumbs-swiper .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
}

/* Desktop image hover magnify */
@media (min-width: 1024px) {
    .product-main-swiper .swiper-slide > div {
        cursor: zoom-in;
    }

    #zoomBtn {
        display: none !important;
    }

    /* Section Title Scroll Animation */
    .section-title {
        transition: color 0.5s ease;
    }

    .section-title.title-in-viewport {
        color: #a5770b;
    }
}

/* Mobile/Tablet zoom button */
@media (max-width: 1023px) {
    #zoomBtn {
        display: block;
    }
}

/* Share success message animation */
#shareSuccessMessage {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile sticky bottom bar */
@media (max-width: 768px) {
    .mobile-sticky-bar {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.jalali-datepicker .month-select,
.jalali-datepicker .year-select {
    font-family: inherit;
}

.jalali-datepicker button[data-day]:hover {
    transform: scale(1.1);
}

.jalali-datepicker button[data-day] {
    font-weight: 500;
    transition: all 0.2s ease;
}

.jalali-datepicker-overlay {
    animation: overlayFadeIn 0.3s ease-out;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#categoriesMenuTrigger {
    overflow: visible !important;
}

#desktopCategoriesDropdown {
    animation: fadeInDown 0.3s ease-out;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
}

.desktop-menu-row #desktopCategoriesDropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.desktop-header.scrolled .desktop-menu-row #categoriesMenuTrigger {
    overflow: visible !important;
}

.desktop-header.scrolled .desktop-menu-row #desktopCategoriesDropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Line clamp utilities for text ellipsis */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Brand Logos Swiper Smooth Scrolling */
.trusted-by-list,
.promotion-list {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.promotion-swiper:hover .promotion-list {
    animation-play-state: paused;
}

.promotion-header {
    z-index: 50;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    left: 50% !important;
}

.footer-menu-item {
    opacity: 0;
    transform: translateY(-10px);
}

/* Blog List View Styles */
.list-view-blog > a > div {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
    padding: 0 !important;
}

.list-view-blog > a > div > div:first-child {
    width: 33.333333% !important;
    flex-shrink: 0 !important;
    border-radius: 0.5rem !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0.5rem !important;
    overflow: hidden;
}

.list-view-blog > a > div > div:first-child > img {
    height: 100% !important;
    min-height: 200px;
    object-fit: cover !important;
}

.list-view-blog > a > div > div:not(:first-child) {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem !important;
}

/* Progress Steps */
.progress {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
}

.progress::before {
    content: "";
    background-color: #bfbfbf;
    position: absolute;
    width: calc(100% - 48px);
    right: 24px;
    left: 24px;
    height: 2px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 0;
}

@media (min-width: 768px) {
    .progress {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .progress::before {
        width: calc(100% - 64px);
        right: 32px;
        left: 32px;
        height: 3px;
    }
}

.progress-bar {
    position: absolute;
    width: 0;
    height: 2px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #a5770b;
    transition: width 0.4s ease;
    z-index: 1;
    right: 48px;
}

@media (min-width: 768px) {
    .progress-bar {
        right: 64px;
        height: 3px;
    }
}

.progress .step {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.progress .step .step-icon {
    transition: border-color 0.5s ease-in-out;
}

.progress .step.active .step-icon {
    border-color: #a5770b !important;
}

.progress .step.active span {
    color: #1f2937 !important;
    font-weight: 600;
}

/* Checkout Submit Button Disabled State */
#submitButton:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Shipping Information - Desktop Address Box Enhancements */
@media (min-width: 1024px) {
    .address-box {
        transition: all 0.3s ease;
    }

    .address-box:hover {
        transform: translateY(-2px);
        border-color: rgba(165, 119, 11, 0.3) !important;
    }

    .address-box input[type="radio"]:checked + .flex-1 {
        position: relative;
    }

    .address-box:has(input[type="radio"]:checked) {
        border-color: #a5770b !important;
        border-width: 2px;
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 12px rgba(165, 119, 11, 0.15);
    }
}
