/** Shopify CDN: Minification failed

Line 403:4 Unexpected "/"
Line 439:19 Expected identifier but found whitespace
Line 439:21 Unexpected "{"
Line 439:30 Expected ":"
Line 1236:19 Expected identifier but found whitespace
Line 1236:21 Unexpected "{"
Line 1236:30 Expected ":"
Line 1348:14 Expected identifier but found whitespace
Line 1348:16 Unexpected "{"
Line 1348:25 Expected ":"
... and 19 more hidden warnings

**/
/* ========================================
   REGISTRY MANAGER - CSS STYLES
   ======================================== */

/* ==========================================
   LOADER STYLES
   ========================================== */
 .api-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1e3a5f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.button-loader .spinner {
    width: 20px;
    height: 20px;
    border-width: 3px;
}



/* ==========================================
   API CART DRAWER
   ========================================== */
.api-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}
.api-cart-qty-display{
  color: #fff;
}
.api-cart-drawer.active {
    visibility: visible;
    opacity: 1;
}

.api-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.api-cart-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.api-cart-drawer.active .api-cart-container {
    transform: translateX(0);
}

/* Cart Header */
.api-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
    background-color: #7a5b47;
    color: white;
}

.api-cart-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.api-cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    transition: color 0.3s;
}

.api-cart-close:hover {
    color: #333;
}

/* Cart Items Container */
.api-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #7a5b47;
}

.api-cart-loading,
.api-cart-empty,
.api-cart-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.api-cart-loading .spinner {
    margin-bottom: 15px;
}

.api-cart-loading p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.api-cart-empty svg {
    color: #ccc;
    margin-bottom: 20px;
}

.api-cart-empty p {
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.api-cart-error p {
    font-size: 16px;
    color: #dc3545;
    margin: 0;
}

/* Cart Item */
.api-cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.api-cart-item:last-child {
    border-bottom: none;
}

.api-cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.api-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.api-cart-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

.api-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.api-cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    padding-right: 30px;
}

.api-cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

/* Quantity Controls */
.api-cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
    width: fit-content;
}
.api_cart_value{
      font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    padding-right: 30px;
}
.api-cart-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background-color:#bf6a7e;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-cart-qty-btn:hover {
    background-color: white;
    color: #bf6a7e;
}

.api-cart-qty-input {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.api-cart-qty-input:focus {
    outline: none;
}

.api-cart-item-remove {
    position: absolute;
    top: 20px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    transition: color 0.3s;
}

.api-cart-item-remove:hover {
    color: #dc3545;
}

/* Cart Footer */
.api-cart-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background-color: #7a5b47;
    flex-shrink: 0;
}

.api-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.api-cart-subtotal span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.api-cart-total {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.api-cart-note {
    font-size: 13px;
    color: #fff;
    text-align: center;
    margin: 0 0 20px 0;
}

.api-cart-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #bf6a7e;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.api-cart-checkout:hover {
    background-color: white;
    color: #bf6a7e;
}

.api-cart-continue {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: white;
    color: #bf6a7e;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 0px;
    transition: all 0.3s;
}

.api-cart-continue:hover {
    background-color: #bf6a7e;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .api-cart-container {
        max-width: 100%;
    }

    .api-cart-item-image {
        width: 80px;
        height: 80px;
    }

    .api-cart-item-title {
        font-size: 14px;
    }

    .api-cart-item-price {
        font-size: 16px;
    }
}  */

/* =================================================================
   COMMON/SHARED STYLES
   ================================================================= */

/* Registry Buttons - Common */
.registry-btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.registry-btn-inner {
  display: flex;
}

.registry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  font-size: 1rem;
  text-decoration: none;
  background: rgb(191 106 126);
  color: white;
  transition: .15s ease;
  border: none;
  border-radius: 50px;
}
.registry-button:hover{
  color: rgb(191 106 126);
  background-color: white;
}
/* Common Heading Wrapper */
.heading-wrapper {
  background-color: {{ section.settings.heading_bg_color | default: '#1e3a5f' }};
  padding: 30px 40px;
}

.section-heading {
  font-size: 32px;
  font-weight: bold;
  color: white;
  margin: 0 0 15px 0;
  text-align: center;
}

