/* CrossTimber Navigation Styles - Scoped with ct-nav prefix */
.hide-for-later {
    display: none !important;
}

.ct-nav {
    --primary-color: #3da5d9;
    --secondary-color: #2a628f;
    --accent-color: #16425b;
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-color: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    
    /* Product-specific colors */
    --pl-gradient: linear-gradient(to right, #d6e9f8, #ffffff);
    --et-gradient: linear-gradient(to right, #d6f8f5, #ffffff);
    --mg-gradient: linear-gradient(to right, #f8f6d6, #ffffff);
    --mb-gradient: linear-gradient(to right, #ead6f8, #ffffff);
    --bm-gradient: linear-gradient(to right, #f0e6d6, #ffffff);
    --nc-gradient: linear-gradient(to right, #f8e1d6, #ffffff);
    --gc-gradient: linear-gradient(to right, #d6f0f0, #ffffff);
    --ns-gradient: linear-gradient(to right, #f8f0d6, #ffffff);
    
    /* FAQ and Research gradients */
    --faq-gradient: linear-gradient(to right, #d6f0e0, #d6f0f0);
    --research-gradient: linear-gradient(to right, #d6f0d6, #e0f0d6);
}

.ct-nav * {
    box-sizing: border-box;
}

/* Header Styles */
.ct-nav-header {
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.ct-nav-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Reduced from 15px to 10px */
    margin-bottom: -20px; /* Changed from -10px to -20px */
}

.ct-nav-logo {
    display: block;
    max-width: 312.5px; /* 25% larger than 250px */
    margin-left: 15%; /* Added 15% left margin */
    position: relative;
    z-index: 1010; /* Increased z-index for logo */
}

.ct-nav-logo img {
    width: 100%;
    height: auto;
}

.ct-nav-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-nav-search-form {
    position: relative;
    width: 300px;
    display: none; /* Hidden as requested */
}

.ct-nav-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
}

.ct-nav-search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
}

.ct-nav-contact-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'Overlock', sans-serif;
}

.ct-nav-contact-phone:hover {
    text-decoration: none;
    color: var(--accent-color);
}

.ct-nav-cart-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Overlock', sans-serif;
}

.ct-nav-cart-button:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    color: var(--light-color);
}

/* Main Navigation */
.ct-main-nav {
    background-color: #d6e9f8;
    color: var(--dark-color);
    position: relative;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3);
}

.ct-nav-container {
    display: flex;
    justify-content: space-between;
}

.ct-nav-tabs {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-nav-tab {
    position: static;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
    font-family: 'Overlock', sans-serif;
}

/* How to Order button styling - reduced size */
.ct-nav-tab.ct-how-to-order {
    border: 2px dashed #999;
    border-radius: 6px; /* Reduced from 8px */
    margin: 8px 5px;
    padding: 6px 10px; /* Reduced from 10px 15px */
}

.ct-nav-tab > span,
.ct-nav-tab > a {
    color: var(--dark-color);
    text-decoration: none;
    text-shadow: 0 0 2px rgba(255,255,255,0.7);
}

.ct-nav-tab:hover {
    background-color: rgba(0,0,0,0.1);
}

.ct-nav-tab.active {
    background-color: rgba(0,0,0,0.15);
}

.ct-nav-tab-content {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(240,248,255,0.80); /* Background with 80% opacity */
    color: var(--dark-color);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    margin: 0 auto; /* Center the megamenu */
    padding: 15px 0; /* Reduced from 10px to 15px */
    border-radius: 35px; /* Increased from 50px to 35px */
    max-width: 90%; /* Added to make megamenu thinner */
}

.ct-nav-tab-content-inner {
    margin: 0 15px;
}

.ct-nav-tab.active .ct-nav-tab-content {
    opacity: 1; /* Set to 1 when active */
    visibility: visible;
    transform: translateY(0);
}

/* Close button for megamenus */
.ct-megamenu-close {
    position: absolute;
    top: 15px;
    right: 30px; /* Adjusted to account for the 75px margin */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    z-index: 101;
}

/* Mega Menu - Products Path */
.ct-products-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    row-gap: 15px; /* Reduced from 30px to 15px */
}

.ct-product-category {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
    margin: 0 7.5px 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 30px; /* Changed from 5px to 30px */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ct-product-title {
    font-family: 'Overlock', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0;
    text-align: center;
    padding: 5px 0;
}

.ct-product-icon {
    width: 100%;
    height: auto;
    margin-bottom: 0; /* Removed vertical gap */
    border-radius: 3px;
    overflow: hidden;
}

.ct-product-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.ct-product-description {
    font-family: 'Handlee', cursive;
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 0; /* Removed vertical gap */
    flex-grow: 1;
    line-height: 1.4;
    padding: 10px;
}

.ct-product-themes {
    margin: 0; /* Removed vertical gap */
    padding: 10px;
}

.ct-product-themes-title {
    font-family: 'Overlock', sans-serif;
    font-size: 16.8px; /* Increased by 20% from 14px */
    font-weight: bold;
    margin: 0;
    display: inline-block;
}

.ct-product-themes-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: 5px;
}

.ct-product-theme-link {
    font-size: 12px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.ct-product-theme-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.ct-product-theme-link:not(:last-child)::after {
    content: "•";
    margin: 0 5px;
    color: #000; /* Changed from var(--border-color) to black */
}

.ct-all-themes-container {
    display: flex;
    align-items: center;
    padding: 10px;
    /* Removed border-top */
}

/* Removed .ct-all-themes-title */

.ct-all-themes-scroll {
    flex-grow: 1;
    overflow-x: hidden; /* Changed from auto to hidden */
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
    padding: 5px 0;
}

.ct-all-themes-scroll::-webkit-scrollbar {
    height: 4px;
}

.ct-all-themes-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.ct-all-themes-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
}

.ct-all-themes-list {
    display: inline-flex;
    gap: 10px;
}

.ct-all-theme-link {
    font-size: 12px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.ct-all-theme-link:hover {
    color: var(--primary-color);
}

.ct-scroll-arrow,
.ct-scroll-arrow-left {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 16px;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

.ct-scroll-arrow:hover,
.ct-scroll-arrow-left:hover {
    color: var(--primary-color);
}

.ct-product-cta {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
    font-family: 'Overlock', sans-serif;
    margin-left: 0; /* Changed from 5px to 0 */
}

.ct-product-cta:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    color: var(--light-color);
}

/* Product-specific gradients */
.ct-product-pl {
    background: var(--pl-gradient);
}
.ct-product-et {
    background: var(--et-gradient);
}
.ct-product-mg {
    background: var(--mg-gradient);
}
.ct-product-mb {
    background: var(--mb-gradient);
}
.ct-product-bm {
    background: var(--bm-gradient);
}
.ct-product-nc {
    background: var(--nc-gradient);
}
.ct-product-gc {
    background: var(--gc-gradient);
}
.ct-product-ns {
    background: var(--ns-gradient);
}

/* Coming soon card */
.ct-product-coming-soon {
    position: relative;
    overflow: hidden;
}

.ct-product-coming-soon::after {
    content: "Online Soon!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 5;
}

/* Disable all links and buttons in coming soon products */
.ct-product-coming-soon .ct-product-cta,
.ct-product-coming-soon .ct-product-themes,
.ct-product-coming-soon a,
.ct-product-coming-soon button {
    opacity: 0.5;
    pointer-events: none; /* This prevents clicks */
    cursor: default; /* Changes cursor to default instead of pointer */
}

/* Mega Menu - More Gifts Path */
.ct-more-gifts-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    row-gap: 15px;
}

.ct-gift-category {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    margin: 0 7.5px 15px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 30px; /* Changed from 5px to 30px */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ct-gift-title {
    font-family: 'Overlock', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    text-align: center;
}

.ct-gift-icon {
    width: 100%;
    height: auto;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ct-gift-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.ct-gift-description {
    font-family: 'Handlee', cursive;
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.ct-gift-cta {
    display: inline-block;
    width: 100%;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: var(--transition);
    text-align: center;
    font-family: 'Overlock', sans-serif;
}

.ct-gift-cta:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    color: var(--light-color);
}

/* Secondary Navigation */
.ct-secondary-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-secondary-nav-item {
    padding: 15px 20px;
    font-weight: bold;
    transition: var(--transition);
    position: relative;

    font-family: 'Overlock', sans-serif;
}

.ct-secondary-nav-item:hover {
    background-color: rgba(0,0,0,0.1);
}

.ct-secondary-nav-item > a {
    color: var(--dark-color);
    text-decoration: none;
    text-shadow: 0 0 2px rgba(255,255,255,0.7);
}

.ct-secondary-nav-item > a:hover {
    text-decoration: none;
}

.ct-dropdown-content {
    position: absolute;
    right: 0;
    min-width: 250px;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    padding: 15px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.ct-secondary-nav-item.active .ct-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-dropdown-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.ct-dropdown-phone {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
}

.ct-dropdown-phone:hover {
    text-decoration: none;
}

.ct-dropdown-item {
    display: block;
    padding: 8px 0;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.ct-dropdown-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.ct-dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.ct-small-caps {
    font-variant: small-caps;
}

/* FAQ and Research dropdown styles */
.ct-faq-dropdown {
    background: var(--faq-gradient);
}

.ct-research-dropdown {
    background: var(--research-gradient);
}

/* Sticky Navigation */
.ct-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.ct-sticky-nav.visible {
    transform: translateY(0);
}

.ct-sticky-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.ct-sticky-logo {
    max-width: 180px;
}

.ct-sticky-logo img {
    width: 100%;
    height: auto;
}

.ct-sticky-nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ct-sticky-search {
    width: 200px;
    display: none; /* Hidden as requested */
}

.ct-side-menu-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Overlock', sans-serif;
}

.ct-side-menu-button:hover {
    background-color: var(--accent-color);
}

/* Mobile Navigation */
.ct-mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Overlock', sans-serif;
}

.ct-mobile-menu-toggle:hover {
    background-color: var(--accent-color);
}

.ct-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.ct-mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.ct-mobile-nav-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background-color: white;
    overflow-y: auto;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 1.4s ease; /* Slowed from 0.3s to 1.4s */
}

.ct-mobile-nav.active .ct-mobile-nav-container {
    transform: translateX(0);
}

.ct-mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

.ct-mobile-nav-header {
    padding: 20px 0;
    text-align: center;
}

.ct-mobile-nav-logo {
    max-width: 180px;
    margin: 0 auto;
}

.ct-mobile-nav-logo img {
    width: 100%;
    height: auto;
}

.ct-mobile-nav-phone {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    color: var(--secondary-color);
    margin: 10px 0 5px; /* Reduced bottom margin from 10px to 5px */
    text-decoration: none;
}

.ct-mobile-nav-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

.ct-mobile-nav-search {
    margin-bottom: 20px;
    display: none; /* Hidden as requested */
}

.ct-mobile-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ct-mobile-tab {
    flex: 0 0 48%;
    text-align: center;
}

.ct-mobile-tab-button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Overlock', sans-serif;
    color: var(--dark-color);
    font-size: 18px; /* Increased font size */
}

.ct-mobile-faq-button {
    background: var(--faq-gradient);
}

.ct-mobile-research-button {
    background: var(--research-gradient);
}

.ct-mobile-tab-content {
    display: none;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    width: 100%;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { max-height: 0; opacity: 0; }
    to { max-height: 500px; opacity: 1; }
}

.ct-mobile-faq-content {
    background: var(--faq-gradient);
}

.ct-mobile-research-content {
    background: var(--research-gradient);
}

.ct-mobile-tab-content.active {
    display: block;
}

.ct-mobile-tab-item {
    display: block;
    padding: 8px 0;
    color: var(--dark-color);
    text-decoration: none;
}

.ct-mobile-tab-divider {
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    margin: 8px 0;
}

.ct-mobile-nav-category {
    margin-bottom: 15px;
    text-align: center;
}

.ct-mobile-nav-category-title {
    font-family: 'Overlock', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.ct-mobile-nav-product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.ct-mobile-nav-product {
    flex: 0 0 calc(50% - 5px);
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-color);
}

.ct-mobile-nav-product:hover {
    background-color: #e0e0e0;
    text-decoration: none;
    color: var(--dark-color);
}

.ct-mobile-nav-product img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    margin-bottom: 5px;
    object-fit: cover;
}

.ct-mobile-nav-product-name {
    font-size: 12px;
    font-weight: bold;
    font-family: 'Overlock', sans-serif;
}

.ct-mobile-nav-menu {
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

.ct-mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.ct-mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-weight: bold;
    color: var(--dark-color);
    text-decoration: none;
    font-family: 'Overlock', sans-serif;
}

.ct-mobile-nav-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.ct-mobile-nav-submenu {
    display: none;
    padding-left: 20px;
    margin-bottom: 15px;
    list-style: none;
}

.ct-mobile-nav-submenu.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.ct-mobile-nav-subitem {
    padding: 10px 0;
}

.ct-mobile-nav-subitem a {
    color: var(--dark-color);
    text-decoration: none;
}

.ct-mobile-nav-subitem a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.ct-mobile-contact-phone {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-decoration: none;
}

.ct-mobile-contact-phone:hover {
    text-decoration: none;
}

/* Product-specific submenu */
.ct-product-submenu {
    background-color: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.ct-product-submenu-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ct-product-submenu-title {
    font-family: 'Overlock', sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-right: 20px;
    padding: 10px 0;
}

.ct-product-submenu-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.ct-product-submenu-tab {
    position: relative;
}

.ct-product-submenu-tab > a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Overlock', sans-serif;
}

.ct-product-submenu-tab:hover > a {
    background-color: rgba(0,0,0,0.05);
}

.ct-product-submenu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.ct-product-submenu-tab.active .ct-product-submenu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-product-submenu-item {
    display: block;
    padding: 8px 15px;
    color: var(--dark-color);
    text-decoration: none;
}

.ct-product-submenu-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.ct-product-submenu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 5px 0;
}

/* Product-specific submenu colors */
.ct-product-submenu-pl {
    background: var(--pl-gradient);
}
.ct-product-submenu-et {
    background: var(--et-gradient);
}
.ct-product-submenu-mg {
    background: var(--mg-gradient);
}
.ct-product-submenu-mb {
    background: var(--mb-gradient);
}
.ct-product-submenu-bm {
    background: var(--bm-gradient);
}
.ct-product-submenu-nc {
    background: var(--nc-gradient);
}
.ct-product-submenu-gc {
    background: var(--gc-gradient);
}
.ct-product-submenu-ns {
    background: var(--ns-gradient);
}

/* How to Order Styles - Adapted from modal */
.ct-how-to-order-container {
    width: 100%;
    max-width: 100%;
}

.ct-how-to-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 700;
}

.ct-how-to-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.ct-step-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: 10px 0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.ct-step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.ct-step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #3da5d9;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.ct-step-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ct-step-text {
    flex-grow: 1;
}

