/* ==========================================================================
   NOA FINE JEWELRY - REORGANIZED & RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cormorant Infant", serif;
    line-height: 1.6;
    color: #575757;
    background-color: #fafafa;
    padding-top: 141px;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2 {
    font-family: "Italiana", sans-serif;
    font-weight: 100;
}

p {
    font-family: "Antic Didone", serif;
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.hidden {
    display: none !important;
}

/* ==========================================================================
   4. BUTTONS & FORM ELEMENTS
   ========================================================================== */
.btn,
.cta-button {
    font-family: "Cormorant Infant", serif;
    padding: 15px 30px;
    border: 1px solid #575757;
    background-color: #fff;
    color: #575757;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover,
.cta-button:hover {
    background: #f5f5f5;
    border: 1px solid #999;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.shipping-banner {
    font-family: "Catamaran", sans-serif;
    background-color: #E6E6E6;
    color: #575757;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 100;
    padding: 8px 15px;
    font-size: 16px;
}

.shipping-banner .separator {
    margin: 0 20px;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    font-style: normal;
}

.shipping-banner .banner-link {
    color: #575757;
    text-decoration: underline;
    font-style: italic;
    text-transform: uppercase;
    font-weight: 100;
    transition: all 0.3s ease;
}

.shipping-banner .banner-link:hover {
    color: #000;
    text-decoration: underline;
}

header {
    padding: 0 0 30px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

header.nav-hidden {
    transform: translateY(-100%);
}

.main-nav {
    font-family: "Italiana", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
    height: 40px;
    background: transparent;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: #575757;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1px;
    background-color: #F2CA50; /* gold */
    transition: all 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 50px;
    height: 1px;
}

.main-nav .cart-icon {
    position: relative;
    font-size: 18px;
    text-decoration: none;
    color: #F2CA50 !important;
    transition: color 0.3s ease;
}

.cart-mobile {
    display: none;
}

.logo {
    width: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #575757;
    pointer-events: none;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-mobile {
    display: none;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 250px;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.5rem, 3.5vw, 4rem);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: left;
}

.hero-button {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    flex-shrink: 0;
}

.hero-button:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: #fafafa;
    padding: 80px 20px;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding: 0 20px;
}

.about-title {
    font-family: "Italiana", sans-serif;
    font-size: 2.8rem;
    font-weight: 100;
    color: #575757;
    margin-bottom: 10px;
    position: relative;
}

.about-title .script-text {
    font-family: "Ephesis", cursive;
    font-size: 5rem;
    color: #F2CA50;
    font-weight: 400;
    display: inline-block;
    margin-right: 70px;
    transform: translateY(-20px);
}

.about-subtitle {
    font-family: "Antic Didone", serif;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 30px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.about-text {
    font-family: "Cormorant Infant", serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #575757;
    margin-bottom: 20px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-image-container {
    position: relative;
    height: 300px;
    width: 300px;
    margin: 0 auto;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F2CA50, transparent);
}

/* ==========================================================================
   8. NOTE SECTIONS
   ========================================================================== */
.custom-order-section {
    background-color: #fff;
    padding: 20px 20px;
    text-align: center;
    position: relative;
}

.custom-order-section::before,
.custom-order-section::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F2CA50, transparent);
}

.custom-order-section::before {
    top: 0;
}

.custom-order-section::after {
    bottom: 0;
}

