

/* deploy test */

/* Fallback for selects without wrapper - use background-image */
.tmplv3 > select,
.tmplv3 .store-section-body > select { background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E'); background-size: 24px 24px; background-repeat: no-repeat; background-position: right 12px center; transition: background-image 0.2s ease; }
.tmplv3 > select.is-open,
.tmplv3 .store-section-body > select.is-open { background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M6.3429 10.5859L4.9287 9.1717L12 2.1006L19.0711 9.1717L17.6569 10.5859L12 4.9291L6.3429 10.5859Z\' fill=\'black\'/%3E%3C/svg%3E'); }

.tmplv3 ul { list-style: none; margin: 0; padding: 0; }

.tmplv3 button:focus:not(:focus-visible) {  }

.tmplv3 input[type="checkbox"]:focus + label,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
input[type="submit"]:focus,
.tmplv3 *:focus-visible {.tmplv3 .square-checkbox label
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-radius: 4px;
}

.tmplv3 .desktop { display: none !important; }
.tmplv3 .tablet { display: none !important; }
.tmplv3 .mobile { display: block !important; }


/* Flex variants for visibility classes */
.tmplv3 .desktop.flex { display: none !important; }
.tmplv3 .tablet.flex { display: none !important; }
.tmplv3 .mobile.flex { display: flex !important; }


.tmplv3 .btn { border-radius: 50px; padding: 6px 24px; }
.tmplv3 .btn-school:hover,
.tmplv3 .btn-school:focus-visible { text-decoration: underline; }
.tmplv3 .btn-school:hover,
.tmplv3 .btn-school:focus,
.tmplv3 .btn-school.focus,
.tmplv3 .btn-school:active,
.tmplv3 .btn-school.active,
.tmplv3 .open > .dropdown-toggle.btn-school {
  background-color: #000000;
  border-color: #000000;
}