.ct-step-content h3 {
    font-family: 'Handlee', cursive;
    color: #3da5d9;
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 15px;
}

.ct-step-content p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.ct-step-image {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #eee;
}

.ct-step-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ct-step-box:hover .ct-step-image img {
    transform: scale(1.03);
}

.ct-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3da5d9;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    border-radius: 50%;
    border: 2px solid #3da5d9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 5;
}

.ct-step-arrow.ct-desktop-arrow {
    margin-left: -25px;
    margin-right: -25px;
}

.ct-step-arrow svg {
    width: 30px;
    height: 30px;
}

.ct-desktop-arrow {
    display: none;
}

.ct-cta-container {
    text-align: center;
    margin-top: 10px;
}

.ct-cta-button {
    display: inline-block;
    background: #3da5d9;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(61, 165, 217, 0.3);
}

.ct-cta-button:hover {
    background: #2b8cb8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(61, 165, 217, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles for How to Order */
@media (min-width: 768px) {
    .ct-how-to-steps {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        grid-gap: 26px;
        flex-direction: row;
    }

    
    .ct-step-box {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .ct-mobile-arrow {
        display: none;
    }

    .ct-desktop-arrow {
        display: flex;
    }
    
    .ct-step-image img {
        max-width: 269px;
        max-height: 232px;
        margin: 0 auto;
    }
}

/* Responsive Styles */
@media (min-width: 1350px) {
    .ct-product-category {
        flex: 0 0 calc(25% - 15px); /* 4 columns for larger screens */
        max-width: calc(25% - 15px);
    }
    
    .ct-gift-category {
        flex: 0 0 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

@media (min-width: 900px) and (max-width: 1349px) {
    .ct-product-category {
        flex: 0 0 calc(33.333% - 15px); /* 3 columns for medium screens */
        max-width: calc(33.333% - 15px);
    }
    
    .ct-gift-category {
        flex: 0 0 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

@media (min-width: 601px) and (max-width: 899px) {
    .ct-product-category {
        flex: 0 0 calc(50% - 15px); /* 2 columns for smaller screens */
        max-width: calc(50% - 15px);
    }
    
    .ct-gift-category {
        flex: 0 0 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

@media (max-width: 600px) {
    .ct-nav-header-top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .ct-nav-logo {
        margin: 0 auto;
        max-width: 375px; /* 50% larger at 768px breakpoint */
    }
    
    .ct-nav-header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .ct-main-nav {
        display: none; /* Hide main nav on mobile */
    }
    
    .ct-mobile-menu-toggle {
        display: flex; /* Show mobile menu toggle */
    }
    
    .ct-product-submenu {
        display: none; /* Hide product submenu on mobile */
    }
    
    .ct-sticky-nav {
        display: block;
    }
    
    .ct-sticky-nav.visible {
        transform: translateY(0);
    }

    .ct-nav-tab-content-inner {
        margin: 0 20px; /* Reduced margin on mobile */
    }

    .ct-megamenu-close {
        right: 20px; /* Adjusted position on mobile */
    }
    
    .ct-gift-category {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .ct-nav-header-actions {
        flex-wrap: wrap;
    }
    
    .ct-sticky-nav-container {
        padding: 10px 15px;
    }
    
    .ct-sticky-logo {
        max-width: 150px;
    }
    
    .ct-gift-category {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .ct-mobile-nav-product {
        flex: 0 0 calc(50% - 5px);
    }
    
    .ct-mobile-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .ct-mobile-tab {
        flex: 0 0 100%;
    }

    .ct-how-to-title {
        font-size: 1.8rem;
    }

    .ct-step-box {
        padding: 15px;
    }
    
    .ct-step-content h3 {
        font-size: 1.3rem;
    }
    
    .ct-cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ct-gift-category {
        flex: 0 0 calc(100% - 15px);
        max-width: calc(100% - 15px);
    }
}
@media (max-width: 830px) {
    .ct-nav-logo {
        margin-left: 15px; /* Reduce from 15% to 15px */
    }
}
/* Mobile How to Order Panel */
.ct-mobile-how-to-order {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    display: none;
}

.ct-mobile-how-to-order.active {
    display: block;
}

.ct-mobile-how-to-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    z-index: 2001;
}

/* Make How to Order responsive at all viewport sizes */
@media (max-width: 600px) {
    .ct-mobile-how-to-order .ct-how-to-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        margin-top: 30px;
    }
    
    .ct-mobile-how-to-order .ct-step-box {
        padding: 15px;
    }
    
    .ct-mobile-how-to-order .ct-step-content h3 {
        font-size: 1.3rem;
    }
}

.btn-next {
  font-size: 24px !important;
  padding: 15px 30px !important;
  transform: none !important;
  transition: none !important;
  background-color: #3da5d9;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-next:hover {
  background-color: #2980b9;
}

/* Remove margin from container inside navigation */

/* Reduce gaps in Panel 2 */
.panel-2 .panel-header {
  margin-bottom: 15px !important;
}

.item-title-area {
  margin-bottom: 15px !important;
}

.horizontal-menu-container {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

#similar-designs-title {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

.preview-section {
  margin-top: 15px !important;
}

/* Remove gap between order form and footer */
.footer-info-cards {
  margin-top: 20px !important;
}

.panel-container {
  margin-bottom: 20px !important;
}

main.container {
  margin-bottom: 20px !important;
}


body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}