.custom-order-note {
    max-width: 57%;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.note-text {
    font-family: "Cormorant Infant", serif;
    font-size: 20px;
    line-height: 1.8;
    color: #575757;
    margin-bottom: 0;
    padding-bottom: 40px;
}

/* ==========================================================================
   9. SHOP PAGE
   ========================================================================== */
.cover-image {
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

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

.cover-image-width {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.cover-image-width img {
    width: 100%;
    height: auto;
    display: block;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.collection-title {
    text-align: center;
    margin-bottom: 3rem;
}

.collection-title h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #575757;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: "Italiana", sans-serif;
}

.collection-subtitle {
    font-size: 1.1rem;
    color: #999;
    text-transform: uppercase;
    font-style: italic;
    font-family: "Cormorant Infant", serif;
    font-weight: 100;
}

/* ==========================================================================
   10. JEWELRY GRID & ITEMS
   ========================================================================== */
.jewelry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.jewelry-item,
.carousel-item {
    text-align: center;
    cursor: pointer;
    background: transparent;
}

.carousel-item {
    flex: 0 0 260px;
}

.jewelry-item a,
.carousel-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.jewelry-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.jewelry-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jewelry-details {
    padding: 15px 0 0 0;
}

.category {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.jewelry-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: #575757;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.jewelry-price {
    font-size: 1rem;
    color: #362C2C;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.jewelry-item:hover .jewelry-price,
.carousel-item:hover .jewelry-price {
    opacity: 1;
    transform: translateY(0);
}

/* Sold out item */
.jewelry-item.sold-out {
    cursor: not-allowed;
}

.jewelry-item.sold-out .jewelry-link-wrapper {
    pointer-events: none;
}

.jewelry-item.sold-out .jewelry-image {
    position: relative;
}

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #898989;
    letter-spacing: 3px;
    opacity: 0;
    transition: all 0.3s ease;
}

.jewelry-item.sold-out:hover .sold-out-overlay {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.jewelry-item.sold-out:hover img {
    filter: brightness(1.2);
    transition: filter 0.3s ease;
}

/* Keep the price animation for sold out items too */
.jewelry-item.sold-out:hover .jewelry-price {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   11. PRODUCT PAGE
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f8f8;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.thumbnail {
    width: 60px;
    height: 60px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding-top: 0;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #575757;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.2rem;
    color: #575757;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 400;
}

.price-note {
    font-size: 1.1rem;
    color: #898989;
    text-align: center;
    margin-bottom: 15px;
    font-style: italic;
    font-weight: 400;
}

.shipping-info {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.product-details-link {
    text-align: center;
    margin-bottom: 40px;
}

.product-details-link a {
    color: #666;
    text-decoration: underline;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-details-link a:hover {
    color: #999;
}

/* ==========================================================================
   12-a. PRODUCT OPTIONS & DROPDOWNS without gifts
   ========================================================================== */
.choice-section {
    margin-bottom: 30px;
}

.size-selector,
.metal-selector {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.custom-dropdown {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.dropdown-selected {
    padding: 12px 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1rem;
    color: #575757;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
}

.dropdown-selected:hover {
    background-color: #f5f5f5;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    width: 12px;
    height: 12px;
    stroke: #999;
    fill: none;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

#sizeDropdown::-webkit-scrollbar {
    width: 8px;
}

#sizeDropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#sizeDropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#sizeDropdown::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.dropdown-option {
    padding: 12px 20px;
    color: #575757;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: #f5f5f5;
}

.size-selector select,
.metal-selector select {
    display: none;
}

.size-note {
    font-size: 1rem;
    text-align: center;
    color: #999;
    line-height: 1.5;
    margin-bottom: 20px;
    margin-top: 20px;
}

.sizing-faq {
    text-align: center;
}

.sizing-faq a {
    color: #575757;
    text-decoration: underline;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sizing-faq a:hover {
    color: #999;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-details-section {
    background-color: #fff;
    width: 100vw;
    padding: 80px 150px 100px 150px;
}

.details-tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding-bottom: 15px;
    color: #575757;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.details-content {
    /* max-width: 600px; */
}

.details-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #898989;
}

/* ==========================================================================
   12-b. Gift Cards
   ========================================================================== */

#giftAmountDropdown::-webkit-scrollbar {
    width: 8px;
}

#giftAmountDropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#giftAmountDropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#giftAmountDropdown::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.gift-card-toggle-btn {
    width: 100%;
    padding: 12px 20px;
    margin: 15px 0 10px 0;
    background-color: transparent;
    border: 1px solid #999;
    color: #999;
    font-family: "Cormorant Infant", serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-card-toggle-btn:hover {
    background-color: #f5f5f5;
}

.gift-card-input-section {
    margin: 15px 0;
    padding: 15px;
    background-color: #f9f9f9;
}

.gift-card-input-section.hidden {
    display: none;
}

.gift-card-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 10px;
    border: 1px solid #999;
    font-family: "Cormorant Infant", serif;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.gift-card-input:focus {
    outline: none;
    border-color: #333;
}

.apply-gift-card-btn {
    width: 100%;
    font-family: "Cormorant Infant", serif;
    padding: 15px 30px;
    border: 1px solid #575757;
    background-color: #fff;
    color: #575757;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.apply-gift-card-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border: 1px solid #999;
}

.apply-gift-card-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gift-card-error {
    margin-top: 10px;
    padding: 10px;
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
    font-size: 15px;
    text-align: center;
}

.gift-card-error.hidden {
    display: none;
}

.gift-card-applied {
    color: #4CAF50;
}

.total-row {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #eee;
    font-size: 16px;
}

.gift-card-applied-section {
    margin: 15px 0;
    text-align: center;
}

.remove-gift-card-btn {
    color: #BCBCBC;
    cursor: pointer;
    font-size: 0.6rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.remove-gift-card-btn:hover {
    color: #999;
}

/* ==========================================================================
   13. CART FUNCTIONALITY
   ========================================================================== */
.cart-wrapper {
    position: relative;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    width: 24px;
    height: 24px;
    fill: #575757;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e5e5;
}

.cart-popup.show {
    opacity: 1;
    visibility: visible;
}

.cart-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-popup-close {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
}

.cart-popup-close:hover {
    color: #333;
}

.cart-popup-image {
    width: 60px;
    height: 60px;
    background: #f8f8f8;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #999;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

.cart-popup-view-cart {
    background: none;
    border: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    flex-shrink: 0;
}

.cart-popup-view-cart:hover {
    color: #666;
}

/* ==========================================================================
   14. CART PAGE
   ========================================================================== */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.cart-title {
    font-size: 1.5rem;
    color: #898989;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cart-header {
    display: grid;
    grid-template-columns: 1fr 120px 120px 120px;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #898989;
}

.cart-header > div:nth-child(2) {
    text-align: left;
}

.cart-header > div:nth-child(3) {
    text-align: center;
    padding-left: 0.5rem;
}

.cart-header > div:nth-child(4) {
    text-align: right;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr 120px 120px 120px;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.item-details {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
    background: #f8f9fa;
    overflow: hidden;
    border-radius: 4px;
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
    font-size: 12px;
}

.item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #575757;
}

.item-specs {
    color: #898989;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-remove {
    color: #BCBCBC;
    cursor: pointer;
    font-size: 0.6rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.item-remove:hover {
    color: #999;
}

.item-price {
    text-align: left;
    font-size: 1.1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.quantity-btn {
    background: none;
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 18px;
    color: #575757;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-size: 1rem;
}

.item-total {
    text-align: right;
    font-size: 1.1rem;
    font-weight: 500;
}

.cart-summary {
    display: flex;
    justify-content: flex-end;
    margin-top: 3rem;
}

.summary-box {
    width: 300px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.summary-note {
    color: #898989;
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
    margin: 1rem 0;
}

.checkout-btn {
    width: 100%;
    font-family: "Cormorant Infant", serif;
    padding: 15px 30px;
    border: 1px solid #575757;
    background-color: #fff;
    color: #575757;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.checkout-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border: 1px solid #999;
}

.checkout-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s ease infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: #898989;
}

.empty-cart h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-cart p {
    margin-bottom: 2rem;
}

.error-message {
    background: #e74c3c;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
}

/* ==========================================================================
   15. CONTENT PAGES (SIZING, PRIVACY, RETURNS)
   ========================================================================== */
.jewelry-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-title {
    font-family: "Cormorant Infant", serif;
    font-weight: 700;
    font-size: 50px;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.page-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background-color: #F2CA50;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-sizing-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #575757;
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #575757;
}

.intro-text {
    font-family: "Antic Didone", serif;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sizing-section {
    margin-bottom: 40px;
}

.section-title {
    font-family: "Italiana", sans-serif;
    font-size: 1.3rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 35px 0 15px 0;
    color: #575757;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.method-title {
    font-family: "Italiana", sans-serif;
    font-size: 1.1rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 25px 0 12px 0;
    color: #575757;
}

.sizing-section p {
    font-family: "Antic Didone", serif;
    margin-bottom: 15px;
    color: #575757;
    font-size: 1rem;
    line-height: 1.6;
}

.sizing-section ol {
    margin: 15px 0 25px 20px;
}

.sizing-section ol li {
    font-family: "Antic Didone", serif;
    margin-bottom: 8px;
    color: #575757;
}

.sizing-section ol li strong {
    color: #575757;
    font-weight: 600;
}

.sizing-table {
    width: 100%;
    max-width: 500px;
    margin: 25px auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sizing-table th {
    background-color: #575757;
    color: #fff;
    font-family: "Italiana", sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.9rem;
}

.sizing-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0e0e0;
    color: #575757;
    font-family: "Antic Didone", serif;
    text-align: center;
}

.sizing-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.sizing-table tr:hover {
    background-color: #f5f5f5;
}

/* ==========================================================================
   16. CUSTOM PAGE
   ========================================================================== */
.custom-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 40px;
    font-family: "Cormorant Infant", serif;
    color: #575757;
    line-height: 1.7;
}

.custom-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    color: #898989;
}

.custom-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-align: center;
}

.custom-text.italic {
    font-style: italic;
    color: #555;
}

.custom-text.smaller {
    font-size: 1.1rem;
}

.custom-text p {
    margin-bottom: 30px;
}

/* ==========================================================================
   17. CONTACT PAGE
   ========================================================================== */
.contact-section {
    padding: 6rem 2rem 4rem 2rem;
    background-color: #fff;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
}

.contact-header {
    margin-bottom: 0;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    margin-top: 0;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-header .image-container {
    margin-top: 2rem;
    position: relative;
    height: 300px;
}

.contact-header .image-large {
    width: 70%;
    height: 200px;
    object-fit: cover;
    border: 8px solid #fff;
    display: block;
}

.contact-header .image-small {
    width: 40%;
    height: 150px;
    object-fit: cover;
    border: 8px solid #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
}

.contact-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 3rem;
}

.contact-layout .contact-header {
    flex: 1;
    text-align: left;
}

.contact-form {
    flex: 1;
    max-width: none;
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #666;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid #ddd;
    background-color: #fafafa;
    transition: border-color 0.3s, background-color 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.success-message {
    display: none;
    padding: 2rem;
    background-color: #fafafa;
    text-align: center;
    margin-top: 2rem;
}

.success-message.active {
    display: block;
}

.success-message h3 {
    margin-bottom: 1rem;
}

.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #2e7d32;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #c62828;
}

.loading-indicator {
    display: none;
    text-align: center;
    margin: 1rem 0;
}

.loading-indicator span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    animation: pulse 1.4s infinite ease-in-out both;
}

.loading-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1.0);
    }
}

/* ==========================================================================
   18. NEWSLETTER SECTION
   ========================================================================== */
.newsletter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.sign-up-text {
    font-family: 'Ephesis', cursive;
    font-size: 48px;
    font-weight: 400;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.signup-form {
    flex: 1;
    min-width: 500px;
}

.form-row {
    display: flex;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    color: #666;
    background: #fff;
    outline: none;
    font-family: "Cormorant Infant", serif;
    min-width: 350px;
}

.email-input::placeholder {
    color: #999;
}

.join-button {
    padding: 16px 32px 16px 22px;
    background-color: #666;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: "Italiana", serif;
}

.join-button:hover {
    background-color: #999;
}

.join-button:active {
    transform: translateY(1px);
}

/* ==========================================================================
   19. CAROUSEL & TESTIMONIALS
   ========================================================================== */
.you-may-like {
    grid-column: 1 / -1;
    margin-top: -40px;
    text-align: center;
    background-color: #fafafa;
    padding: 60px 40px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.you-may-like h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #575757;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.you-may-like h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #FFEDB5;
}

.product-carousel {
    position: relative;
    overflow: visible;
    margin-top: 40px;
}

.carousel-nav {
    position: absolute;
    top: -100px;
    transform: none;
    background: #fff;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #f8f8f8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

.nav-icon {
    width: 20px;
    height: 20px;
    stroke: #575757;
    fill: none;
}

.carousel-wrapper {
    overflow: hidden;
    width: calc(5 * 260px + 4 * 20px);
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    justify-content: flex-start;
}

.testimonials-section {
    grid-column: 1 / -1;
    margin-top: 0;
    text-align: center;
    background: #fff;
    padding: 80px 40px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.testimonials-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #575757;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #FFEDB5;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 360px;
    text-align: center;
    padding: 30px 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    font-size: 0.8rem;
    color: #999;
    margin-top: 5px;
}

/* ==========================================================================
   20. FOOTER
   ========================================================================== */
.main-footer {
    background-color: #666;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
}

.footer-content > :nth-child(1) {
    justify-self: start;
}

.footer-content > :nth-child(2) {
    justify-self: center;
}

.footer-content > :nth-child(3) {
    justify-self: end;
}

.footer-content p {
    font-family: "Italiana", sans-serif;
    font-size: 16px;
    color: #f8f8f8;
    margin: 0;
}

.footer-link {
    font-family: "Italiana", sans-serif;
    font-size: 16px;
    color: #f8f8f8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #F2CA50;
}

.lucide-instagram {
    stroke: #F2CA50;
    transition: stroke 0.3s ease;
}

.lucide-instagram:hover {
    stroke: #FE0564;
}

/* ==========================================================================
   21. RESPONSIVE DESIGN - TABLET LANDSCAPE (1024px and below)
   ========================================================================== */
@media (max-width: 1024px) {
    .jewelry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .jewelry-name {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .carousel-wrapper {
        width: calc(3 * 260px + 2 * 20px);
    }

    /* Hero Section */
    .hero-section {
        height: 400px;
    }

    .hero-content {
        padding: 0 60px;
        bottom: 30px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .hero-button {
        padding: 12px 30px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   22. RESPONSIVE DESIGN - TABLET PORTRAIT (768px and below)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 160px !important;
    }

    /* Header & Navigation */
    header {
        padding: 0;
    }

    .main-nav {
        margin-top: 0;
        position: relative;
        height: auto;
        padding: 10px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px; /* 3 bars of 3px + 2 gaps of 6px = 21px */
        padding: 0;
        position: fixed;
        left: 20px;
        top: 110px;
        transform: translateY(-50%);
        z-index: 1001;
    }

    body:has(.main-nav.active) .mobile-menu-toggle,
    .main-nav.active ~ .mobile-menu-toggle {
        display: none;
    }

    .logo {
        width: 200px;
        position: relative;
        margin: 0 auto;
    }

    .logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
    }

    .cart-wrapper {
        position: fixed;
        right: 33px;
        top: 90px;
        z-index: 1002;
        pointer-events: auto;
    }

    .cart-icon {
        color: #F2CA50;
    }

    .cart-icon i {
        color: #F2CA50;
    }

    .cart-desktop {
        display: none;
    }

    .cart-mobile {
        display: block;
        position: fixed;
        right: 33px;
        top: 90px;
        z-index: 1002;
    }

    .cart-mobile .cart-icon {
        font-size: 27px;
    }

    .cart-mobile .cart-icon i {
        color: #F2CA50;
        font-size: 27px;
    }

    .nav-right {
        position: fixed;
        top: 0;
        left: -100%;
        width: 40%;
        max-width: 180px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .main-nav.active .nav-right {
        left: 0;
    }

    .nav-right ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        height: 400px;
        /* padding: 0 15px; */
    }

    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
    }

    .hero-content {
        padding: 0 60px;
        bottom: 30px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        /* font-size: 2.2rem;
        letter-spacing: 2px; */
    }

    .hero-button {
        padding: 12px 30px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-image-container {
        height: 250px;
        width: 250px;
        order: -1;
    }

    .about-content {
        padding: 0;
    }

    .about-title,
    .about-subtitle {
        text-align: center;
    }

    .about-text {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    /* Custom Order Note */
    .custom-order-note {
        max-width: 85%;
        margin-top: 70px;
        padding: 30px 15px;
    }

    .note-text {
        font-size: 17px;
        line-height: 1.7;
    }

    /* Shop Page */
    .cover-image {
        height: 25vh;
    }

    .jewelry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .main-content {
        padding: 3rem 1rem;
    }

    .collection-title h2 {
        font-size: 2rem;
    }

    /* Product Page */
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .product-details-section {
        padding: 60px 40px 80px;
    }

    /* Contact Page */
    .contact-section {
        padding: 4rem 1.5rem 3rem;
    }

    .contact-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-header {
        text-align: center;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .contact-form {
        width: 100%;
    }

    .form-group {
        width: 100%;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-control {
        width: 100%;
        box-sizing: border-box;
    }

    .btn,
    .cta-button {
        width: 100%;
    }

    /* Newsletter */
    .newsletter-section {
        flex-direction: column;
        gap: 20px;
    }

    .sign-up-text {
        font-size: 36px;
        white-space: normal;
        margin-top: -50px;
        margin-bottom: -10px;
    }

    .signup-form {
        min-width: auto;
        width: 100%;
        max-width: 500px;
    }

    .email-input {
        min-width: auto;
    }

    /* Cart Page */
    .cart-container {
        padding: 0 1rem;
    }

    .cart-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .cart-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .item-details {
        flex-direction: row;
        gap: 1rem;
    }

    .item-image {
        width: 100px;
        height: 100px;
    }

    .item-info h3 {
        font-size: 1rem;
    }

    .item-specs {
        font-size: 0.85rem;
    }

    .item-price,
    .quantity-controls,
    .item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }

    .item-price::before {
        content: 'Price:';
        color: #898989;
        font-weight: 500;
    }

    .item-total::before {
        content: 'Total:';
        color: #898989;
        font-weight: 500;
    }

    .item-total {
        text-align: right;
    }

    .quantity-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        gap: 1rem;
    }

    .quantity-controls::before {
        content: 'Quantity:';
        color: #898989;
        font-weight: 500;
    }

    .quantity-btn:first-of-type {
        margin-left: auto;
    }

    .summary-box {
        width: 100%;
    }

    .cart-popup-content {
        padding: 1rem;
    }

    .cart-popup-image {
        width: 50px;
        height: 50px;
    }

    /* Carousel */
    .carousel-wrapper {
        width: calc(2 * 260px + 1 * 20px);
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    /* Footer */
    .main-footer {
        padding: 30px 0;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        align-items: center;
    }

    .footer-content > * {
        justify-self: center !important;
    }

    .footer-left {
        align-items: center;
    }

    /* Content Pages */
    .custom-content {
        padding: 0 20px;
        margin: 40px auto;
    }

    .custom-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .custom-text {
        font-size: 1.1rem;
    }

    .ring-sizing-content {
        padding: 20px 15px;
    }

    .legal-content {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .intro-text {
        font-size: 1rem;
    }
}
/* ==========================================================================
   23. RESPONSIVE DESIGN - MOBILE (639px and below)
   ========================================================================== */
@media (max-width: 639px) {
    body {
        padding-top: 100px;
    }

    /* Hero Section */
    .hero-section {
        height: 350px;
    }

    .hero-section::after {
        background: radial-gradient(ellipse at bottom left, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 30%, transparent 60%);
        height: 120%;
    }

    .hero-content {
        position: absolute;
        bottom: 25px;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        gap: 20px;
    }

    .hero-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: clamp(1rem, 5.5vw, 3rem);
        /* font-size: 1.8rem;
        line-height: 1.3; */
    }

    /* About Section */
    .about-title .script-text {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
        font-size: 4rem;
    }

    /* Custom Order Note */
    .custom-order-note {
        max-width: 95%;
        margin-top: 50px;
        padding: 20px 10px;
    }

    .note-text {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .custom-order-note-tight {
        max-width: 92%;
        padding: 25px 12px;
    }

    .custom-order-note-tight .note-text {
        margin-bottom: 0;
    }

    .cta-button {
        display: block;
        width: 90%;
        margin: 15px auto 0;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Contact Page */
    .contact-section {
        padding: 3.5rem 1rem 2rem;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

    .contact-header h1 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .contact-header p {
        font-size: 0.9rem;
    }

    .contact-layout {
        margin-top: 2rem;
    }

    .form-control {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    textarea.form-control {
        min-height: 120px;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .success-message {
        padding: 1.5rem;
    }

    /* Cart Page */
    .item-image {
        width: 80px;
        height: 80px;
        max-width: none;
    }

    .cart-container {
        margin: 1rem auto;
        padding: 0 1rem;
    }

    .cart-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cart-item {
        padding: 1rem 0;
    }

    .item-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-info {
        width: 100%;
    }

    .item-info h3 {
        font-size: 1.1rem;
    }

    .item-remove {
        margin-top: 0.25rem;
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .quantity-display {
        min-width: 50px;
        font-size: 1.1rem;
    }

    .item-price,
    .item-total {
        font-size: 1rem;
    }

    .cart-summary {
        margin-top: 2rem;
    }

    .summary-row {
        font-size: 1.1rem;
    }

    .summary-note {
        font-size: 0.85rem;
    }

    .checkout-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .empty-cart {
        padding: 3rem 1rem;
    }

    .empty-cart h3 {
        font-size: 1.3rem;
    }

    .empty-cart p {
        font-size: 0.95rem;
    }

    /* Content Pages */
    .custom-title {
        font-size: 2rem;
    }

    .custom-text {
        font-size: 1rem;
    }

    .page-title {
        font-size: 32px;
    }

    .intro-text {
        font-size: 16px;
    }

    .sizing-table {
        font-size: 0.9rem;
    }

    .sizing-table th,
    .sizing-table td {
        padding: 10px 8px;
    }

    /* Newsletter */
    .form-row {
        flex-direction: column;
        border-radius: 4px;
    }

    .email-input {
        border-radius: 4px 4px 0 0;
        border-bottom: 1px solid #ddd;
    }

    .join-button {
        border-radius: 0 0 4px 4px;
    }

    /* Carousel */
    .carousel-wrapper {
        width: 100%;
        max-width: 280px;
    }

    .you-may-like,
    .testimonials-section {
        padding: 40px 20px;
    }

    /* Product Details Section */
    .product-details-section {
        padding: 40px 20px 60px;
    }
}
