/* DESIGNED BY ALI DINCER - in/dincerali */
html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {}


.top-banner {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}


.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
    padding: 15px 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}


.header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header .logo svg {
    fill: currentColor;
}


.header .nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .nav-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.2s;
}

.header .nav-link:hover {
    color: gray;
}


.header .dropdown {
    position: relative;
}

.header .dropdown-btn {
    background: none;
    border: none;
    color: black;
    font-weight: 500;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    transition: color 0.2s;
}

.header .dropdown-btn:hover {
    color: gray;
}


.header .icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.header .icon-btn .cart-count {
    position: absolute;
    display: flex;
    top: -0.5rem;
    right: -0.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    background-color: #000000;
    color: #fff;
}

.header .icon-btn:hover {
    opacity: 0.75;
}

.header .menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.choosing-box {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    width: 20rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    padding: 0;
}

.choosing-box-inner {}

.choosing-box-header {
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.choosing-box-header h3 {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.choosing-box .choosing-box-option {
    display: flex;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    width: 100%;
    transition: background-color 0.3s ease;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}

.choosing-box .choosing-box-option:hover {
    background-color: #f9fafb;
}

.choosing-box .icon-package, .icon-crown, .icon-info {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.choosing-box .choosing-box-option:hover .icon-package, .choosing-box .choosing-box-option:hover .icon-crown {
    color: black;
}

.choosing-box-option-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.choosing-box .title {
    font-weight: 500;
}

.choosing-box .description {
    font-size: 0.875rem;
    color: #6b7280;
}

.choosing-box .price {
    font-size: 0.875rem;
    font-weight: 500;
}

.choosing-box-footer {
    padding: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
}

.choosing-box .more-info {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.3s ease;
    text-decoration: none;
}

.choosing-box .more-info:hover {
    color: black;
}

.choosing-box .more-info .icon-info {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}



.footer {
    background-color: #000;
    color: #fff;
    line-height: 1.5;
}

.footer a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}


.footer-top {
    padding: 4rem 1rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.footer-column {}

.footer-info .footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
}


.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-block;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9CA3AF;
    font-size: 0.9rem;
}


.footer-heading {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}


.footer-security .security-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.security-title {
    font-weight: bold;
    margin: 0;
    font-size: 1rem;
}

.security-desc {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin: 0;
}


.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;

}

.payment-icons img {
    height: 2rem;
    margin-right: 0.5rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-bottom-bar {
    background-color: #111827;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9CA3AF;
}




.main-container {
    flex-grow: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: black;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent);
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-text {
    margin-top: 7rem;
    padding-left: 2rem;
    padding-right: 2rem;

    padding-bottom: 8rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
}

.title-line {
    display: block;
}

.highlight {
    color: #e5e7eb;
}

.hero-description {
    margin-top: 1rem;
    color: #d1d5db;
    font-size: 1.125rem;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
}

.cta-button {
    display: flex;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.375rem;
    border-width: 1px;
    border-color: transparent;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    color: #000000;
    background-color: #ffffff;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #f3f4f6;
}

.hero-section .image-section {
    position: relative;
    width: 100%;
    right: 0;
    top: 0;
    bottom: 0;
}

.hero-section .image-container {
    height: 14rem;
    width: 100%;
    position: relative;
}

@media (min-width: 640px) {
    .hero-section .image-container {
        height: 18rem;
    }
}

@media (min-width: 768px) {
    .hero-section .image-container {
        height: 24rem;
    }
}

@media (min-width: 1024px) {
    .hero-section .image-section {
        position: absolute;
        inset: 0;
    }

    .hero-section .image-container {
        height: 100%;
        width: 100%;
    }
}

.hero-section .image-grid-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    transform: rotate(12deg) scale(1.1);
}

