.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.footer a {
    color: #fff;
    transition: color 0.3s;
    font-size: 14px;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    margin-top: 0;
}

.footer-logo p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info li {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-info li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a,
.social-links .social-link-inactive {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-links .social-link-inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.social-links .social-link-inactive:hover {
    opacity: 0.7;
}

.copyright {
    margin-top: 7px;
    font-size: 14px;
    font-weight: 500;
}

.payment-methods {
    font-size: 24px;
}

.payment-methods i {
    margin-left: 10px;
    color: #fff;
    transition: color 0.3s;
}

.payment-methods i:hover {
    color: var(--primary-color);
}

.payment-methods i:first-child {
    margin-left: 0;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4e50 0%, #ff6b6b 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(255, 78, 80, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4e50 100%);
}

@media (hover: hover) and (pointer: fine) {
    .scroll-to-top-btn:hover {
        background: linear-gradient(135deg, #ff6b6b 0%, #ff4e50 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(255, 78, 80, 0.4);
    }
    
    .scroll-to-top-btn:active {
        transform: translateY(0);
    }
}

.mobile-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff4e50 0%, #ff6b6b 100%);
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
    display: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

body.page-sepet .mobile-cart-bar,
body.page-cart .mobile-cart-bar,
body.page-odeme .mobile-cart-bar,
body.page-checkout .mobile-cart-bar,
body.page-siparis-basarili .mobile-cart-bar,
body.page-order-success .mobile-cart-bar {
    display: none !important;
}

@media (max-width: 768px) {
    body.page-sepet .footer-bottom,
    body.page-cart .footer-bottom,
    body.page-odeme .footer-bottom,
    body.page-checkout .footer-bottom,
    body.page-siparis-basarili .footer-bottom,
    body.page-order-success .footer-bottom {
        margin-bottom: 0px !important;
    }
}

.mobile-cart-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    max-width: 100%;
}

.mobile-cart-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mobile-cart-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-icon i {
    font-size: 16px;
}

.mobile-cart-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-cart-text {
    color: white;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.mobile-cart-total {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.mobile-cart-button {
    background: rgba(255,255,255,0.95);
    color: #ff4e50;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mobile-cart-button:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mobile-cart-button:active {
    transform: translateY(0);
}

@media (min-width: 769px) {
    .mobile-cart-bar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.page-sepet .scroll-to-top-btn,
    body.page-odeme .scroll-to-top-btn,
    body.page-siparis-basarili .scroll-to-top-btn {
        bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    body.page-sepet .scroll-to-top-btn,
    body.page-odeme .scroll-to-top-btn,
    body.page-siparis-basarili .scroll-to-top-btn {
        bottom: 15px !important;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-column:last-child .footer-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .footer-logo {
        align-items: left;
        text-align: left;
        margin-bottom: 20px;
        grid-column: 1 / -1;
    }
    
    .footer-logo-text {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .footer-logo p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-column-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li {
        margin-bottom: 6px;
        font-size: 13px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 15px;
        align-items: center;
        justify-items: center;
        width: 80%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
    
    .contact-info li {
        margin-bottom: 0;
        font-size: 13px;
        justify-content: center;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    
    .contact-info li:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        text-align: left;
        justify-content: flex-start;
    }
    
    .contact-info li:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        text-align: right;
        justify-content: flex-end;
    }
    
    .contact-info li:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        text-align: center;
        margin-top: 8px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin: 0 3px;
    }
    
    .footer-bottom {
        padding: 15px 0;
        margin-bottom: 60px;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .copyright {
        margin-top: 0px;
        font-size: 12px;
        margin-bottom: 0;
        flex: 1;
        text-align: left;
    }
    
    .payment-methods {
        margin-top: 0;
        font-size: 20px;
        flex: 0 0 auto;
    }
    
    .payment-methods i:first-child {
        margin-left: 0;
    }
    
    .payment-methods i {
        margin-left: 8px;
    }
    
    .mobile-cart-bar {
        display: block !important;
    }
    
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    body.has-mobile-cart .scroll-to-top-btn {
        bottom: 85px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    body.has-mobile-cart .scroll-to-top-btn {
        bottom: 80px;
    }
}

@media (max-width: 1024px) and (orientation: landscape) and (max-height: 600px) {
    .footer {
        padding: 25px 0 0px;
        margin-top: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-logo {
        align-items: left;
        text-align: left;
        margin-bottom: 15px;
        grid-column: 1 / -1;
    }
    
    .footer-logo-text {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .footer-logo p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 15px 12px;
        margin-bottom: 15px;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 8px;
    }
    
    .footer-column:last-child .footer-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        margin-bottom: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-column-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-column ul li {
        margin-bottom: 5px;
        font-size: 13px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        align-items: center;
        justify-items: center;
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
    
    .contact-info li {
        margin-bottom: 0;
        font-size: 12px;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    
    .contact-info li:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        text-align: left;
        justify-content: flex-start;
    }
    
    .contact-info li:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        text-align: right;
        justify-content: flex-end;
    }
    
    .contact-info li:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        text-align: center;
        margin-top: 6px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 26px;
        height: 26px;
        font-size: 11px;
        margin: 0 2px;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .copyright {
        margin-top: 0px;
        font-size: 12px;
        margin-bottom: 0;
        flex: 1;
        text-align: left;
    }
    
    .payment-methods {
        margin-top: 0;
        font-size: 18px;
        flex: 0 0 auto;
    }
    
    .payment-methods i:first-child {
        margin-left: 0;
    }
    
    .payment-methods i {
        margin-left: 6px;
    }
    
    .mobile-cart-bar {
        height: 50px;
    }
    
    .mobile-cart-content {
        padding: 0 15px;
    }
    
    .mobile-cart-icon {
        width: 32px;
        height: 32px;
    }
    
    .mobile-cart-icon i {
        font-size: 14px;
    }
    
    .mobile-cart-text {
        font-size: 12px;
    }
    
    .mobile-cart-total {
        font-size: 14px;
    }
    
    .mobile-cart-button {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    body.has-mobile-cart {
        padding-bottom: 50px;
    }
} 