/* Common Navigation/User Info */
.nav-info,
.user-info {
  text-align: center;
  color: white;
  font-size: 16px;
  margin-top: 10px;
}

.registry-count,
.create-registry-link,
.user-name,
.user-email {
  color: white;
}

.create-registry-link {
  text-decoration: none;
  transition: opacity 0.3s;
}

.create-registry-link:hover {
  opacity: 0.8;
}

.separator {
  margin: 0 10px;
  color: white;
}

/* Common Button Styles */
.create-registry-btn {
  width: 200px !important;
  position: relative;
  min-height: 48px !important;
}

.search-btn {
  position: relative;
  padding: 14px 40px;
  background-color: #333;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.search-btn:hover {
  background-color: #555;
}

.search-btn:active {
  background-color: #222;
}

.update___registry___btn {
  width: 220px !important;
}

/* Button Loader */
.manage___registry__wrapper {
  position: relative;
}

.button-loader {
  padding: 0 !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Common Avatar Styles */
.card-avatar,
.header-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.card-avatar {
  width: 120px;
  height: 120px;
  border: 2px solid #e0e0e0;
}

.avatar-initials {
  font-size: 20px;
  font-weight: 600;
  color: #555;
}

/* Common Detail Styles */
.detail-item {
  font-size: 16px;
  color: #333;
}

.detail-label {
  color: #666;
  font-weight: 600;
}

.detail-value {
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}

/* =================================================================
   MANAGE REGISTRY SECTION
   ================================================================= */

.manage-registry-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.manage-registry-section .avatar-initials {
  color: black !important;
}

.registry-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.registry-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.card-left {
  flex-shrink: 0;
  margin: auto;
}

.card-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-right {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.card-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.action-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.action-icon:hover {
  color: #333;
}

.action-icon svg {
  stroke: currentColor;
}

.registry-name {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.registry-details {
  display: flex;
  gap: 10px;
}

.invitation-message-section {
  margin-top: 10px;
}

.invitation-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.invitation-quote {
  background-color: #f9f9f9;
  border-left: 3px solid #ddd;
  padding: 12px 15px;
  border-radius: 4px;
}

.invitation-quote p {
  margin: 0;
  font-size: 14px;
  color: #555;
  font-style: italic;
}

.view-registry-btn {
  margin-top: 10px;
  padding: 12px 30px;
  background-color: #7a5b47;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: auto;
  align-self: flex-start;
}

.view-registry-btn:hover {
  background-color: rgb(139, 109, 89);
}

/* =================================================================
   SEARCH REGISTRY SECTION
   ================================================================= */

.search-registry-section {
  background-color: #ffffff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.search-registry-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.search-heading {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin: 0 0 40px 0;
}

.search-bar-wrapper {
  width: 100%;
}

.search-form {
  width: 100%;
}

.search-input-group {
  display: flex;
  gap: 0;
  width: 100%;
  align-items: stretch;
}

.search-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid #ddd !important;
  border-radius: 4px 0 0 4px !important;
  font-size: 16px;
  font-family: sans-serif;
  outline: none;
  color: #333 !important;
  background-color: #fff !important;
}

.search-input::placeholder {
  color: #999;
}

.search-input:focus {
  border-color: #333;
}

.search-registry-section .search-btn {
  border-radius: 0 4px 4px 0;
  flex: 0 0 20%;
}

/* Search Results Section */
.search-results-section {
  background: white;
}

.search-results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.search-registry-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* =================================================================
   VIEW REGISTRY SECTION
   ================================================================= */

/* Header Styles */
.view-registry-header {
  padding: 40px 20px;
}

.view-registry-header .detail-label,
.view-registry-header .detail-value {
  color: white !important;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.header-left {
  display: flex;
  gap: 30px;
  flex: 1;
}

.header-avatar {
  width: 120px;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.header-avatar .avatar-initials {
  font-size: 28px;
  color: white;
}

.header-content {
  flex: 1;
}

.registry-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: white;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.registrant__name {
  flex: 0 0 100%;
}

.detail-row {
  font-size: 14px;
  display: flex;
  gap: 10px;
}

.view-registry-header .detail-label {
  opacity: 0.9;
}

.view-registry-header .detail-value {
  font-weight: 400;
}

.invitation-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.invitation-text {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: white;
  opacity: 0.95;
}

.countdown-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.countdown-text {
  font-size: 16px;
  font-weight: 600;
}

.send-thanks-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.send-thanks-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.send-thanks-btn svg {
  width: 16px;
  height: 16px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.action-btn:hover {
  opacity: 0.8;
}

.action-btn svg {
  stroke: currentColor;
}

.header-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
}

/* Content Styles */
.view-registry-content {
  background-color: white;
  padding: 40px 20px;
  min-height: 600px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs-navigation {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 15px 30px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.tab-btn:hover {
  color: #333;
}

.tab-btn.active {
  color: #1e3a5f;
  border-bottom-color: #1e3a5f;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.products-count {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.add-products-btn {
  padding: 12px 30px;
  background-color: #7a5b47;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-products-btn:hover {
  background-color: rgb(139, 109, 89);
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-card {
  display: flex;
  gap: 30px;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: white;
}

.product-image {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.product-want {
  font-size: 14px;
  color: #666;
}

.product-controls {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
  flex-direction: column;
}
.personalization-input{
      display: block;
    width: 100%;
    margin-top: 2px;
    padding: 5px 10px;
    font-size: 13px;
}
.personalization-container label{
  margin-bottom: 9px;
}
.personalization-input::placeholder {
    color: #999; 
    opacity: 1;
}
.personalization-input:focus {
    outline: none;
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  display: none;
}
.update-quantity-btn{
  display: none;
}
.quantity-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.quantity-btn:hover {
  background-color: #f5f5f5;
  border-color: #333;
}

.quantity-input {
  width: 60px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 0 10px;
}

.quantity-input:focus {
  outline: none;
  border-color: #7a5b47;
}

.update-quantity-btn {
  padding: 10px 25px;
  background-color: #7a5b47;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  flex: 0 0 18%;
  position: relative;
  min-height: 35px;
  min-width: 160px;
}
.add-to-cart-btn{
  flex: 0 0 15%;
  min-height: 35px;
  position: relative;
  min-width: 140px;
}
.add-to-cart-btn .spinner,
.update-quantity-btn .spinner{
  width: 15px;
  height: 15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1e3a5f;
}
.add-to-cart-btn .btn-loader,
.update-quantity-btn .btn-loader{
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.update-quantity-btn:hover {
  background-color: rgb(139, 109, 89);
}

.add-to-cart-btn {
  padding: 10px 25px;
  background-color: #7a5b47;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
  background-color: rgb(139, 109, 89);
}

.add-to-cart-btn.added {
  background-color: rgb(139, 109, 89);
}

/* =================================================================
   CREATE REGISTRY SECTION
   ================================================================= */

.create-registry-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

.form-wrapper {
  background-color: {{ section.settings.form_bg_color | default: '#ffffff' }};
  padding: 40px;
}

.create-registry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  color: rgba(51, 51, 51, 0.75);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background-color: #fff;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-field select {
  cursor: pointer;
  color: black;
  margin-left: -3px;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
}

.registrant-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.registrant-heading {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0 0 20px 0;
}

.registrant-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.registrant-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.create-registry-section .create-registry-btn {
  margin-top: 30px;
  padding: 14px 40px;
  background-color: #7a5b47;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: auto;
  align-self: flex-start;
}

.create-registry-section .create-registry-btn:hover {
  background-color: rgb(139, 109, 89);
}

/* =================================================================
   REGISTRY BUTTONS SECTION
   ================================================================= */

.registry-section {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
  {% if section.settings.background_color != blank %}
  background-color: {{ section.settings.background_color }};
  {% endif %}
}

.registry-section .registry-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: {{ section.settings.button_gap }}px;
  justify-content: {{ section.settings.button_alignment }};
}

.registry-section .registry-btn-inner {
  display: block;
  width: 100%;
}

.registry-section .registry-button {
  display: flex;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.registry-buttons-section {
  width: 100%;
}

/* =================================================================
   MODAL STYLES
   ================================================================= */

/* Share Modal */
.share-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.share-modal-overlay.active {
  display: flex;
}

.share-modal {
  background-color: #ffffff;
  padding: 70px 150px;
  max-width: 650px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.modal-close-btn:hover {
  color: #333;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 25px 0;
  text-align: center;
}

.modal-content {
  text-align: center;
}

.modal-message {
  font-size: 18px;
  color: #333;
  margin: 0 0 10px 0;
}

.modal-submessage {
  font-size: 16px;
  color: #333;
  margin: 0 0 30px 0;
}

.share-section {
  margin-top: 20px;
}

.share-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.share-label svg {
  stroke: currentColor;
}

.url-input-wrapper {
  display: flex;
  align-items: center;
}

.share-url-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border-radius: 0 !important;
}

.share-url-input:focus {
  outline: none;
  border-color: #333;
}

.copy-btn {
  padding: 16px 30px;
  background-color: #7a5b47;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.copy-btn:hover {
  background-color:rgb(139, 109, 89);
}

.copy-btn.copied {
  background-color: #28a745;
}

/* Select Registry Modal */
.select-registry-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.select-registry-modal-overlay.active {
  display: flex;
}

.select-registry-modal {
  background-color: #ffffff;
  border-radius: 0;
  padding: 0;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.select-registry-modal-header {
  padding: 30px 30px 20px 30px;
  border-bottom: none;
  position: relative;
}

.select-registry-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin: 0;
  text-align: center;
}

.select-registry-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000000;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  width: 30px;
  height: 30px;
}

.select-registry-modal-close:hover {
  opacity: 0.7;
}

.select-registry-modal-body {
  padding: 0 30px 30px 30px;
}

.select-registry-list {
  max-height: 300px;
  overflow-y: auto;
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.select-registry-item {
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
  color: #000000;
  font-size: 16px;
}

.select-registry-item:last-child {
  border-bottom: none;
}

.select-registry-item:hover {
  background-color: #f5f5f5;
}

.select-registry-item.selected {
  background-color: #7a5b47;
  color: white;
}

.select-registry-modal-footer {
  padding: 0 30px 30px 30px;
}

.update-registry-btn {
  width: 100%;
  padding: 15px;
  background-color: #7a5b47;
  color: #ffffff;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
  position: relative;
  height: 50px;
}

.update-registry-btn:hover {
  background-color: rgb(139, 109, 89);
}

.select-registry-list::-webkit-scrollbar {
  width: 6px;
}

.select-registry-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.select-registry-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.select-registry-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */

@media (max-width: 768px) {
  /* Common Responsive Styles */
  .heading-wrapper {
    padding: 20px;
  }
  .product-details{
    width: 100% !important;
  }
  .section-heading {
    font-size: 24px;
  }

  .nav-info,
  .user-info {
    font-size: 14px;
  }

  .card-avatar {
    width: 60px;
    height: 60px;
  }

  /* Manage Registry Section - Mobile */
  .manage-registry-section {
    padding: 20px 15px;
  }

  .registry-card {
    padding: 40px 20px 20px;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: relative;
  }

  .card-right {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .card-center,
  .registry-details {
    align-items: center;
    flex-direction: column;
  }

  .invitation-message-section {
    text-align: center;
  }

  .view-registry-btn {
    margin: auto;
  }

  .card-left {
    align-self: flex-start;
  }

  /* Search Registry Section - Mobile */
  .search-registry-section {
    padding: 40px 20px;
  }

  .search-heading {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-input {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .search-btn {
    border-radius: 4px;
    width: 100%;
    min-height: 45px;
  }

  /* Search Results Section - Mobile */
  .search-results-container {
    padding: 20px 15px;
  }

  /* View Registry Header - Mobile */
  .view-registry-header {
    padding: 30px 15px;
    position: relative;
  }

  .header-avatar {
    width: 80px;
    height: 80px;
  }

  .header-container {
    flex-direction: column;
    gap: 30px;
  }

  .header-left {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .header-right {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .countdown-section {
    justify-content: center;
  }

  .stat-item {
    align-items: center;
  }

  .header-stats {
    flex-direction: row;
    gap: 30px;
    order: -1;
  }

  .registry-title {
    font-size: 24px;
    text-align: center;
  }

  .event-details,
  .detail-row {
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    position: absolute;
    top: 10px;
    right: 0;
  }

  /* View Registry Content - Mobile */
  .tabs-navigation {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tabs-navigation::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 12px 20px;
    font-size: 12px;
    white-space: nowrap;
  }

  .products-header {
    align-items: center;
    gap: 15px;
  }

  .product-card {
    flex-direction: column;
    padding: 20px;
  }

  .product-image {
    width: 100%;
    height: 250px;
  }

  .product-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .update-quantity-btn,
  .add-to-cart-btn {
    width: 100%;
  }

  .add-to-cart-btn {
    margin-top: 10px;
  }

  /* Create Registry Section - Mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 20px;
  }

  /* Modal Styles - Mobile */
  .share-modal {
    padding: 30px 20px;
    width: 95%;
  }

  .modal-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .modal-message {
    font-size: 16px;
  }

  .modal-submessage {
    font-size: 14px;
  }

  .url-input-wrapper {
    flex-direction: column;
  }

  .share-url-input,
  .copy-btn {
    width: 100%;
  }

  .modal-close-btn {
    top: 1px;
    right: 5px;
  }
}

@media (min-width: 768px) {
  .registrant-fields {
    width: 50%;
  }
}
.product_metafield_data{
  display: none;
}

.checkout-popup-container {
    background: white;
    width: 100%;
    padding: 30px;
    position: relative;
    animation: scaleIn 0.3s ease;
    position: absolute;
       bottom: -100%;   
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: bottom 0.4s ease-in-out;

}
.checkout-popup-container.active{
  bottom: 0;
}
@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.checkout-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    transition: color 0.2s;
    z-index: 1;
}

.checkout-popup-close:hover {
    color: #000;
}

.checkout-popup-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 18px 0;
    color: #333;
}

.checkout-popup-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

.checkout-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-popup-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.checkout-popup-field label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.checkout-popup-field input {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.checkout-popup-field input:focus {
    outline: none;
    border-color: black;
}

.checkout-popup-submit {
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-popup-proceed {
    background: #7a5b47;
    color: white;
}


.checkout-popup-proceed:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.checkout-popup-add-more {
    background: transparent;
    color: #7a5b47;
    border: 2px solid #7a5b47;
}

.checkout-popup-add-more:hover {
    background:  #7a5b47;
    color: white;
}

.checkout-popup-submit .btn-loader {
    display: inline-block;
}

.checkout-popup-submit .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.checkout-popup-field input::placeholder,
.checkout-popup-field textarea::placeholder {
    color: #6f6e6e;
}
#personalizationMessage{
  padding: 10px 15px;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .checkout-popup-container {
        width: 100%;
        padding: 24px;
    }
    
    .checkout-popup-title {
        font-size: 20px;
    }
}
.metaData, .shopmeta{
  display: none;
}
.personalization-container label{
  color: black;
      text-transform: capitalize;
    line-height: normal;
    vertical-align: middle;
    cursor: pointer;
}
.api-cart-items {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.api-cart-items::-webkit-scrollbar {
    display: none;
}
.last-item{
  margin-bottom: 10px;
}
.personalization-container{
  width: 30%;
}
.product_card-label{
  color: black;
  text-transform: capitalize;
  margin-top: 10px;
}
.product-details{
  z-index: 7;
}
.tabs-navigation button[data-tab="still-need"]{
  display: none;
}
.tabs-navigation button[data-tab="fulfilled"]{
  display: none;
}
.tabs-navigation button[data-tab="sold-out"]{
  display: none;
}
.open-cart-trigger-registry{
  position: relative;
}

.open-cart-trigger-registry::after{
  content: '';
  position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    cursor: pointer;
}
.open-cart-trigger-registry .cart-bubble{
  display: none;
  width: 0 !important;
  height: 0 !important;
} 
.open-cart-trigger-registry .svg-wrapper svg{
  mask: unset !important; 
}
.detail-row:first-child{
  display: none;
}
.product-want{
  display: none;
}