.hero-section .image-box {
    background-color: white;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.hero-section .image-box:hover {
    transform: scale(1.05);
}

.hero-section .image-box img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

@keyframes float {
    0%, to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes pulse {
    0%, to {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

@keyframes rotate3d {
    0% {
        transform: perspective(1000px) rotateY(0)
    }

    to {
        transform: perspective(1000px) rotateY(360deg)
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

.hover-rotate3d:hover {
    animation: rotate3d 1s ease-in-out;
}


.steps-section {
    background: linear-gradient(to bottom, #f9fafb, white);
    padding: 6rem 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: black;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1.5rem;
}

.section-title div.d-divider {
    width: 6rem;
    height: 0.25rem;
    background-color: black;
    margin: 0 auto 1.5rem;
}

.section-title p {
    color: #4B5563;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
}

.step-icon {
    background-color: black;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-description {
    color: #4b5563;
}

/* Offers Section */
.offers-section {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom, white, #f9fafb);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.offer-item {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    transition-duration: 300ms;
    position: relative;
}

.offer-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.25rem);
}

.offer-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    transition-duration: 300ms;
}

.offer-item:hover img {
    transform: scale(1.05);
}

.offer-details {
    padding: 1.5rem;
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.offer-description {
    color: #4b5563;
    margin-bottom: 1rem;
}

.offer-discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: black;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.offer-price {
    display: flex;
    align-items: end;
    /* margin-bottom: 1rem; */
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
}

.old-price {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: line-through;
    margin-left: 0.5rem;
    padding-bottom: 4px;
}

.offer-button {
    /* width: 100%; */
    padding: 0.5rem 1rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.offer-button:hover {
    background-color: #1f2937;
}

/* Boxes Section */
.boxes-section {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom, #f9fafb, white);
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.box-item {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.box-item.box-item-black {
    background-color: black;
    color: white;
}

.box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.box-icon {
    background-color: black;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.box-item.box-item-black .box-icon {
    background-color: white;
}

.box-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.box-item.box-item-black .box-icon svg {
    color: black;
}

.box-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.box-text {
    color: #d1d5db;
    margin-bottom: 0;
}

.box-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.box-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.box-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.box-features li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    margin-right: 0.5rem;
}

.box-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.box-button:hover {
    background-color: #1f2937;
}

.box-item.box-item-black .box-button {
    background-color: white;
    color: black;
}

.box-item.box-item-black .box-button:hover {
    background-color: #f3f4f6;
}



.offer-all-button-container {
    text-align: center;
    margin-top: 3rem;
}

.offer-all-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid black;
    color: black;
    font-weight: 500;
    border-radius: 0.5rem;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.offer-all-button:hover {
    background-color: black;
    color: white;
}

.offer-all-button svg {
    margin-left: 0.5rem;
    height: 1.25rem;
    width: 1.25rem;
}


/* CART --ali */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
}

.cart-modal.active {
    display: block;
}
.old_price{
    position: relative;
    display: inline-block;
    color: black; /* or any color for the price */
    font-weight: bold;
}

.old_price::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 37%;
  height: 2px;
  background: red;
  transform: rotate(354deg);
  transform-origin: right center;
}

.old_price2{
    position: relative;
    display: inline-block;
    color: black; /* or any color for the price */
    font-weight: bold;
}

.old_price2::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 115%;
    height: 2px;
    background: red;
    transform: rotate(354deg);
    transform-origin: right center;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out;
}

.cart-container {
    position: fixed;
    right: 0;
    max-width: 28rem;
    width: 100%;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.cart-close-btn {
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    background: 0;
    border: 0;
}

.cart-close-btn:hover {
    background-color: #f3f4f6;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
}

.cart-empty-icon {
    width: 4rem;
    height: 4rem;
    display: block;
    margin: 0 auto 1rem;
    color: #9ca3af;
}

.cart-empty-text {
    color: #4b5563;
}

.cart-total {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.cart-total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.125rem;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cart-item-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cart-item img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

.cart-item-size {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0;
}

.cart-item-controls {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-btn {
    display: flex;
    padding: 0.25rem;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.cart-item-btn:hover {
    background: #f3f4f6;
}

.cart-item-btn svg {
    width: 1rem;
    height: 1rem;
}

.cart-item-quantity {
    font-size: 0.875rem;
    font-weight: 500;
    width: 1rem;
    text-align: center;
}

.cart-item-price {
    text-align: right;
    font-weight: 500;
}

/* CART */





/* SHOP PAGE */
.shop-title-filter .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #4B5563;
    background-color: #F3F4F6;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.shop-title-filter .nav-link:hover {
    background-color: #E5E7EB;
}

.shop-title-filter .nav-link.active {
    color: #fff;
    background-color: #000;
}

.shop-items-area .offer-image img {
    height: 100%;
    width: 100%;
}


.sticky-progress {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: #fdfdfd;
    border-bottom: 1px solid #e5e7eb;
}

.progress-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.open-button{
    /* width: 100%; */
    padding: 0.5rem 1rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.progress-area .left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-area .buttons {
    display: flex;
    gap: 8px;
}

.progress-area .buttons button {
    position: relative;
    padding: 12px;
    border-radius: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.progress-area .buttons button.active {
    background-color: black;
    color: white;
}

.progress-area .buttons button {
    background-color: #f3f4f6;
    color: #6b7280;
}

.progress-area .buttons button:not(.active):hover {
    /* aktif olmayan hover olmasın */
    background-color: #e5e7eb;
}

.progress-area .text {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0;
}

.progress-area .subtext {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0;
}

.progress-area .progress-container {
    flex: 1;
    margin: 0 32px;
}

.progress-area .progress-bar {
    height: 12px;
    background-color: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-area .progress {
    height: 100%;
    width: 0;
    background-color: black;
    border-radius: 9999px;
    transition: width 0.3s;
    position: relative;
}

.progress-area .progress.full {
    background-color: #22c55e;
}

.progress-area .progress::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-area .remaining {
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
    background-color: #f9fafb;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    margin-bottom: 0;
}

.progress-area .remaining span {
    color: black;
    font-weight: bold;
    display: inline-block;
    min-width: 1.5rem;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

.progress-area .right {
    text-align: right;
}



/* MODAL */
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow-y: auto;
    display: none;
}

.modal-overlay.show {
    display: block;
}

.modal-backdrop-dark {
    position: absolute;
    inset: 0;
    background-color: black;
    opacity: 0.5;
}

.modal-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 99999;
}

.modal-content-area {
    position: relative;
    background-color: white;
    border-radius: 1.5rem;
    max-width: 72rem;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.5rem;
    background-color: white;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    border: 0;
}

.modal-close-button:hover {
    background-color: #f3f4f6;
}

.modal-close-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Modal Grid */
.modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.modal-image-section {
    position: relative;
}

.modal-image-container {
    position: absolute;
    inset: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.modal-details-section {
    position: relative;
    padding: 2rem;
}

.modal-details-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Product Info */
.modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-product-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-stars {
    display: flex;
    gap: 0.125rem;
}

.modal-stars svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-rating-count {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Product Description */
.modal-product-description {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 120px;
}

.modal-description-text {
    color: #4b5563;
    margin-bottom: 0;
}

.modal-price {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Product Details */
.modal-product-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-details-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.modal-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-detail-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
}

.modal-details-text {
    color: #4b5563;
    margin-bottom: 0;
}

/* Size Selection */
.modal-size-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-size-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0;
}

.modal-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.modal-color-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.modal-size-button {
    padding: 0.5rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: border-color 0.3s;
}


.modal-color-button {
    padding: 0.5rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: border-color 0.3s;
}

.modal-size-button:hover {
    border-color: black;
}
.modal-color-button:hover {
    border-color: black;
}

.modal-size-buttons input:checked+label {
    border-color: black;
    background-color: black;
    color: white !important;
}
.modal-color-buttons input:checked+label {
    border-color: black;
    background-color: black !important;
    color: white;
}

/* Disabled Button */
.modal-cart-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    margin-top: 1rem;
}

.modal-cart-button:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Delivery Info */
.modal-delivery-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-delivery-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.modal-delivery-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0;
}

.modal-delivery-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-delivery-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}


.modal-overlay .quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-overlay .quantity-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0;
}

.modal-overlay .quantity-controls {
    display: flex;
    align-items: center;
}

.modal-overlay .quantity-button {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: transparent;
    cursor: pointer;
    transition: border-color 0.3s;
    display: inline-flex;
}

.modal-overlay .quantity-button:hover {
    border-color: black;
}

.modal-overlay .quantity-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.modal-overlay .quantity-button svg {
    width: 1rem;
    height: 1rem;
}

.modal-overlay .quantity-value {
    margin-left: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    width: 3rem;
    text-align: center;
    border: 0;
}

/* MODAL */
/* SHOP PAGE */

/* CHECKOUT */

.checkout-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
}

.checkout-modal.active {
    display: block;
}

.checkout-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out;
}

.checkout-container {
    position: fixed;
    right: 0;
    max-width: 42rem;
    width: 100%;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.checkout-close-btn {
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    background: 0;
    border: 0;
}

.checkout-close-btn:hover {
    background-color: #f3f4f6;
}

.checkout-back-btn {
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    background: 0;
    border: 0;
}

.checkout-back-btn:hover {
    background-color: #f3f4f6;
}

.checkout-content {
    flex: 1;
    overflow-y: auto;
}

/* CHECKOUT TOTAL AREA */
.checkout-total-area {
    border-top: 1px solid #D1D5DB;
    padding: 24px;
}

.checkout-total-title {
    font-weight: bold;
    margin-bottom: 16px;
}

.checkout-total-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-total-item {
    display: flex;
    justify-content: space-between;
}

.checkout-total-summary {
    border-top: 1px solid #D1D5DB;
    padding-top: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}


/* PROGRESS */
.checkout-progress-container {
    padding: 16px 24px 0;
}

.checkout-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.checkout-progress-text {
    font-size: 14px;
    font-weight: 500;
}

.checkout-progress-bar {
    height: 8px;
    background-color: #E5E7EB;
    border-radius: 9999px;
    overflow: hidden;
}

.checkout-progress-fill {
    height: 100%;
    background-color: #000;
    border-radius: 9999px;
    transition: width 0.5s ease-in-out;
}

/* PROGRESS */

.checkout-form-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-form-group {
    display: flex;
    flex-direction: column;
}

.checkout-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.checkout-form-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    transition: border 0.3s, box-shadow 0.3s;
}

.checkout-form-input:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}


.checkout-form-button {
    width: 100%;
    background-color: #000;
    color: white;
    padding: 12px;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

.checkout-form-button:hover {
    background-color: #1f1f1f;
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}


/* SUCCESS */
.checkout-success-container {
    text-align: center;
    padding: 40px 20px;
}

.checkout-success-icon {
    width: 64px;
    height: 64px;
    background-color: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.checkout-success-icon svg {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.checkout-success-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.checkout-success-message {
    color: #4b5563;
    margin-bottom: 32px;
}

/* CHECKOUT */


.mySwiper {
    width: 100%;
}

.mySwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-thumbs {
    height: 115px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    background-color: #fff;
    margin: 0;
}

.swiper-thumbs .swiper-slide {
    height: 80px !important;
    opacity: 0.5;
    cursor: pointer;
}

.swiper-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next:after, .swiper-button-prev:after{
    color: #c1c1c1;
}

@media (max-width: 992px) {
    .header .nav .dropdown-btn {
        display: none;
    }

    .old_price::after {
      content: "";
      position: absolute;
      top: 11px;
      left: 0;
      width: 45%;
      height: 2px;
      background: red;
      transform: rotate(354deg);
      transform-origin: right center;
    }

    .old_price2::after {
        content: "";
        position: absolute;
        top: 9px;
        left: 0;
        width: 95%;
        height: 2px;
        background: red;
        transform: rotate(354deg);
        transform-origin: right center;
    }

    .header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        width: 100%;
        border-top: 2px solid #e3e3e3;
        flex-direction: column;
        text-align: left;
        align-items: start;
        padding: 8px 0;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    }

    .header .nav-link {
        width: 100%;
        font-weight: 400;
        padding: 4px 16px;
    }

    .header .nav.active {
        display: flex;
    }

    .header .menu-btn {
        display: block;
    }

    .header .menu-btn svg:nth-child(2) {
        display: none;
    }

    .header .menu-btn.active svg:nth-child(1) {
        display: none;
    }

    .header .menu-btn.active svg:nth-child(2) {
        display: block;
    }


    .hero-text {
        margin-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
        font-weight: 800;
        color: white;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;
        padding-top: .75rem;
        padding-bottom: .75rem;
        font-size: 1rem;
    }


    .steps-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .boxes-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .sticky-progress {
        position: fixed;
        bottom: 0;
        top: unset;
        width: 100%;
    }

    .progress-area .buttons button {
        display: none;
    }

    .progress-area .buttons button.active {
        display: block;
    }

    .progress-area {
        flex-wrap: wrap;
    }

    .progress-area .left {
        gap: 10px;
        flex: 0 0 70%;
        order: 1;
    }

    .progress-area .right {
        order: 2;
        flex: 0 0 30%;
    }

    .progress-area .progress-container {
        flex: 0 0 100%;
        margin: 8px 0 0 0;
        order: 3;
    }

    .modal-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .modal-image-section {
        height: 24rem;
    }

    .modal-details-grid {
        grid-template-columns: repeat(1, 1fr);
    }

}
