/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
}

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 350px;
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f9fafb;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--gold);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.product-info {
    text-align: right;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--dark-green);
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.product-card:hover .product-name {
    color: var(--gold);
}

.product-category {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--dark-green);
}

/* Media queries */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .product-card {
        max-width: 380px; 
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 4rem;
    }
    .product-card {
        max-width: 350px;
    }
}

@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
    .product-card {
        max-width: 350px;
    }
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 1 / 1;
    text-decoration: none;
}

.category-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s;
}

.category-card:hover .category-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.category-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-divider {
    width: 6rem;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-image {
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 3rem;
    }
}

.about-content p {
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.025em;
    margin-bottom: 1rem;
}

.value-description {
    color: #6b7280;
    line-height: 1.75;
}

/* Shipping Options */

.shipping-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .shipping-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .shipping-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.shipping-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.shipping-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.shipping-icon {
    width: 5rem;
    height: 5rem;
    background-color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.1);
}

.shipping-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.shipping-text {
    color: #6b7280;
    line-height: 1.75;
    font-size: 0.875rem;
}

/* Tabs */
.tabs {
    width: 100%;
}

.tabs-list {
    display: flex;
    justify-content: center;
    background-color: transparent;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-trigger {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-trigger.active {
    background-color: var(--gold);
    color: white;
}

.tab-trigger:not(.active) {
    color: #4b5563;
}

.tab-trigger:not(.active):hover {
    color: var(--gold);
}

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.product-detail-image {
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f9fafb;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-category-badge {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.product-detail-name {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.025em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .product-detail-name {
        font-size: 3rem;
    }
}

.product-detail-price {
    font-size: 1.875rem;
    font-weight: 300;
    color: var(--dark-green);
    margin-bottom: 2rem;
    text-align: right;
}

.product-detail-section {
    margin-bottom: 2rem;
}

.product-detail-section h3 {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.product-detail-section p {
    color: #374151;
    line-height: 1.75;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.in-stock {
    color: #059669;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.out-of-stock {
    color: #dc2626;
    font-size: 0.875rem;
}

.product-detail-actions {
    margin-top: auto;
}

.return-policy {
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

.return-policy h4 {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.return-policy p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info h2 {
    font-size: 1.875rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.025em;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #6b7280;
}

.contact-hours {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.contact-hours h3 {
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.contact-hours p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.form-group, .form-row {
    text-align: right;
}
.form-label {
    display: block;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: right;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    text-align: right;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-textarea {
    resize: vertical;
    min-height: 9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Shipping Summary */
.shipping-summary {
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
}
.shipping-order-summary {
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.shipping-order-summary h3 {
    color: var(--dark-green);
    font-weight: 500;
}

.shipping-summary h3 {
    color: var(--dark-green);
    font-weight: 500;
}
#shippingOrderItems .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#shippingOrderItems .flex > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#shippingOrderItems img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

#shippingOrderItems p {
  margin: 0;
  line-height: 1.4;
}

#shippingOrderItems .font-medium.text-gray-900 {
  font-weight: 600;
  color: #1f2937;
}

#shippingOrderItems .text-sm.text-gray-500 {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Step Indicator */
.step-indicator {
    margin-bottom: 2rem;
}

.step-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    list-style: none;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}


.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid #e5e7eb;
}

.step-number.completed {
    background-color: var(--gold);
    color: white;
    border: none;
}

.step-number.active {
    background-color: var(--dark-green);
    color: white;
    border: none;
}

.step-number.upcoming {
    background-color: white;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
}

.step-name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.step-name.active {
    color: var(--dark-green);
}

.step-name.completed {
    color: var(--dark-green);
}

.step-name.upcoming {
    color: #6b7280;
}


/* Form Container */
.checkout-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.checkout-form h2,
.order-summary h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    text-align: right;
}



.order-summary {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    top: 10rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 260px;
}


.order-items {
    max-height: none; 
    overflow: visible; 
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0; 
    border-bottom: 1px solid #f3f4f6;
}

.order-item:last-child {
    border-bottom: none;
}

#shippingOrderItems img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item-image {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-quantity {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: var(--dark-green);
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.order-item-details {
    flex: 1;
    text-align: right;
}

.order-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.order-item-category {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.order-item-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-green);
}

.order-totals {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.order-total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Checkout Success Page */

.checkout-success {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(249, 250, 251, 0.5);
}

.success-card {
    background-color: white;
    padding: 3rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 28rem;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    color: #10b981;
    margin: 0 auto 1.5rem;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.025em;
    margin-bottom: 1rem;
}

.success-message {
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}


/* Terms & Policy Pages */
.policy-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.policy-title {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--dark-green);
    letter-spacing: 0.025em;
    margin-bottom: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .policy-title {
        font-size: 3rem;
    }
}

.policy-content {
    line-height: 1.75;
    text-align: right;
}

.policy-content h2 {
    color: var(--dark-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: #374151;
    margin-bottom: 1rem;
}

.verification-image-container {
    margin-top: 4rem;
    text-align: center;
}

.verification-image-wrapper {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf5 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.verification-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.verification-image-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(212, 175, 55, 0.2);
}

.verification-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    filter: brightness(1.05) contrast(1.1);
    transition: filter 0.3s ease;
}

.verification-image-wrapper:hover .verification-image {
    filter: brightness(1.1) contrast(1.15);
}

.verification-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Responsive adjustments */
@media (min-width: 540px) {
    .verification-image-wrapper {
        padding: 2rem;
    }
}

@media (min-width: 668px) {
    .verification-image-wrapper {
        padding: 2.5rem;
    }
    
    .verification-caption {
        font-size: 1rem;
    }
}