.tmplv3 .btn[disabled] { background-color: #BFBFBF; border-color: #BFBFBF; color: #4d4d4d; cursor: not-allowed; }

@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-spinner {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-left: 0.5em;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    vertical-align: middle;
}

/* Disabled form elements */
.tmplv3 input[type="text"]:disabled,
.tmplv3 input[type="email"]:disabled,
.tmplv3 input[type="tel"]:disabled,
.tmplv3 input[type="password"]:disabled,
.tmplv3 input[type="number"]:disabled,
.tmplv3 select:disabled,
.tmplv3 textarea:disabled {
    border-color: #767676;
    color: #767676;
    cursor: not-allowed;
    background-color: #fff;
    opacity: 1;
}

.tmplv3 input[type="text"]:disabled::placeholder,
.tmplv3 input[type="email"]:disabled::placeholder,
.tmplv3 input[type="tel"]:disabled::placeholder,
.tmplv3 input[type="password"]:disabled::placeholder,
.tmplv3 input[type="number"]:disabled::placeholder,
.tmplv3 textarea:disabled::placeholder {
    color: #767676;
}

.tmplv3 input[type="checkbox"]:disabled,
.tmplv3 input[type="radio"]:disabled {
    accent-color: #767676;
    cursor: not-allowed;
}

.tmplv3 input[type="checkbox"]:disabled + label,
.tmplv3 input[type="radio"]:disabled + label,
.tmplv3 label:has(+ input:disabled),
.tmplv3 label:has(input:disabled) {
    color: #767676;
    cursor: not-allowed;
}

.tmplv3 header {
    width: 100%;
    background-color: #fff;
}

.tmplv3 label { margin: 0; }

.tmplv3 h2 { text-align: center; margin: 0 0 24px 0; font-family: Nexa-Bold; font-size: 26px; font-weight: 400; padding: 0; }

.tmplv3 .error-message {
    color: #C41230;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.tmplv3 .error-message a { text-decoration: underline; color: #333; }

.tmplv3 .field-error-message { display: block; color: #C41230; font-family: 'Nexa-Regular', sans-serif; font-size: 13px; margin-top: 4px; }

.tmplv3 .container { padding: 0 20px; margin: 0 auto; }

.tmplv3 .header-wrapper {
    margin: 0 auto;
}

.tmplv3 #skipnavigation {
    scroll-margin-top: 80px;
}

.tmplv3 .announcement-carousel {
    background-color: #000;
    color: #fff;
    width: 100%;
    height: 40px;
    overflow: hidden;
    display: flex;
}

.tmplv3 .announcement-carousel a {
    color: #fff;
    text-decoration: underline;
}

.tmplv3 .announcement-carousel-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 40px;
}

/* Navigation buttons */
.tmplv3 .announcement-nav {
    background: transparent;
    border: 2px dotted transparent;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border 0.2s ease, opacity 0.2s ease;
}

.tmplv3 .announcement-nav-prev {
    margin-left: 10px;
}

.tmplv3 .announcement-nav:hover,
.tmplv3 .announcement-nav:focus-visible {
    border: 2px dotted #fff;
}

.tmplv3 .announcement-nav svg {
    display: block;
}

/* Track wrapper */
.tmplv3 .announcement-track-wrapper {
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Announcement track */
.tmplv3 .announcement-track {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slides */
.tmplv3 .announcement-slide {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.tmplv3 .announcement-slide a { padding: 5px 10px; }
.tmplv3 .announcement-slide a:hover,
.tmplv3 .announcement-slide a:focus-visible { border: 2px dotted #fff; border-radius: 10px; }

.tmplv3 .announcement-slide.active {
    opacity: 1;
    visibility: visible;
}

.tmplv3 .announcement-slide strong {
    font-family: 'Nexa-Bold';
    font-weight: 400;
}

/* Pause wrapper */
.tmplv3 .announcement-pause-wrapper {
    display: flex;
    padding-right: 15px;
}

.tmplv3 .announcement-nav-next { margin-right: 8px; }

/* Pause button */
.tmplv3 .announcement-pause {
    background: transparent;
    border: 2px dotted transparent;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
    opacity: 0.8;
    margin-right: 8px;
}

.tmplv3 .announcement-pause:hover,
.tmplv3 .announcement-pause:focus-visible {
    border: 2px dotted #fff;
}

.tmplv3 .announcement-pause svg {
    display: block;
}

.tmplv3 .announcement-pause .icon-play { display: none; }


/* ==========================================
   MAIN HEADER
   ========================================== */
.tmplv3 .header-main {
    display: flex;
    align-items: center;
    padding: 0 20px 12px 20px;;
    gap: 5px;
    flex-wrap: nowrap;
    max-width: 1512px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #fff;
}

@media (max-width: 1099px) {
    .tmplv3 .header-main {
        height: 70px;
        padding-bottom: 0;
    }
}


/* Logo */
.tmplv3 .header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tmplv3 .header-logo a {
    display: block;
    text-decoration: none;
}

.tmplv3 .header-logo img {
    height: 60px;
    width: auto;
    max-width: 225px;
    display: block;
}

/* Search form */
.tmplv3 .header-search {
    display: none;
}

/* Header actions container */
.tmplv3 .header-actions {
    flex: 0 0 auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.tmplv3 .header-actions .header-store { position: static; width: 0; height: 0; overflow: visible; }
.tmplv3 .header-actions .header-store .header-store-toggle { display: none; }
.tmplv3 .header-actions .header-signin .d { display: none; }
.tmplv3 .header-actions .header-help { display: none; }

/* Individual header action */
.tmplv3 .header-action {
    position: relative;
}

.tmplv3 .header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 3px;
    border: none;
    color: #231F20;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Nexa-Regular';
    cursor: pointer;
    text-align: center;
}

.tmplv3 .header-cart-btn .cart-icon {
    display: block;
}

.tmplv3 .header-cart-btn .cart-path {
    fill: black;
}

.tmplv3 .header-cart-btn .cart-icon .cart-rect { 
    transition: opacity 0.2s ease;
    opacity: 0 !important;
    fill: black;
}
.tmplv3 .header-cart-btn:hover .cart-icon .cart-rect,
.tmplv3 .header-cart-btn:focus .cart-icon .cart-rect,
.tmplv3 .header-cart-btn:focus-visible .cart-icon .cart-rect { 
    opacity: 1 !important; 
}


.tmplv3 .header-action-btn:hover,
.tmplv3 .header-action-btn:focus-visible { text-decoration: underline; }

.tmplv3 .header-action-btn svg {
    display: block;
    flex-shrink: 0;
}

.tmplv3 .header-action-text {
    display: block;
    white-space: nowrap;
}

/* Cart specific styles */
.tmplv3 .header-cart-btn {
    position: relative;
}

.tmplv3 .header-cart-badge {
    position: absolute;
    top: 0;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: #000000;
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-family: 'Nexa-Bold';
    box-sizing: border-box;
    pointer-events: none;
}

.tmplv3 .header-cart-count {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    padding: 6px 10px;
    min-width: 60px;
    width: max-content;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    background-color: #E9E9EA;
    border-radius: 4px;
    white-space: nowrap;
}

/* Tooltip arrow pointing up */
.tmplv3 .header-cart-count::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #E9E9EA;
}

/* Show cart count on hover or focus */
.tmplv3 .header-cart:hover .header-cart-count,
.tmplv3 .header-cart:focus-within .header-cart-count {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.tmplv3 .header-main button { border: 0; }

.tmplv3 .close-x { margin-bottom: 20px; }

/* Store section backdrop - mobile and tablet only */
.tmplv3 .popup-backdrop {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999 !important;
    display: block;
    pointer-events: auto;
}

.tmplv3 .popup-backdrop[hidden] {
    display: none;
}

/* Lift header-main stacking context above popup-backdrop when store drawer is open */
.tmplv3 .header-main.store-open {
    z-index: 10000;
}

.tmplv3 .store-section {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    z-index: 10000 !important;
    background: #fff;
    overflow-y: auto;
    pointer-events: auto !important;
}

.tmplv3 .icon-button {
    border: 0;
    background: transparent;
}

.tmplv3 .choose-store-icon { margin-left: 12px; }



/* Hidden state for dropdown */
.tmplv3 .store-section[hidden] {
    display: none;
}

.tmplv3 .store-section .current-store { margin: 20px 0; }
.tmplv3 .store-section .current { text-transform: uppercase; font-size: 12px; margin-bottom: 4px; }
.tmplv3 .store-section .store { font-size: 16px; font-weight: 700;}

.tmplv3 .store-section-body {
    display: flex;
    flex-direction: column;
}

.tmplv3 .store-section-body .store-section-title { font-size: 20px; font-family: 'Nexa-Bold'; margin: 0 0 12px 0; }
.tmplv3 .store-section-body .select-wrapper { margin-bottom: 20px; }

#choose-store-error { color: #C41230; margin-bottom: 20px; display: none; }

.tmplv3 .store-section-body .custom-message {
    display: none;
    color: #C41230;
    font-size: 16px;
    margin: 20px 0 0 0;
}


/* Animated rotation for selects with wrapper */
.tmplv3 .select-wrapper {
    position: relative;
}

.tmplv3 .select-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -12px;
    transform: rotate(0deg);
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    transition: transform 0.2s ease;
    z-index: 1;
    transform-origin: center;
}

.tmplv3 .select-wrapper.is-open::after {
    transform: rotate(180deg);
}

.tmplv3 .select-wrapper select {
    background-image: none !important;
}

/* Fallback for selects without wrapper - use background-image */
.tmplv3 > select,
.tmplv3 .store-section-body > select {
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: background-image 0.2s ease;
}

.tmplv3 > select.is-open,
.tmplv3 .store-section-body > select.is-open {
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M6.3429 13.4143L4.9287 12.0001L12 4.929L19.0711 12.0001L17.6569 13.4143L12 7.7575L6.3429 13.4143Z\' fill=\'black\'/%3E%3C/svg%3E');
}

.tmplv3 .store-section-btn {
    padding: 10px 20px;
    font-size: 18px;
    align-self: flex-start;
    width: 100%;
}

.tmplv3 .mobi-search { margin: 0 20px; }
.tmplv3 .header-search-form {
    display: flex;
    flex: 1;
    align-items: center;
    border: 1px solid #58585b;
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tmplv3 .header-search-form:has(input:focus) {
    outline: 2px dotted #000;
    outline-offset: 2px;
}

.tmplv3 .header-search-form input[type="text"] {
    flex: 1;
    border: none;
    background: #fff;
    font-size: 16px;
    font-family: 'Nexa-Regular';
    outline: none;
    min-width: 0;
    margin-left: 25px;
    color: #333;
}

.tmplv3 .header-search-form input[type="text"]::placeholder {
    color: #888;
}

.tmplv3 .header-search-form button {
    background: #fff;
    border: none;
    margin: 15px;
    cursor: pointer;
    color: #58585D;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}


.tmplv3 .header-search-form button svg {
    display: block;
}

.tmplv3 .header-search-form button svg path {
    fill: #58585D;
}

/* ==========================================
   MENU BAR - Base styles (apply to all sizes)
   ========================================== */

/* Navigation trigger button - base styles */
.tmplv3 .header-menu-bar .nav-trigger {
    display: flex;
    background: transparent;
    border: none;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.5px;
    text-decoration: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    text-align: left;
}

.tmplv3 .header-menu-bar a.nav-trigger:hover,
.tmplv3 .header-menu-bar a.nav-trigger:focus-visible {
    text-decoration: underline;
}

.tmplv3 .header-menu-bar .nav-trigger-text {
    position: relative;
    z-index: 1;
}

/* Animated underline - base styles */
.tmplv3 .header-menu-bar .nav-trigger-underline {
    position: absolute;
    bottom: 11px;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #000000;
    transition: width 0.3s ease;
}


/* Nav trigger hover/focus underline - mobile/tablet default */
.tmplv3 .header-menu-bar .nav-trigger:hover .nav-trigger-text,
.tmplv3 .header-menu-bar .nav-trigger:focus-visible .nav-trigger-text {
    text-decoration: underline;
}

/* Inner wrapper for menu content - base */
.tmplv3 .header-menu-bar .nav-menu-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: fit-content;
}

/* Category lists - base styles */
.tmplv3 .header-menu-bar .nav-category-list,
.tmplv3 .header-menu-bar .nav-category-list-nowrap,
.tmplv3 .header-menu-bar .nav-category-list-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Category links - base styles (padding set in mobile/desktop sections) */
.tmplv3 .header-menu-bar .nav-category-list a,
.tmplv3 .header-menu-bar .nav-category-list-nowrap a,
.tmplv3 .header-menu-bar .nav-category-list-wrap a {
    display: block;
    font-family: 'Nexa-Book';
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tmplv3 .header-menu-bar .nav-category-list .level-name,
.tmplv3 .header-menu-bar .nav-category-list-nowrap .level-name,
.tmplv3 .header-menu-bar .nav-category-list-wrap .level-name {
    display: block;
    font-family: 'Nexa-Regular';
    font-size: 18px !important;
    margin-bottom: 8px;
}

.tmplv3 .header-menu-bar a.level-name:hover,
.tmplv3 .header-menu-bar a.level-name:active {
    text-decoration: underline;
}

.tmplv3 .header-menu-bar .nav-level-name {
    display: none !important;
    color: #000000 !important;
}


.tmplv3 .header-menu-bar .nav-category-list a:hover,
.tmplv3 .header-menu-bar .nav-category-list a:focus,
.tmplv3 .header-menu-bar .nav-category-list-nowrap a:hover,
.tmplv3 .header-menu-bar .nav-category-list-nowrap a:focus,
.tmplv3 .header-menu-bar .nav-category-list-wrap a:hover,
.tmplv3 .header-menu-bar .nav-category-list-wrap a:focus {
    text-decoration: underline;
}

/* Top level navigation list - base */
.tmplv3 .header-menu-bar .nav-top {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==========================================
   MENU BAR - Mobile defaults (apply first, then override at 1100px+)
   ========================================== */

/* Transform menu bar into slide-out panel (mobile default) */
.tmplv3 .header-menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
}

/* Menu open state */
.tmplv3 .header-menu-bar.is-open {
    transform: translateX(0);
}

/* Convert horizontal nav to vertical single column (mobile default) */
.tmplv3 .header-menu-bar .nav-top {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 20px;
    flex: 0 0 auto;
}

/* Nav items stack vertically (mobile default) */
.tmplv3 .header-menu-bar .nav-item {
    border-bottom: 1px solid #e5e5e5;
}


/* Text stays on left (mobile default) */
.tmplv3 .header-menu-bar .nav-trigger-text {
    flex: 1;
    text-align: left;
}

/* Add arrow indicator for expandable items - positioned on right (mobile default) */
.tmplv3 .header-menu-bar .nav-trigger::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
    transform-origin: center;
}

/* Hide arrow for direct links (no submenu) */
.tmplv3 .header-menu-bar .nav-item > a.nav-trigger::after {
    display: none;
}

/* Rotate arrow when expanded */
.tmplv3 .header-menu-bar .nav-item.is-open .nav-trigger::after {
    transform: rotate(180deg);
}

/* Hide the underline animation on mobile (default) */
.tmplv3 .header-menu-bar .nav-trigger-underline {
    display: none;
}

/* Dropdown menu becomes accordion panel (mobile default) */
.tmplv3 .header-menu-bar .nav-menu {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0 0 16px 0;
}

.tmplv3 .header-menu-bar .nav-item.is-open .nav-menu {
    display: block;
}

/* Simplify menu inner for mobile (default) */
.tmplv3 .header-menu-bar .nav-menu-inner {
    flex-direction: column;
    padding: 0;
    min-height: auto;
    width: 100%;
}

/* Categories section - single column (mobile default) */
.tmplv3 .header-menu-bar .nav-categories {
    padding: 0;
}

/* Remove vertical divider (mobile default) */
.tmplv3 .header-menu-bar .nav-categories::after {
    display: none;
}

/* Category list - single column, no wrapping (mobile default) */
.tmplv3 .header-menu-bar .nav-category-list,
.tmplv3 .header-menu-bar .nav-category-list-nowrap,
.tmplv3 .header-menu-bar .nav-category-list-wrap {
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: none;
    max-width: 100%;
}

.tmplv3 .header-menu-bar .nav-category-list-wrap > li {
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: none;
}

/* Category items full width (mobile default) */
.tmplv3 .header-menu-bar .nav-category-list > li,
.tmplv3 .header-menu-bar .nav-category-list-nowrap > li {
    width: 100%;
    padding-right: 0;
    margin-bottom: 10px;
}

.tmplv3 .header-menu-bar .nav-category-list-wrap > li > a,
.tmplv3 .header-menu-bar .nav-category-list-wrap > li > span {
    width: 100%;
    padding-right: 0;
}

/* Collections and featured sections visible on mobile (default) */
.tmplv3 .header-menu-bar .nav-collections,
.tmplv3 .header-menu-bar .nav-featured {
    display: block;
}

/* Nav collections accordion styling (mobile default) */
.tmplv3 .header-menu-bar .nav-collections {
    border-top: 1px solid #e5e5e5;
    margin-top: 10px;
    padding-top: 10px;
}

.tmplv3 .header-menu-bar .nav-collections-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    text-align: left;
}

.tmplv3 .header-menu-bar .nav-collections-title:hover span,
.tmplv3 .header-menu-bar .nav-collections-title:focus-visible span {
    text-decoration: underline;
}

/* Add arrow indicator for collections title - positioned on right (mobile default) */
.tmplv3 .header-menu-bar .nav-collections-title::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
    transform-origin: center;
}

/* Rotate arrow when expanded */
.tmplv3 .header-menu-bar .nav-collections-title[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Collections list - hidden by default on mobile */
.tmplv3 .header-menu-bar .nav-collections-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tmplv3 .header-menu-bar .nav-collections.is-open .nav-collections-list {
    display: block;
}

.tmplv3 .header-menu-bar .nav-collections-list a {
    display: block;
    font-family: 'Nexa-Book';
    font-size: 18px;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    padding-left: 24px;
}

.tmplv3 .header-menu-bar .nav-collections-list a:hover,
.tmplv3 .header-menu-bar .nav-collections-list a:focus {
    text-decoration: underline;
}


/* Adjust link padding and size for touch targets (mobile default) */
.tmplv3 .header-menu-bar .nav-category-list a,
.tmplv3 .header-menu-bar .nav-category-list-nowrap a,
.tmplv3 .header-menu-bar .nav-category-list-wrap a {
    padding: 7px 0;
    padding-left: 24px;
    font-size: 18px;
}

/* Indent level names as well */
.tmplv3 .header-menu-bar .nav-category-list .level-name,
.tmplv3 .header-menu-bar .nav-category-list-nowrap .level-name,
.tmplv3 .header-menu-bar .nav-category-list-wrap .level-name {
    padding-left: 24px;
}

/* Level 3 links get deeper indentation */
.tmplv3 .header-menu-bar .level-3 a {
    padding-left: 48px;
}

.tmplv3 .header-menu-bar .nav-featured {
    border-top: 1px solid #e5e5e5;
    flex: 0 0 auto;
    width: 100%;
    padding-top: 24px;
    margin-top: 10px;
    margin-left: 40px;
}

.tmplv3 .header-menu-bar .nav-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.tmplv3 .header-menu-bar .nav-featured-link:hover,
.tmplv3 .header-menu-bar .nav-featured-link:focus {
    opacity: 0.9;
}

.tmplv3 .header-menu-bar .nav-featured img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.tmplv3 .header-menu-bar .nav-featured-title {
    display: block;
    font-family: 'Nexa-Regular';
    font-size: 20px;
    margin-bottom: 8px;
}

.tmplv3 .header-menu-bar .nav-featured-desc {
    display: block;
    font-family: 'Nexa-Regular';
    font-size: 16px;
    margin-bottom: 8px;
}

.tmplv3 .header-menu-bar .nav-featured a {
    color: #000000;
    text-decoration: underline;
    font-size: 16px;
}


/* ==========================================
   MOBILE/TABLET SLIDE-OUT MENU STYLES
   ========================================== */

/* Menu backdrop overlay */
.tmplv3 .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tmplv3 .menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Close button wrapper - only shown on mobile/tablet */
.tmplv3 .header-menu-bar .menu-close-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px 20px;
}

.tmplv3 .header-menu-bar img.menu-logo {
    display: block;
    height: 50px;
    width: auto;
}

.tmplv3 .header-menu-bar .menu-close-btn {
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.tmplv3 .menu-close-btn:hover,
.tmplv3 .menu-close-btn:focus-visible {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Help link - only shown on mobile/tablet */
.tmplv3 .menu-static-link {
    padding: 20px;
    font-family: 'Nexa-Bold';
    margin-top: auto;
    font-size: 18px;
}

.tmplv3 .menu-static-link a {
    text-decoration: none;
    display:block;
    color: #333;
}

.tmplv3 .menu-static-link a:hover,
.tmplv3 .menu-static-link a:focus-visible {
    text-decoration: underline;
}

.tmplv3 a.nav-trigger.login { color: #000000; }

.tmplv3.homepage .hero { width: 100%; margin-bottom: 30px; }
.tmplv3.homepage .gyt { argin-top: 19px; }
.tmplv3.homepage .gyt .gyt-wrapper { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 20px; gap: 0; }
.tmplv3.homepage .gyt .tablet-image { width: 64px; }
.tmplv3.homepage .gyt .book-image { width: 64px; }
.tmplv3.homepage .gyt .text { padding-left: 8px; font-size: 24px; line-height: 24px; font-family: Nexa-Bold; margin-left: 5px; width: 110px; }
.tmplv3.homepage .gyt .buttons { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 15px; }
.tmplv3.homepage .gyt .buttons .button,
.tmplv3.cart-page .empty-cart .gyt .buttons .button { display: inline-flex; align-items: center; padding: 0 20px; margin: 0; font-family: Nexa-Bold; font-size: 18px; }
.tmplv3.homepage .gyt .buttons .button:after,
.tmplv3.cart-page .empty-cart .gyt .buttons .button:after {
    margin-left: 10px;
    width: 22px;
    height: 15px;
    content: "";
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='17' viewBox='0 0 25 17' fill='none'%3E%3Cpath d='M15.8285 0.325738C16.2723 -0.108581 16.9916 -0.108581 17.4354 0.325737L24.6672 7.40333C25.1109 7.83765 25.1109 8.54166 24.6672 8.97597L17.4354 16.0536C16.9916 16.4879 16.2723 16.4879 15.8285 16.0536C15.3847 15.6193 15.3847 14.9153 15.8285 14.4809L21.1205 9.3018L1.13637 9.3018C0.50877 9.3018 7.6966e-07 8.80388 7.15963e-07 8.18966C6.62266e-07 7.57544 0.50877 7.07751 1.13637 7.07751L21.1205 7.07751L15.8285 1.89838C15.3847 1.46406 15.3847 0.760056 15.8285 0.325738Z' fill='white'/%3E%3C/svg%3E") no-repeat 0 0 transparent;
    background-size: 100% 100%;
    transition: width 150ms ease, height 150ms ease;
}
.tmplv3.homepage .gyt .buttons .button:hover:after,
.tmplv3.homepage .gyt .buttons .button:focus-visible:after,
.tmplv3.cart-page .empty-cart .gyt .buttons .button:hover:after,
.tmplv3.cart-page .empty-cart .gyt .buttons .button:focus-visible:after {
    width: 25px;
    height: 17px;
}

/* Base Carousel Styles - Generic reusable classes */
.tmplv3 .carousel-wrapper { margin: 50px auto; max-width: 1312px; padding: 0 20px; box-sizing: border-box; position: relative; }
.tmplv3 .carousel-wrapper h2 { text-align: center; margin-bottom: 18px; }
.tmplv3 .carousel-wrapper.left-header h2 { text-align: left; margin-bottom: 0; font-size: 20px; }

.tmplv3 .carousel-wrapper .carousel-inner { position: relative; }
.tmplv3 .carousel-wrapper a.link { font-size: 14px; font-family: Nexa-Bold; text-decoration: underline; color: #000000; }

.tmplv3 .carousel-wrapper .carousel-container { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; touch-action: pan-y; }
.tmplv3 .carousel-wrapper .carousel-container::-webkit-scrollbar { display: none; }
.tmplv3 .carousel-wrapper .carousel { display: flex; gap: 12px; list-style: none; width: max-content; }

/* Image Block Section - Mobile First */
.tmplv3.homepage .img-block-section { padding: 20px 0 50px 0; }
.tmplv3.homepage ul.img-blocks { display: flex; flex-direction: column; gap: 20px; list-style: none; margin: 0; padding: 0; }
.tmplv3.homepage ul.img-blocks li { width: 100%; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.tmplv3.homepage ul.img-blocks li .img-block-link { display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; color: inherit; overflow: hidden; position: absolute; inset: 0; }
.tmplv3.homepage ul.img-blocks li .img-block-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 0.4s ease; z-index: 0; }
.tmplv3.homepage ul.img-blocks li .img-block-link:hover .img-block-bg,
.tmplv3.homepage ul.img-blocks li .img-block-link:focus .img-block-bg { transform: scale(1.10); }
.tmplv3.homepage ul.img-blocks li .img-block-link:hover span.btn,
.tmplv3.homepage ul.img-blocks li .img-block-link:focus span.btn { text-decoration: underline; }
.tmplv3.homepage ul.img-blocks li.has-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.tmplv3.homepage ul.img-blocks li.has-btn .img-block-bg { position: absolute; inset: 0; z-index: 0; }
.tmplv3.homepage ul.img-blocks li.has-btn .btn { z-index: 1; background-color: #fff; color: #333; height: 34px; line-height: 34px; padding: 0 20px; font-size: 14px; font-family: Nexa-Bold; border: 1px solid #333; }


.tmplv3.homepage ul.img-blocks .img-block-text { 
    font-family: Nexa-Bold; 
    text-transform: uppercase; 
    font-size: 24px; 
    text-align: center; 
    margin: 0; 
    padding: 5px 20px; 
    position: relative; 
    z-index: 1; 
    color: #fff; 
    line-height: 1.3;
    display: inline-block;
    border-radius: 10px;
    border: 1px solid #F2F2F2;
    background: rgba(43, 43, 43, 0.55);
    box-shadow: 0 1006.686px 281.314px 0 rgba(0, 0, 0, 0.00), 0 644px 258.065px 0 rgba(0, 0, 0, 0.01), 0 362.686px 218.542px 0 rgba(0, 0, 0, 0.05), 0 160.419px 160.419px 0 rgba(0, 0, 0, 0.09), 0 39.523px 88.347px 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(17.5px);
    -webkit-backdrop-filter: blur(17.5px);
}

.tmplv3.homepage ul.img-blocks li.has-btn .img-block-text { margin-bottom: 12px; }

.tmplv3.homepage ul.blocks { display: flex; flex-wrap: wrap; width: 330px; margin: 8px auto 0 auto; }
.tmplv3.homepage ul.blocks li { flex-grow: 1; text-align: center; margin-top: 7px; width: 100%;  }
.tmplv3.homepage ul.blocks li a { display: block; padding: 12px; font-size: 16px; font-family: Nexa-XBold; }
.tmplv3.homepage ul.blocks li a:hover { text-decoration: underline; }

/* Product Carousel - Mobile First (page-specific) */
.tmplv3 .carousel-wrapper .carousel { margin: 24px 0; padding: 6px 0 0 0; gap: 12px; }
.tmplv3 .carousel-wrapper .carousel > li { /* flex: 0 0 190px; width: 190px; */ }
.tmplv3 .carousel > li { width: 190px; }
.tmplv3 .carousel > li > a { display: block; text-decoration: none; color: inherit; }
.tmplv3 .carousel .image { position: relative; width: 190px; height: 286px; background-size: contain; background-position: center; background-repeat: no-repeat; }
.tmplv3 .carousel .image .tag { position: absolute; bottom: 10px; left: 10px; padding: 2px 4px; background-color: #fff; border: 1px solid #000; border-radius: 4px; }
.tmplv3 .carousel .image .quick-add { display: none; position: absolute; top: 100%; left: 0; width: 100%; margin-top: 10px; font-size: 12px; font-family: Nexa-Bold; border: 0; padding: 8px 0; text-transform: uppercase; background-color: #efefef; text-align: center; }
/*.tmplv3 .carousel .details { margin-top: 52px; }*/
.tmplv3 .carousel .details .title { font-size: 15px; font-family: Nexa-Bold; }
.tmplv3 .carousel .details .price { font-size: 15px; font-family: Nexa-Book; margin-top: 5px; }
.tmplv3 .carousel .details .price.on-sale { color: #000000; font-family: Nexa-Bold; }
.tmplv3 .carousel .details .price .was-price { font-size: 12px; font-family: Nexa-Regular; color: #333; margin-left: 4px; }
.tmplv3 .carousel .details .sale-tag { font-size: 13px; line-height: 13px; color: #C41230; margin-top: 4px; }
.tmplv3 .carousel .details .color-choices { margin-top: 8px; }
.tmplv3 .carousel .details .color-choices:after { content: ""; display: table; clear: both; }
.tmplv3 .carousel .details .color-choices > li, .tmplv3 .carousel .details .color-choices > span { float: left; margin: 0 10px 10px 1px; width: 20px; height: 20px; border-radius: 50%; }
.tmplv3 .carousel .details .color-choices .ffffff { border: 1px solid #ccc; }

/* Featured Block */
.tmplv3.homepage .featured-block { margin: 0 24px 50px 24px; }
.tmplv3.homepage .featured-block .main { width: 100%; margin-bottom: 24px; position: relative; height: 300px; background-size: 714px auto; background-position: center; background-repeat: no-repeat; }
.tmplv3.homepage .featured-block .inner { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.tmplv3.homepage .featured-block .inner .image { width: 100px; height: 100px; flex-shrink: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.tmplv3.homepage .featured-block .inner .info { font-size: 15px; flex: 1; display: flex; align-items: flex-start; padding: 12px 0 0 0; position: relative; height: 100px; }
.tmplv3.homepage .featured-block .inner .info .text { margin-bottom: 8px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.tmplv3.homepage .featured-block .inner .info .text .title { font-family: Nexa-Bold; font-size: 15px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tmplv3.homepage .featured-block .inner .info .text .price { font-family: Nexa-Book; font-size: 15px; }
.tmplv3.homepage .featured-block .inner .info .btn-container { position: absolute; bottom: 5px; right: 15px; text-align: right; }
.tmplv3.homepage .featured-block .details .title { font-family: Nexa-Bold; font-size: 22px; margin-bottom: 16px; }
.tmplv3.homepage .featured-block .details .description { font-size: 14px; margin-bottom: 16px; }
.tmplv3.homepage .featured-block .details .btn { font-size: 18px; }

/* Category Block Section - Mobile First */
.tmplv3.homepage .featured-dept-section { margin: 0 0 50px 20px; }
.tmplv3.homepage .featured-dept-section h2 { text-align: left; font-size: 22px; font-family: Nexa-Bold; margin-bottom: 18px; }
.tmplv3.homepage .featured-dept-section ul { display: flex; overflow-x: auto; overflow-y: hidden; list-style: none; padding: 0; -ms-overflow-style: none; scrollbar-width: none; }
.tmplv3.homepage .featured-dept-section ul::-webkit-scrollbar { display: none; }
.tmplv3.homepage .featured-dept-section ul > li { flex: 0 0 150px; width: 150px; margin-right: 12px; }
.tmplv3.homepage .featured-dept-section ul > li > a { display: block; text-decoration: none; color: inherit; overflow: hidden; width: 150px; }
.tmplv3.homepage .featured-dept-section .image { overflow: hidden; }
.tmplv3.homepage .featured-dept-section .image .image-bg { display: block; width: 150px; height: 255px; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 0.4s ease; display: block; }
.tmplv3.homepage .featured-dept-section ul > li > a:hover .image .image-bg,
.tmplv3.homepage .featured-dept-section ul > li > a:focus .image .image-bg { transform: scale(1.10); }
.tmplv3.homepage .featured-dept-section .title { font-size: 15px; margin-top: 12px; text-align: center; }
.tmplv3.homepage .featured-dept-section ul > li > a:hover .title,
.tmplv3.homepage .featured-dept-section ul > li > a:focus .title { text-decoration: underline; }

.tmplv3.homepage .spacer { margin-top: 35px; }

.tmplv3 .sign-up { background-color: #f2f2f2; padding: 40px 0; text-align: center; font-family: Nexa-Regular; font-size: 14px; }
.tmplv3 .sign-up h2 { font-family: Nexa-Bold; font-size: 22px; margin-bottom: 22px; }
.tmplv3 .sign-up p { margin-top: 15px; padding: 0 20px; }
.tmplv3 .sign-up .form { margin: 25px 20px 0 20px; text-align: center; }
.tmplv3 .sign-up .form input[type=email] { display: block; padding: 0 20px; width: 100%; border-radius: 4px; border: 1px solid #BFBFBF; font-family: Nexa-Book; font-size: 15px; height: 36px; line-height: 36px; margin-bottom: 10px; }
.tmplv3 .sign-up .form button { width: 100%; height: 44px; }
.tmplv3 .sign-up .message { margin-top: 15px; font-family: Nexa-XBold; }
.tmplv3 .sign-up .blurb { margin: 25px 20px 0 20px; font-size: 12px; font-family: Nexa-Book; font-style: italic; }

.tmplv3 .hero-carousel { font-family: Nexa-Regular; }
.tmplv3 .hero-carousel .hero-carousel-inner { width: 100%; text-align: center; overflow: hidden; padding: 8px 0 1px 0; position: relative; }
.tmplv3 .hero-carousel .hero-carousel-inner .hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background-color: #fff; border: none; border-radius: 4px; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 1; transition: background-color 0.2s ease; }
.tmplv3 .hero-carousel .hero-carousel-inner .hero-nav:hover, .tmplv3 .hero-carousel .hero-carousel-inner .hero-nav:focus-visible { background-color: #f0f0f0; }
.tmplv3 .hero-carousel .hero-carousel-inner .hero-nav svg { color: #333; }
.tmplv3 .hero-carousel .hero-carousel-inner .hero-nav-prev { left: 24px; }
.tmplv3 .hero-carousel .hero-carousel-inner .hero-nav-next { right: 24px; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides { width: 100%; display: flex; flex-flow: row nowrap; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li { width: 100%; flex: none; position: relative; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay { width: 100%; padding: 0 30px; font-family: Nexa-Bold; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-header { font-size: 12px; line-height: 16px; color: #fff; margin-bottom: 12px; color: #fff; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-header.with-background { 
    border-radius: 10px;
    border: 1px solid #F2F2F2;
    background: rgba(88, 88, 93, 0.30);
    backdrop-filter: blur(7.5px);
    padding: 5px 30px;
    text-transform: uppercase;
    display: inline-flex;
}
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-header p { margin: 0; padding: 0; }

.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-button .button { background-color: #fff; font-size: 14px; padding: 0 25px; color: #333; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li img { width: 100%; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li a {  }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls { display: inline-block; padding: 0 10px; background-color: #e6e6e6; border-radius: 20px; height: 26px; line-height: 26px; font-size: 12px; margin-top: -13px; position: relative; z-index: 1; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls > li { float: left; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button { border: 0; background: transparent; padding: 0 10px; height: 26px; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.play-pause .control:before { display: block; width: 14px; height: 14px; background: url(//simages.ecampus.com/images/vbs/v2/pause-play-sprite.svg) no-repeat 0 0; background-size: 28px 14px; content: ""; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.play-pause.paused .control:before { background-position: -14px 0; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.direct .dot { display: block; background: #000; border-radius: 50%; width: 5px; height: 5px; margin-top: 2px; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.direct.active .dot { width: 8px; height: 8px; }

.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .previous .text { display: block; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .previous .text:before { display: block; background: url(//simages.ecampus.com/images/vbs/v2/arrow.svg) no-repeat 0 0 transparent; width: 8px; height: 15px; content: ""; -webkit-transform: translateY(-1px) rotate(-180deg); transform: translateY(-1px) rotate(-180deg); }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .next .text { display: block; }
.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .next .text:before { display: block; background: url(//simages.ecampus.com/images/vbs/v2/arrow.svg) no-repeat 0 0 transparent; width: 8px; height: 15px; content: ""; -webkit-transform: translateY(1px); transform: translateY(1px); }


/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

.tmplv3.merch-pdp { padding: 16px 0; font-family: Nexa-Regular; }
.tmplv3.merch-pdp .content { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 20px; }
.tmplv3.merch-pdp .na { display: none; }
.tmplv3.merch-pdp .breadcrumbs { font-family: Nexa-Book; font-size: 12px; margin: 0 0 28px 0; line-height: 20px; }
.tmplv3.merch-pdp .breadcrumbs a { text-decoration: underline; color: #000; }
.tmplv3.merch-pdp .breadcrumbs .name { display: none; }
.tmplv3.merch-pdp .title-section .clearance { display: inline-block; margin-bottom: 16px; font-size: 13px; line-height: 13px; padding: 5px 10px; border-radius: 4px; border: 1px solid #C41230; color: #C41230; }
.tmplv3.merch-pdp .title-section .on-sale { display: flex; align-items: center; gap: 4px; margin: 0 0 10px 0; }
.tmplv3.merch-pdp .title-section .on-sale .text { font-family: Nexa-Bold; font-size: 12px; color: #C41230; }
.tmplv3.merch-pdp .title-section h2.title-text { text-align: left; line-height: 22px; font-family: Nexa-Bold; font-size: 16px; margin: 0 0 10px 0;  font-weight: 400; }
.tmplv3.merch-pdp .title-section .availability { color: #247E0C; font-size: 12px; margin: 0 0 16px 0; }
.tmplv3.merch-pdp .title-section .rating { display: flex; align-items: center; margin: 0 0 16px 0; }
.tmplv3.merch-pdp .title-section .rating .stars { display: flex; align-items: center; margin: 0; }
.tmplv3.merch-pdp .title-section .rating .text { display: flex; align-items: center; margin-left: 9px; }
.tmplv3.merch-pdp .title-section .rating .text a { text-decoration: underline; color: #000; font-size: 12px; }
.tmplv3.merch-pdp .title-section .bestseller { display: inline-block; margin-bottom: 10px; font-size: 13px; line-height: 13px; padding: 5px 10px; border-radius: 4px; border: 1px solid #000; color: #000; }
.tmplv3.merch-pdp .title-section .pricing { display: flex; align-items: baseline; gap: 8px; font-family: Nexa-Book; font-size: 20px; margin: 0 0 13px 0; }
.tmplv3.merch-pdp .title-section .pricing .price { font-family: Nexa-XBold; font-size: 20px; }
.tmplv3.merch-pdp .title-section .pricing .sale { color: #000000; font-family: Nexa-Bold; }
.tmplv3.merch-pdp .mobi-images { margin: 24px 0 32px; }
.tmplv3.merch-pdp .mobi-images.no-images { display: none; }
.tmplv3.merch-pdp .mobi-images .mob-carousel,
.tmplv3.merch-pdp .title-section .images .mob-carousel { max-width: 550px; margin: 0 auto; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-track-wrap,
.tmplv3.merch-pdp .title-section .images .mob-carousel-track-wrap { overflow: hidden; width: 100%; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-track,
.tmplv3.merch-pdp .title-section .images .mob-carousel-track { display: flex; flex-flow: row nowrap; list-style: none; margin: 0; padding: 0; overflow-x: hidden; pointer-events: none; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-track li,
.tmplv3.merch-pdp .title-section .images .mob-carousel-track li { flex: 0 0 100%; min-width: 100%; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-track li img,
.tmplv3.merch-pdp .title-section .images .mob-carousel-track li img { width: 100%; height: auto; display: block; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-dots,
.tmplv3.merch-pdp .title-section .images .mob-carousel-dots { display: flex; flex-flow: row nowrap; justify-content: center; align-items: center; gap: 32px; margin-top: 20px; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-dots button,
.tmplv3.merch-pdp .title-section .images .mob-carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: #D9D9D9; cursor: pointer; flex-shrink: 0; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-dots button.active,
.tmplv3.merch-pdp .title-section .images .mob-carousel-dots button.active { background: #58585D; }
.tmplv3.merch-pdp .mobi-images .mob-carousel-dots:empty,
.tmplv3.merch-pdp .title-section .images .mob-carousel-dots:empty { display: none; }
.tmplv3.merch-pdp .color-section { font-size: 16px; margin: 0 0 32px 0;} 
.tmplv3.merch-pdp .color-section .color { font-family: Nexa-Bold; }
.tmplv3.merch-pdp .color-section .color span { font-family: Nexa-Regular; }
.tmplv3.merch-pdp .color-section .colors { margin-top: 15px; }
.tmplv3.merch-pdp .size-section { font-size: 16px; margin: 0 0 32px 0; font-family: Nexa-Regular; }  
.tmplv3.merch-pdp .size-section .text-row { display: flex; align-items: center; gap: 4px; margin: 0 0 15px 0; }
.tmplv3.merch-pdp .size-section .text-row .text { display: flex; align-items: center; gap: 4px; }
.tmplv3.merch-pdp .size-section .text-row .text legend { font-family: Nexa-Bold; font-size: 16px; }
.tmplv3.merch-pdp .size-section .text-row .text.selected-size {  }
.tmplv3.merch-pdp .size-section .text-row .size-chart { text-align: right; flex-grow: 1; }
.tmplv3.merch-pdp .size-section .text-row .size-chart a { text-decoration: underline; color: #000000; }
.tmplv3.merch-pdp .size-section ul.sizes { display: flex; flex-flow: row wrap; gap: 12px; }

.tmplv3 .size-rb { display: flex; align-items: center; justify-content: center; min-width: 50px; height: 40px; border: 1px solid #000; border-radius: 4px; position: relative; font-size: 12px; font-family: Nexa-Regular; color: #000; }
.tmplv3 .size-rb.selected { font-family: Nexa-Bold; color: #fff; background-color: #333; border: 2px solid #333; }
.tmplv3 .size-rb input[type=radio] { cursor: pointer; width: 100%; height: 100%; position: absolute; margin: 0; z-index: 1; opacity: 0; outline: none; }
.tmplv3 .size-rb input[type=checkbox] { cursor: pointer; width: 100%; height: 100%; position: absolute; margin: 0; z-index: 1; opacity: 0; outline: none; }
.tmplv3 .size-rb input[disabled] { cursor: not-allowed; }
.tmplv3 .size-rb:focus-within { outline: 2px dotted #000; outline-offset: 2px; }
.tmplv3 .size-rb label { width: 100%; font-weight: normal; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 10px; outline: none; }
.tmplv3 .size-rb input[type=radio]:focus + label,
.tmplv3 .size-rb input[type=checkbox]:focus + label { outline: none; }
.tmplv3 .size-rb svg { display: none; }
.tmplv3 .size-rb.out-of-stock svg { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.tmplv3 .size-rb.out-of-stock.selected { background-color: #e5e5e5; color: #000; }

.tmplv3.merch-pdp .apple-agreement { margin: 32px 0; padding: 32px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; font-family: Nexa-Book; }
.tmplv3.merch-pdp .apple-agreement input[type="checkbox"] { margin-top: 2px; }
.tmplv3.merch-pdp .apple-agreement label { font-size: 14px; line-height: 20px; }
.tmplv3.merch-pdp .apple-agreement a { color: #333; text-decoration: underline; }
.tmplv3.merch-pdp .apple-agreement.not-selected { border: 1px solid #C41230; }

/* Square checkbox styling */
.tmplv3 .square-checkbox { display: flex; align-items: flex-start; gap: 12px; }
.tmplv3 .square-checkbox input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; flex-shrink: 0; margin: 0; cursor: pointer; border: 1px solid #000; background-color: transparent; appearance: none; -webkit-appearance: none; -moz-appearance: none; position: relative; box-sizing: border-box; }
.tmplv3 .square-checkbox input[type="checkbox"]:checked { background-color: #000; border-color: #000; }
.tmplv3 .square-checkbox input[type="checkbox"]:checked::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 12px; transform: translate(-50%, -50%); background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' viewBox='0 0 13 12' fill='none'%3E%3Cpath d='M0.813548 4.62879L4.55028 9.8612L12.1286 0.634857' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.tmplv3 .square-checkbox input[type="checkbox"]:focus { }
.tmplv3 .square-checkbox input[type="checkbox"]:focus:not(:focus-visible) { }
.tmplv3 .square-checkbox input[type="checkbox"]:focus-visible { }
.tmplv3 .square-checkbox label { margin: 0; cursor: pointer; font-family: Nexa-Book; line-height: 1; }

.tmplv3.merch-pdp .remaining { font-size: 16px; margin: 0 0 20px 0; font-family: Nexa-Bold; color: #000000; }
.tmplv3.merch-pdp .note { font-size: 13px; margin: 0 0 20px 0; }
.tmplv3.merch-pdp .none-available { display: none; font-family: Nexa-Bold; font-size: 16px; color: #58585D; margin-bottom: 20px; }

.tmplv3.merch-pdp .add-to-cart { text-align: center; margin: 0 0 32px 0; }
.tmplv3.merch-pdp .add-to-cart .btn-school { width: 100%; font-size: 18px; font-family: Nexa-Bold; height: 44px; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper { font-family: Nexa-Bold;display: flex; align-items: center; justify-content: space-between; background-color: #000000; border-radius: 50px; padding: 4px; min-width: 200px; max-width: 100%; height: 44px; box-sizing: border-box; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .stepper-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; background: transparent; color: #ffffff; cursor: pointer; border-radius: 50%; transition: background-color 0.2s ease, opacity 0.2s ease; flex-shrink: 0; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .stepper-btn:hover:not(:disabled) { background-color: rgba(255, 255, 255, 0.15); }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .stepper-btn:focus { outline: 2px solid #ffffff; outline-offset: -2px; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .stepper-btn svg { width: 20px; height: 20px; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .quantity-text { color: #ffffff; font-size: 18px;  text-align: center; flex: 1; user-select: none; }
.tmplv3.merch-pdp .add-to-cart .quantity-stepper .quantity-text.qty-pulse { animation: qtyPulse 0.35s ease-out; }
@keyframes qtyPulse { 0% { transform: scale(0.5); opacity: 0; } 50% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* ── Sticky Add to Cart Bar ────────────────────────────────────────── */
.tmplv3.merch-pdp .sticky-add-to-cart { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12); padding: 12px 20px; transform: translateY(100%); transition: transform 0.3s ease; pointer-events: none; }
.tmplv3.merch-pdp .sticky-add-to-cart.visible { transform: translateY(0); pointer-events: auto; }
.tmplv3.merch-pdp .sticky-add-to-cart-spacer { height: 68px; display: none; }
.tmplv3.merch-pdp .sticky-add-to-cart-spacer.visible { display: block; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart { margin: 0; text-align: center; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .btn-school { width: 100%; font-size: 18px; font-family: Nexa-Bold; height: 44px; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper { font-family: Nexa-Bold; display: flex; align-items: center; justify-content: space-between; background-color: #000000; border-radius: 50px; padding: 4px; min-width: 200px; max-width: 100%; height: 44px; box-sizing: border-box; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper .stepper-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; background: transparent; color: #ffffff; cursor: pointer; border-radius: 50%; transition: background-color 0.2s ease, opacity 0.2s ease; flex-shrink: 0; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper .stepper-btn:hover:not(:disabled) { background-color: rgba(255, 255, 255, 0.15); }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper .stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper .stepper-btn svg { width: 20px; height: 20px; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper .quantity-text { color: #ffffff; font-size: 18px; text-align: center; flex: 1; user-select: none; }
.tmplv3.merch-pdp .sticky-add-to-cart .add-to-cart .quantity-stepper .quantity-text.qty-pulse { animation: qtyPulse 0.35s ease-out; }
.tmplv3.merch-pdp .sticky-add-to-cart.hidden { display: none; }
.tmplv3.merch-pdp .sticky-add-to-cart-spacer.hidden { display: none; }

.tmplv3.merch-pdp .accordion-section { margin: 0 0 20px 0; border-bottom: 1px solid #ccc; font-size: 16px; }
.tmplv3.merch-pdp .accordion-section.shipping-accordion { margin-bottom: 70px; }
.tmplv3.merch-pdp .accordion-section h2 { font-family: Nexa-Bold; font-size: 16px; font-weight: 400; }
.tmplv3.merch-pdp .accordion-section button { background-color: transparent; border: 0; display: block; width: 100%; text-align: left; position: relative; }
.tmplv3.merch-pdp .accordion-section button .button-text { display: inline-block; }
.tmplv3.merch-pdp .accordion-section button .icon-plus,
.tmplv3.merch-pdp .accordion-section button .icon-minus { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; }
.tmplv3.merch-pdp .accordion-section button .icon-plus svg,
.tmplv3.merch-pdp .accordion-section button .icon-minus svg { width: 24px; height: 24px; display: block; }
.tmplv3.merch-pdp .accordion-section button[aria-expanded="true"] .icon-plus { display: none; }
.tmplv3.merch-pdp .accordion-section button[aria-expanded="true"] .icon-minus { display: inline-flex; }
.tmplv3.merch-pdp .accordion-section button[aria-expanded="false"] .icon-plus { display: inline-flex; }
.tmplv3.merch-pdp .accordion-section button[aria-expanded="false"] .icon-minus { display: none; }
.tmplv3.merch-pdp .accordion-section button:after { display: none; }
/*
.tmplv3.merch-pdp .accordion-section ul { font-size: 16px; margin: 0; padding: 0 0 16px 0; list-style: none; }
.tmplv3.merch-pdp .accordion-section ul li { margin: 0 0 16px 0; }
.tmplv3.merch-pdp .accordion-section ul li .description { font-family: Nexa-Regular; }
*/
.tmplv3.merch-pdp .accordion-section .text { font-family: Nexa-Regular; margin: 0 0 16px 0; }
.tmplv3.merch-pdp .accordion-section .return-policy a { color: #333; text-decoration: underline; }

.tmplv3.merch-pdp .detail .details .section { font-size: 17px; margin-top: 20px; }
.tmplv3.merch-pdp .accordion-sectio nul { margin: 0; }
.tmplv3.merch-pdp .accordion-section ul > li { margin-left: 20px; list-style: disc; }
.tmplv3.merch-pdp .accordion-section p { margin: 0 16px 0 0; }
.tmplv3.merch-pdp .accordion-section a { color: #000; text-decoration: underline; }
.tmplv3.merch-pdp .accordion-section a span { color: #000 !important; } /* for strange Apple data */

.tmplv3.merch-pdp .apple-return-policy { color: #C41230; margin: 32px 0; padding: 32px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }

.tmplv3.merch-pdp .review-section { margin: 36px 0 0 0; border-top: 1px solid #ccc; padding-top: 36px; }

.tmplv3.merch-pdp .stars { display: flex; gap: 0; justify-content: center; margin: 0 0 16px 0; }
.tmplv3.merch-pdp .stars svg { width: 20px; height: 19px; }
.tmplv3.merch-pdp .review-section .rating { font-size: 22px; font-family: Nexa-Bold; margin: 0 0 8px 0; }
.tmplv3.merch-pdp .review-section .review-count { font-size: 14px; margin: 0 0 16px 0; }

.tmplv3 .btn-secondary { display: flex !important; align-items: center; justify-content: center; border-radius: 50px; text-decoration: none; background-color: #fff; color: #000; border: 1px solid #000; height: 44px; font-family: Nexa-Bold; font-size: 18px; }

.tmplv3.merch-pdp .review-section .write-review { width: 180px; margin: 0 auto;font-size: 18px; line-height: 42px; display: inline-block; }
.tmplv3.merch-pdp .review-section .write-review:hover,
.tmplv3.merch-pdp .review-section .write-review:focus-visible { text-decoration: underline; }

.tmplv3.merch-pdp .review-section .average-rating { text-align: center; padding: 0 0 36px 0; margin: 0 0 36px 0; border-bottom: 1px solid #ccc; }
.tmplv3.merch-pdp .review-section .average-rating.no-ratings { border-bottom: 0; padding: 0; }
.tmplv3.merch-pdp .review-section .average-rating.no-ratings .rating { margin-bottom: 16px; }
.tmplv3.merch-pdp .review-section .average-rating.no-ratings .write-review { margin-bottom: 16px; }


.tmplv3.merch-pdp .review-sliders { margin: 20px auto; }
.tmplv3.merch-pdp .slider-row { display: flex; align-items: flex-start; margin-bottom: 30px; }
.tmplv3.merch-pdp .slider-row:last-child { margin-bottom: 0; }
.tmplv3.merch-pdp .slider-label { font-size: 16px; width: 80px; flex-shrink: 0; margin-top: -3px; }
.tmplv3.merch-pdp .slider-content { flex: 1; display: flex; flex-direction: column; }
.tmplv3.merch-pdp .slider-track-container { position: relative; padding: 10px 0; }
.tmplv3.merch-pdp .slider-line { height: 1px; background-color: #58585D; width: 100%; position: relative; }
.tmplv3.merch-pdp .slider-dot { 
    width: 7px; 
    height: 7px; 
    background-color: #58585D; 
    border-radius: 50%; 
    position: absolute; 
    top: 50%; 
    transform: translate(-50%, -50%); 
}

.tmplv3.merch-pdp .slider-labels { display: flex; justify-content: space-between; }
.tmplv3.merch-pdp .slider-labels span { font-size: 12px; font-style: italic; font-family: Nexa-Book; }

.tmplv3.merch-pdp .filter-sort { font-size: 16px; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid #ccc; margin-bottom: 24px; }
.tmplv3.merch-pdp .filter-sort .sort { position: relative; }
.tmplv3.merch-pdp .filter-sort .sort-toggle { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 1px solid #000; border-radius: 50px; padding: 8px 12px 8px 16px; font-family: Nexa-Regular; font-size: 14px; cursor: pointer; white-space: nowrap; color: #333; transition: background-color 0.15s ease; }
.tmplv3.merch-pdp .filter-sort .sort-toggle:hover { background-color: #f5f5f5; }
.tmplv3.merch-pdp .filter-sort .sort-chevron { width: 18px; height: 18px; transition: transform 0.2s ease; flex-shrink: 0; }
.tmplv3.merch-pdp .filter-sort .sort-toggle[aria-expanded="true"] .sort-chevron { transform: rotate(180deg); }
.tmplv3.merch-pdp .filter-sort .sort-dropdown { position: absolute; top: calc(100% + 4px); left: 0; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 160px; padding: 8px 0; display: none; z-index: 100; }
.tmplv3.merch-pdp .filter-sort .sort-dropdown.show { display: block; }
.tmplv3.merch-pdp .filter-sort .sort-dropdown button { display: block; width: 100%; text-align: left; padding: 10px 16px; border: none; background: transparent; font-family: Nexa-Regular; font-size: 14px; color: #333; cursor: pointer; }
.tmplv3.merch-pdp .filter-sort .sort-dropdown button:hover,
.tmplv3.merch-pdp .filter-sort .sort-dropdown button:focus-visible { background-color: #f5f5f5; }
.tmplv3.merch-pdp .filter-sort .filter-checkbox { display: inline-flex; align-items: center; cursor: pointer; }
.tmplv3.merch-pdp .filter-sort .filter-checkbox input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; }

/* Custom circle checkbox for tmplv3 - reusable component */
/* Usage: <label class="custom-checkbox"><input type="checkbox"> Label text</label> */
.tmplv3 .custom-checkbox { display: inline-flex; align-items: flex-start; cursor: pointer; gap: 10px; }
.tmplv3 .custom-checkbox input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; border: 1px solid #000; border-radius: 50%; position: relative; flex-shrink: 0; box-sizing: border-box; cursor: pointer; margin-top: 3px; transition: border-color 0.15s ease; }
.tmplv3 .custom-checkbox input[type="checkbox"]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background-color: #58585D; opacity: 0; transition: opacity 0.15s ease; }
.tmplv3 .custom-checkbox:hover input[type="checkbox"] { border-color: #58585D; }
.tmplv3 .custom-checkbox input[type="checkbox"]:checked::after { opacity: 1; }
.tmplv3 .custom-checkbox input[type="checkbox"]:focus-visible { outline: 2px dotted #000; outline-offset: 2px; }
.tmplv3 .custom-checkbox input[type="checkbox"]:disabled { border-color: #ccc; cursor: not-allowed; }
.tmplv3 .custom-checkbox input[type="checkbox"]:disabled::after { background-color: #ccc; }
.tmplv3 .custom-checkbox:has(input:disabled) { cursor: not-allowed; color: #999; }

.tmplv3.merch-pdp .gallery.desktop .review-gallery.carousel-wrapper { width: 150px; max-width: none; padding: 0; }

/* Carousel Arrow Buttons - overlay on left/right */

.tmplv3 .carousel-wrapper .carousel-arrows { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 2; }
.tmplv3 .carousel-wrapper .carousel-arrows button { position: absolute; top: calc(24px + (286px / 2) - 20px); pointer-events: auto; background-color: rgba(255,255,255,0.85); border: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; margin: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.18); transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.tmplv3 .carousel-wrapper .carousel-arrows button.previous { left: 10px; }
.tmplv3 .carousel-wrapper .carousel-arrows button.next { right: 10px; }
.tmplv3 .carousel-wrapper .carousel-arrows button svg { width: 28px; height: 28px; }
.tmplv3 .carousel-wrapper .carousel-arrows button:disabled { display: none; }
.tmplv3 .carousel-wrapper .carousel-arrows button:not(:disabled):hover { background-color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.22); }
.tmplv3 .carousel-wrapper .carousel-arrows button:not(:disabled):focus-visible { outline: 2px solid #000000; outline-offset: 2px; }

.tmplv3.merch-pdp .reviews .review { font-size: 18px; margin: 48px 0 0 0; }
.tmplv3.merch-pdp .reviews .review .name { font-family: Nexa-Bold; margin: 0 0 8px 0; }
.tmplv3.merch-pdp .reviews .review .date { font-family: Nexa-Book; margin: 0 0 30px 0; }
.tmplv3.merch-pdp .reviews .review .stars { justify-content: left; margin: 0 0 24px 0; }
.tmplv3.merch-pdp .reviews .review .title { font-size: 24px; font-family: Nexa-Regular; margin: 0 0 8px 0; }
.tmplv3.merch-pdp .reviews .review .text { font-size: 16px; margin: 0 0 48px 0; }
.tmplv3.merch-pdp .reviews .review .line { height: 1px; background-color: #ccc; width: 100%; margin: 0 0 48px 0; }
.tmplv3.merch-pdp .reviews .review .review-wrapper .gallery {  }
.tmplv3.merch-pdp .reviews .review .review-wrapper .carousel-wrapper { margin-bottom: 0; max-width: none; padding: 0; }
.tmplv3.merch-pdp .review-gallery .carousel > li { height: 150px; }
.tmplv3.merch-pdp .review-gallery .carousel > li img { width: 150px; height: 150px; object-fit: cover; display: block; }

.tmplv3.merch-pdp .reviews .review .review-wrapper {  padding-bottom: 48px; }

/* Page loading overlay - blocks interaction immediately, shows visual feedback after delay */
.tmplv3 .page-loading-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: transparent; z-index: 9999; justify-content: center; align-items: center; }
.tmplv3 .page-loading-overlay.active { display: flex; }
.tmplv3 .page-loading-overlay.visible { background-color: rgba(0, 0, 0, 0.5); }
.tmplv3 .page-loading-overlay .page-loading-message { display: none; background-color: #fff; padding: 30px 50px; border-radius: 8px; text-align: center; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
.tmplv3 .page-loading-overlay.visible .page-loading-message { display: block; }
.tmplv3 .page-loading-overlay .page-loading-message p { margin: 0 0 15px 0; font-size: 18px; font-weight: 600; color: #333; }
.tmplv3 .page-loading-overlay .page-loading-spinner { width: 40px; height: 40px; margin: 0 auto; border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; animation: pageLoadingSpin 1s linear infinite; }
@keyframes pageLoadingSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }


/* ══════════════════════════════════════════════════════════════════════
   Merch Results Page — Mobile-first base styles
   ══════════════════════════════════════════════════════════════════════ */
.tmplv3.merch-results { padding: 16px 0 60px 0; font-family: Nexa-Regular; }
.tmplv3.merch-results .banner { width: 100%; max-width: 1512px; margin: 0 auto 24px auto; }
.tmplv3.merch-results .banner img { width: 100%; }
.tmplv3.merch-results .content { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* Breadcrumbs */
.tmplv3.merch-results .breadcrumbs { font-family: Nexa-Book; font-size: 12px; margin: 0 0 20px 0; line-height: 20px; }
.tmplv3.merch-results .breadcrumbs a { text-decoration: underline; color: #000; }

/* Page Title */
.tmplv3.merch-results h2 { font-family: Nexa-Bold; text-align: left; font-size: 20px; margin: 0 0 20px 0; }

/* ── Filter/Sort Row ──────────────────────────────────────────────────── */
.tmplv3.merch-results .filter-sort-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.tmplv3.merch-results .filter-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex: 1; }

/* Filter Button */
.tmplv3.merch-results .filter-btn { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid #c8c8c8; border-radius: 50px; padding: 8px 16px; font-family: Nexa-Bold; font-size: 14px; cursor: pointer; white-space: nowrap; color: #333; transition: background-color 0.15s ease; }
.tmplv3.merch-results .filter-btn:hover { background-color: #f5f5f5; }
.tmplv3.merch-results .filter-btn.has-filter { border-color: #000; }
.tmplv3.merch-results .filter-btn svg { flex-shrink: 0; }

/* Desktop Filters Row (hidden on mobile/tablet) */
.tmplv3.merch-results .desktop-filters { display: none; }

/* Clear All Button */
.tmplv3.merch-results .clear-all-btn { background: transparent; border: none; padding: 8px 16px; font-family: Nexa-Bold; font-size: 14px; cursor: pointer; color: #333; text-decoration: underline; white-space: nowrap; }
.tmplv3.merch-results .clear-all-btn:hover { color: #000; }

/* ── Custom Dropdown (Desktop filter dropdowns) ──────────────────────── */
.tmplv3.merch-results .filter-dropdown { position: relative; }
.tmplv3.merch-results .filter-dropdown-toggle { display: flex; align-items: center; gap: 4px; background: transparent; border: 1px solid #C8C8C8; border-radius: 50px; padding: 8px 12px 8px 16px; font-family: Nexa-Regular; font-size: 14px; cursor: pointer; white-space: nowrap; color: #333; transition: background-color 0.15s ease; }
.tmplv3.merch-results .filter-dropdown-toggle:hover { background-color: #f5f5f5; }
.tmplv3.merch-results .filter-dropdown-toggle .filter-dropdown-chevron { width: 18px; height: 18px; transition: transform 0.2s ease; flex-shrink: 0; }
.tmplv3.merch-results .filter-dropdown.is-open .filter-dropdown-toggle .filter-dropdown-chevron { transform: rotate(180deg); }
.tmplv3.merch-results .filter-dropdown.has-filter .filter-dropdown-toggle { border-color: #000; }

.tmplv3.merch-results .filter-dropdown-menu { position: absolute; top: calc(100% + 4px); left: 0; min-width: 220px; max-height: 406px; overflow-y: auto; background: #fff; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); z-index: 100; padding: 12px 20px; }
.tmplv3.merch-results .filter-dropdown-menu ul { list-style: none; margin: 0; padding: 0; display: block; }
.tmplv3.merch-results .filter-dropdown-menu li { margin-bottom: 16px; }
.tmplv3.merch-results .filter-dropdown-menu li:last-child { margin-bottom: 0; }
.tmplv3.merch-results .filter-dropdown-menu .square-checkbox { font-size: 14px; font-family: Nexa-Regular; }
.tmplv3.merch-results .filter-dropdown-menu .round-radio { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.tmplv3.merch-results .filter-dropdown-menu .round-radio input[type="radio"] { margin: 0; }
.tmplv3.merch-results .filter-dropdown-menu .round-radio label { font-family: Nexa-Book; }

/* ── Sort Control ─────────────────────────────────────────────────────── */
.tmplv3.merch-results .sort-control { position: relative; }
.tmplv3.merch-results .sort-toggle { display: flex; align-items: center; gap: 4px; background: transparent; border: 1px solid #000; border-radius: 50px; padding: 8px 12px 8px 16px; font-family: Nexa-Regular; font-size: 14px; cursor: pointer; white-space: nowrap; color: #333; transition: background-color 0.15s ease; }
.tmplv3.merch-results .sort-toggle:hover { background-color: #f5f5f5; }
.tmplv3.merch-results .sort-toggle .filter-dropdown-chevron { width: 18px; height: 18px; transition: transform 0.2s ease; flex-shrink: 0; }
.tmplv3.merch-results .sort-control.is-open .sort-toggle .filter-dropdown-chevron { transform: rotate(180deg); }

.tmplv3.merch-results .sort-options { position: absolute; top: calc(100% + 4px); right: 0; min-width: 200px; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); z-index: 100; padding: 8px 0; list-style: none; margin: 0; }
.tmplv3.merch-results .sort-options li { padding: 0; }
.tmplv3.merch-results .sort-options button { display: block; width: 100%; text-align: left; background: transparent; border: none; padding: 10px 16px; font-family: Nexa-Regular; font-size: 14px; cursor: pointer; color: #333; }
.tmplv3.merch-results .sort-options button:hover,
.tmplv3.merch-results .sort-options button:focus { background-color: #f5f5f5; }

/* ── Round Radio Button (category filter) ─────────────────────────── */
.tmplv3 .round-radio label { display: flex; flex-wrap: wrap; align-items: center; margin: 0; cursor: pointer; line-height: 16px; }
.tmplv3 .round-radio input[type="radio"] { width: 16px; height: 16px; min-width: 16px; flex-shrink: 0; margin: 0 12px 0 0; cursor: pointer; border: 1px solid #000; background-color: transparent; appearance: none; -webkit-appearance: none; -moz-appearance: none; position: relative; box-sizing: border-box; border-radius: 50%; }
.tmplv3 .round-radio input[type="radio"]:checked { background-color: transparent; border-color: #000; }
.tmplv3 .round-radio input[type="radio"]:checked::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background-color: #000; transform: translate(-50%, -50%); }
.tmplv3 .round-radio input[type="radio"]:focus { outline: 2px dotted #000; outline-offset: 2px; }
.tmplv3 .round-radio input[type="radio"]:focus:not(:focus-visible) { outline: none; }
.tmplv3 .round-radio input[type="radio"]:focus-visible { outline: 2px dotted #000; outline-offset: 2px; }

/* ── Color Filter Option ──────────────────────────────────────────── */
.tmplv3.merch-results .filter-option-color,
.mr-filter-drawer .filter-option-color { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-family: Nexa-Regular; font-size: 14px; color: #333; }
.tmplv3.merch-results .filter-option-color input[type="checkbox"],
.mr-filter-drawer .filter-option-color input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.tmplv3.merch-results .filter-option-color .color-swatch,
.mr-filter-drawer .filter-option-color .color-swatch { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; position: relative; transition: box-shadow 0.15s ease; }
.tmplv3.merch-results .filter-option-color .color-swatch.ffffff,
.mr-filter-drawer .filter-option-color .color-swatch.ffffff { border: 1px solid #ccc; }
.tmplv3.merch-results .filter-option-color .color-swatch.rgb000,
.mr-filter-drawer .filter-option-color .color-swatch.rgb000 { background: url(//simages.ecampus.com/images/vbs/multi-color.jpg) no-repeat center center; background-size: cover; border: 0; }
.tmplv3.merch-results .filter-option-color input[type="checkbox"]:checked + .color-swatch,
.mr-filter-drawer .filter-option-color input[type="checkbox"]:checked + .color-swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #000; }
.tmplv3.merch-results .filter-option-color input[type="checkbox"]:focus-visible + .color-swatch,
.mr-filter-drawer .filter-option-color input[type="checkbox"]:focus-visible + .color-swatch { box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000; }
.tmplv3.merch-results .filter-option-color .color-name,
.mr-filter-drawer .filter-option-color .color-name { font-family: Nexa-Book; font-size: 16px; }

/* Color filter grid in dropdown */
.tmplv3.merch-results .filter-colors { display: flex; flex-wrap: wrap; gap: 0; }
.tmplv3.merch-results .filter-colors li { width: 50%; box-sizing: border-box; }


/* Price range custom */
.tmplv3.merch-results .price-range-custom,
.mr-filter-drawer .price-range-custom { display: flex; align-items: center; gap: 8px; padding: 12px 0; }
.tmplv3.merch-results .price-range-field input,
.mr-filter-drawer .price-range-field input { width: 90px; padding: 6px 10px; border: 1px solid #000; font-family: Nexa-Book; font-size: 14px; }
.tmplv3.merch-results .price-range-field input::placeholder,
.mr-filter-drawer .price-range-field input::placeholder { color: #58585D; }
.tmplv3.merch-results .price-range-to,
.mr-filter-drawer .price-range-to { width: 8px; height: 1px; flex-shrink: 0; background-color: #000; }
.tmplv3.merch-results .price-range-go button,
.mr-filter-drawer .price-range-go button { background: transparent; border: none; cursor: pointer; margin-top: 5px; margin-left: 3px; }
.tmplv3.merch-results .price-range-go button:hover,
.mr-filter-drawer .price-range-go button:hover { background-color: #f5f5f5; }

/* ── Selected Filters ─────────────────────────────────────────────────── */
.tmplv3.merch-results .selected-filters { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px 0; padding: 0; min-height: 0; }
.tmplv3.merch-results .selected-filters:empty { margin: 0; }
.tmplv3.merch-results .selected-filters li { display: flex; align-items: center; gap: 8px; background-color: #f0f0f0; border-radius: 50px; padding: 8px 12px 8px 16px; font-family: Nexa-Book; font-size: 13px; line-height: 13px; color: #000; }
.tmplv3.merch-results .selected-filters li .color-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.tmplv3.merch-results .selected-filters li .color-dot.ffffff { border: 1px solid #ccc; }
.tmplv3.merch-results .selected-filters li .color-dot.rgb000 { background: url(//simages.ecampus.com/images/vbs/multi-color.jpg) no-repeat center center; background-size: cover; border: 0; }
.tmplv3.merch-results .selected-filters li button { display: flex; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; padding: 2px; border-radius: 50%; color: #666; transition: color 0.15s ease; }
.tmplv3.merch-results .selected-filters li button:hover { color: #000; }

/* ── Results Meta (count + pagination) ────────────────────────────────── */
.tmplv3.merch-results .results-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tmplv3.merch-results .results-count { font-family: Nexa-Book; font-size: 14px; color: #333; }

/* ── Pagination ───────────────────────────────────────────────────────── */
.tmplv3.merch-results .pagination { display: flex; justify-content: flex-end; margin: 2px 0; }
.tmplv3.merch-results .pagination nav { display: flex; align-items: center; gap: 4px; }
.tmplv3.merch-results .pagination-numbers { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; }
.tmplv3.merch-results .pagination-numbers li { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; font-family: Nexa-Regular; font-size: 14px; }
.tmplv3.merch-results .pagination-numbers li.current { font-family: Nexa-Bold; background-color: #f0f0f0; border-radius: 4px; }
.tmplv3.merch-results .pagination-numbers li a { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; text-decoration: none; color: #333; border-radius: 4px; }
.tmplv3.merch-results .pagination-numbers li a:hover { background-color: #f5f5f5; }
.tmplv3.merch-results .pagination-prev,
.tmplv3.merch-results .pagination-next { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; text-decoration: none; color: #333; font-size: 20px; border-radius: 4px; font-family: Nexa-Bold; }
.tmplv3.merch-results .pagination-prev:hover,
.tmplv3.merch-results .pagination-next:hover { background-color: #f5f5f5; }
.tmplv3.merch-results .pagination-bottom { margin-top: 24px; }

/* ── Results Grid ─────────────────────────────────────────────────────── */
.tmplv3.merch-results .results-grid { min-height: 200px; }
.tmplv3.merch-results .results-grid .obs-loading { padding: 80px 0; }
.tmplv3.merch-results .results-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; list-style: none; margin: 0; padding: 0; }
.tmplv3.merch-results .results-list > li { width: auto; }
.tmplv3.merch-results .results-list > li > a { display: block; text-decoration: none; color: inherit; }

/* Product Image Container */
.tmplv3.merch-results .result-image { position: relative; width: 100%; aspect-ratio: 192 / 260; overflow: hidden; }
.tmplv3.merch-results .result-image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Product Flags */
.tmplv3.merch-results .result-image .flags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tmplv3.merch-results .result-image .flags span { pointer-events: auto; font-family: Nexa-Regular; font-size: 13px; position: absolute; display: inline-block; }
.tmplv3.merch-results .result-image .flags .upper-right { top: 0; right: 0; color: #fff; background: rgba(0,0,0,0.55); padding: 6px 12px; line-height: 1; }
.tmplv3.merch-results .result-image .flags .lower-left { bottom: 10px; left: 10px; color: #000; background: #fff; border: 1px solid #000; border-radius: 8px; line-height: 1; padding: 6px 12px; }
.tmplv3 .carousel .image .flags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tmplv3 .carousel .image .flags span { pointer-events: auto; font-family: Nexa-Regular; font-size: 13px; position: absolute; display: inline-block; }
.tmplv3 .carousel .image .flags .upper-left { top: 0; left: 0; color: #fff; background: rgba(0,0,0,0.55); padding: 6px 12px; line-height: 1; }
.tmplv3 .carousel .image .flags .upper-right { top: 0; right: 0; color: #fff; background: rgba(0,0,0,0.55); padding: 6px 12px; line-height: 1; }
.tmplv3 .carousel .image .flags .lower-left { bottom: 10px; left: 10px; color: #000; background: #fff; border: 1px solid #000; border-radius: 8px; line-height: 1; padding: 6px 12px; }
.tmplv3 .carousel .image .flags .lower-right { bottom: 10px; right: 10px; color: #000; background: #fff; border: 1px solid #000; border-radius: 8px; line-height: 1; padding: 6px 12px; }

/* Product Details */
.tmplv3.merch-results .result-details { margin-top: 10px; }
.tmplv3.merch-results .result-title { font-family: Nexa-Bold; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.tmplv3.merch-results .result-price { font-family: Nexa-Book; font-size: 15px; }
.tmplv3.merch-results .result-price .sale-price { color: #C41230; font-family: Nexa-Bold; }
.tmplv3.merch-results .result-price .original-price { color: #333; margin-left: 6px; font-size: 13px; }
.tmplv3.merch-results .sale-tag { font-size: 13px; line-height: 13px; color: #C41230; margin-top: 4px; }

/* Color Choices */
.tmplv3.merch-results .color-choices { display: flex; flex-wrap: wrap; gap: 0; margin: 16px 0 0 0; padding: 0; }
.tmplv3.merch-results .color-choices span { width: 16px; height: 16px; border-radius: 50%; margin: 0 6px 6px 0; display: block; }
.tmplv3.merch-results .color-choices .ffffff { border: 1px solid #ccc; }
.tmplv3.merch-results .color-choices .rgb000 { background: url(//simages.ecampus.com/images/vbs/multi-color.jpg) no-repeat center center; background-size: cover; border: 0; }

/* No Results */
.tmplv3.merch-results .no-results { text-align: center; padding: 60px 20px; }
.tmplv3.merch-results .no-results .sorry { font-family: Nexa-Bold; font-size: 18px; margin-bottom: 12px; }
.tmplv3.merch-results .no-results p { font-family: Nexa-Book; font-size: 14px; color: #666; }

/* ── Filter Drawer Overrides ──────────────────────────────────────────── */
.mr-filter-drawer.drawer-modal-drawer { display: flex !important; flex-direction: column; }

/* Ensure filter drawer slides from left */
.mr-filter-drawer.drawer-modal-drawer.drawer-modal-drawer-left {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-100%) !important;
    padding-right: 14px !important;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.mr-filter-drawer.drawer-modal-drawer.drawer-modal-drawer-left.is-open {
    transform: translateX(0) !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15) !important;
}
.mr-filter-drawer .drawer-modal-header { position: sticky; top: 0; background: #fff; z-index: 10; padding: 10px 10px 10px 24px; }
.mr-filter-drawer .drawer-modal-title { font-family: Nexa-Bold; font-size: 20px; margin: 0; padding-top: 11px; }
.mr-filter-drawer .drawer-modal-content { flex: 1; overflow-y: hidden; display: flex; flex-direction: column; padding: 0; }

.mr-filter-drawer .filter-drawer-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 10px 24px 10px; }

/* Selected filters in drawer */
.mr-filter-drawer .filter-drawer-scroll .selected-filters { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px 0; padding: 0; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters:empty { margin: 0; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li { display: flex; align-items: center; gap: 6px; height: 24px; background-color: #efefef; border-radius: 50px; padding: 0 8px 0 12px; font-family: Nexa-Book; font-size: 13px; color: #000; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li .color-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; display: inline-block; border: 1px solid #ddd; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li .color-dot.ffffff { border: 1px solid #ccc; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li .color-dot.rgb000 { background: url(//simages.ecampus.com/images/vbs/multi-color.jpg) no-repeat center center; background-size: cover; border: 0; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li button { display: flex; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; padding: 2px; border-radius: 50%; color: #666; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li button:hover { color: #000; }
.mr-filter-drawer .filter-drawer-scroll .selected-filters li button svg { width: 10px; height: 10px; }

/* Filter Sections (accordion — mirrors .header-menu-bar .nav-item pattern) */
.mr-filter-drawer .filter-section { border-bottom: 1px solid #e5e5e5; }
.mr-filter-drawer .filter-section-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: transparent; border: none; padding: 20px 0; cursor: pointer; font-family: Nexa-Regular; font-size: 18px; color: #333; letter-spacing: 0.5px; text-align: left; }
.mr-filter-drawer .filter-section-toggle::after { content: ''; display: block; width: 24px; height: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z' fill='black'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; transition: transform 0.2s ease; flex-shrink: 0; margin-left: auto; transform-origin: center; }
.mr-filter-drawer .filter-section.is-open .filter-section-toggle::after { transform: rotate(180deg); }

/* Hidden by default, shown when .is-open */
.mr-filter-drawer .filter-section-content { display: none; padding: 0 0 16px 0; }
.mr-filter-drawer .filter-section.is-open .filter-section-content { display: block; margin-top: 10px; }
.mr-filter-drawer .filter-section-content ul { list-style: none; margin: 0; padding: 0; }
.mr-filter-drawer .filter-section-content li { padding: 0 0 16px 4px; }
.mr-filter-drawer .filter-section-content li:last-child { padding-bottom: 0; }
.mr-filter-drawer .filter-section-content .square-checkbox { font-family: Nexa-Book; font-size: 16px; color: #333; }
.mr-filter-drawer .filter-section-content .round-radio { font-family: Nexa-Book; font-size: 16px; color: #333; }
#drw-avail .square-checkbox label { line-height: 20px; }
#drw-avail .square-checkbox input[type="checkbox"] { margin-top: 2px; }

/* Brand show more/less */
.tmplv3.merch-results .brand-overflow,
.mr-filter-drawer .brand-overflow { display: none; }
.tmplv3.merch-results .brand-toggle-li,
.mr-filter-drawer .brand-toggle-li { list-style: none; }
.tmplv3.merch-results .brand-show-toggle,
.mr-filter-drawer .brand-show-toggle { background: none; border: none; padding: 0; margin: 4px 0 0 0; cursor: pointer; font-family: Nexa-Bold; font-size: 14px; color: #333; text-decoration: underline; }
.tmplv3.merch-results .brand-show-toggle:hover,
.mr-filter-drawer .brand-show-toggle:hover { color: #000; }

/* 2-column color list in drawer */
.tmplv3 .checkout-body .shipping-method input[type="radio"].mr-filter-drawer #drawer-color-filter { display: flex; flex-wrap: wrap; gap: 0; }
.mr-filter-drawer #drawer-color-filter li { width: 50%; box-sizing: border-box; }

/* Drawer Action Buttons */
.mr-filter-drawer .filter-drawer-actions { position: sticky; bottom: 0; background: #fff; padding: 16px 5px; display: flex; gap: 12px; z-index: 10; }
.mr-filter-drawer .filter-drawer-clear { flex: 1 1 0; box-sizing: border-box; padding: 0; height: 44px; border: 1px solid #333; border-radius: 50px; background: transparent; font-family: Nexa-Bold; font-size: 18px; cursor: pointer; color: #333; }
.mr-filter-drawer .filter-drawer-clear:hover { background-color: #f5f5f5; }
.mr-filter-drawer .filter-drawer-apply { flex: 1 1 0; box-sizing: border-box; padding: 0; height: 44px; border-radius: 50px; border: none; font-family: Nexa-Bold; font-size: 18px; cursor: pointer; color: #fff; }

.mr-filter-drawer .round-radio input[type="radio"] { margin-right: 0; }
.mr-filter-drawer .round-radio { 
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.subcart-drawer-wrapper .subcart-drawer.is-open {
    transform: translateX(0);
}

.subcart-drawer-wrapper .subcart-drawer .menu-close-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.subcart-drawer-wrapper .subcart-drawer .menu-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.subcart-drawer-wrapper .subcart-drawer .menu-close-btn:hover {
    background-color: #F5F5F5;
}

.subcart-drawer-wrapper .subcart-drawer .menu-close-btn:focus {
    outline: 2px dotted #000;
    outline-offset: 2px;
}

.subcart-drawer-wrapper .subcart-drawer .item {
    margin: 32px 0 40px 0;
}

.subcart-drawer-wrapper .subcart-drawer .item .image {
    flex-shrink: 0;
    width: 150px;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcart-drawer-wrapper .subcart-drawer .item .image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.subcart-drawer-wrapper .subcart-drawer .item .details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.subcart-drawer-wrapper .subcart-drawer .item .details p {
    margin: 0;
    padding: 0;
}

.subcart-drawer-wrapper .subcart-drawer .item .details .title {
    font-size: 20px;
    font-family: Nexa-Bold;
    line-height: 1.3;
    margin: 0 0 18px 0;
}

.subcart-drawer-wrapper .subcart-drawer .item .details .price {
    font-size: 18px;
    margin: 0 0 18px 0;
}

.subcart-drawer-wrapper .subcart-drawer .item .details .color,
.tmplv3 .subcart-drawer .item .details .size {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.subcart-drawer-wrapper .subcart-drawer .item .details .color:empty,
.subcart-drawer-wrapper .subcart-drawer .item .details .size:empty {
    display: none;
}

.subcart-drawer-wrapper .subcart-drawer .buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subcart-drawer-wrapper .subcart-drawer .buttons .btn {
    display: block;
    width: 100%;
    height: 44px;
    font-size: 18px;
    font-family: Nexa-Bold;
}


/* Reusable Drawer/Modal Component */
.drawer-modal-container {
    position: relative;
    top: 0;
    left: 0;
}

/* Scroll wrapper used when a modal-mode DrawerModal is present */
.drawer-modal-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;

    /*padding: 20px 5%;*/
    box-sizing: border-box;
}

.drawer-modal-modal-container.is-open {
    pointer-events: auto;
}

/* Backdrop sits behind the modal within the container's stacking context */
.drawer-modal-modal-container .drawer-modal-backdrop {
    z-index: 0;
}

.drawer-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.drawer-modal {
    position: fixed;
    background-color: #fff;
    z-index: 2001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Drawer mode - slides from right (default) */
.drawer-modal.drawer-modal-drawer {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    display: flex !important;
}

.drawer-modal.drawer-modal-drawer.is-open {
    transform: translateX(0) !important;
}

/* Drawer mode - slides from left (more specific to override base drawer styles) */
.drawer-modal.drawer-modal-drawer.drawer-modal-drawer-left {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-100%) !important;
    padding-right: 14px !important;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.drawer-modal.drawer-modal-drawer.drawer-modal-drawer-left.is-open {
    transform: translateX(0) !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15) !important;
}

/* Drawer mode - slides from right (explicit, more specific to override base drawer styles) */
.drawer-modal.drawer-modal-drawer.drawer-modal-drawer-right {
    right: 0 !important;
    left: auto !important;
    transform: translateX(100%) !important;
    padding-left: 14px !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.drawer-modal.drawer-modal-drawer.drawer-modal-drawer-right.is-open {
    transform: translateX(0) !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15) !important;
}

/* School color close box for drawers */
.drawer-modal-school-color-close {
    position: absolute;
    top: 200px;
    width: 14px;
    height: 140px;
    background-color: #000000;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.drawer-modal-school-color-close:hover {
    opacity: 0.9;
}

.drawer-modal-school-color-close:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.drawer-modal-school-color-close .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Position school color close box on right side for left drawers */
.drawer-modal.drawer-modal-drawer.drawer-modal-drawer-left .drawer-modal-school-color-close {
    right: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Position school color close box on left side for right drawers */
.drawer-modal.drawer-modal-drawer.drawer-modal-drawer-right .drawer-modal-school-color-close {
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Modal mode - sits inside the .drawer-modal-modal-container scroll wrapper */
.drawer-modal.drawer-modal-modal {
    position: relative;
    transform: scale(0.95);
    width: calc(100% - 60px);
    max-width: 600px;
    height: auto;
    max-height: none;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: visible;
    overflow-x: hidden;
    z-index: 1;
    flex-shrink: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.drawer-modal.drawer-modal-modal.is-open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.drawer-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 10px 24px 20px;
}

.drawer-modal-header:has(.drawer-modal-close-wrapper):not(:has(.drawer-modal-title)) {
    justify-content: flex-end;
}

.drawer-modal-title {
    font-size: 32px;
    font-family: Nexa-Bold;
    color: #333;
    margin: 0;
    flex: 1;
    padding-top: 20px;
    display: flex;.mr-filter-drawer .filter-drawer-clear
    align-items: center;
    gap: 12px;
}

.drawer-modal-drawer .drawer-modal-title {
    padding-top: 18px;
}

.drawer-modal-title-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.drawer-modal-close-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 15px;
}

.drawer-modal-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: background-color 0.2s ease;
    color: #333;
    width: 40px;
    height: 40px;
}

.drawer-modal-close-btn:hover {
    background-color: #ececec;
}

.drawer-modal-close-btn:focus {
    outline: 2px dotted #000;
    outline-offset: 2px;
}

.drawer-modal-close-btn svg {
    width: 24px;
    height: 24px;
}

/* Reusable Magnific Popup close button (mgnfc-) */
.mgnfc-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.mgnfc-header h2 {
    flex: 1;
    margin: 0;
}

.mgnfc-close-wrapper {
    flex-shrink: 0;
}

.mgnfc-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: background-color 0.2s ease;
    color: #333;
    padding: 10px;
}

.mgnfc-close-btn:hover {
    background-color: #ececec;
}

.mgnfc-close-btn:focus {
    outline: 2px dotted #000;
    outline-offset: 2px;
}

.mgnfc-close-btn svg {
    width: 24px;
    height: 24px;
}

.drawer-modal-content {
    flex: 1;
    padding: 0 30px;
    overflow-y: visible;
}

/* Drawer mode overrides */
.drawer-modal.drawer-modal-drawer {
    overflow-y: hidden;
}

.drawer-modal.drawer-modal-drawer .drawer-modal-content {
    padding: 0 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* For modal mode, content scrolls via the modal container itself */
.drawer-modal.drawer-modal-modal .drawer-modal-content {
    overflow-y: visible;
    max-height: none;
    overflow-x: hidden;
}

.drawer-modal-loading {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drawer-modal-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(51, 51, 51, 0.2);
    border-top-color: #333;
    border-radius: 50%;
    animation: drawer-modal-spin 0.7s linear infinite;
}

.obs-loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.obs-loading-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(51, 51, 51, 0.2);
    border-top-color: #333;
    border-radius: 50%;
    animation: drawer-modal-spin 0.7s linear infinite;
}

@keyframes drawer-modal-spin {
    to { transform: rotate(360deg); }
}

.drawer-modal-error {
    padding: 40px 20px;
    text-align: center;
}

.drawer-modal-error p {
    margin-bottom: 20px;
    color: #C41230;
}

/* Prevent body scroll when drawer/modal is open */
body.drawer-modal-open {
    overflow: hidden;
}

/* Allow body scroll for modal mode so page can scroll */
body.drawer-modal-open.drawer-modal-mode-modal {
    overflow: auto;
}

/* Ensure content is visible within modal */
.write-review-content {
    width: 100%;
    padding: 0;
    background-color: transparent;
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
}

.review-image-modal-content { display: flex; justify-content: center; align-items: center; padding: 20px; min-height: 200px; }
.review-image-modal-content img { max-width: 80vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; }

.write-review-product {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.write-review-product .product-image {
    flex-shrink: 0;
    width: 120px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.write-review-product .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.write-review-product .product-details {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.write-review-product .product-name {
    font-size: 18px;
    font-family: Nexa-Bold;
    color: #333;
    margin: 0;
    line-height: 22px;
}

.write-review-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.write-review-upload .upload-link {
    text-decoration: underline;
    color: #000;
    font-size: 16px;
    font-family: Nexa-Regular;
}

.write-review-upload .upload-icon {
    background: transparent;
    border: 0;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

/* Hide the native file input — triggered programmatically */
#upload-picture-input { display: none; }

/* Disabled state when 3 images are already queued */
.write-review-upload .upload-link--disabled,
.write-review-upload .upload-icon--disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* Preview grid */
.review-upload-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    min-height: 0;
}

/* Individual thumbnail wrapper */
.review-upload-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E9E9EA;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.review-upload-item.review-upload-item--loading { opacity: 0.75; }

/* Thumbnail image */
.review-upload-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Spinner shown while uploading */
.review-upload-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border: 2px solid rgba(0,0,0,0.15);
    border-top-color: #000;
    border-radius: 50%;
    animation: review-upload-spin 0.7s linear infinite;
}

@keyframes review-upload-spin {
    to { transform: rotate(360deg); }
}

/* × remove button on each thumbnail */
.review-upload-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.15s ease;
}

.review-upload-remove:hover,
.review-upload-remove:focus-visible { background: rgba(0,0,0,0.82); }

/* Status / error message below the upload row */
.review-upload-message {
    font-size: 14px;
    font-family: Nexa-Regular;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 4px;
}

.review-upload-message--error {
    color: #c62828;
    background-color: #ffebee;
    border: 1px solid #c62828;
}

.review-upload-message--warning {
    color: #7a5c00;
    background-color: #fff8e1;
    border: 1px solid #f9c74f;
}

.form-error {
    color: #c62828;
    background-color: #ffebee;
    border: 1px solid #c62828;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
}

.write-review-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.write-review-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 0 20px;
}

.write-review-form-row {
    display: flex;
    flex-direction: column;
}

.write-review-form-row #review-rating-label { font-size: 16px; }

.write-review-form .form-group--rating {
    flex-direction: row !important;
    gap: 12px;
    margin-bottom: 0;
}

.write-review-form .form-group--rating label { line-height: 37px; }

/* ── Write-review slider styles ───────────────────────────────────────────── */
.sliders-wrapper {
    margin: 30px 0;
}

.slider-group {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-label {
    display: block;
    font-weight: 500;
    color: #333;
}

.slider-container {
    position: relative;
    flex: 1;
    width: 100%;
}

.slider-input {
    position: absolute;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    -webkit-appearance: none;
    appearance: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #C8C8C8;
    border-radius: 2px;
    margin: 8px 0 40px 0;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: #C8C8C8;
    border-radius: 2px;
    transition: width 0.1s ease;
}

.slider-thumb {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-color: #000;
    border-radius: 50%;
    cursor: grab;
    z-index: 3;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    touch-action: none;
}

.slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Suppress the browser's default focus ring on the invisible native range input */
.slider-input:focus,
.slider-input:focus-visible {
    outline: none;
}

/* Show a visible focus ring on the visual thumb when the native input is focused */
.slider-input:focus-visible + .slider-track .slider-thumb,
.slider-thumb--dragging {
    outline: 2px dotted #000;
    outline-offset: 4px;
    border-radius: 50%;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    font-family: Nexa-Book;
}

.write-review-content .slider-labels { margin-top: -30px; }

.slider-label-item {
    font-size: 11px;
    color: #333;
    text-align: center;
    flex: 1;
    position: relative;
    padding-top: 8px;
    line-height: 12px;
}

.slider-label-item::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 15px;
    background-color: #000;
}

.slider-label-item:first-child { text-align: left; }
.slider-label-item:first-child::before { left: 0; transform: none; }
.slider-label-item:last-child { text-align: right; }
.slider-label-item:last-child::before { left: auto; right: 0; transform: none; }
.slider-label-item:nth-child(2) { text-align: center; margin-left: -10%; }
.slider-label-item:nth-child(3) { text-align: center; }
.slider-label-item:nth-child(4) { text-align: center; margin-right: -10%; }

.write-review-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.write-review-form label {
    font-size: 13px;
    font-family: Nexa-Regular;
    color: #333;
}

.write-review-form .form-note {
    font-family: Nexa-Book-Italic;
    font-weight: normal;
}

.write-review-form .form-input,
.write-review-form .form-textarea,
.write-review-form .form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 16px;
    font-family: Nexa-Regular;
    background-color: #fff;
    box-sizing: border-box;
    height: 40px;
}

.write-review-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

.write-review-form .form-select {
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 48px;
}

.star-rating {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star-rating .star-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    /* Ensure inputs are still focusable for keyboard navigation */
    opacity: 0;
    pointer-events: auto;
}

.star-rating .star-wrapper {
    display: inline-block;
    cursor: pointer;
}

.star-rating .star-label {
    cursor: pointer;
    display: inline-block;
    /* Make labels keyboard accessible */
    position: relative;
}

.star-rating .star-label:focus {
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-radius: 2px;
}

.star-rating .star-label svg {
    width: 24px;
    height: 24px;
    display: block;
    pointer-events: none;
}

.empty-star,
.filled-star {
  pointer-events: none;
}

.star-rating .star-input:focus + .star-wrapper .star-label {
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Screen reader only - visually hidden but accessible to assistive technology */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.write-review-content .form-actions {
    margin-top: 8px;
    margin-bottom: 6px;
}

.btn-submit-review {
    width: 100%;
    height: 44px;
    font-size: 18px;
    font-family: Nexa-Bold;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}


/* Star rating interactive behavior */
.star-rating {
    position: relative;
}

/* ══════════════════════════════════════════════════════════════════════
   Cart Page — .tmplv3.cart-page
   Mobile-first. All cart rules are nested under .tmplv3.cart-page.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Page wrapper ────────────────────────────────────────────────────── */
.tmplv3.cart-page { padding: 20px 16px 0 16px; font-family: Nexa-Regular; }
.tmplv3.cart-page h2 { font-family: Nexa-Regular; font-size: 26px; color: #000; margin: 0 0 16px 0; text-align: left; }
.tmplv3.cart-page h2 .cart-heading-label { color: #000000; font-size: 26px; font-family: Nexa-Regular; }
.tmplv3.cart-page h2 .cart-item-count-wrap { font-size: 18px; }

/* ── Full-bleed divider below h2 ─────────────────────────────────────── */
.tmplv3.cart-page .cart-divider { border: none; display: block; margin: 20px -16px 30px -16px; height: 8px; background: linear-gradient(to top, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0) 100%); }

/* ── Header messages ─────────────────────────────────────────────────── */
.tmplv3.cart-page #header-messages { margin-bottom: 12px; font-size: 14px; }
.tmplv3.cart-page #header-messages p { margin: 0 0 8px 0; }
.tmplv3.cart-page #header-messages .error { color: #C41230; }
.tmplv3.cart-page #header-messages .comp-ship { background: #f5f5f5; border-left: 3px solid #000000; padding: 8px 12px; margin-bottom: 8px; font-size: 13px; }
.tmplv3.cart-page #header-messages .comp-ship span { font-family: Nexa-Bold; }
.tmplv3.cart-page #header-messages .bold-message { font-family: Nexa-Bold; font-size: 14px; }
.tmplv3 .school-text-color { color: #000000 !important; }

/* ── Empty cart ──────────────────────────────────────────────────────── */
.tmplv3.cart-page .empty-cart { display: none; text-align: center; padding: 40px 0; }
.tmplv3.cart-page .empty-cart p { margin-bottom: 20px; font-size: 26px; font-family: Nexa-Regular; }
.tmplv3.cart-page .empty-cart hr.gyt-divider { border: none; border-top: 1px solid #ccc; margin: 40px 30px; }
.tmplv3.cart-page .empty-cart .continue-shopping { font-size: 18px; }
.tmplv3.cart-page .empty-cart .gyt .gyt-wrapper { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.tmplv3.cart-page .empty-cart .gyt .tablet-image { width: 64px; }
.tmplv3.cart-page .empty-cart .gyt .book-image { width: 64px; }
.tmplv3.cart-page .empty-cart .gyt .text { padding-left: 8px; font-size: 24px; line-height: 24px; font-family: Nexa-Bold; margin-left: 5px; width: 110px; }
.tmplv3.cart-page .empty-cart .gyt .buttons { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 15px; }

/* ── Cart wrapper ────────────────────────────────────────────────────── */
.tmplv3.cart-page .cart-wrapper { display: block; }

/* ── Cart items list ─────────────────────────────────────────────────── */
.tmplv3.cart-page .cart-items { margin: 0 0 24px 0; }

/* ── Item wrapper: 2-column on mobile (image + content) ──────────────── */
.tmplv3.cart-page .item-wrapper { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; padding: 30px 0; border-bottom: 1px solid #ccc; }
.tmplv3.cart-page .item-wrapper:first-child { border-top: 1px solid #ccc; }

/* ── Image column: 91px on mobile ───────────────────────────────────── */
.tmplv3.cart-page .item-col--image { width: 91px; flex-shrink: 0; }
.tmplv3.cart-page .item-col--image img { width: 100%; height: auto; display: block; }
.tmplv3.cart-page .item-col--image img.default-image { width: 70px; }

/* ── Content wrapper: fills remaining space, stacks cols vertically on mobile */
.tmplv3.cart-page .item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ── Info column: full width on mobile ───────────────────────────────── */
.tmplv3.cart-page .item-col--info { width: 100%; display: flex; flex-direction: column; gap: 0; }
.tmplv3.cart-page .item-col--info .item-price-wrap { display: block; }

/* spacing between sections in info col: 8px default, 24px after title and attrs block */
.tmplv3.cart-page .item-info-top { display: flex; flex-direction: column; }
.tmplv3.cart-page .item-col--info h3 { margin: 0; font-size: inherit; font-weight: normal; }
.tmplv3.cart-page .item-col--info .title { font-family: Nexa-Bold; font-size: 14px; line-height: 18px; margin-top: 8px; }
.tmplv3.cart-page .item-col--info .title a { color: #000; text-decoration: none; }
.tmplv3.cart-page .item-col--info .title a:hover { text-decoration: underline; }
.tmplv3.cart-page .item-col--info .title .bundle { color: #000000; }
.tmplv3.cart-page .item-attrs { display: flex; flex-direction: column; margin-top: 24px; }
.tmplv3.cart-page .item-attrs .item { font-family: Nexa-Book; font-size: 13px; margin: 0; }
.tmplv3.cart-page .item-col--info .isbn { font-family: Nexa-Book; font-size: 13px; margin-top: 8px; }
.tmplv3.cart-page .item-attr-label { font-family: Nexa-Bold; }
.tmplv3.cart-page .item-attr-value { font-family: Nexa-Book; }
.tmplv3.cart-page .item-col--type .gift-card-details { font-family: 'Nexa-Book-Italic'; font-size: 14px; }
.tmplv3.cart-page .item-col--type .gift-card-edit { margin-top: 12px; font-family: 'Nexa-Regular'; font-size: 14px; color: #333; }
.tmplv3.cart-page .item-col--type .gift-card-edit a { color: #333; text-decoration: underline; }
.tmplv3.cart-page .item-col--type .seller-comments { font-family: Nexa-Book-Italic; font-size: 13px; display: block; line-height: 1.3; }
.tmplv3.cart-page .item-col--info .ebook-trial { display: flex; flex-direction: row; align-items: center; gap: 6px; margin: 8px 0 0 0; }
.tmplv3.cart-page .item-col--info .ebook-trial .image { flex-shrink: 0; display: flex; align-items: center; }
.tmplv3.cart-page .item-col--info .ebook-trial .text { font-family: Nexa-Book; font-size: 13px; }
.tmplv3.cart-page .item-col--info .ebook-trial .clear,
.tmplv3.cart-page .item-col--info .ebook-trial .details { display: none; }
.tmplv3.cart-page .item-col--info .access-code-details { font-size: 12px; margin-top: 4px; }
.tmplv3.cart-page .item-col--info .access-code-details a { color: #000000; }
.tmplv3.cart-page .item-col--info .access-code { font-size: 12px; margin: 4px 0 0 0; }
.tmplv3.cart-page .item-col--info .course-book-comment { font-size: 12px; margin-top: 4px; }

/* 24px gap before course info */
.tmplv3.cart-page .item-col--info .course-info-wrapper { margin-top: 24px; }
.tmplv3.cart-page .item-col--info .course { font-family: Nexa-Bold; font-size: 14px; line-height: 18px; }
.tmplv3.cart-page .item-col--info .semester { font-family: Nexa-Bold; font-size: 14px; line-height: 18px; }
.tmplv3.cart-page .item-col--info .course-name { font-family: Nexa-Book; font-size: 13px; line-height: 18px; }
.tmplv3.cart-page .item-col--info .bb-guarantee { font-family: Nexa-Regular; font-size: 13px; color: #247E0C; margin-top: 24px; }

/* ── Type/availability column: full width on mobile, 24px gap above ─── */
.tmplv3.cart-page .item-col--type { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.tmplv3.cart-page .item-col--type .condition { font-family: Nexa-Bold; font-size: 14px; margin-top: 24px; }
.tmplv3.cart-page .item-col--type .condition.non-returnable { color: #C41230; font-family: Nexa-Book-Italic; font-size: 13px; margin-top: 0; line-height: 1.3; }
.checkout-order-summary .cart .co-item-non-returnable { color: #C41230; }
.tmplv3.cart-page .item-col--type .due { font-family: Nexa-Bold; font-size: 14px; color: #247E0C; }
.tmplv3.cart-page .item-col--type .due em { font-style: normal; }
.tmplv3.cart-page .item-col--type .availability { font-family: Nexa-Regular; font-size: 13px; color: #247E0C; display: block; }
.tmplv3.cart-page .item-col--type .availability a { text-decoration: underline; color: #247E0C; }
.tmplv3.cart-page .item-col--type .availability a:hover { text-decoration: none; }

/* ── Shared price styles ─────────────────────────────────────────────── */
.tmplv3.cart-page .item-price { font-family: Nexa-Bold; font-size: 16px; }
.tmplv3.cart-page .fee-asterisk { font-size: 14px; }

/* ── Qty column: full width on mobile ────────────────────────────────── */
.tmplv3.cart-page .item-col--qty { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tmplv3.cart-page .item-col--qty .item-price--tablet { display: inline; }
.tmplv3.cart-page .item-col--qty .item-price-wrap { display: block; margin-bottom: 8px; }
.tmplv3.cart-page .item-col--qty .item-price { font-family: Nexa-Bold; font-size: 16px; display: block; }
.tmplv3.cart-page .item-col--qty .ddlQty { margin-top: 20px; width: 100%; max-width: 64px; height: 40px; border: 1px solid #000; border-radius: 4px; padding: 4px 28px 4px 10px; font-size: 13px; font-family: Nexa-Book; appearance: none; -webkit-appearance: none; background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E'); background-size: 20px 20px; background-repeat: no-repeat; background-position: right 6px center; background-color: #fff; cursor: pointer; }

/* ── Rental options ──────────────────────────────────────────────────── */
.tmplv3.cart-page .rental-options { }
.tmplv3.cart-page .ddlRentalTerm,
.tmplv3.cart-page .ddlEBookDuration { width: 100%; max-width: 300px; height: 40px; border: 1px solid #000; margin: 4px 0 4px 0; border-radius: 4px; padding: 4px 28px 4px 10px; font-size: 13px; font-family: Nexa-Book; appearance: none; -webkit-appearance: none; background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E'); background-size: 20px 20px; background-repeat: no-repeat; background-position: right 6px center; background-color: #fff; cursor: pointer; }

/* ── Ebook options ───────────────────────────────────────────────────── */
.tmplv3.cart-page .ebook-options { }
.tmplv3.cart-page .ddlEBookDuration { width: 100%; max-width: 300px; height: 40px; border: 1px solid #000; border-radius: 4px; padding: 4px 28px 4px 10px; font-size: 13px; font-family: Nexa-Book; appearance: none; -webkit-appearance: none; background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M17.6571 7.7573L19.0713 9.1715L12.0002 16.2426L4.92915 9.1715L6.34337 7.7573L12.0002 13.4141L17.6571 7.7573Z\' fill=\'black\'/%3E%3C/svg%3E'); background-size: 20px 20px; background-repeat: no-repeat; background-position: right 6px center; background-color: #fff; cursor: pointer; }

/* ── Cart summary wrapper ────────────────────────────────────────────── */
.tmplv3.cart-page .cart-summary-wrapper { width: 100%; }
.tmplv3.cart-page .multiple-qty { color: #C41230; font-size: 13px; font-family: Nexa-Regular; margin-bottom: 16px; line-height: 1.4; }
.tmplv3.cart-page #order-summary-header { font-family: Nexa-Regular; font-size: 20px; color: #000000; margin-bottom: 12px; }
.tmplv3.cart-page #order-summary { }
.tmplv3.cart-page dl.summary-subtotals { margin: 0 0 16px 0; }
.tmplv3.cart-page .summary-subtotals dt { font-weight: normal; }
.tmplv3.cart-page .summary-subtotals dd { margin: 0; }
.tmplv3.cart-page .totals-row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 5px 0; font-family: Nexa-Book; font-size: 18px; }
.tmplv3.cart-page .totals-row.items-row { font-family: Nexa-Regular; font-size: 18px; border-bottom: 4px solid #333; padding-bottom: 20px; margin-bottom: 12px; }
.tmplv3.cart-page .totals-row.subtotal-row { font-size: 18px; }
.tmplv3.cart-page .totals-row .total-amount.saved {  }
.tmplv3.cart-page .totals-row .total-amount.shipping { }
.tmplv3.cart-page .totals-row.fee-blurb { font-size: 12px; display: block; padding: 4px 0 8px 0; }
.tmplv3.cart-page .fee-icon { width: 16px; height: 16px; vertical-align: middle; }
.tmplv3.cart-page .fees-toggle-btn { background: none; border: none; padding: 0; font-family: Nexa-Book; font-size: 18px; cursor: pointer; display: flex; align-items: center; gap: 6px; color: inherit; }
.tmplv3.cart-page .fees-toggle-btn .sort-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.tmplv3.cart-page .fees-toggle-btn[aria-expanded="true"] .sort-chevron { transform: rotate(180deg); }

/* ── Proceed to checkout button (in summary panel) ───────────────────── */
.tmplv3.cart-page #proceed-button { margin-top: 16px; }
.tmplv3.cart-page #proceed-button .btn-checkout { display: block; width: 100%; box-sizing: border-box; text-align: center; background-color: #000000; color: #ffffff; font-family: Nexa-Bold; font-size: 18px; height: 48px; line-height: 48px; border-radius: 50px; text-decoration: none; }
.tmplv3.cart-page #proceed-button .btn-checkout:hover { text-decoration: underline; }

/* ── Condition switch popup ──────────────────────────────────────────── */
.mfp-condition-change-popup { max-width: unset !important; border-radius: 4px !important; width: 380px; }
.mfp-condition-change-popup #consent-box { background: #fff; padding: 20px; box-sizing: border-box; }
.mfp-condition-change-popup #consent-error { display: none; font-family: Nexa-Bold; color: #C41230; margin-bottom: 24px; }
.mfp-condition-change-popup #switch-header { font-family: Nexa-Bold; font-size: 22px; margin: 0 0 10px 0; }
.mfp-condition-change-popup h2 { font-family: Nexa-Regular; font-size: 16px; font-weight: normal; margin: 0 0 12px; line-height: 20px; text-align: left; }
.mfp-condition-change-popup p { font-size: 16px; line-height: 1.3; }
.mfp-condition-change-popup .note { font-family: Nexa-Book-Italic; font-size: 15px; font-style: italic; margin: 0 0 20px; line-height: 18px; }
.mfp-condition-change-popup .condition-options { margin-top: 8px; }
.mfp-condition-change-popup .condition-options .condition-option { display: flex; align-items: flex-start; }
.mfp-condition-change-popup .condition-options .condition-option + .condition-option { margin-top: 22px; }
.mfp-condition-change-popup .condition-options .condition-checkbox { flex-shrink: 0; width: 32px; padding-top: 2px; }
.mfp-condition-change-popup .condition-options .condition-checkbox input[type="radio"] { width: 22px; height: 22px; accent-color: #333; cursor: pointer; }
.mfp-condition-change-popup .condition-options .condition-caption { font-family: Nexa-Regular; font-size: 16px; }
.mfp-condition-change-popup .condition-options .condition-caption label { cursor: pointer; font-weight: normal; margin: 0; font-family: Nexa-Book; }
.mfp-condition-change-popup label[for="chkConsentYes"] .answer { font-family: Nexa-Bold; color: #247E0B; }
.mfp-condition-change-popup label[for="chkConsentNo"] .answer { font-family: Nexa-Bold; color: #333; }
.mfp-condition-change-popup .recommended { font-family: Nexa-Bold; }
.mfp-condition-change-popup .button-wrapper { margin-top: 24px; }
.mfp-condition-change-popup .btn-checkout { display: block; width: 100%; box-sizing: border-box; text-align: center; background-color: #000000; color: #ffffff; font-family: Nexa-Bold; font-size: 18px; height: 52px; line-height: 52px; border-radius: 50px; text-decoration: none; }
.mfp-condition-change-popup .btn-checkout:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .mfp-condition-change-popup { width: 600px; }
}

/* ── Course list subcart popup ───────────────────────────────────────── */
#course-list-subcart-popup-page .header { position: sticky; top: 0; z-index: 1; width: auto; margin-top: -10px; padding: 10px 20px 10px 0; background-color: #fff; }
#course-list-subcart-popup-page .subcart-footer { position: sticky; bottom: 0; z-index: 1; float: none; clear: both; display: flow-root; background-color: #fff; padding-bottom: 15px; }

/* ── Payment notes / we-accept / guarantee ───────────────────────────── */
/* ── Free shipping widget ────────────────────────────────────────────── */
.tmplv3.cart-page .free-shipping-widget { margin-top: 20px; }
.tmplv3.cart-page .free-shipping-widget .free-shipping-label { font-family: Nexa-Book; font-size: 15px; margin-bottom: 15px; }
.tmplv3.cart-page .free-shipping-widget .free-shipping-label strong { font-family: Nexa-Bold; font-weight: normal; }
.tmplv3.cart-page .free-shipping-bar-track { width: 100%; height: 9px; background: #e0e0e0; border-radius: 50px; overflow: hidden; border: 1px solid #333; box-sizing: border-box; margin-bottom: 8px; }
.tmplv3.cart-page .free-shipping-bar-fill { height: 100%; background: #3A870D; border-radius: 50px 0 0 50px; transition: width 0.4s ease; }
.tmplv3.cart-page .free-shipping-remaining { font-family: Nexa-Regular; font-size: 15px; color: #000; margin-bottom: 20px; }
.tmplv3.cart-page .free-shipping-note { font-family: Nexa-Book-Italic; font-size: 13px; color: #333; }
.tmplv3.cart-page .free-shipping-label.achieved { font-family: Nexa-Regular; font-size: 18px; color: #333; margin-bottom: 0; }
.tmplv3.cart-page .free-shipping-label.achieved span { color: #3A870D; }
.tmplv3.cart-page .free-shipping-achieved { display: flex; align-items: center; gap: 10px; }

.tmplv3.cart-page .payment-type-notes { font-size: 13px; margin-top: 12px; }
.tmplv3.cart-page .we-accept { font-size: 12px; font-family: Nexa-Bold; margin-top: 16px; }
.tmplv3.cart-page .we-accept .logos { display: flex; flex-direction: row; align-items: center; gap: 8px; margin-top: 6px; }
.tmplv3.cart-page .we-accept .logos img { height: 28px; width: auto; }
.tmplv3.cart-page .bb-guarantee-wrapper { margin-top: 16px; padding: 12px; background: #f5f5f5; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.tmplv3.cart-page .bb-guarantee-wrapper .bolder { font-family: Nexa-Bold; }
.tmplv3.cart-page .bb-guarantee-wrapper .date-note { font-size: 13px; margin-top: 4px; }
.tmplv3.cart-page .bb-guarantee-wrapper .terms-note { font-size: 12px; margin-top: 4px; }
.tmplv3 .bb-guarantee-wrapper { margin-top: 16px; padding: 12px; background: #f5f5f5; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.tmplv3 .bb-guarantee-wrapper .bolder { font-family: Nexa-Bold; }
.tmplv3 .bb-guarantee-wrapper .date-note { font-size: 13px; margin-top: 4px; }
.tmplv3 .bb-guarantee-wrapper .terms-note { font-size: 12px; margin-top: 4px; }

/* ── Coupon ──────────────────────────────────────────────────────────── */
.tmplv3.cart-page .coupon-wrapper { margin-top: 20px; }
.tmplv3.cart-page .coupon-wrapper .coupon-header { font-family: Nexa-Bold; font-size: 14px; margin-bottom: 8px; }
.tmplv3.cart-page .coupon-wrapper .coupon-input { display: flex; flex-direction: row; gap: 8px; }
.tmplv3.cart-page .coupon-wrapper .coupon-input .textbox { flex: 1; height: 40px; border: 1px solid #000; border-radius: 4px; padding: 0 10px; font-size: 14px; }
.tmplv3.cart-page .coupon-wrapper .btn-apply-coupon { height: 40px; line-height: 40px; padding: 0 16px; background-color: #000000; color: #ffffff; border-radius: 4px; font-family: Nexa-Bold; font-size: 13px; text-decoration: none; white-space: nowrap; }
.tmplv3.cart-page .coupon-wrapper .coupon-footer { font-size: 12px; margin-top: 6px; }
.tmplv3.cart-page .coupon-wrapper .coupon-success { color: #247E0C; font-size: 13px; }
.tmplv3.cart-page .coupon-wrapper .coupon-error { color: #C41230; font-size: 13px; }

/* ── Sticky checkout bar ─────────────────────────────────────────────── */
.tmplv3.cart-page .sticky-checkout-spacer { height: 80px; }
.tmplv3.cart-page .sticky-checkout { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12); padding: 10px 16px 12px 16px; }
.tmplv3.cart-page .sticky-checkout-summary { text-align: center; margin-bottom: 8px; }
.tmplv3.cart-page .sticky-checkout-subtotal { font-family: Nexa-Bold; font-size: 16px; }
.tmplv3.cart-page .sticky-checkout-label { font-family: Nexa-Bold; font-size: 16px; }
.tmplv3.cart-page .sticky-checkout-items { font-family: Nexa-Book; font-size: 14px; text-transform: lowercase; }
.tmplv3.cart-page .sticky-checkout-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; background-color: #000000; color: #ffffff; font-family: Nexa-Bold; font-size: 18px; height: 48px; line-height: 48px; border-radius: 50px; text-decoration: none; }
.tmplv3.cart-page .sticky-checkout-btn:hover { text-decoration: underline; }

@media (min-width: 440px) {
    .tmplv3 .header-menu-bar {
        width: 440px;
        max-width: 440px;
    }
    .tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-header { font-size: 16px; line-height: 20px; }
    .tmplv3.homepage ul.img-blocks .img-block-text { font-size: 19px; }
}

@media (min-width: 441px) {
    .tmplv3 .store-section { width: 440px; }
}

@media (min-width: 768px) {
    .tmplv3 .mobile { display: none !important; }
    .tmplv3 .tablet { display: block !important; }

    .tmplv3 .mobile.flex { display: none !important; }
    .tmplv3 .tablet.flex { display: flex !important; }

    .tmplv3 .container { padding: 0 40px; }

    .tmplv3 .header-store { min-width: 130px; margin-right: -4px; }

    .tmplv3 .header-logo img { max-width: 300px; }

	.tmplv3 .sign-up { padding: 40px 0 20px 0; }
	.tmplv3 .sign-up h2 { font-size: 32px; margin-bottom: 22px; }
	.tmplv3 .sign-up p { margin-top: 25px; }
	.tmplv3 .sign-up .form { display: flex; flex-direction: row; justify-content: center; gap: 20px; margin: 25px 0 0 0; }
	.tmplv3 .sign-up .form input[type=email] { height: 44px; line-height: 44px; width: 450px; }
	.tmplv3 .sign-up .form button { width: 150px; font-size: 18px; height: 44px; }
	.tmplv3 .sign-up .blurb { }

    .tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-header { font-size: 22px; line-height: 26px; margin-bottom: 16px; }

    .tmplv3 .carousel-wrapper { padding: 0 40px; }
    .tmplv3 .carousel-wrapper .carousel { gap: 24px; }
    .tmplv3 .carousel-wrapper .carousel-arrows button { top: calc(24px + (420px / 2) - 20px); width: 44px; height: 44px; }
    .tmplv3 .carousel-wrapper .carousel-arrows button svg { width: 32px; height: 32px; }

    .tmplv3.homepage ul.img-blocks li.has-btn .btn { height: 44px; line-height: 44px; padding: 0 25px; font-size: 18px; }

	.tmplv3.homepage .hero { max-width: 1512px; margin: 0 auto 30px auto; }
	.tmplv3.homepage .gyt .gyt-wrapper { flex-wrap: nowrap; justify-content: center; padding: 20px 30px; }
	.tmplv3.homepage .gyt .tablet-image { width: 104px; }
	.tmplv3.homepage .gyt .book-image { width: 104px; }
	.tmplv3.homepage .gyt .text { padding-left: 10px; font-size: 32px; line-height: 30px; margin-left: 10px; width: 180px; }
	.tmplv3.homepage .gyt .buttons { width: 230px; align-items: flex-start; margin-top: 0; margin-left: 15px; }

    .tmplv3.homepage .featured-dept-section h2 { font-size: 32px; }

    .tmplv3 .carousel-wrapper a.link  { font-size: 16px; }
	.tmplv3.homepage .product-carousel { margin-top: 30px; }
	.tmplv3.homepage .product-carousel h2 { font-size: 26px; }
	.tmplv3.homepage .product-carousel .carousel { width: 768px; margin-top: 25px; }
	.tmplv3.homepage .product-carousel .carousel button { margin: 120px 10px 0 10px; }
	.tmplv3.homepage .product-carousel .carousel ul { width: 668px; }
	.tmplv3.homepage .product-carousel .carousel .product { width: 334px; font-size: 17px; padding: 0 46px; }
	.tmplv3.homepage .product-carousel .carousel .product img { width: 100%; }
	.tmplv3.homepage .product-carousel .carousel .product .description { margin-top: 22px; height: 48px; }

	/* Product Carousel - Tablet */
	.tmplv3 .carousel-wrapper .header { font-size: 48px; }

    .tmplv3 .carousel > li { width: 310px; }
	.tmplv3 .carousel .image { width: 310px; height: 420px; }
	.tmplv3 .carousel .image .quick-add { display: none; position: absolute; bottom: 0; left: 0; top: auto; margin-top: 0; font-size: 16px; opacity: 0.9; text-align: center; }
	/* DISABLED - quick add hover
	.tmplv3 .carousel > li > a:hover .image .quick-add,
	.tmplv3 .carousel > li > a:focus .image .quick-add { display: block; padding: 20px 0; }
    .tmplv3 .carousel > li > a:hover .image .quick-add:hover,
	.tmplv3 .carousel > li > a:focus .image .quick-add:focus { text-decoration: underline; }
	*/
    .tmplv3 .carousel .details { margin-top: 16px; }
	.tmplv3 .carousel .details .title { font-size: 18px; }
	.tmplv3 .carousel .details .price { font-size: 18px; }
	.tmplv3 .carousel .details .price .was-price { font-size: 14px; }

	/* Featured Block - Tablet */
    .tmplv3.homepage .featured-block { position: relative; margin: 0 40px 60px 40px; }
	.tmplv3.homepage .featured-block .main { margin-bottom: 24px; height: 550px; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
	.tmplv3.homepage .featured-block .inner { background-color: #fff; position: absolute; bottom: 230px; right: 50px; margin-bottom: 0; }
	.tmplv3.homepage .featured-block .inner .image { width: 145px; height: 145px; }
	.tmplv3.homepage .featured-block .inner .info { width: 270px; flex: none; height: 145px; padding-top: 20px; padding-right: 15px; }
    .tmplv3.homepage .featured-block .inner .info .text .title { font-size: 18px; }
    .tmplv3.homepage .featured-block .inner .info .text .price { font-size: 18px; }
    .tmplv3.homepage .featured-block .inner .info .btn-container { bottom: 15px; }
	.tmplv3.homepage .featured-block .details .title { font-size: 32px; }
	.tmplv3.homepage .featured-block .details .description { font-size: 16px; }
	.tmplv3.homepage .featured-block .details a.btn { font-size: 18px; }

	/* Category Block Section - Tablet */
	.tmplv3.homepage .featured-dept-section { margin: 0 0 60px 40px; }
	.tmplv3.homepage .featured-dept-section .header { font-size: 32px; }
	.tmplv3.homepage .featured-dept-section ul { margin: 24px 0 24px 0; }
	.tmplv3.homepage .featured-dept-section ul > li { flex: 0 0 240px; width: 240px; margin-right: 28px; }
	.tmplv3.homepage .featured-dept-section ul > li > a { width: 240px; }
	.tmplv3.homepage .featured-dept-section .image { width: 240px; height: 408px; }
    .tmplv3.homepage .featured-dept-section .image .image-bg { width: 240px; height: 408px; }
    .tmplv3.homepage .featured-dept-section .title { font-size: 20px; }

	/* Image Block Section - Tablet */
	.tmplv3.homepage .img-block-section { padding: 24px 10px 60px 10px; }
	.tmplv3.homepage ul.img-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.tmplv3.homepage ul.img-blocks li { width: 100%; }
	.tmplv3.homepage ul.img-blocks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.tmplv3.homepage ul.img-blocks .img-block-text { font-size: 22px; }
	.tmplv3.homepage ul.img-blocks li.has-btn .img-block-text { margin-bottom: 16px; }

	.tmplv3.homepage ul.blocks { width: 768px; margin: 0 auto; }
	.tmplv3.homepage ul.blocks li { margin-top: 20px; width: 242px; padding: 10px; display: table; }
	.tmplv3.homepage ul.blocks li a { font-size: 16px; height: 88px; display: table-cell; vertical-align: middle; white-space: normal; }

	.tmplv3.homepage .spacer { margin-top: 50px; }

	.tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-button .button { font-size: 16px; }
    .tmplv3 .hero-carousel .hero-carousel-inner ul.controls { font-size: 16px; height: 36px; line-height: 36px; margin-top: -20px; }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button { height: 36px; padding: 0 15px; }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .previous:before { -webkit-transform: translateY(-2px) rotate(-180deg); transform: translateY(-2px) rotate(-180deg); }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .next { display: block; }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls .next:before { -webkit-transform: translateY(0px); transform: translateY(0px); }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.play-pause .control:before { display: block; width: 15px; height: 15px; background: url(//simages.ecampus.com/images/vbs/v2/pause-play-sprite.svg) no-repeat 0 0; background-size: 30px 15px; content: ""; }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.play-pause.paused .control:before { background-position: -15px 0; }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.direct .dot { width: 7px; height: 7px; margin-top: 2px; }
	.tmplv3 .hero-carousel .hero-carousel-inner ul.controls button.direct.active .dot { width: 10px; height: 10px; }
    
    .tmplv3.merch-pdp .content { padding: 0 40px; }
    .tmplv3.merch-pdp .title-section h2.title-text { font-size: 22px; line-height: 28px; }
    .tmplv3.merch-pdp .title-section.accordion-section { font-size: 16px; }
    .tmplv3.merch-pdp .mobi-images { margin: 24px 0 32px; }

    /* ── Merch Results — Tablet ────────────────────────────────────────── */
    .tmplv3.merch-results .content { padding: 0 40px; }
    .tmplv3.merch-results h1 { font-size: 24px; }
    .tmplv3.merch-results .results-list { gap: 64px 48px; }
    .tmplv3.merch-results .result-image { aspect-ratio: 310 / 420; }
    .tmplv3.merch-results .result-title { font-size: 15px; }
    .tmplv3.merch-results .result-price { font-size: 15px; }
    .tmplv3.merch-results .color-choices span { width: 20px; height: 20px; }

    /* ── Cart Page — Tablet (768px+) ──────────────────────────────────── */
    .tmplv3.cart-page .cart-items { padding: 30px 20px; border-radius: 9px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25); }
    .tmplv3.cart-page { padding: 20px 40px 0 40px; }
    .tmplv3.cart-page h2 { margin-bottom: 20px; }
    .tmplv3.cart-page .cart-divider { display: none; }
    .tmplv3.cart-page h2 .cart-heading-label { font-size: 30px; }
    .tmplv3.cart-page #order-summary-header { font-size: 22px; }
    .tmplv3.cart-page .item-wrapper { gap: 15px; }
    .tmplv3.cart-page .item-col--image { width: 80px; flex-shrink: 0; }
    .tmplv3.cart-page .item-content { flex-direction: row; align-items: flex-start; gap: 15px; }
    .tmplv3.cart-page .item-col--info { flex: 1; min-width: 215px; }
    .tmplv3.cart-page .item-col--type { flex: 1; min-width: 225px; margin-top: 0; }
    .tmplv3.cart-page .item-col--qty { width: 100px; flex-shrink: 0; margin-top: 0; align-items: flex-end; }
    .tmplv3.cart-page .item-col--qty .item-price--tablet { display: inline; }

    .tmplv3.cart-page .cart-items .item-wrapper:first-of-type { padding-top: 0; }
    .tmplv3.cart-page .item-wrapper:last-child { border-bottom: none; padding-bottom: 0; }
    .tmplv3.cart-page .multiple-qty { margin: 0 0 24px 0; }
    .tmplv3.cart-page .cart-summary-wrapper { padding: 30px 20px; border-radius: 9px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25); }
    .tmplv3.cart-page .item-col--info .title { margin-top: 0; }
    .tmplv3.cart-page .item-col--type .condition { margin-top: 0; }
    .tmplv3.cart-page .item-col--qty .ddlQty { margin-top: 0; }

    /* ── Empty cart — Tablet ──────────────────────────────────────────── */
    .tmplv3.cart-page .empty-cart p { font-size: 30px; }
    .tmplv3.cart-page .empty-cart hr.gyt-divider { margin-left: 40px; margin-right: 40px; }
    .tmplv3.cart-page .empty-cart .gyt .tablet-image { width: 100px; }
    .tmplv3.cart-page .empty-cart .gyt .book-image { width: 100px; }
    .tmplv3.cart-page .empty-cart .gyt .gyt-wrapper { flex-wrap: nowrap; justify-content: center; }
    .tmplv3.cart-page .empty-cart .gyt .buttons { width: auto; align-items: flex-start; margin-top: 0; margin-left: 15px; }

    .tmplv3 .checkout-body .widget { border-radius: 9px; }

    /* ── Checkout Address — 2-column field grid ───────────────────────── */
    .tmplv3 .checkout-body .address-fields-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(1) { grid-column: 1; grid-row: 1; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(2) { grid-column: 2; grid-row: 1; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(3) { grid-column: 1; grid-row: 2; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(4) { grid-column: 2; grid-row: 2; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(5) { grid-column: 1; grid-row: 3; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(6) { grid-column: 2; grid-row: 3; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(7) { grid-column: 1; grid-row: 4; }
    .tmplv3 .checkout-body .address-fields-grid .address-field:nth-child(8) { grid-column: 2; grid-row: 4; }
}

/* ── Merch Results — columns ──── */
@media (min-width: 768px) {
    .tmplv3.merch-results .results-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1028px) {
    .tmplv3.merch-results .results-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .tmplv3.merch-pdp .review-gallery.main-gallery .carousel { padding-right: 40px; gap: 24px; }
}

/* ── Checkout Page Layout ────────────────────────────────────────────────── */
.tmplv3 .checkout-body {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}
.tmplv3 .checkout-body > form {
    display: contents;
}
.tmplv3 .checkout-main {
    background: #efefef;
    flex: 1;
}
.tmplv3 .checkout-content-wrapper {
    max-width: 708px;
    margin: 0 auto;
}
.tmplv3 .checkout-cart-section {
    background: #fff;
}
/* ── Checkout Cart Item Layout ───────────────────────────────────────────── */
.checkout-order-summary .cart {
    position: relative;
}
.checkout-order-summary .cart::after {
    content: '';
    display: block;
    border-top: 3px solid #333;
    margin-top: 0;
}
.checkout-order-summary .cart .item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}
.checkout-order-summary .cart .co-item-image {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-order-summary .cart .co-item-image img {
    max-width: 85px;
    max-height: 85px;
    width: auto;
    height: auto;
    display: block;
}
.checkout-order-summary .cart .co-item-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 17px;
}
.checkout-order-summary .cart .co-item-title { font-family: Nexa-Bold; }
.checkout-order-summary .cart .co-item-condition-block { display: flex; flex-direction: column; gap: 4px; }
.checkout-order-summary .cart .co-item-condition { font-family: Nexa-Book; text-transform: uppercase; }
.checkout-order-summary .cart .co-item-condition .error-message { text-transform: none; }
.checkout-order-summary .cart .mp-cond { font-family: Nexa-Book-Italic; font-size: 13px; text-transform: none; margin-top: 4px; }
.checkout-order-summary .cart .co-item-due { font-family: Nexa-Book-Italic; }
.checkout-order-summary .cart .co-item-duration { font-family: Nexa-Book-Italic; }
.checkout-order-summary .cart .co-item-course-block { display: flex; flex-direction: column; gap: 4px; }
.checkout-order-summary .cart .co-item-course-levels { font-family: Nexa-Bold; }
.checkout-order-summary .cart .co-item-course-name { font-family: Nexa-Book; }
.checkout-order-summary .cart .course-levels { display: flex; flex-direction: column; gap: 4px; }
.checkout-order-summary .cart .course-levels .levels { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 4px; font-family: Nexa-Bold; }
.checkout-order-summary .cart .course-levels .level { display: block; }
.checkout-order-summary .cart .course-levels .name { display: block; font-family: Nexa-Book; }
.checkout-order-summary .cart .co-item-size-color { font-family: Nexa-Book; }
.checkout-order-summary .cart .co-item-qty { font-family: Nexa-Book; }
.checkout-order-summary .cart .co-item-price { font-family: Nexa-Bold; }
.checkout-order-summary .cart .co-item-gc-details { font-family: 'Nexa-Book-Italic'; font-size: 14px; }
.checkout-order-summary .cart .co-item-warning { color: #C41230; font-family: Nexa-Book-Italic; }

.tmplv3 .checkout-cart-wrapper {
    padding: 20px 15px;
}
.tmplv3 #cartSideBar {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .tmplv3 #cartSideBar { width: 648px; }
}

/* ── Checkout Order Summary Sidebar ─────────────────────────────────────── */
.tmplv3 .checkout-order-summary__heading {
    font-family: Nexa-Regular;
    font-size: 20px;
    color: #000000;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-bottom: 19px !important;
    border-bottom: 1px solid #D6D6D6;
    padding-bottom: 20px !important;
}
.tmplv3 .checkout-order-summary__totals {
    margin-top: 19px;
}
.tmplv3 .checkout-order-summary__totals .totals-row,
.tmplv3 .checkout-order-summary .cart-totals .totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Nexa-Book";
    font-size: 18px;
    margin-top: 8px;
}

.tmplv3 .checkout-order-summary .cart-totals .credit {  font-family: Nexa-Bold; color: #247E0C; }

.tmplv3 .checkout-order-summary__totals .totals-row:first-child,
.tmplv3 .checkout-order-summary .cart-totals .totals-row:first-child {
    margin-top: 0;
}
.tmplv3 .checkout-order-summary .totals-row.off {
    display: none;
}
.tmplv3 .checkout-order-summary .totals-row.credit .value {
    color: #247E0C;
}
.tmplv3 .checkout-order-summary__totals .totals-row .caption,
.tmplv3 .checkout-order-summary .cart-totals .totals-row .caption {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tmplv3 .checkout-order-summary__totals .totals-row .info-bubble-trigger,
.tmplv3 .checkout-order-summary .cart-totals .totals-row .info-bubble-trigger {
    margin-left: 0;
    margin-top: 0;
    flex-shrink: 0;
}
.tmplv3 .checkout-order-summary__totals .totals-row.total,
.tmplv3 .checkout-order-summary .cart-totals .totals-row.total { font-family: Nexa-Regular; margin-top: 30px; }

.tmplv3 .checkout-order-summary__divider {
    border: none;
    border-top: 3px solid #333;
    margin: 24px 0;
}
.tmplv3 .checkout-order-summary__cart-heading {
    font-family: Nexa-Regular;
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.tmplv3 .checkout-order-summary .fees-toggle-btn { background: none; border: none; padding: 0; font-family: Nexa-Book; font-size: 18px; cursor: pointer; display: flex; align-items: center; gap: 6px; color: inherit; }
.tmplv3 .checkout-order-summary .fees-toggle-btn .sort-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.tmplv3 .checkout-order-summary .fees-toggle-btn[aria-expanded="true"] .sort-chevron { transform: rotate(180deg); }

@media (min-width: 1200px) {
    .tmplv3 .checkout-order-summary__heading { font-size: 26px; }
}

@media (min-width: 1000px) {
    /* ── Cart Page — 1000px+ (two-column layout) ───────────────────────── */
    .tmplv3.cart-page .cart-wrapper { display: flex; flex-direction: row; align-items: stretch; gap: 20px; }
    .tmplv3.cart-page .cart-wrapper > form { flex: 1; min-width: 0; }
    .tmplv3.cart-page .cart-items { margin-bottom: 0; }
    .tmplv3.cart-page .item-col--info .ebook-trial .text { font-size: 12px; }
    .tmplv3.cart-page .cart-right-col { width: 275px; flex-shrink: 0; display: flex; flex-direction: column; gap: 0; }
    .tmplv3.cart-page .multiple-qty { margin-top: 0; }
    .tmplv3.cart-page .cart-summary-wrapper { width: 100%; }
    .tmplv3.cart-page .item-col--info { min-width: 160px; }
    .tmplv3.cart-page .sticky-checkout { display: none; }
    .tmplv3.cart-page .sticky-checkout-spacer { display: none; }
    .tmplv3.cart-page #order-summary-header { font-size: 20px; }

    /* ── Empty cart — Desktop ─────────────────────────────────────────── */
    .tmplv3.cart-page .empty-cart hr.gyt-divider { max-width: 842px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 1050px) {
    /* ── Checkout Page — 1050px+ (two-column layout) ─────────────────────── */
    .tmplv3 .checkout-content-wrapper {
        width: 708px;
        margin-left: 0;
        margin-right: 30px;
    }
    .tmplv3 .checkout-body { flex-direction: row; }
    .tmplv3 .checkout-main { flex: 1 0 auto; display: flex; justify-content: flex-end; }
    .tmplv3 .checkout-cart-section { flex: 1 0 auto; display: flex; }
    .tmplv3 .checkout-cart-wrapper { width: 287px; padding: 95px 0px 20px 30px; box-sizing: border-box; }
    .tmplv3 #cartSideBar { width: unset; max-width: none; margin-left: 0; margin-right: 0; }
}

@media (min-width: 1512px) {
    .tmplv3 .checkout-cart-wrapper { width: 487px; }
}

@media (min-width: 1155px) {
    /* ── Cart Page — items column maxed, summary begins growing ─────────── */
    .tmplv3.cart-page #cart-content { margin-left: auto; margin-right: auto; }
    .tmplv3.cart-page .cart-wrapper > form { flex: 0 0 780px; }
    .tmplv3.cart-page .cart-right-col { flex: 1 1 auto; max-width: 347px; width: auto; }
}

@media (min-width: 1227px) {
    /* ── Cart Page — both columns static, section centers ───────────────── */
    .tmplv3.cart-page #cart-content { max-width: 1147px; }
    .tmplv3.cart-page .cart-right-col { flex: 0 0 347px; }
}


@media (min-width: 1100px) {
    /* Reset store-open z-index bump — not needed on desktop */
    .tmplv3 .header-main.store-open { z-index: 10; }

    .tmplv3 .header-main .hamburger-menu-button { display: none; }
    .tmplv3 .header-main .choose-store-icon { display: none; }

    .tmplv3 .header-search {
        display: flex; 
        flex: 1;
        min-width: 0;
        padding-left: 30px;
        max-width: 700px;
        padding-right: 20px;
    }

    .tmplv3 .header-logo a { margin: 10px 0; }
    .tmplv3 .header-logo img { height: 80px; max-width: 300px; }
    
    .tmplv3 .mobi-search { display: none; }

    .tmplv3 .header-actions { gap: 30px; }
    .tmplv3 .header-actions .header-store { position: relative; width: auto; height: auto; overflow: visible; display: block; }
    .tmplv3 .header-actions .header-store .header-store-toggle { display: flex; }
    .tmplv3 .header-actions .header-signin .d { display: block; }
    .tmplv3 .header-actions .header-signin .m, .tmplv3 .header-actions .header-signin .t { display: none; }
    .tmplv3 .header-actions .header-help { display: block; }

    /* Store toggle button - horizontal layout for text + arrow */
    .tmplv3 .header-store-toggle {
        flex-direction: column;
        gap: 4px;
        position: relative;
        z-index: 1001;
        align-items: flex-end;
    }

    .tmplv3 .header-store-toggle .current {
        font-size: 12px;
        text-align: right;
        width: 100%;
        line-height: 1.2;
        margin-right: 30px;
        position: absolute;
        top: -10px;
    }

    .tmplv3 .header-store-toggle .header-store-text-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        justify-content: flex-end;
    }

    .tmplv3 .header-store-toggle .header-store-text-wrapper .store {
        font-weight: 700;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .tmplv3 .header-store-toggle .header-action-text {
        display: inline-block;
    }

    /* When dropdown is open, style button as part of the box */
    .tmplv3 .header-store-toggle[aria-expanded="true"] {
        background-color: #fff;
        position: relative;
        z-index: 1002;
    }

    /* Toggle arrow for dropdowns */
    .tmplv3 .header-toggle-arrow {
        transition: transform 0.2s ease;
        flex-shrink: 0;
        transform-origin: center;
    }

    /* Rotate arrow when expanded */
    .tmplv3 .header-store-toggle[aria-expanded="true"] .header-toggle-arrow {
        transform: rotate(180deg);
    }

    .tmplv3 .header-logo { flex: 0; justify-content: flex-end; }

    .tmplv3 .header-menu-bar {
        position: relative;
        padding: 0 20px;
        width: auto;
        max-width: none;
        background-color: transparent;
        z-index: auto;
        transform: none;
        transition: none;
        overflow: visible;
        display: block;
        flex-direction: unset;
    }

    .tmplv3 .header-menu-bar a.nav-trigger:hover,
    .tmplv3 .header-menu-bar a.nav-trigger:focus-visible {
        text-decoration: none;
    }
    
    .tmplv3 .header-menu-bar .nav-trigger:hover .nav-trigger-text,
    .tmplv3 .header-menu-bar .nav-trigger:focus-visible .nav-trigger-text {
        text-decoration: none;
    }
    
    .tmplv3 .header-menu-bar .nav-category-list .level-name,
    .tmplv3 .header-menu-bar .nav-category-list-nowrap .level-name,
    .tmplv3 .header-menu-bar .nav-category-list-wrap .level-name {
        font-size: 16px !important;
        font-family: Nexa-Bold;
    }
    
    .tmplv3 .header-menu-bar .nav-level-name { display: block !important; font-family: Nexa-Bold; }
    
    .tmplv3 .header-menu-bar .nav-category-list a,
    .tmplv3 .header-menu-bar .nav-category-list-nowrap a,
    .tmplv3 .header-menu-bar .nav-category-list-wrap a {
        padding-left: 0;
        font-size: 14px;
    }
    
    /* Indent level names as well */
    .tmplv3 .header-menu-bar .nav-category-list .level-name,
    .tmplv3 .header-menu-bar .nav-category-list-nowrap .level-name,
    .tmplv3 .header-menu-bar .nav-category-list-wrap .level-name {
        padding-left: 0;
    }
    
    .tmplv3 .header-menu-bar .nav-featured { 
        flex: 0 0 352px;
        width: 352px;
        border-top: 0;
        padding-top: 0;
        padding-right: 40px;
    }

    
    
    /* Top level navigation list - desktop */
    .tmplv3 .header-menu-bar .nav-top {
        justify-content: center;
        align-items: center;
        gap: 30px;
        flex-direction: row;
        padding: 0;
        flex: unset;
    }
    
    /* Navigation item - desktop */
    .tmplv3 .header-menu-bar .nav-item {
        position: static;
        border: none;
    }
    
    .tmplv3 .header-menu-bar .nav-item-help { display: none; }
    .tmplv3 .header-menu-bar .nav-item-signin { display: none; }

    /* Navigation trigger button - desktop */
    .tmplv3 .header-menu-bar .nav-trigger {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
        padding: 16px 0;
        text-align: center;
        font-size: 16px;
        font-weight: 400;
    }
    
    /* Text - desktop */
    .tmplv3 .header-menu-bar .nav-trigger-text {
        flex: unset;
        text-align: center;
    }
    
    /* Hide arrow on desktop */
    .tmplv3 .header-menu-bar .nav-trigger::after {
        display: none;
    }
    
    /* Show underline on desktop */
    .tmplv3 .header-menu-bar .nav-trigger-underline {
        display: block;
    }
    
    /* Hover/Focus states for trigger - desktop */
    .tmplv3 .header-menu-bar .nav-trigger:hover .nav-trigger-underline,
    .tmplv3 .header-menu-bar .nav-trigger:focus .nav-trigger-underline,
    .tmplv3 .header-menu-bar .nav-item.is-open .nav-trigger-underline {
        width: 100%;
    }
    
    /* Remove text underline on desktop (uses animated underline bar instead) */
    .tmplv3 .header-menu-bar .nav-trigger:hover .nav-trigger-text,
    .tmplv3 .header-menu-bar .nav-trigger:focus-visible .nav-trigger-text {
        text-decoration: none;
    }
    
    /* Dropdown menu container - desktop */
    .tmplv3 .header-menu-bar .nav-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        min-width: 685px;
        max-width: 1100px;
        background: #fff;
        box-shadow: 0 20px 24px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 4px 4px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        display: block;
        padding: 0;
    }
    
    /* Open state for menu - desktop */
    .tmplv3 .header-menu-bar .nav-item.is-open .nav-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    /* Inner wrapper for menu content - desktop */
    .tmplv3 .header-menu-bar .nav-menu-inner {
        flex-direction: row;
        padding: 24px 0;
        min-height: 170px;
    }
    
    /* Categories section - desktop */
    .tmplv3 .header-menu-bar .nav-categories {
        flex: 0 1 auto;
        min-width: 0;
        padding: 0 40px;
        overflow-x: auto;
        position: relative;
    }

    .tmplv3 .header-menu-bar .nav-categories::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    .tmplv3 .header-menu-bar .nav-categories::-webkit-scrollbar-track {
        background: transparent;
    }
    .tmplv3 .header-menu-bar .nav-categories::-webkit-scrollbar-thumb {
        background-color: #c8c7c7;
        border-radius: 3px;
    }

    /* Vertical divider after categories - desktop */
    .tmplv3 .header-menu-bar .nav-categories:has(+ .nav-collections)::after,
    .tmplv3 .header-menu-bar .nav-categories:has(+ .nav-featured)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 20px;
        width: 1px;
        background-color: #c8c7c7;
        display: block;
    }
    
    /* Category list - multi-column wrapping - desktop */
    .tmplv3 .header-menu-bar .nav-category-list {
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        max-height: 600px;
        max-width: 640px;
        overflow: auto;
    }

    .tmplv3 .header-menu-bar .nav-category-list::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    .tmplv3 .header-menu-bar .nav-category-list::-webkit-scrollbar-track {
        background: transparent;
    }
    .tmplv3 .header-menu-bar .nav-category-list::-webkit-scrollbar-thumb {
        background-color: #c8c7c7;
        border-radius: 3px;
    }
    
    /* Category list - single column, no wrapping - desktop */
    .tmplv3 .header-menu-bar .nav-category-list-nowrap {
        flex-direction: column;
        flex-wrap: nowrap;
        max-height: none;
        max-width: none;
    }
    
    /* Category list - wraps links WITHIN each li - desktop */
    .tmplv3 .header-menu-bar .nav-category-list-wrap > li {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        max-height: 350px;
    }
    
    .tmplv3 .header-menu-bar .nav-category-list-wrap > li > a,
    .tmplv3 .header-menu-bar .nav-category-list-wrap > li > span {
        width: 160px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    
    /* Category list items - desktop */
    .tmplv3 .header-menu-bar .nav-category-list > li,
    .tmplv3 .header-menu-bar .nav-category-list-nowrap > li {
        display: block;
        width: 160px;
        padding-right: 24px;
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    
    /* Show collections and featured sections - desktop */
    .tmplv3 .header-menu-bar .nav-collections,
    .tmplv3 .header-menu-bar .nav-featured {
        display: block;
    }
    
    /* Link padding - desktop */
    .tmplv3 .header-menu-bar .nav-category-list a,
    .tmplv3 .header-menu-bar .nav-category-list-nowrap a,
    .tmplv3 .header-menu-bar .nav-category-list-wrap a {
        padding: 3px 0;
    }

    .tmplv3 .header-menu-bar .nav-level-name { display: block; }

    .tmplv3 .header-menu-bar .nav-collections {
        flex: 0 0 280px;
        width: 280px;
        padding: 0 40px 0 40px;
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
    
    .tmplv3 .header-menu-bar .nav-collections-title {
        display: block;
        font-family: 'Nexa-Bold';
        font-size: 16px;
        margin-bottom: 12px;
        width: auto;
        padding: 0;
        cursor: default;
        pointer-events: none; /* Disable clicking on desktop */
    }
    
    .tmplv3 .header-menu-bar .nav-collections-title::after {
        display: none;
    }
    
    .tmplv3 .header-menu-bar .nav-collections-list {
        display: block;
    }
    
    .tmplv3 .header-menu-bar .nav-collections-list a {
        padding: 4px 0;
        padding-left: 0;
        font-size: 14px;
    }
    
    .tmplv3 .header-menu-bar .nav-collections ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .tmplv3 .header-menu-bar .nav-collections a {
        display: block;
        font-family: 'Nexa-Book';
        font-size: 14px;
        text-decoration: none;
        padding: 3px 0;
        transition: color 0.15s ease;
    }
    
    .tmplv3 .header-menu-bar .nav-collections a:hover,
    .tmplv3 .header-menu-bar .nav-collections a:focus {
        text-decoration: underline;
    }
    
    .tmplv3 .header-menu-bar .menu-close-wrapper {
        display: none;
    }

    .tmplv3 .popup-backdrop {
        display: none !important;
    }
    
    .tmplv3 .store-section {
        position: absolute !important;
        top: -10px;
        left: unset;
        right: -10px;
        bottom: unset;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        width: 330px;
        z-index: 1000 !important;
        padding: 50px 20px 20px 20px;
        height: auto;
        pointer-events: auto !important;
    }

    .tmplv3 .store-section .close-x { display: none; }
    .tmplv3 .store-section.with-current { top: -20px; padding-top: 70px; }
    
    .tmplv3 .store-section-btn { width: auto; }
    
	/* Category Block Section - Desktop (1100px+) */
    .tmplv3.homepage .featured-dept-section { margin: 0 40px 70px 40px; }
	.tmplv3.homepage .featured-dept-section ul { overflow-x: visible; margin: 0 auto; }
	.tmplv3.homepage .featured-dept-section ul > li { flex: 1 1 0; width: auto; margin-right: 28px; }
	.tmplv3.homepage .featured-dept-section ul > li:last-child { margin-right: 0; }
	.tmplv3.homepage .featured-dept-section ul > li > a { width: 100%; }
	.tmplv3.homepage .featured-dept-section .image { width: 100%; }
	.tmplv3.homepage .featured-dept-section .image .image-bg { width: 100%; }
}

/* ── Checkout Header ─────────────────────────────────────────────────────── */
.checkout-header {
    background: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}
.checkout-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    width: 100%;
}
.checkout-header-logo {
    position: relative;
}
.checkout-header-logo__h1 { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.checkout-header-logo img {
    max-width: 225px;
    height: 60px;
    width: auto;
    display: block;
}
.checkout-header-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: right;
    flex: 1;
    line-height: 1.3;
}
.checkout-header-lock {
    display: none;
}
.checkout-page-title {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 26px;
    font-weight: normal;
    color: #333;
    text-align: left;
    height: 36px;
    margin: 30px 0 12px 0;
    padding: 0 30px;
}
.checkout-exit-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
    padding: 24px 28px;
    white-space: nowrap;
    z-index: 1000;
}
.checkout-exit-popup.open {
    display: block;
}
.checkout-exit-popup-arrow {
    position: absolute;
    top: -8px;
    left: 40px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px 0 rgba(0, 0, 0, 0.05);
}
.checkout-exit-popup p {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #333;
}
.checkout-exit-popup-buttons {
    display: flex;
    gap: 12px;
}
.checkout-exit-popup .btn-stay {
    padding: 10px 24px;
    border: 2px solid #333;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.checkout-exit-popup .btn-return {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

@media (min-width: 768px) {
    .checkout-header-title { font-size: 26px; }
}

/* ── Checkout Buttons ───────────────────────────────────────────────────── */
.tmplv3 .checkout-body .btn-school { font-family: Nexa-Bold, sans-serif; font-size: 18px; }
.tmplv3 .checkout-body .widget .submit .btn-school { display: block; width: 100%; box-sizing: border-box; margin-top: 30px; }
.tmplv3 .checkout-body .can-review + .submit .btn-school { margin-top: 0; }

/* ── Address Validation Modal ───────────────────────────────────────────── */
#av-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; box-sizing: border-box; }
.av-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); padding: 24px 28px; width: min-content; min-width: 240px; max-width: 400px; text-align: left; box-sizing: border-box; }
.av-heading { font-family: Nexa-Bold, sans-serif; font-size: 20px; color: #000000; margin: 0 0 12px 0; }
.av-address { font-family: Nexa-Book, sans-serif; font-size: 15px; color: #333; line-height: 1.5; margin: 0 0 20px 0; white-space: nowrap; }
.av-address .av-diff { font-family: Nexa-Bold, sans-serif; font-size: 15px; font-weight: 400; }
.av-btn { display: inline-block; width: 200px; height: 44px; border-radius: 50px; font-family: Nexa-Bold, sans-serif; font-size: 18px; cursor: pointer; line-height: 42px; padding: 0; text-align: center; box-sizing: border-box; }
.av-btn-outline { background: transparent; border: 1px solid #333; color: #333; }
.av-btn-outline:hover { background: #f5f5f5; }
.av-btn-filled { background: #333; border: 1px solid #333; color: #fff; }
.av-btn-filled:hover { background: #555; border-color: #555; }
.av-not-found-msg { font-family: Nexa-Book, sans-serif; font-size: 15px; color: #333; line-height: 1.5; margin: 0 0 20px 0; }

/* ── Address Autocomplete Dropdown ─────────────────────────────────────── */
.av-autocomplete-wrap { position: relative; width: 100%; }
.av-autocomplete-wrap input { width: 100%; box-sizing: border-box; }
.av-autocomplete-list { display: none; position: absolute; top: 100%; left: 0; z-index: 9999; background: #fff; border: 1px solid #ccc; border-top: none; border-radius: 0 0 4px 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-height: 240px; overflow-y: auto; width: 100%; box-sizing: border-box; }
.av-autocomplete-item { padding: 10px 12px; font-family: Nexa-Book, sans-serif; font-size: 14px; color: #333; cursor: pointer; text-align: left; border-bottom: 1px solid #D6D6D6; }
.av-autocomplete-item:last-of-type { border-bottom: none; }
.av-autocomplete-item:hover, .av-autocomplete-item.av-autocomplete-active { background: #f0f0f0; }
.av-autocomplete-attribution { text-align: right; padding: 4px 8px; border-top: 1px solid #e8e8e8; background: #fff; }
.av-autocomplete-attribution img { height: 14px; display: inline-block; }

@media (min-width: 1000px) {
    #av-overlay { flex-direction: row; }
}

/* ── Review Widget Blurb Text ────────────────────────────────────────────── */
.tmplv3 .checkout-body .review-wrapper .text p { font-family: 'Nexa-Book', sans-serif; font-size: 15px; line-height: 20px; margin: 0 0 12px 0; }
.tmplv3 .checkout-body .review-wrapper .text p:last-of-type { margin-bottom: 0; }
.tmplv3 .checkout-body .review-wrapper .text p.error-message { margin-bottom: 23px !important; }
.tmplv3 .checkout-body .review-wrapper .text p a { font-family: 'Nexa-Regular', sans-serif; font-size: 15px; text-decoration: underline; color: #333; }
.tmplv3 .checkout-body .review-wrapper .submit { margin-top: 20px; }
.tmplv3 .checkout-body .review-wrapper .submit .btn-school { margin-top: 0; }

/* ── Course Select AJAX Loading Spinner ─────────────────────────────────── */
.tmplv3 .checkout-body .course-loading { display: none; color: #333; margin-top: 6px; }

/* ── Ebook Designation — For Yourself Prompt ─────────────────────────────── */
.tmplv3 .checkout-body .for-self-intro { font-family: Nexa-Regular, sans-serif; font-size: 15px; margin-bottom: 16px; }
.tmplv3 .checkout-body .for-self-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.tmplv3 .checkout-body .for-self-options label { font-family: Nexa-Book, sans-serif; font-size: 15px; }
.tmplv3 .checkout-body .show-item-details-link a { font-family: Nexa-Regular, sans-serif; font-size: 15px; color: #333; text-decoration: underline; }

/* ── Ebook Designation — Item List ───────────────────────────────────────── */
.tmplv3 .checkout-body .ebook-designation-wrapper #ebook-designation-items ul { list-style: none; margin: 0; padding: 0; }
.tmplv3 .checkout-body .ebook-designation-wrapper .error-message { margin-bottom: 24px; }
.tmplv3 .checkout-body .ebook-item { border-top: 1px solid #D6D6D6; padding-top: 20px; margin-top: 20px; }
.tmplv3 .checkout-body .ebook-item:not(:last-child) { padding-bottom: 20px; }
.tmplv3 .checkout-body .ebook-item-top { display: flex; flex-direction: row; align-items: flex-start; }
.tmplv3 .checkout-body .ebook-item-top .ebook-image-col { width: 85px; flex-shrink: 0; margin-right: 9px; }
.tmplv3 .checkout-body .ebook-item-top .ebook-image-col img { max-width: 85px; max-height: 85px; width: auto; height: auto; object-fit: contain; display: block; }
.tmplv3 .checkout-body .ebook-details-col { flex: 1; min-width: 0; }
.tmplv3 .checkout-body .ebook-details-col p { font-family: Nexa-Book, sans-serif; font-size: 14px; margin: 0 0 12px 0; }
.tmplv3 .checkout-body .ebook-details-col p:last-child { margin-bottom: 0; }
.tmplv3 .checkout-body .ebook-details-col .ebook-title { font-family: Nexa-Bold, sans-serif; font-size: 15px; }
.tmplv3 .checkout-body .ebook-details-col .ebook-read-while-you-wait { font-family: Nexa-Regular-Italic, sans-serif; font-size: 14px; color: #247E0C; margin-bottom: 6px; }
.tmplv3 .checkout-body .ebook-details-col .ebook-trial-badge { display: flex; flex-direction: row; align-items: center; gap: 6px; }
.tmplv3 .checkout-body .ebook-details-col .ebook-trial-badge .image { flex-shrink: 0; display: flex; align-items: center; }
.tmplv3 .checkout-body .ebook-details-col .ebook-trial-badge .text { font-family: Nexa-Book, sans-serif; font-size: 14px; }
.tmplv3 .checkout-body .ebook-designation { margin-top: 24px; }
.tmplv3 .checkout-body .ebook-designation > label { font-family: Nexa-Regular, sans-serif; font-size: 15px; margin-bottom: 10px; display: block; }
.tmplv3 .checkout-body .ebook-designation .other-email { margin-top: 14px; }
.tmplv3 .checkout-body .ebook-designation .other-email input { width: 100%; box-sizing: border-box; }

@media (min-width: 768px) {
    .tmplv3 .checkout-body .ebook-item { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; }
    .tmplv3 .checkout-body .ebook-item-top { flex: 1; min-width: 0; }
    .tmplv3 .checkout-body .ebook-designation { flex: 1; min-width: 0; margin-top: 0; }
}

@media (min-width: 768px) {
    .checkout-header-inner {
        padding: 12px 50px;
    }
}

/* ── Course Select — Item List ───────────────────────────────────────────── */
.tmplv3 .checkout-body .course-select-wrapper .error-message { margin-bottom: 16px; }
.tmplv3 .checkout-body .course-select-intro { font-family: Nexa-Regular, sans-serif; font-size: 15px; margin-bottom: 16px; }
.tmplv3 .checkout-body .course-select-items { list-style: none; margin: 0; padding: 0; }
.tmplv3 .checkout-body .course-select-item { border-top: 1px solid #D6D6D6; padding-top: 20px; margin-top: 20px; }
.tmplv3 .checkout-body .course-select-item:not(:last-child) { padding-bottom: 20px; }
.tmplv3 .checkout-body .course-item-top { display: flex; flex-direction: row; align-items: flex-start; }
.tmplv3 .checkout-body .course-item-top .course-image-col { width: 85px; flex-shrink: 0; margin-right: 9px; }
.tmplv3 .checkout-body .course-item-top .course-image-col img { max-width: 85px; max-height: 85px; width: auto; height: auto; object-fit: contain; display: block; }
.tmplv3 .checkout-body .course-details-col { flex: 1; min-width: 0; }
.tmplv3 .checkout-body .course-details-col p { font-family: Nexa-Book, sans-serif; font-size: 14px; margin: 0 0 6px 0; }
.tmplv3 .checkout-body .course-details-col p:last-child { margin-bottom: 0; }
.tmplv3 .checkout-body .course-details-col .course-title { font-family: Nexa-Bold, sans-serif; font-size: 15px; }
.tmplv3 .checkout-body .course-details-col .course-isbn { font-family: Nexa-Book, sans-serif; font-size: 14px; }
.tmplv3 .checkout-body .course-details-col .course-condition { font-family: Nexa-Book, sans-serif; font-size: 13px; color: #666; }
.tmplv3 .checkout-body .course-selection { margin-top: 20px; }
.tmplv3 .checkout-body .course-not-listed { font-family: Nexa-Book-Italic, sans-serif; font-size: 14px; margin: 0; }
.tmplv3 .checkout-body .course-selection label { font-family: Nexa-Regular, sans-serif; font-size: 15px; margin-bottom: 8px; display: block; }
.tmplv3 .checkout-body .course-selection .select-wrapper { margin-bottom: 16px; }
.tmplv3 .checkout-body .semester-static-display { margin-bottom: 8px; }
.tmplv3 .checkout-body .course-static-display { margin-bottom: 0; }
.tmplv3 .checkout-body .course-static-label { font-family: Nexa-Regular, sans-serif; font-size: 14px; display: block; }
.tmplv3 .checkout-body .course-static-value { font-family: Nexa-Book, sans-serif; font-size: 14px; display: block; }
.tmplv3 .checkout-body .course-edit-link-wrap { text-align: right; margin-top: 4px; }
.tmplv3 .checkout-body .course-edit-link { font-family: Nexa-Book, sans-serif; font-size: 13px; color: #333; text-decoration: underline; cursor: pointer; }
.tmplv3 .checkout-body .course-edit-link:hover { color: #333; }

@media (min-width: 768px) {
    .tmplv3 .checkout-body .course-select-item { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; }
    .tmplv3 .checkout-body .course-item-top { flex: 1; min-width: 0; }
    .tmplv3 .checkout-body .course-selection { flex: 1; min-width: 0; margin-top: 0; }
}

/* ── Payment — Credit Section ────────────────────────────────────────────── */
.tmplv3 .checkout-body .credit-rental-message {
    font-family: 'Nexa-Regular-Italic', sans-serif;
    font-size: 14px;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #D6D6D6;
    padding-bottom: 20px;
}

.tmplv3 .checkout-body .widget h3 {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 12px 0;
}

.tmplv3 .checkout-body .credit-messages > * { margin-bottom: 20px; }
.tmplv3 .checkout-body .credit-messages > *:last-child { margin-bottom: 20px; }

.tmplv3 .checkout-body .credit-wrapper { border-bottom: 1px solid #D6D6D6; }
.tmplv3 .checkout-body .credit-wrapper .select-credit { display: none; }
.tmplv3 .checkout-body .credit-wrapper .header-row { display: none !important; }

.tmplv3 .checkout-body .credit-section { padding: 20px 0; border-bottom: 1px dashed #D6D6D6; }
.tmplv3 .checkout-body .credit-section:first-child { padding-top: 0; }
.tmplv3 .checkout-body .credit-section:last-child { border-bottom: none; }

.tmplv3 .checkout-body .credit-section__checkbox { display: none; }

.tmplv3 .checkout-body .credit-section__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}


.tmplv3 .checkout-body #trimdata-message { display:none; margin-top:12px; margin-bottom:12px; padding:12px 16px; background-color:#fff8e1; border:2px solid #f0a500; border-radius:4px; color:#7a5200; font-weight:bold; text-align:center; }
.my-account-dashboard #trimdata-message { margin-top:12px; margin-bottom:12px; padding:12px 16px; background-color:#fff8e1; border:2px solid #f0a500; border-radius:4px; color:#7a5200; font-weight:bold; text-align:center; }
.my-account-dashboard #trimdata-error { margin-top:12px; margin-bottom:12px; padding:12px 16px; background-color:#fff0f0; border:2px solid #cc0000; border-radius:4px; color:#cc0000; font-weight:bold; text-align:center; }
.my-account-dashboard #fa-api-credit-balance { margin:20px 0px 0px 10px; width:50%; }


.tmplv3 .checkout-body .payment-wrapper .error-message { margin-bottom: 12px; }
.tmplv3 .checkout-body .payment-wrapper .error-message:empty { margin: 0; }
.tmplv3 .checkout-body .review-wrapper .text p:last-of-type
.tmplv3 .checkout-body .payment-wrapper .odyssey-link,
.tmplv3 .checkout-body .payment-wrapper .transact-link { margin-bottom: 20px; font-size: 15px; font-family: Nexa-Regular; }
.tmplv3 .checkout-body .payment-wrapper .odyssey-link a,
.tmplv3 .checkout-body .payment-wrapper .transact-link a { text-decoration: underline; color: #000000; }

/* Left side: credit name + available amount, stacked */
.tmplv3 .checkout-body .credit-section__left {
    flex: 1;
    min-width: 0;
}

/* Right side: action/applied/edit states — column on mobile, grid at 768px+ */
.tmplv3 .checkout-body .credit-section__right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.tmplv3 .checkout-body .credit-section__action { order: 3; }

.tmplv3 .checkout-body .credit-section__name {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    min-width: 0;
}

.tmplv3 .checkout-body .credit-section__name label {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    margin: 0;
    cursor: default;
}

.tmplv3 .checkout-body .credit-section__available {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    color: #247E0C;
    white-space: nowrap;
}

.tmplv3 .checkout-body .credit-section__available label {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    color: #247E0C;
    margin: 0;
    cursor: default;
}

.tmplv3 .checkout-body .credit-apply-btn {
    width: 100px;
    height: 44px;
    font-family: 'Nexa-Bold', sans-serif;
    font-size: 18px;
    padding: 0;
    line-height: 44px;
    text-align: center;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
}

.tmplv3 .checkout-body .credit-section__applied {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
    order: 2;
}

.tmplv3 .checkout-body .credit-section__applied-amount {
    font-family: 'Nexa-Regular-Italic', sans-serif;
    font-size: 14px;
}

.tmplv3 .checkout-body .credit-section__remove {
    font-family: 'Nexa-Book', sans-serif;
    font-size: 14px;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
}

.tmplv3 .checkout-body .credit-section__remove:hover { color: #000; }

.tmplv3 .checkout-body .credit-section__edit { order: 1; }

.tmplv3 .checkout-body .credit-section__edit-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 8px;
}

.tmplv3 .checkout-body .credit-section__edit-inner .credit-section__edit-label {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    margin: 0;
    cursor: default;
    white-space: nowrap;
    width: 100%;
}

.tmplv3 .checkout-body .credit-section__edit-inner .credit-textbox {
    width: 100px;
    box-sizing: border-box;
}

.tmplv3 .checkout-body .credit-update-btn {
    width: auto;
    height: 44px;
    font-family: 'Nexa-Bold', sans-serif;
    font-size: 18px;
    padding: 0 16px;
    line-height: 44px;
    text-align: center;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
}

@media (min-width: 768px) {
    .tmplv3 .checkout-body .credit-section__left { flex: 0 0 230px; }
    .tmplv3 .checkout-body .credit-section__right {
        display: grid;
        grid-template-columns: 100px auto;
        align-items: center;
        column-gap: 12px;
    }
    .tmplv3 .checkout-body .credit-section__action { order: 0; grid-column: 1; }
    .tmplv3 .checkout-body .credit-section__applied {
        order: 0;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        grid-column: 2;
    }
    .tmplv3 .checkout-body .credit-section__edit { order: 0; grid-column: 1 / -1; }
    .tmplv3 .checkout-body .credit-section__edit-inner {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 4px;
        column-gap: 10px;
    }
}

.tmplv3 .checkout-body .credit-section.disabled .credit-section__name,
.tmplv3 .checkout-body .credit-section.disabled .credit-section__name label,
.tmplv3 .checkout-body .credit-section.disabled .credit-section__available,
.tmplv3 .checkout-body .credit-section.disabled .credit-section__available label {
    color: #aaaaaa;
}

.tmplv3 .checkout-body .credit-section__note {
    font-size: 12px;
    margin-top: 4px;
}

.tmplv3 .checkout-body .credit-section .fa-terms-error {
    font-size: 12px;
    font-weight: normal;
    color: #c41230;
}

.tmplv3 .checkout-body .credit-section .max-balance {
    display: none;
    font-size: 12px;
    color: #c41230;
    margin-top: 8px;
}

/* ── Payment — Gift Card / Promo Code ────────────────────────────────────── */
.tmplv3 .checkout-body .coupon-gift {
    border-top: 0;
    border-bottom: 1px solid #D6D6D6;
    padding: 20px 0;
    margin-bottom: 20px;
}

.tmplv3 .checkout-body .coupon-gift .error-message { margin-bottom: 12px; }

.tmplv3 .checkout-body .coupon-gift .gc-input { overflow: visible; float: none; }
.tmplv3 .checkout-body .coupon-gift .gc-input .number,
.tmplv3 .checkout-body .coupon-gift .gc-input .pin,
.tmplv3 .checkout-body .coupon-gift .gc-input .coupon { float: none; width: auto; margin-left: 0; }
.tmplv3 .checkout-body .coupon-gift .submit-button { display: none; }


.tmplv3 .checkout-body .coupon-gift__note {
    font-family: 'Nexa-Book-Italic', sans-serif;
    font-size: 13px;
    font-style: normal;
    margin: 8px 0 0 0;
}

.tmplv3 .checkout-body .coupon-gift__success {
    color: #247E0C;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    margin-bottom: 12px;
    width: 100%;
}

.tmplv3 .checkout-body .coupon-gift__section .error-message { margin-bottom: 8px; }

.tmplv3 .checkout-body .coupon-gift__section:not(:last-child) {
    border-bottom: 1px solid #D6D6D6;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.tmplv3 .checkout-body .coupon-gift__field { margin-bottom: 12px; }
.tmplv3 .checkout-body .coupon-gift__field label {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}
.tmplv3 .checkout-body .coupon-gift__field-label {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    font-weight: normal;
    margin: 0 0 6px 0;
}
.tmplv3 .checkout-body .coupon-gift__field .textbox { width: 100%; box-sizing: border-box; }

.tmplv3 .checkout-body .coupon-gift__row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.tmplv3 .checkout-body .coupon-gift__row .coupon-gift__field { flex: 1; margin-bottom: 0; }

.tmplv3 .checkout-body .coupon-gift__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    background-color: #333;
    color: #fff;
    font-family: 'Nexa-Bold', sans-serif;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
}

.tmplv3 .checkout-body .coupon-gift__btn:hover,
.tmplv3 .checkout-body .coupon-gift__btn:focus { text-decoration: underline; color: #fff; }
.tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__success { margin-bottom: 12px; }

/* ── Payment — Tablet layout (768px+) ───────────────────────────────────── */
@media (min-width: 768px) {
    /* Gift card + promo sections: heading and note stay full-width, fields inline */
    .tmplv3 .checkout-body .coupon-gift__section { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 18px; row-gap: 0; }
    .tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__header { width: 100%; margin-bottom: 12px; }
    .tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__note { width: 100%; margin: 8px 0 0 0; }
    .tmplv3 .checkout-body .coupon-gift__section > .error-message { width: 100%; margin-bottom: 8px; }

    .tmplv3 .checkout-body .coupon-gift__row { gap: 18px; }

    /* Gift card: standalone field (Gift Card Number) is 315px */
    .tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__field { flex: 0 0 315px; margin-bottom: 0; }
    /* Gift card: the Security PIN + Add row fills remaining space */
    .tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__row { flex: 1; margin-bottom: 0; }
    /* Security PIN field inside the gift card row: fills remaining space */
    .tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__row:not(.coupon-gift__row--promo) .coupon-gift__field { flex: 1; }

    /* Promo code: textbox is 315px */
    .tmplv3 .checkout-body .coupon-gift__section > .coupon-gift__row--promo .coupon-gift__field { flex: 0 0 315px; }

    .tmplv3 .checkout-body .credit-card-wrapper .existing-card-inner { display: flex !important; flex-direction: row !important; align-items: flex-end; gap: 18px !important; }
    .tmplv3 .checkout-body .credit-card-wrapper .stored-cc-col { flex: 0 0 315px; width: 315px; max-width: 315px; box-sizing: border-box; margin-bottom: 0; }
    .tmplv3 .checkout-body .credit-card-wrapper .stored-drop-down { width: 100%; }
    .tmplv3 .checkout-body .credit-card-wrapper .stored-drop-down select { width: 100%; }
    .tmplv3 .checkout-body .credit-card-wrapper .cvv-col { flex: 0 0 150px; width: 150px; max-width: 150px; box-sizing: border-box; margin-bottom: 0; }

    /* New card form tablet layout */
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper { gap: 18px; }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-type-col   { flex: 0 0 100%; }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-type-col .card-type { max-width: 315px; }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-number-col { flex: 0 0 315px; }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-name-col   { flex: 1 1 0; min-width: calc(100% - 315px - 18px); }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-exp-col    { flex: 0 0 315px; }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-cvv-col    { flex: 0 0 120px; }
    .tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > .card-save-col   { flex: 0 0 100%; }
}

/* ── Payment — Payment Method Radio Buttons ─────────────────────────────── */
.tmplv3 .checkout-body .credit-card-wrapper > .round-radio,
.tmplv3 .checkout-body .apple-pay-wrapper .round-radio,
.tmplv3 .checkout-body .check-money-order-wrapper .round-radio { margin-bottom: 0; font-family: 'Nexa-Regular', sans-serif; font-size: 15px; }
.tmplv3 .checkout-body .credit-card-wrapper > .round-radio { margin-bottom: 16px; }

.tmplv3 .checkout-body .credit-card-wrapper .card-message { font-family: 'Nexa-Book-Italic', sans-serif; font-size: 14px; margin-bottom: 12px; }
.tmplv3 .checkout-body .credit-card-wrapper .error-messsage { margin-bottom: 12px; }

/* ── Payment — PayPal Button Container ───────────────────────────────────── */
.tmplv3 .checkout-body .paypal-wrapper .pp-buttons { max-width: 300px; }
.tmplv3 .checkout-body .paypal-wrapper .pp-buttons > div { margin-bottom: 6px; }

/* ── Payment — Credit Card Section ───────────────────────────────────────── */
.tmplv3 .checkout-body .paypal-wrapper,
.tmplv3 .checkout-body .apple-pay-wrapper,
.tmplv3 .checkout-body .check-money-order-wrapper {
    border-bottom: 1px solid #D6D6D6;
    padding: 20px 0;
}

credit-card-wrapper { padding: 20px 0; }

.tmplv3 .checkout-body .credit-card-wrapper .existing-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tmplv3 .checkout-body .credit-card-wrapper .stored-cc-col {
    float: none;
    width: auto;
    margin-bottom: 16px;
}

.tmplv3 .checkout-body .credit-card-wrapper .stored-drop-down { margin: 0; }

.tmplv3 .checkout-body .credit-card-wrapper .stored-drop-down select {
    width: 100%;
    box-sizing: border-box;
}

.tmplv3 .checkout-body .credit-card-wrapper .cvv-col {
    float: none;
    width: auto;
    margin-bottom: 16px;
}

.tmplv3 .checkout-body .credit-card-wrapper .card-security-code {
    display: flex;
    flex-direction: column;
}

.tmplv3 .checkout-body .credit-card-wrapper .card-security-code label {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    margin-bottom: 6px;
}

.tmplv3 .checkout-body .credit-card-wrapper .card-security-code .textbox,
.tmplv3 .checkout-body .credit-card-wrapper .card-security-code .ccid {
    width: 100%;
    max-width: 140px;
    box-sizing: border-box;
    margin-left: 0 !important;
}

.tmplv3 .checkout-body .credit-card-wrapper .cvv-label-wrap { white-space: nowrap; display: block; margin-bottom: 4px;}
.tmplv3 .checkout-body .credit-card-wrapper .cvv-label-wrap label { display: inline; }
.cvv-info-bubble { width: 280px; font-size: 13px; font-family: 'Nexa-Book', sans-serif; line-height: 1.5; }
.tmplv3 .checkout-body .credit-card-wrapper .card-number-label-wrap { white-space: nowrap; display: block; }
.tmplv3 .checkout-body .credit-card-wrapper .card-number-label-wrap label { display: inline; }
.tmplv3 .checkout-body .credit-card-wrapper .field-help-text { display: block; margin-top: 4px; color: #555; font-family: 'Nexa-Book', sans-serif; font-size: 13px; }
.tmplv3 .checkout-body .credit-card-wrapper .card-number .field-error-message:empty { margin-top: 0; }
.cardnumber-info-bubble { width: 280px; font-size: 13px; font-family: 'Nexa-Book', sans-serif; line-height: 1.5; }

.tmplv3 .checkout-body .cc-section__add-link {
    display: inline-block;
    font-family: 'Nexa-Book', sans-serif;
    font-size: 14px;
    color: #247E0C;
    text-decoration: underline;
}

.tmplv3 .checkout-body .cc-section__add-link:hover { color: #1a5e08; }

.tmplv3 .checkout-body .credit-card-wrapper .add-new-card-wrapper { padding-top: 0; margin-bottom: 20px; }
.tmplv3 .checkout-body .credit-card-wrapper .add-new-card-wrapper a:not(.cc-section__add-link) { display: none; }

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper { margin-bottom: 20px; border-bottom: 1px solid #D6D6D6; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 16px; }
.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper > div { flex: 0 0 100%; }

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .lbl {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    margin-bottom: 6px;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .lbl label,
.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .lbl span {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper select,
.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .textbox {
    width: 100%;
    box-sizing: border-box;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .card-number .textbox {
    width: 100%;
    box-sizing: border-box;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .expirationrow {
    display: flex;
    gap: 18px;
    padding: 0;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .expirationrow .exp-field {
    flex: 1;
    min-width: 0;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .expirationrow .exp-field select {
    width: 100%;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .ccid {
    width: 100%;
    box-sizing: border-box;
}

.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .card-save { align-items: center; }
.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .card-save label { font-family: 'Nexa-Regular'; font-size: 15px; margin: 0; }
.tmplv3 .checkout-body .credit-card-wrapper .new-card-wrapper .card-save span { display: inline !important; }

/* ── Payment — Billing Address Section ───────────────────────────────────── */
.tmplv3 .checkout-body .billing-wrapper { border-bottom: 1px solid #D6D6D6; padding: 20px 0; }
.tmplv3 .checkout-body .billing-wrapper .billing-match { font-family: 'Nexa-Book-Italic', sans-serif; font-size: 13px; margin-bottom: 16px; }
.tmplv3 .checkout-body .billing-wrapper .shipping-same { margin-bottom: 16px; align-items: center; }
.tmplv3 .checkout-body .billing-wrapper .shipping-same label {  margin: 0; }
.tmplv3 .checkout-body .billing-wrapper .existing-address { margin-bottom: 16px; }
.tmplv3 .checkout-body .can-review { font-family: 'Nexa-Book-Italic', sans-serif; font-size: 13px; margin: 30px 0 12px 0; }

/* ── Checkout Element Styles ─────────────────────────────────────────────── */
.tmplv3 .checkout-body .group-type-header { margin-bottom: 12px; font-size: 18px; }
.tmplv3 .checkout-body .group-type-wrapper { display: flex; flex-direction: column; gap: 12px; }
.tmplv3 .checkout-body .group-type label { font-family: Nexa-Book; line-height: 18px; }
.tmplv3 .checkout-body .group-type label span { font-family: Nexa-Regular; }
.tmplv3 .checkout-body .shipping-method label { line-height: 18px; }
.tmplv3 .checkout-body .shipping-method-header { margin-bottom: 12px; font-size: 18px; }
.tmplv3 .checkout-body .shipment-block fieldset + fieldset { margin-top: 20px; }
.tmplv3 .checkout-body .shipping-wrapper fieldset + fieldset { margin-top: 20px; }
.tmplv3 .checkout-body .shipping-wrapper .error-message { margin-bottom: 12px; }
.tmplv3 .checkout-body .comp-ship { margin-bottom: 24px; font-family: Nexa-Book-Italic; }
.tmplv3 .checkout-body .processed { margin-bottom: 24px; font-family: Nexa-Book-Italic; }

.tmplv3 .checkout-body label {
    font-family: Nexa-Regular;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

/* ── SMS Opt-In Section ─────────────────────────────────────────────────── */
.tmplv3 .checkout-body .sms-opt-in-wrapper {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
    margin-top: 12px;
}
.tmplv3 .checkout-body .sms-opt-in + .sms-opt-in {
    margin-top: 20px;
}
.tmplv3 .checkout-body .sms-opt-in .caption h1 {
    font-family: Nexa-Regular, sans-serif;
    font-size: 18px;
    margin: 0 0 4px;
}
.tmplv3 .checkout-body .sms-opt-in .updates-desc {
    font-family: Nexa-Book, sans-serif;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 8px;
    margin-top: 8px;
}
.tmplv3 .checkout-body .sms-opt-in .sms-content {
    margin-top: 12px;
}
.tmplv3 .checkout-body .sms-opt-in .square-checkbox { align-items: center; }
.tmplv3 .checkout-body .sms-opt-in .square-checkbox label {
    font-family: Nexa-Regular, sans-serif;
    font-size: 16px;
}
.tmplv3 .checkout-body .sms-opt-in .sms-content > p {
    font-family: Nexa-Book, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-style: italic;
    margin-top: 8px;
}

.tmplv3 .checkout-body .sms-opt-in label { margin: 0; }

/* ── Address Form Fields ─────────────────────────────────────────────────── */
.tmplv3 .checkout-body .shipping-address .stc-section {
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.tmplv3 .checkout-body .shipping-address .stc-checkbox-wrapper { margin-bottom: 12px; }

.tmplv3 .checkout-body .shipping-address .stc-message {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 13px;
    color: #247E0C;
    padding-top: 3px;
}

.tmplv3 .checkout-body .field-error {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 13px;
    color: #C41230;
    padding-top: 3px;
}

.tmplv3 .checkout-body .element-error {
    border-color: #C41230 !important;
    background-color: rgba(196, 18, 48, 0.05) !important;
}

.tmplv3 .checkout-body.address-page .error-message { margin-top: 20px; }

.tmplv3 .checkout-body .existing-address {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #d6d6d6;
}

.tmplv3 .checkout-body .residence-hall {
    margin-bottom: 24px;
}

.tmplv3 .checkout-body .residence-hall-notice {
    color: #008000;
}

.tmplv3 .checkout-body .address-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    position: relative;
}

.tmplv3 .checkout-body .address-field:has(select:disabled, input:disabled) label {
    color: #767676;
    cursor: not-allowed;
}

/* ── Student & Parent Information ───────────────────────────────────────── */
.tmplv3 .checkout-body .student-parent-info-wrapper > .error-message {
    margin-bottom: 24px;
}

.tmplv3 .checkout-body .student-parent-intro {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 15px;
    line-height: 18px;
    margin: 0 0 24px 0;
}

.tmplv3 .checkout-body .student-parent-section {
    margin-bottom: 24px;
}

.tmplv3 .checkout-body .student-parent-section__title {
    font-family: Nexa-Bold, sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0 0 8px 0;
}

.tmplv3 .checkout-body .student-parent-section__title:has(+ .student-parent-section__note) {
    margin-bottom: 0;
}

.tmplv3 .checkout-body .student-parent-section__note {
    font-family: 'Nexa-Regular-Italic', sans-serif;
    font-size: 13px;
    font-style: normal;
    margin: 0 0 12px 0;
}

.tmplv3 .checkout-body .student-parent-email-value {
    font-family: Nexa-Book, sans-serif;
    font-size: 15px;
    margin: 0;
}

.tmplv3 .checkout-body .student-parent-name-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tmplv3 .checkout-body .student-parent-name-row .address-field {
    margin-bottom: 0;
}

.tmplv3 .checkout-body .student-parent-parent-email-field {
    margin-bottom: 0;
}

/* Tablet+: must follow base .student-parent-name-row so two columns win over single column */
@media (min-width: 768px) {
    .tmplv3 .checkout-body .student-parent-name-row {
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .tmplv3 .checkout-body .student-parent-parent-email-field {
        max-width: calc(50% - 10px);
    }
}

.tmplv3 .checkout-body h2 {
    font-family: Nexa-Regular;
    font-size: 20px;
    color: #333;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #000000;
}

/* Checkout widget step row: title (left) + edit (right) */
.tmplv3 .checkout-body .header.step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tmplv3 .checkout-body .header.step .step-title {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.tmplv3 .checkout-body .header.step .step-edit {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

.tmplv3 .checkout-body .header.step .step-edit a {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-decoration: underline;
}

.tmplv3 .checkout-body input[type="text"]::placeholder,
.tmplv3 .checkout-body input[type="email"]::placeholder,
.tmplv3 .checkout-body input[type="tel"]::placeholder,
.tmplv3 .checkout-body input[type="password"]::placeholder,
.tmplv3 .checkout-body input[type="number"]::placeholder {
    color: #58585B;
    font-family: 'Nexa-Book', sans-serif;
    font-size: 15px;
}

.tmplv3 .checkout-body input[type="text"],
.tmplv3 .checkout-body input[type="email"],
.tmplv3 .checkout-body input[type="tel"],
.tmplv3 .checkout-body input[type="password"],
.tmplv3 .checkout-body input[type="number"] {
    height: 40px;
    padding: 18px 12px;
    border: 1px solid #BFBFBF;
    border-radius: 4px;
    font-family: 'Nexa-Book', sans-serif;
    font-size: 15px;
}

.tmplv3 .checkout-body .select-wrapper select,
.tmplv3 .checkout-body select {
    height: 40px;
    border: 1px solid #BFBFBF;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    cursor: pointer;
    font-family: 'Nexa-Book', sans-serif;
    font-size: 15px;
    width: 100%;
}

.tmplv3 .checkout-body .requiredfields { }

.tmplv3 .checkout-body .widget {
    background: #fff;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
    padding: 20px 30px;
    margin: 0 0 24px 0;
}

.tmplv3 .checkout-body .widget ~ .widget {
    margin-top: 24px;
}
.tmplv3 .checkout-body .widget-content {
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid #D6D6D6;
}
.tmplv3 .checkout-body .widget-content.address p {
    font-family: Nexa-Book;
    font-size: 15px;
    margin: 0;
}

/* ── Payment Review Widget ───────────────────────────────────────────────── */
.tmplv3 .checkout-body .payment-review-wrapper .payment-type-heading,
.tmplv3 .checkout-body .payment-review-wrapper .billing-address-heading {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 12px 0;
}
.tmplv3 .checkout-body .payment-review-wrapper .payment p {
    font-family: 'Nexa-Book', sans-serif;
    font-size: 15px;
    margin: 0;
}
.tmplv3 .checkout-body .payment-review-wrapper .payment .paypal-account { margin-top: 12px; }
.tmplv3 .checkout-body .payment-review-wrapper .total-charged { margin-top: 12px; }
.tmplv3 .checkout-body .payment-review-wrapper .total-charged p,
.tmplv3 .checkout-body .payment-review-wrapper .total-charged p.total {
    font-family: 'Nexa-Book-Italic', sans-serif;
    font-size: 15px;
    margin: 0;
}
.tmplv3 .checkout-body .payment-review-wrapper .billing-address-heading { margin-top: 24px; }
.tmplv3 .checkout-body .payment-review-wrapper .billing-review-wrapper p {
    font-family: 'Nexa-Book', sans-serif;
    font-size: 15px;
    margin: 0;
}

@media (min-width: 1200px) {
    .tmplv3 h2 { font-size: 48px; }
    .tmplv3 .checkout-body h2 { font-size: 20px; }
    
    .tmplv3 .announcement-slide { font-size: 13px; }
    .tmplv3 .announcement-nav-prev { margin-left: 100px; }
    .tmplv3 .announcement-nav-next { margin-right: 20px; }
    .tmplv3 .announcement-pause { margin-right: 56px; }
    
    .tmplv3 .carousel-wrapper .carousel-container {  }

    .tmplv3 .header-main { padding: 0 100px 0 100px; }

    /* ── Checkout Header — Desktop ────────────────────────────────────── */
    .checkout-header-inner {
        padding: 12px 100px;
    }
    .checkout-header-logo {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
    }
    .checkout-header-title {
        flex: 0 0 auto;
        text-align: center;
        font-size: 30px;
    }
    .checkout-header-lock {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
    }

    .tmplv3 .header-menu-bar .nav-category-list .nav-level-name,
    .tmplv3 .header-menu-bar .nav-category-list-nowrap .nav-level-name,
    .tmplv3 .header-menu-bar .nav-category-list-wrap .nav-level-name { font-family: Nexa-Bold; }
    

    .tmplv3.homepage ul.img-blocks .img-block-text { padding: 5px 30px; }
    
	.tmplv3 .product-carousel { margin-top: 30px; }
	.tmplv3 .product-carousel .carousel { width: 1200px; }
	.tmplv3 .product-carousel .carousel button { margin: 120px 10px 0 10px; }
	.tmplv3 .product-carousel .carousel ul { width: 1100px; }
	.tmplv3 .product-carousel .carousel .product { width: 275px; font-size: 17px; padding: 0 20px; }
	.tmplv3 .product-carousel .carousel .product img { width: 100%; }
	.tmplv3 .product-carousel .carousel .product .description { margin-top: 22px; height: 48px; }

	/* Image Block Section - Desktop */
	.tmplv3.homepage .img-block-section { padding: 30px 0 0 0; max-width: 1512px; margin: 0 auto 70px auto; }
	.tmplv3.homepage ul.img-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.tmplv3.homepage ul.img-blocks li { height: 486px; /*aspect-ratio: 16 / 9;*/ }
	.tmplv3.homepage ul.img-blocks li:last-child:nth-child(odd) { grid-column: 1 / -1; /* aspect-ratio: 21 / 9; */ }
	.tmplv3.homepage ul.img-blocks li.has-btn .img-block-text { margin-bottom: 20px; }
	
	.tmplv3.homepage ul.blocks { width: 1160px; }
	.tmplv3.homepage ul.blocks li { width: 365px; padding: 0 11px; }
	.tmplv3.homepage ul.blocks li a { font-size: 24px; height: 120px; }

	.tmplv3 .hero-carousel .hero-carousel-inner .hero-nav { display: flex; }
}

@media (min-width: 1312px) {
    .tmplv3.merch-pdp .content { padding: 0; }

    .tmplv3 .container { padding: 0 100px; max-width: 1312px; }

}

@media (min-width: 1000px) {
    .tmplv3.merch-pdp .top-section { display: flex; gap: 48px; margin: 0 auto; }
    .tmplv3.merch-pdp .images.desktop.flex { display: flex !important; gap: 24px; flex: 1 1 420px; min-width: 0; }
    .tmplv3.merch-pdp .images.desktop.flex .select { flex: 0 0 20%; min-width: 0; }
    .tmplv3.merch-pdp .images.desktop.flex .select ul { display: flex; flex-direction: column; gap: 24px; list-style: none; margin: 0; padding: 0; }
    .tmplv3.merch-pdp .images.desktop.flex .select ul li { width: 100%; }
    .tmplv3.merch-pdp .images.desktop.flex .select ul li a { display: block; }
    .tmplv3.merch-pdp .images.desktop.flex .select ul li img { width: 100%; height: auto; cursor: pointer; }
    .tmplv3.merch-pdp .images.desktop.flex .main-image { flex: 1; min-width: 0; }
    .tmplv3.merch-pdp .images.desktop.flex .main-image img { width: 100%; height: auto; }
    .tmplv3.merch-pdp .mobi-images { display: none; }
    .tmplv3.merch-pdp .sticky-add-to-cart { display: none; }
    .tmplv3.merch-pdp .sticky-add-to-cart-spacer { display: none; }
    .tmplv3.merch-pdp .title-section { flex: 1 1 432px; min-width: 432px; }
    .tmplv3.merch-pdp .title-section h2.title-text { font-size: 32px; line-height: 38px; }
    .tmplv3.merch-pdp .title-section .pricing { font-size: 24px; }

    /* ── Cart Page — Desktop (1100px+) ────────────────────────────────── */
    .tmplv3.cart-page .cart-right-col { position: sticky; top: 20px; }
}

@media (min-width: 1512px) {
    .tmplv3 .mobile { display: none !important; }
    .tmplv3 .tablet { display: none !important; }  
    .tmplv3 .desktop { display: block !important; }
    
    .tmplv3 .carousel-wrapper { padding: 0; }

    .tmplv3 .mobile.flex { display: none !important; }
    .tmplv3 .tablet.flex { display: none !important; }  
    .tmplv3 .desktop.flex { display: flex !important; }  
    
    .tmplv3 .square-checkbox label { line-height: 16px; }

    .tmplv3 .hero-carousel .hero-carousel-inner ul.slides > li .hero-overlay .hero-header { font-size: 40px; line-height: 44px; }

    .tmplv3.homepage ul.img-blocks .img-block-text { font-size: 40px; }

    .tmplv3.merch-pdp .content { padding: 0; }
    .tmplv3.merch-pdp .reviews .review { margin: 0 auto; }
    .tmplv3.merch-pdp .top-section { width: 1312px; }
    .tmplv3.merch-pdp .images.desktop.flex { flex: 0 0 636px; }
    .tmplv3.merch-pdp .images.desktop.flex .select { flex: 0 0 132px; }
    .tmplv3.merch-pdp .images.desktop.flex .select ul li { width: 132px; }
    .tmplv3.merch-pdp .images.desktop.flex .select ul li img { width: 132px; }
    .tmplv3.merch-pdp .title-section { flex: 1 1 0; min-width: 0; }
    
    .tmplv3 .carousel-wrapper .carousel-arrows button { width: 48px; height: 48px; }
    .tmplv3 .carousel-wrapper .carousel-arrows button svg { width: 36px; height: 36px; }
    .tmplv3.merch-pdp .reviews .review .review-wrapper .gallery .carousel-wrapper .carousel { padding-right: 0; }
    .tmplv3.merch-pdp .filter-sort .filter { margin-left: 50px; }
    
    .tmplv3.homepage .gyt .text { font-size: 40px; line-height: 44px; margin-left: 15px; width: 220px; }

    .tmplv3.homepage .featured-block { margin: 0 auto 70px auto; width: 1312px; }
    .tmplv3.homepage .featured-block .main { margin-bottom: 48px; margin: 0 auto 48px auto; height: 550px; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
    
    .tmplv3.homepage .featured-dept-section { margin: 0 auto 70px auto; width: 1312px; }
    
    .tmplv3.merch-pdp .review-gallery.carousel-wrapper { margin: 60px auto 48px auto; width: 1312px; }
    
    .tmplv3.merch-pdp .reviews .review .review-wrapper { display: flex; gap: 26px; justify-content: center; align-items: start; }
    .tmplv3.merch-pdp .reviews .review .review-wrapper .info { width: 150px; }
    .tmplv3.merch-pdp .reviews .review .review-wrapper .rating-container { flex: 1; }
    .tmplv3.merch-pdp .reviews .review .review-wrapper .review-sliders { width: 460px; padding-right: 60px; }
    .tmplv3.merch-pdp .reviews .review .review-wrapper .gallery { width: 150px; display: flex; }
    .tmplv3.merch-pdp .reviews .review .review-wrapper .gallery .carousel-wrapper { margin: 0; padding: 0; }
    .tmplv3.merch-pdp .review-section .write-review { margin: 0 auto; width: 188px; }
    .tmplv3.merch-pdp .review-section .rating { font-size: 32px; }

    .tmplv3.merch-pdp .review-gallery .carousel > li { width: 150px; height: 150px; flex: 0 0 150px; }

    .tmplv3.merch-pdp .review-section .review-summary { display: flex; gap: 0; justify-content: center; border-bottom: 1px solid #ccc; }
    .tmplv3.merch-pdp .review-section .review-summary .average-rating.with-sliders { border-bottom: none; padding: 20px 60px 20px 0; flex-shrink: 0; border-right: 1px solid #ccc; }
    .tmplv3.merch-pdp .review-section .review-summary .review-sliders { flex: 1; max-width: 500px; width: 500px; margin: 20px 0 0 60px }
    .tmplv3.merch-pdp .review-section .review-count { font-size: 16px; }

    /* ── Merch Results — Desktop ───────────────────────────────────────── */
    .tmplv3.merch-results .content { padding: 0; max-width: 1312px; }
    .tmplv3.merch-results h2 { font-size: 24px; margin-bottom: 48px; }
    .tmplv3.merch-results .desktop-filters { display: flex; align-items: center; gap: 12px; }
    .tmplv3.merch-results .selected-filters { display: none; }
    .tmplv3.merch-results .results-list { grid-template-columns: repeat(4, 1fr); gap: 64px 24px; }
    .tmplv3.merch-results .result-title { font-size: 18px; margin-bottom: 16px; }
    .tmplv3.merch-results .result-price { font-size: 18px; }
    .tmplv3.merch-results .color-choices { margin-top: 20px; }

    /* ── Cart Page — 1512px+ ───────────────────────────────────────────── */
    .tmplv3.cart-page #order-summary-header { font-size: 22px; }

    /* ── Checkout Page Layout — Desktop ───────────────────────────────── */
    .tmplv3 .checkout-body {
        flex-direction: row;
    }
    .tmplv3 .checkout-main {
        flex: 1 0 auto;
        display: flex;
        justify-content: flex-end;
    }
    .tmplv3 .checkout-cart-section {
        flex: 1 0 auto;
        display: flex;
    }
}

/* ── Toast Notifications ──────────────────────────────────────────────────── */
/* Base state: hidden, positioned at bottom-center, ready to slide up.         */
/* Dynamic colors and fade timing are supplied as CSS custom properties by      */
/* toast.js (--toast-bg, --toast-color, --toast-fade-ms).                      */
.toast-message {
    position: fixed;
    top: var(--toast-top, 25%);
    left: 50%;
    transform: translateX(-50%) translateY(-16px);
    background-color: var(--toast-bg, #333);
    color: var(--toast-color, #fff);
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 18px;
    font-family: Nexa-Book;
    line-height: 1.5;
    z-index: 99999;
    opacity: 0;
    max-width: min(728px, 90vw);
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
    transition: opacity var(--toast-fade-ms, 200ms) ease,
                transform var(--toast-fade-ms, 200ms) ease;
}

/* Visible state: fully opaque, in final position. */
.toast-message--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Respect reduced-motion preference: skip the Y slide, fade only. */
@media (prefers-reduced-motion: reduce) {
    .toast-message {
        transform: translateX(-50%);
        transition: opacity var(--toast-fade-ms, 200ms) ease;
    }
    .toast-message--visible {
        transform: translateX(-50%);
    }
}

/* ==========================================
   SIGN-IN PAGE STYLES
   ========================================== */

/* Main wrapper for sign-in page */
.tmplv3.sign-in-drawer .btn { font-size: 18px; font-family: Nexa-Bold; padding: 8px 24px; }

.tmplv3.sign-in-drawer .main-wrapper {
   
}


.tmplv3.sign-in-drawer .message { margin-bottom: 24px; font-size: 14px; font-family: Nexa-Book; }
.tmplv3.sign-in-drawer .rewards-header { margin-bottom: 24px; }
.tmplv3.sign-in-drawer .rewards-header .earn { font-size: 16px; font-family: 'Nexa-Bold'; color: #000; margin-bottom: 16px; }
.drawer-modal-content .redirecting-text { font-family: Nexa-Bold; font-size: 18px; text-align: center; }

/* Login wrapper container */
.tmplv3.sign-in-drawer .login-wrapper {
    width: 100%;
}

/* Header row styling */
.tmplv3.sign-in-drawer .login-wrapper .header-row {
    margin-bottom: 30px;
}

.tmplv3.sign-in-drawer h2 {
    font-family: 'Nexa-Bold', sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #000;
    text-align: left;
    margin: 0 0 20px 0;
    padding: 0;
}

.tmplv3.sign-in-drawer h3,
.tmplv3.sign-in-drawer h4 {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #000;
    text-align: left;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.5;
}

.tmplv3.sign-in-drawer .existing-customers .blurb {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.5;
}

.tmplv3.sign-in-drawer .existing-customers .form {
    margin-top: 24px;
}

/* Form row styling */
.tmplv3.sign-in-drawer .existing-customers .form .row,
.tmplv3.sign-in-drawer .new-customers .form .row {
    margin-bottom: 24px;
    margin-right: 0;
    margin-left: 0;
}

.tmplv3.sign-in-drawer .existing-customers .form .row .caption,
.tmplv3.sign-in-drawer .new-customers .form .row .caption {
    font-family: 'Nexa-Book', sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.tmplv3.sign-in-drawer .existing-customers .form .row .value,
.tmplv3.sign-in-drawer .new-customers .form .row .value {
    position: relative;
}

/* Form input styling */
.tmplv3.sign-in-drawer .existing-customers .form-control.textbox,
.tmplv3.sign-in-drawer .new-customers .form-control.textbox {
    width: 100%;
    height: 38px;
    padding: 10px 14px;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

/* Password field with show/hide toggle */
.tmplv3.sign-in-drawer .existing-customers .form .row .value,
.tmplv3.sign-in-drawer .new-customers .form .row .value {
    position: relative;
}

.tmplv3.sign-in-drawer .existing-customers .form .row .value .show-password-toggle,
.tmplv3.sign-in-drawer .new-customers .form .row .value .show-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Nexa-Book', sans-serif;
    font-size: 13px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 2px;
    min-height: 24px;
    min-width: 44px;
    z-index: 1;
    display: inline-block;
    text-align: center;
}

.tmplv3.sign-in-drawer .existing-customers .form .row .value .show-password-toggle:hover,
.tmplv3.sign-in-drawer .new-customers .form .row .value .show-password-toggle:hover {
    text-decoration: underline;
}

.tmplv3.sign-in-drawer .existing-customers .form .row .value .show-password-toggle:focus,
.tmplv3.sign-in-drawer .existing-customers .form .row .value .show-password-toggle:focus-visible,
.tmplv3.sign-in-drawer .new-customers .form .row .value .show-password-toggle:focus,
.tmplv3.sign-in-drawer .new-customers .form .row .value .show-password-toggle:focus-visible {
    text-decoration: underline;
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-radius: 2px;
}

.tmplv3.sign-in-drawer .existing-customers .form .row .value .show-password-toggle:active,
.tmplv3.sign-in-drawer .new-customers .form .row .value .show-password-toggle:active {
    outline: 2px dotted #000;
    outline-offset: 2px;
}

/* Forgot password toggle button */
.tmplv3.sign-in-drawer .existing-customers .forgot-password {
    font-family: Nexa-Book;
    font-size: 13px;
    margin-bottom: 24px;
    margin-top: -16px;
}

.tmplv3.sign-in-drawer .existing-customers .forgot-password button {
    color: #333;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Nexa-Book;
    font-size: 13px;
    padding: 0;
}

.tmplv3.sign-in-drawer .existing-customers .forgot-password button:hover {
    text-decoration: underline;
}

/* Forgot password view (sibling of .login-wrapper) */
.tmplv3.sign-in-drawer .forgot-password-section {
    width: 100%;
}

.tmplv3.sign-in-drawer .forgot-password-section h2 {
    margin-top: 0;
}

.tmplv3.sign-in-drawer .forgot-password-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 0;
    margin-bottom: 40px;
}

.tmplv3.sign-in-drawer .forgot-password-back:hover,
.tmplv3.sign-in-drawer .forgot-password-back:focus {
    text-decoration: underline;
}

.tmplv3.sign-in-drawer .forgot-password-result .success {
    color: #2e7d32;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tmplv3.sign-in-drawer .forgot-password-result .error-message {
    margin-bottom: 16px;
}

.tmplv3.sign-in-drawer .forgot-password-loading {
    text-align: center;
    padding: 8px 0;
    margin-bottom: 16px;
}

.tmplv3.sign-in-drawer .forgot-password-field {
    margin-bottom: 24px;
}

.tmplv3.sign-in-drawer .forgot-password-field label {
    font-family: 'Nexa-Book', sans-serif;
    font-size: 13px;
    color: #000;
    display: block;
    margin-bottom: 8px;
}

.tmplv3.sign-in-drawer .forgot-password-field input {
    width: 100%;
    height: 38px;
    padding: 10px 14px;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.tmplv3.sign-in-drawer .forgot-password-submit {
    margin-top: 12px;
}

/* Sign In button */
.tmplv3.sign-in-drawer .existing-customers .submit {
    margin-top: 20px;
}

/* New customers section */
.tmplv3.sign-in-drawer .new-customers,
.tmplv3.sign-in-drawer .new-customers.login-form {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ccc;
}

.tmplv3.sign-in-drawer .new-customers .first {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.5;
}

.tmplv3.sign-in-drawer .new-customers .submit {
    margin-top: 20px;
}

/* Error messages */
.tmplv3.sign-in-drawer .login-wrapper .error-message {
    margin: 0 0 20px 0;
}

.tmplv3.sign-in-drawer .login-wrapper .error-message ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tmplv3.sign-in-drawer .login-wrapper .error-message ul li {
    margin: 0;
    padding: 0;
}

.tmplv3.sign-in-drawer .login-wrapper .sign-in-options .section { padding-bottom: 24px; border-bottom: 1px solid #ccc; margin-bottom: 24px; }
.tmplv3.sign-in-drawer .login-wrapper .sign-in-options .section:last-child { border-bottom: none; padding-bottom: 0; }

.tmplv3.sign-in-drawer .login-wrapper .sign-in-options .new-customers { font-size: 16px; font-family: Nexa-Regular; color: #000000; }
.tmplv3.sign-in-drawer .login-wrapper .sign-in-options .new-customers a { color: #000000; text-decoration: underline; }
/
* Google Sign In section */
.tmplv3.sign-in-drawer .googleSignIn {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ccc;
}

.tmplv3.sign-in-drawer .googleSignIn .gbtn {
    width: auto;
    margin: 20px 0;
    text-align: left;
}

/* Blackbaud section */
.tmplv3.sign-in-drawer .row[style*="margin-top:50px"] {
    margin-top: 40px !important;
    padding-top: 30px;
    border-top: 1px solid #ccc;
}


.tmplv3.sign-in-drawer p {
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Loading and message states */
.tmplv3.sign-in-drawer .login-wrapper .loading {
    text-align: center;
    padding: 20px;
}

.tmplv3.sign-in-drawer .login-wrapper .ajax-failed {
    background-color: #fff;
    border: none;
    color: #C41230;
    font-family: 'Nexa-Regular', sans-serif;
    font-size: 14px;
    margin: 0 0 20px 0;
    padding: 0;
    text-align: center;
}


.tmplv3.account-sign-up { margin: 30px auto 60px auto; }
.tmplv3.account-sign-up h2 { text-align: left; font-size: 24px; font-family: Nexa-Bold; margin-bottom: 20px; }
.tmplv3.account-sign-up p { font-family: Nexa-Regular; font-size: 14px; margin-bottom: 32px; }
.tmplv3.account-sign-up .form { width: 400px; margin: 0 auto; }
.tmplv3.account-sign-up .field { margin-bottom: 15px; }
.tmplv3.account-sign-up label { font-family: Nexa-Book; font-size: 13px; margin-bottom: 8px; }
.tmplv3.account-sign-up .submit { margin-top: 24px; }
.tmplv3.account-sign-up input[type="text"], .tmplv3.account-sign-up input[type="password"] { height: 38px; line-height: 38px; }
.tmplv3.account-sign-up .error-message { margin: 0 auto 20px auto; padding: 0 20px; width: auto; max-width: 740px; text-align: center; }

.tmplv3.cart-page .item-col--info .ebook-trial .text { font-size: 13px; }

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: 350px;
    max-width: 350px;
    min-width: min-content;
  }
  
  .gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 10px;
    min-width: 20px;
    width: 20px;
  }
  
  .gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
  }
  
  .gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 0;
    flex-grow: 0;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
  }
  
  .gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
  }
  
  .gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
  }
  
  .gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
  }
  
  .gsi-material-button:not(:disabled):active .gsi-material-button-state, 
  .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    /*background-color: #303030;
    opacity: 12%;*
  }
  
  .gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  }
  
  .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    /*
    background-color: #303030;
    opacity: 8%;
    */
  }
  
  
  /* ✨ The underline you want */
  .gsi-material-button:hover .gsi-material-button-contents,
  .gsi-material-button:focus .gsi-material-button-contents {
    text-decoration: underline;
  }


.tmplv3.verify-account { color: #000; text-align: left; margin: 40px auto; }
.tmplv3.verify-account form { width: 400px; margin: 0 auto; }
.tmplv3.verify-account input[type=text] { display: inline-block; width: 52px; height: 72px; font-size: 22px; text-align: center; margin: 0 4px; border: 1px solid #58585D; border-radius: 4px; }
.tmplv3.verify-account h2 { text-align: left; font-size: 24px; margin: 0 0 20px 0; font-family: Nexa-Bold; }
.tmplv3.verify-account .instructions { font-family: Nexa-Book; font-size: 18px; margin: 0 0 26px 0; }
.tmplv3.verify-account .email { margin: 0 0 32px 0; font-size: 20px; font-family: Nexa-Bold; }
.tmplv3.verify-account .textboxes { display: flex; justify-content: space-between; margin: 0 0 20px 0; }
.tmplv3.verify-account .buttons { margin: 0 0 40px 0; }
.tmplv3.verify-account .buttons button { width: 100%; display: block; margin: 0 auto 12px auto; }
.tmplv3.verify-account .help a { color: #148eff; font-weight: bold; }
.tmplv3.verify-account .buttons .btn-verify { background-color: #247E0C; color: #fff; font-family: Nexa-Bold; font-size: 18px; }
.tmplv3.verify-account .buttons .btn-cancel { background-color: #fff; color: #000; font-family: Nexa-Bold; font-size: 18px; border: 1px solid #000; }
.tmplv3.verify-account .buttons .btn-resend { background-color: #333; color: #fff; font-family: Nexa-Bold; font-size: 18px; width: 200px; margin: 60px auto 0 auto; }

.tmplv3.verify-account .verification-sent { width: 400px; padding: 22px 20px; background: #E9F2E7; color: #231F20; text-align: center; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin: 0 auto 20px auto; }
.tmplv3.verify-account .verification-sent .thanks { color: #247E0C; font-family: Nexa-Regular; font-size: 14px; margin-bottom: 20px; }
.tmplv3.verify-account .verification-sent .blurb { font-family: Nexa-Book; font-size: 12px; font-style: italic; }

.tmplv3.verify-account .verify-failure { width: 400px; padding: 22px 20px; color: #C41230; text-align: center; font-family: Nexa-Regular; margin: 0 auto 20px auto;  }
.tmplv3.verify-account .verify-failure .oops { font-size: 18px; margin-bottom: 20px; }
.tmplv3.verify-account .verify-failure .reason { font-size: 16px; font-family: Nexa-Book; font-style: italic; }

@media (min-width: 1512px) {
    .tmplv3.verify-account .verify-account h2 { font-size: 40px; }
    .tmplv3.verify-account .verification-sent { width: 740px; }
    .tmplv3.verify-account .verify-failure { width: 740px; }

}

/* ── InfoBubble ──────────────────────────────────────────────────────────── */
.info-bubble {
    position: absolute;
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px 10px 10px;
    z-index: 9999;
    max-width: 320px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.info-bubble__close {
    position: absolute;
    top: 6px;
    right: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
    color: #333;
}
.info-bubble__close:hover {
    color: #000;
}
.info-bubble-trigger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    margin-left: 4px;
    vertical-align: middle;
    margin-top: -4px;
}
.info-bubble--tooltip {
    padding: 10px;
}
button.info-bubble-trigger {
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    background: none;
    border: none;
}
.cart-digital-bubble { width: 250px; font-family: Nexa-Book; font-size: 13px; }
.cart-digital-bubble p { margin: 10px 0 0 0; }
.cart-digital-bubble a { color: #000000; text-decoration: underline; }
.cart-digital-bubble h2 { margin: 0; font-family: Nexa-Bold; font-size: 13px; text-align: left; }
.cart-fee-bubble { width: 250px; font-size: 13px; font-family: Nexa-Book; }
@media (min-width: 768px) {
    .cart-digital-bubble { }
    .cart-fee-bubble { width: auto; }
}
/* ─────────────────────────────────────────────────────────────────────────── */

/* ── Shipping Method Page ───────────────────────────────────────────────── */
.tmplv3 .checkout-body .shipment-number-header {
    font-family: Nexa-Regular, sans-serif;
    font-size: 18px;
    color: #000000;
    margin: 0 0 12px 0;
    font-weight: normal;
}
.tmplv3 .checkout-body .shipment-number-seller {
    font-family: Nexa-Regular, sans-serif;
    font-size: 16px;
    margin: 0 0 12px 0;
    font-weight: normal;
    padding: 0;
}
.tmplv3 .checkout-body .shipment-expand-link {
    font-family: Nexa-Regular, sans-serif;
    font-size: 16px;
    text-decoration: underline;
    color: inherit;
    margin: 0 0 12px 0;
    display: block;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: normal;
    height: auto;
}
.tmplv3 .checkout-body .shipment-expand-icon {
    font-size: 20px;
    color: #00436E;
    float: left;
    padding-right: 4px;
}
.tmplv3 .checkout-body .shipment-detail-list {
    margin-left: 20px;
    font-size: 12px;
    display: none;
}
.tmplv3 .checkout-body .shipment-detail-list li { margin-bottom: 8px; }
.tmplv3 .checkout-body .shipment-detail-list .title { font-family: Nexa-Bold; font-size: 14px; line-height: 18px; }
.tmplv3 .checkout-body .shipment-detail-list .details { font-family: Nexa-Book; font-size: 14px; line-height: 18px; }
.tmplv3 .checkout-body .shipment-detail-list .item-type { text-transform: uppercase; }
.tmplv3 .checkout-body .shipment-block + .shipment-block {
    margin-top: 36px;
}
.tmplv3 .checkout-body .shipping-method {
    margin-bottom: 12px;
}
.tmplv3 .checkout-body .shipping-method label {
    font-family: Nexa-Book, sans-serif;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 0;
}
.tmplv3 .checkout-body .shipping-method input[type="radio"] { transform: translateY(2px); }
.tmplv3 .checkout-body .shipping-method .days {
    font-family: Nexa-Book-Italic;
    font-size: 15px;
}
.tmplv3 .checkout-body .shipping-method .price {
    font-family: Nexa-Regular;
    font-size: 15px;
}
.tmplv3 .checkout-body .shipping-method .free {
    font-family: Nexa-Bold;
    font-size: 15px;
    color: #247E0C;
}
.tmplv3 .checkout-body .ship-to-store-option { flex-wrap: wrap; }
.tmplv3 .checkout-body .store-list { flex-basis: 100%; margin-left: 40px; }
.tmplv3 .checkout-body .store-list .store-radio + .store-radio { margin-top: 8px; }
/* ── Shipping Summary Widget ─────────────────────────────────────────────── */
.tmplv3 .widget-content.shipping .shipment-summary + .shipment-summary { margin-top: 24px; }
.tmplv3 .widget-content.shipping .shipment-number-header { margin-bottom: 12px; }
.tmplv3 .widget-content.shipping .shipment-number-seller { margin-bottom: 4px; }
.tmplv3 .widget-content.shipping .shipment-method { margin: 0; }
.tmplv3 .widget-content.shipping .shipment-type { font-family: Nexa-Book; font-size: 15px; }
.tmplv3 .widget-content.shipping .price { font-family: Nexa-Regular; font-size: 15px; }
.tmplv3 .widget-content.shipping .free { font-family: Nexa-Bold; font-size: 15px; color: #247E0C; }
.tmplv3 .widget-content.shipping .days { font-family: Nexa-Book-Italic; font-size: 15px; }
.tmplv3 .checkout-body .cs-orders {
    margin-left: 29px;
    font-size: 12px;
    display: none;
}
.tmplv3 .checkout-body .notes {
    margin-top: 36px;
}
.tmplv3 .checkout-body .notes p {
    font-family: Nexa-Book;
    font-size: 12px;
    line-height: 14px;
    margin: 0 0 10px 0;
}
.tmplv3 .checkout-body .submit-row {
    margin-top: 30px;
    text-align: right;
}

/* ── Thank You Page ────────────────────────────────────────────────────── */
.tmplv3 .checkout-body.ty-page { margin-top: 10px; }

.tmplv3 .checkout-body .ty-content-wrapper { max-width: 708px; margin-left: auto; margin-right: auto; }
.tmplv3 .checkout-body .ty-content-wrapper h2 { color: #333; }

@media (min-width: 768px) {
    .tmplv3 .checkout-body .ty-content-wrapper { width: 708px; }
}

@media (min-width: 1100px) {
    .tmplv3 .checkout-body .ty-content-wrapper { width: 820px; max-width: 820px;  }
}

/* Widget 1: Confirmation */
.tmplv3 .ty-confirmation { text-align: center; }
.tmplv3 .checkout-body .widget.ty-confirmation { margin-top: 30px; }
@media (min-width: 768px) {
    .tmplv3 .checkout-body .widget.ty-confirmation { margin-top: 40px; }
}
.tmplv3 .ty-confirmation .ty-checkmark { margin: 0 auto 20px; }
.tmplv3 .ty-confirmation .ty-heading { font-family: 'Nexa-Bold', sans-serif; font-size: 24px; line-height: 34px; margin: 0 0 24px 0; color: #333; text-align: center; }
.tmplv3 .ty-confirmation .ty-order-number { font-family: 'Nexa-Bold', sans-serif; font-size: 18px; margin: 0 0 4px 0; }
.tmplv3 .ty-confirmation .ty-email { font-family: 'Nexa-Book', sans-serif; font-size: 18px; line-height: 24px; margin: 0 0 12px 0; }
.tmplv3 .ty-confirmation .ty-links a { font-family: 'Nexa-Book', sans-serif; font-size: 16px; color: #333; text-decoration: underline; }

/* Widget 2: Address + Payment */
.tmplv3 .ty-address-payment { display: flex; flex-direction: column; }
.tmplv3 .ty-address-payment .ty-section h3 { font-family: 'Nexa-Regular', sans-serif; font-size: 16px; font-weight: normal; margin: 0 0 12px 0; }
.tmplv3 .ty-address-payment .ty-section p { font-family: 'Nexa-Book', sans-serif; font-size: 15px; margin: 0; line-height: 22px; }
.tmplv3 .ty-address-payment .ty-section + .ty-section { border-top: 1px solid #d6d6d6; padding-top: 20px; margin-top: 20px; }
@media (min-width: 768px) {
    .tmplv3 .ty-address-payment { display: flex; flex-direction: row; align-items: flex-start; gap: 30px; }
    .tmplv3 .ty-address-payment .ty-section { flex: 1; }
    .tmplv3 .ty-address-payment .ty-section + .ty-section { border-top: none; padding-top: 0; margin-top: 0; }
}

/* Widget 3: Order Details / Shipments */
.tmplv3 .ty-shipments-heading { font-family: 'Nexa-Regular', sans-serif; font-size: 22px; font-weight: normal; margin: 0; text-align: left; }
.tmplv3 .ty-shipments-content { border-top: 1px solid #d6d6d6; margin-top: 20px; padding-top: 20px; }
.tmplv3 .ty-shipment + .ty-shipment { margin-top: 32px; padding-top: 20px; border-top: 1px solid #d6d6d6; }
.tmplv3 .ty-shipment-header { font-family: 'Nexa-Regular', sans-serif; font-size: 18px; font-weight: normal; line-height: 20px; margin: 0 0 8px 0; color: #000000; }
.tmplv3 .ty-shipment-blurb { font-family: 'Nexa-Book-Italic', sans-serif; font-size: 15px; line-height: 17px; margin: 0 0 16px 0; }
.tmplv3 .ty-shipment-items + .ty-shipment-blurb { margin-top: 20px; }
.tmplv3 .ty-shipment-items { display: flex; flex-wrap: wrap; gap: 10px; row-gap: 20px; }
.tmplv3 .ty-shipment-item { width: 85px; height: 85px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tmplv3 .ty-shipment-item img { max-width: 85px; max-height: 85px; object-fit: contain; }
.tmplv3 .ty-item-qty { position: absolute; top: -6px; right: -6px; background: #000000; color: #ffffff; border-radius: 50%; width: 22px; height: 22px; font-size: 12px; text-align: center; line-height: 22px; font-family: 'Nexa-Bold', sans-serif; }
.tmplv3 .ty-help { border-top: 1px solid #d6d6d6; padding-top: 20px; margin-top: 20px; font-family: 'Nexa-Book', sans-serif; font-size: 15px; line-height: 20px; }
.tmplv3 .ty-help a { font-family: 'Nexa-Regular', sans-serif; font-size: 15px; color: #333; text-decoration: underline; }

/* Widget 4: Feedback */
.tmplv3 .ty-feedback-heading { font-family: 'Nexa-Regular', sans-serif; font-size: 22px; font-weight: normal; margin: 0; text-align: left; }
.tmplv3 .ty-feedback-content { border-top: 1px solid #d6d6d6; margin-top: 20px; padding-top: 20px; }
.tmplv3 .ty-feedback-content p { font-family: 'Nexa-Book', sans-serif; font-size: 15px; line-height: 20px; margin: 0 0 20px 0; }
.tmplv3 .ty-feedback-btn { background-color: #333; border-color: #333; width: 100%; }
.tmplv3 .ty-feedback-btn:hover, .tmplv3 .ty-feedback-btn:focus { background-color: #222; border-color: #222; }

/* Widget 4: Survey */
.tmplv3 .ty-survey-heading { font-family: 'Nexa-Regular', sans-serif; font-size: 18px; font-weight: normal; line-height: 24px; margin: 20px 0 24px 0; color: #333; }
.tmplv3 .ty-survey-fieldset { border: none; margin: 0 0 24px 0; padding: 0; }
.tmplv3 .ty-survey-legend { font-family: 'Nexa-Regular', sans-serif; font-size: 16px; line-height: 22px; margin: 0 0 16px 0; padding: 0; color: #333; }

/* Ease rating slider - mirrors .slider-track / .slider-thumb / .slider-label-item pattern */
.tmplv3 .ty-survey-slider-container { position: relative; width: 100%; }
.tmplv3 .ty-survey-slider-track {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #C8C8C8;
    border-radius: 2px;
    margin: 8px 0 40px 0;
}
.tmplv3 .ty-survey-slider-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-color: #000;
    border-radius: 50%;
    z-index: 3;
    transition: left 0.2s ease;
    display: none;
}
.tmplv3 .ty-survey-slider-dot.ty-survey-slider-dot-visible { display: block; }
.tmplv3 .ty-survey-slider-labels {
    position: relative;
    width: 100%;
    height: 70px;
    font-family: Nexa-Book;
    margin-top: -30px;
}
.tmplv3 .ty-survey-slider-label-item {
    position: absolute;
    font-size: 11px;
    color: #333;
    text-align: center;
    transform: translateX(-50%);
    padding-top: 8px;
    line-height: 12px;
    cursor: pointer;
}
.tmplv3 .ty-survey-slider-label-item:first-child { transform: none; text-align: left; }
.tmplv3 .ty-survey-slider-label-item:last-child { transform: none; text-align: right; }
.tmplv3 .ty-survey-slider-label-item::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 15px;
    background-color: #000;
}
.tmplv3 .ty-survey-slider-label-item:first-child::before { left: 0; transform: none; }
.tmplv3 .ty-survey-slider-label-item:last-child::before { left: auto; right: 0; transform: none; }
.tmplv3 .ty-survey-slider-emoji { display: block; font-size: 20px; line-height: 1; margin-bottom: 4px; }
.tmplv3 .ty-survey-slider-text { display: block; font-size: 11px; line-height: 12px; color: #333; font-style: italic; }
.tmplv3 .ty-survey-slider-label-item.active .ty-survey-slider-text { font-family: 'Nexa-Bold', sans-serif; font-style: normal; color: #000000; }
.tmplv3 .ty-survey-slider-label-item:hover .ty-survey-slider-text { text-decoration: underline; }

/* Checkboxes */
.tmplv3 .ty-survey-checkbox-group { margin: 0; padding: 0; }
.tmplv3 .ty-survey-checkbox-label { display: block; font-family: 'Nexa-Book', sans-serif; font-size: 15px; padding: 6px 0; cursor: pointer; }
.tmplv3 .ty-survey-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin: 0 12px 0 0; cursor: pointer; border: 1px solid #000; background-color: transparent; appearance: none; -webkit-appearance: none; -moz-appearance: none; position: relative; box-sizing: border-box; vertical-align: middle; }
.tmplv3 .ty-survey-checkbox-label input[type="checkbox"]:checked { background-color: #000; border-color: #000; }
.tmplv3 .ty-survey-checkbox-label input[type="checkbox"]:checked::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 12px; transform: translate(-50%, -50%); background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' viewBox='0 0 13 12' fill='none'%3E%3Cpath d='M0.813548 4.62879L4.55028 9.8612L12.1286 0.634857' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.tmplv3 .ty-survey-checkbox-label span { vertical-align: middle; }

.tmplv3 .ty-survey-textarea-label { display: block; font-family: 'Nexa-Regular', sans-serif; font-size: 15px; line-height: 20px; margin: 16px 0 8px 0; color: #333; }
.tmplv3 .ty-survey-textarea { display: block; width: 100%; box-sizing: border-box; font-family: 'Nexa-Book', sans-serif; font-size: 15px; line-height: 20px; padding: 12px; border: 1px solid #999; border-radius: 4px; resize: vertical; min-height: 80px; }
.tmplv3 .ty-survey-textarea:focus { border-color: #333; }
.tmplv3 .ty-survey-char-count { font-family: 'Nexa-Book', sans-serif; font-size: 14px; line-height: 18px; color: #666; margin-top: 4px; }

.tmplv3 .ty-survey-submit-btn { display: block; width: 100%; margin-top: 24px; }
.tmplv3 .ty-survey-submit-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

.tmplv3 .ty-survey-error { font-family: 'Nexa-Book', sans-serif; font-size: 15px; line-height: 20px; color: #cc0000; background-color: #fff0f0; border: 1px solid #cc0000; border-radius: 4px; padding: 12px 16px; margin-top: 16px; }

.tmplv3 .ty-survey-confirm { text-align: center; padding: 24px 0; }
.tmplv3 .ty-survey-confirm p { font-family: 'Nexa-Regular', sans-serif; font-size: 18px; line-height: 24px; color: #247E0C; margin: 0; }

@media (min-width: 768px) {
    .tmplv3 .ty-survey-submit-btn { width: auto; min-width: 220px; }
}
